Realtek 8139 unstable?

2003-12-04 Thread Chris Visser
Hi,

I'm running FreeBSD 5.1, on a box with a Digi Sync 570 card and a
Realtek 8139 network card.

The Machine runs fine, most of the time, but every now and again my
network card stops working for no reason.  Rebooting the box fixes this
for a while, but the it starts again.

I've tried replacing the card, but that didn't seem to solve the
problem.

Any ideas?

Chris

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.547 / Virus Database: 340 - Release Date: 2003/12/02
 

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


suidperl Out of memory!!

2003-12-04 Thread Marwan Sultan
Hello everyone!

  Iam running Openwebmail on Freebsd 4.8-R
  Today im trying to access from web, It says "page cannot be displayed"
  When i checked webmail logs i found full of this!!

suidperl in malloc(): warning: recursive call
Out of memory!
suidperl in free(): warning: recursive call
suidperl in free(): warning: recursive call
suidperl in free(): warning: recursive call
suidperl in free(): warning: recursive call
suidperl in free(): warning: recursive call
suidperl in free(): warning: recursive call
 Can someone explain this to me please,
 How do i solve this problem ? How do I run the webmail again, and avoid 
such things in future.!

 Thank you in advane.

 Marwan.

_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

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


What exactly is ipfilter?

2003-12-04 Thread Emmanuel Gravel
I'm looking through rc.conf and the kernel config file for FreeBSD 4.9
(recently downloaded it, my last upgrade was 4.5 so I was way behind,
and this is a new install because my old firewall died). I'm used to
using ipfw and natd for my firewall, but now I'm seeing ipfilter, ipnat
and ipmon. I've done a google search on all of www.freebsd.org for
ipfilter, but it only seems to show up in release notes, and the online
handbook doesn't really talk about it. Since I haven't recompiled my new
kernel, should I consider this instead of ipfw and natd? What's the
difference, exactly?

On a related note, I'm not sure what the usefulness of IPDIVERT is
either, so I don't know if I should compile it in the kernel or not.

Thanks!

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


Re: "Cannot find file system superblock" error - how to recover?

2003-12-04 Thread Scott I. Remick

--- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:
> I've got a (probably bad) idea. If you say that the partition was
> mounted as /data, then you could do a
> 
> # hd /dev/ad6s1 |grep /data
> 
> It should come up soon (the superblock should be close to the beginning
> of the drive, right?). This way you can at least figure out where your
> superblock lies (rounding the address of `/data' to 8K). Considering the
> above discussion, you can calculate the *correct* address of the `e'
> partition by subtracting 8K or 64K or 256K. See if it matches the one in
> the disklabel.
> 
> Of course, this is all possible only if your superblock isn't screwed
> enough to NOT contain `/data'.

Been running about a minute so far... nada. So I guess your assumption is
correct: the 1st superblock is destroyed (as fsck suggested when it barfed).

> Just a minute. Are you sure that the filesystem was newfs'd with the
> default parameters? If it were for me to newfs it, I would probably
> choose larger block&fragment sizes, as I would probably be storing large
> files. The superblock copy positions depend on the block/frag size. If
> you specify parameters different from those used for actually newfs'ing
> it the very first time, newfs -N will give you *incorrect* copy
> addresses!

Well, specifying custom block/frag sizes is a bit out of my customization
forte at the moment, and certainly at the time this drive went in. I'm 99%
positive I used sysinstall to set it up. I remember some quirks about the
sysinstall method, and also deciding that the by-hand method was
unnecessarily complicated for my needs. 

This has taught me that, should I ever choose to do that, that writing down
these custom values is CRITICAL.

Is there any way to positively identify a superblock location (say, using hd
| grep ) using known information? Just a random thought.

Although I'm treating this as a learning experience, I also REALLY REALLY
don't want to loose all that data. I do appreciate the help you've been
giving me. Thanks again. I'm choosing to remain optimistic. I used to
salvage lots of data from DOS/Windows partitions (still do) so learning the
tricks of the trade in my new OS of choice is important to me.

(PS: already pricing out external USB hard drive enclosures for making
backups of this drive in the future)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Ymessenger

2003-12-04 Thread Paulahood30
how can i get yahoo y messenger
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: x11/kde3 and libglut error

2003-12-04 Thread Kent Stewart
On Thursday 04 December 2003 07:22 pm, [EMAIL PROTECTED] wrote:
> Hello. I'm using FreeBSD 4.8-RELEASe p14. I'm trying to install kde3 on my
> system and get this error
>
> /usr/libexec/elf/ld: cannot find -lGL
> *** Error code 1
>
> Stop in /usr/ports/graphics/libglut/work/Mesa-5.0.2/src-glut.
> *** Error code 1
>
> Stop in /usr/ports/graphics/libglut.

I just tried to do a portupgrade of libglut and it failed the first try 
because of a checksum error. So, I deleted the old 
MesaDemos-5.0.2.tar.bz2
distfile and tried again. This time it was able to build it. I kind of wonder 
if your port setup is out of date. It looks like MesaDemos was rerolled 
around 12 November.

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: Out of pty's

2003-12-04 Thread Malcolm Kay
On Fri, 5 Dec 2003 10:30, DG wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Jez Hancock
> > Sent: Friday, 5 December 2003 10:46 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Out of pty's
> >
> > On Thu, Dec 04, 2003 at 03:25:54PM -0800, Justin Burke wrote:
> > > /etc/ttys lists a ton of pseudo terminals, which is great. However,
> > > after opening up 32 pseudo terminals (/dev/ptyp[0-9] and
> > > /dev/ptyp[a-v]]), none of the other terminals are used (eg.
> >
> > /dev/ptyq*).
> >
> > > How do I get the system to start using those devices?
> >
> > Sorry to hear that - I've never gotten that many ttys used up :P  I
> > could try it now I suppose with screen...
> >
> > Mmm I see what you mean, I get up to ttypv as well and then
> > it complains
> > no more ttys :(
> >
> > Sorry I'm not sure about that then... anyone else know?
> >
> > --
> > Jez Hancock
> >  - System Administrator / PHP Developer
>
> This is covered in the FAQ:
>
> 10.19. How do I add pseudoterminals to the system?
>
>If you have lots of telnet, ssh, X, or screen users, you will probably
> run
>out of pseudoterminals. Here is how to add more:
>
> 1. Build and install a new kernel with the line
>
>  pseudo-device pty 256
>
>in the configuration file.
>
> 2. Run the commands
>

I believe this may be out of date. I think the kernel may now
produce 256 by default -- I'm on 4.7-STABLE and more than 32 exist for me.

>  # cd /dev
>  # sh MAKEDEV pty{1,2,3,4,5,6,7}
>
>to make 256 device nodes for the new terminals.
>

On 4.x certainly need this to create more devices. I don't know if you need to 
do something with devfs in 5.x, but 5.x doesn't have MAKEDEV.

> 3. Edit /etc/ttys and add lines for each of the 256 terminals. They
>should match the form of the existing entries, i.e. they look like
>
>  ttyqc none network
>
>The order of the letter designations is tty[pqrsPQRS][0-9a-v], using
> a
>regular expression.

I found these already in my default ttys

>
> 4. Reboot the system with the new kernel and you are ready to go.
>
> Dave


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


x11/kde3 and libglut error

2003-12-04 Thread bsdsys
Hello. I'm using FreeBSD 4.8-RELEASe p14. I'm trying to install kde3 on my
system and get this error

/usr/libexec/elf/ld: cannot find -lGL
*** Error code 1

Stop in /usr/ports/graphics/libglut/work/Mesa-5.0.2/src-glut.
*** Error code 1

Stop in /usr/ports/graphics/libglut.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt32.
*** Error code 1

Stop in /usr/ports/x11/kde3.

The -kde mailing list please Cc: me. I'm not subscribed.

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


Re: damaged package database

2003-12-04 Thread Jez Hancock
On Fri, Dec 05, 2003 at 03:37:38AM +0200, Alin-Adrian Anton wrote:
>Hi folks,
> 
>This is the output of pkg_info:
> 
> libmpeg2-0.3.1_1A free library for decoding mpeg-2 and mpeg-1 video 
> streams
> libnet-1.0.2a,1 A C library for creating IP packets
> libogg-1.0_1,3  Ogg bitstream library
> pkg_info: read_plist: bad command '@conflicts libshout-1.0.7'
> [03:32:[EMAIL PROTECTED]:/usr/ports/audio/libshout]$
> 
>Then:
> 
> [03:35:[EMAIL PROTECTED]:/usr/ports/audio/libshout]$ make install
> [03:35:[EMAIL PROTECTED]:/usr/ports/audio/libshout]$ make deinstall
> ===>  Deinstalling for audio/libshout
> ===>   libshout not installed, skipping
> [03:35:[EMAIL PROTECTED]:/usr/ports/audio/libshout]$
> 
>And pkg_info still gives the same output.
You could try using the portupgrade suite.  Initally running pkgdb -F
will fix up the portupgrade db, you can then go on to use portinstall to 
install the port as required.  

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


damaged package database

2003-12-04 Thread Alin-Adrian Anton
   Hi folks,

   This is the output of pkg_info:

libmpeg2-0.3.1_1A free library for decoding mpeg-2 and mpeg-1 video 
streams
libnet-1.0.2a,1 A C library for creating IP packets
libogg-1.0_1,3  Ogg bitstream library
pkg_info: read_plist: bad command '@conflicts libshout-1.0.7'
[03:32:[EMAIL PROTECTED]:/usr/ports/audio/libshout]$

   Then:

[03:35:[EMAIL PROTECTED]:/usr/ports/audio/libshout]$ make install
[03:35:[EMAIL PROTECTED]:/usr/ports/audio/libshout]$ make deinstall
===>  Deinstalling for audio/libshout
===>   libshout not installed, skipping
[03:35:[EMAIL PROTECTED]:/usr/ports/audio/libshout]$
   And pkg_info still gives the same output.

   Can anyone please point me out how could I fix the package database?
   Thanks in advance, folsk.
   Regards,
   Alin-Adrian Anton.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ipsec bridging on FreeBSD

2003-12-04 Thread Lowell Gilbert
Kifah Abbad <[EMAIL PROTECTED]> writes:

> Hi everyone,
> 
> I am working on my thesis , and i found some difficulties doing some
> tasks of the project on openbsd so i am planning to move to freebsd.I
> want to ask some questions, concerning tasks of the project, and i
> hope someone would confirm or not.
> 
> 1. Does freebsd offer s reasonable way for divert socket? i heard it
> could be done using netgraph...It should be also possible to catch
> ethernet frames (not only IP), since this would be happening on an
> ipsec bridge.
> 
> 2.This brings me to following point: Is there a similar solution for
> ipsec-bridging, like explained in the example of "man brconfig" of
> openbsd?
> 
> 3.IS it possible to do MAC-Adress spoofing on a freeBSD machine?

Sounds like you want the Berkeley Packet Filter.
  http://www.freebsd.org/cgi/man.cgi?query=bpf

Should be available on OpenBSD too, if my memory serves.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Phoenix BIOS, hard disk data loss

2003-12-04 Thread Dan Strick
On Thu, 4 Dec 2003, [EMAIL PROTECTED] wrote:
>>
> Some months ago, just after buying a Tyan Tiger s2466 MPX dual processor
> motherboard and installing FreeBSD 5.0 on it, I experienced a lot of
> data loss (lost files and directories, unrecoverable by fsck). I
> thought the problem might be related to disk geometry (I'm fairly new
> to FreeBSD and the sysinstall disk geometry warning concerned me).
>
> However, after a couple months I decided to change just one setting in
> the Phoenix BIOS: Large Disk Access Mode
>
> There are two options for Large Disk Access Mode: "DOS" and "Other"
>
> The help text for this item says: "This option denotes that a hard drive
> with more than 1024 cylinders, more than 16 heads and or more than 64
> tracks per sector is present. Choose OTHER when using OSes such as
> UNIX."
>
> So, at first I had chosen "Other." However, after all the data loss, I
> felt I had nothing (more) to lose so I changed it to DOS just to see if
> it made a difference. Apparently it did. I have experienced no more
> lost data (from hard disk corruption or problems) in the six or so
> months since I made the change.
>>

The large disk option sounds like it affects the "translated" disk
geometry used by BIOS to increase the amount of disk accessible to
software that uses the BIOS for disk i/o (e.g. DOS).  FreeBSD uses
the BIOS disk i/o facilities only to read the disk when booting.

It is highly unlikely that your file system corruption problems were
related to the BIOS Large Disk Access Mode option unless you were also
using a non-FreeBSD OS on the same disk and it inadvertently did disk
writes through the BIOS to wrong disk locations.

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


ipfilter traffic blocking and tcpdump snort etc

2003-12-04 Thread Jez Hancock
Hi,

I've blocked a dozen or so addresses using ipfilter:

block in quick on fxp0 from 208.186.60.116 to any
block in quick on fxp0 from 216.230.149.11 to any

etc

but I still see a lot of traffic those hosts in trafshow, snort and
other packet capturing utils.  Why is this?

Is there any alternative method of blocking access from certain hosts
so that this traffic is not 'seen' by higher level /userland apps?

As background, the blocked hosts were part of a denial of service attack
which has been going on for a few hours now.  The attack was aimed at
port 80, although an odd artifact is that no httpd log entries were made
for any of the hosts attempting to connect on port 80.

A cursory nmap scan of a few of the hosts shows that all hosts had both
port 25 and 80 open, but none of the hosts accepted connections on
either of those ports.  Any idea what kind of attack this could be?

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


RE: It's very relevant emailing you

2003-12-04 Thread fbsd_user
To get your sound card found in FBSD version 4.9 add   device pcm
statement to your kernel source and recompile your kernel. I do not
know why this statement has not been added to the generic kernel.
To get your pc to find your Nic cards try addingdevice puc
statement to your kernel source and recompile your kernel. Some
older PC bios have trouble figuring out PCI Nic cards irq's. You can
also try changing your Bio setting to disable plug-n-play option.
Also be sure no Nic card is in the number 1 PCI slot, that's the
slot closest to the power supply on most motherboards.

Read the FBSD handbook for instructions on how to recompile your
kernel.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of camuflag
Sent: Thursday, December 04, 2003 8:38 PM
To: [EMAIL PROTECTED]
Subject: It's very relevant emailing you

Honourable Mr Park

My name is Ziad Fazah.Indeed, I have already emailed you twice,
concerning the non-possibility of Freebsd installation version 4.7.
But
after having installed Freebsd version 4.9, I got disappointed at
Freebsd Kernel, because it didn't recognize my sound card and the
ethernet controller.Thus, Iam asking you, whether there have been
new
switches on version 5.1 , referring  to its kernel. Unfortunately, I
couldn't install it, due to the fact of having stopped immediately
by
announcing: Unknown cards. Thus, I checked out all irqs, and
afterwards,
I realized that my network card and the network sound hadn't been
recognized by Freebsd. What a deception!! In anyway, I shall be
awaiting
  a response from you as soon as possible, and thanks a lot for your
understanding.
Yours Faithfully,
Ziad Fazah

___
[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: Out of pty's

2003-12-04 Thread DG
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Jez Hancock
> Sent: Friday, 5 December 2003 10:46 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Out of pty's
>
>
> On Thu, Dec 04, 2003 at 03:25:54PM -0800, Justin Burke wrote:
> > /etc/ttys lists a ton of pseudo terminals, which is great. However,
> > after opening up 32 pseudo terminals (/dev/ptyp[0-9] and
> > /dev/ptyp[a-v]]), none of the other terminals are used (eg.
> /dev/ptyq*).
> > How do I get the system to start using those devices?
> Sorry to hear that - I've never gotten that many ttys used up :P  I
> could try it now I suppose with screen...
>
> Mmm I see what you mean, I get up to ttypv as well and then
> it complains
> no more ttys :(
>
> Sorry I'm not sure about that then... anyone else know?
>
> --
> Jez Hancock
>  - System Administrator / PHP Developer

This is covered in the FAQ:

10.19. How do I add pseudoterminals to the system?

   If you have lots of telnet, ssh, X, or screen users, you will probably
run
   out of pseudoterminals. Here is how to add more:

1. Build and install a new kernel with the line

 pseudo-device pty 256

   in the configuration file.

2. Run the commands

 # cd /dev
 # sh MAKEDEV pty{1,2,3,4,5,6,7}

   to make 256 device nodes for the new terminals.

3. Edit /etc/ttys and add lines for each of the 256 terminals. They
   should match the form of the existing entries, i.e. they look like

 ttyqc none network

   The order of the letter designations is tty[pqrsPQRS][0-9a-v], using
a
   regular expression.

4. Reboot the system with the new kernel and you are ready to go.

Dave

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


Re: It's very relevant emailing you

2003-12-04 Thread Alex de Kruijff
On Thu, Dec 04, 2003 at 08:37:52PM -0500, camuflag wrote:
> Honourable Mr Park
> 
> My name is Ziad Fazah.Indeed, I have already emailed you twice, 
> concerning the non-possibility of Freebsd installation version 4.7. But 
> after having installed Freebsd version 4.9, I got disappointed at 
> Freebsd Kernel, because it didn't recognize my sound card and the 
> ethernet controller. 

The GERNIC kernel doesn't detect any soundcart. You have to build you
own version that does. You can read how to do this in the FreeBSD
handbook (www.freebsd.org/handbook). Its to book to read if you have a
problem with something.

About hardware support: not all hardware is supported. If you ethernet
card doesn't work and you didn't cut any out of the kernel, then its
proberbly not gonna work. www.freebsd.org has a link on the top rigth
that tell you what hardware is and what is not supported.

> Thus, I am asking you, whether there have been new 
> switches on version 5.1 , referring  to its kernel. Unfortunately, I 
> couldn't install it, due to the fact of having stopped immediately by 
> announcing: Unknown cards. Thus, I checked out all irqs, and afterwards, 
> I realized that my network card and the network sound hadn't been 
> recognized by Freebsd. What a deception!! 

No body have told you that FreeBSD support all the availeble hardware.
I'm sorry that you see it like this, but it far from the truth.

-- 
Alex

P.S. Please CC me.

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Phoenix BIOS, hard disk data loss

2003-12-04 Thread sd
On the chance that this information might help someone else.

Some months ago, just after buying a Tyan Tiger s2466 MPX dual processor 
motherboard and installing FreeBSD 5.0 on it, I experienced a lot of 
data loss (lost files and directories, unrecoverable by fsck). I 
thought the problem might be related to disk geometry (I'm fairly new 
to FreeBSD and the sysinstall disk geometry warning concerned me).

However, after a couple months I decided to change just one setting in 
the Phoenix BIOS: Large Disk Access Mode

There are two options for Large Disk Access Mode: "DOS" and "Other"

The help text for this item says: "This option denotes that a hard drive 
with more than 1024 cylinders, more than 16 heads and or more than 64 
tracks per sector is present. Choose OTHER when using OSes such as 
UNIX."

So, at first I had chosen "Other." However, after all the data loss, I 
felt I had nothing (more) to lose so I changed it to DOS just to see if 
it made a difference. Apparently it did. I have experienced no more 
lost data (from hard disk corruption or problems) in the six or so 
months since I made the change.

Maybe this will help someone else. Thanks,

Steve D

-- 

Good luck favors the bold and confident, and if one shrinks
from fear of adventure, then fate conspires to provide
adventure to one in their hiding place.


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


IPSEC Tunnel Routing question

2003-12-04 Thread Tom Thompson
I would like to route all traffic over a gif/ipsec tunnel

I have the following situation
Existing internet connection in building A
Building to building wireless(between building A and Building B)

To secure the traffic going across the wireless I would like to run an 
ipsec tunnel between freebsd 5.1 based machines sitting at Building A 
and Building B.  I have the tunnels up and running but I am experiencing 
a problem with routing.  Building B does not have an internet connection 
so it needs to use the internet connection at Building A.

To lay it out in more details
Router at building A connections to the internet
FreeBSD 5.1 machine at Building A connects to router and to wireless bridges
FreeBSD 5.1 machine at Building B connects to Wireless bridges and internal network

What do I need to do you get traffic to flow from Building B to 
Building A and out A's internet connection?

I have tried setting building B defaultrouter to building A internal address(other 
side of GIF tunnel)

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


Re: Out of pty's

2003-12-04 Thread Jez Hancock
On Thu, Dec 04, 2003 at 03:25:54PM -0800, Justin Burke wrote:
> /etc/ttys lists a ton of pseudo terminals, which is great. However,
> after opening up 32 pseudo terminals (/dev/ptyp[0-9] and
> /dev/ptyp[a-v]]), none of the other terminals are used (eg. /dev/ptyq*).
> How do I get the system to start using those devices?
Sorry to hear that - I've never gotten that many ttys used up :P  I
could try it now I suppose with screen...

Mmm I see what you mean, I get up to ttypv as well and then it complains
no more ttys :(

Sorry I'm not sure about that then... anyone else know?

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


Re: SLIP connection to Cisco CONSOLE...

2003-12-04 Thread paul van den bergen
On Wed, 3 Dec 2003 11:33 pm, Olaf Hoyer wrote:
> Then use a standard terminal program like cu, tip, minicom or kermit to
> connect at 9600 8N1 to the cisco.

we find we need to turn flow control to none also... *shrug*


-- 
Dr Paul van den Bergen
Centre for Advanced Internet Architectures
caia.swin.edu.au
[EMAIL PROTECTED]
IM:bulwynkl2002
"And some run up hill and down dale, knapping the chucky stones 
to pieces wi' hammers, like so many road makers run daft. 
They say it is to see how the world was made."
Sir Walter Scott, St. Ronan's Well 1824 

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


Re: usb wireless lan cards

2003-12-04 Thread Daan Vreeken [PA4DAN]
On Thursday 04 December 2003 17:04, Paulo Roberto wrote:
> Is there any project related to porting externel usb wireless
> interfaces to FreeBSD?
> I am stuck with a Linksys WUSB11 and have to run Windows on my laptop
> just because the damn winmodem and this damn usb network interface.
A quick Google search shows that it's adapter with Atmel chipset on it. I have 
written a driver for these devices for FreeBSD 5.X .
You can find it here :
http://vitsch.net/bsd/atuwi/

The latest driver I've released only supports Ad-hoc mode, but I have made a 
lot of changes to the code since then. At this moment I have Infrastructure 
mode working (in beta). Please contact me if you want to try out the newer 
code.

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


Out of pty's

2003-12-04 Thread Lee Harr
Looks like my system is running out of free pty's. There are a bunch of
users on the system running screen, so we are using up a ton of the
ptys.
How do I find out the limit of ptys on my system? (sysctl doesn't
seem to show anything relevant.)
How do I increase that value? The pseudo-pty value in the kernel config
has no assigned value (ie. we are using the default) but what is the
default?
Which version of FreeBSD?

I had a similar problem on my 4.9-stable box. What I did was use
/dev/MAKEDEV to create some more pty devices.
ls /dev/pty*

will show you how many you have, then

/dev/MAKEDEV pty1   (can also use pty2 pty3 pty4 etc)

will create more.

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus

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


Re: Out of pty's

2003-12-04 Thread Justin Burke
* Jez Hancock ([EMAIL PROTECTED]) wrote:
> On Thu, Dec 04, 2003 at 01:28:36PM -0800, Justin Burke wrote:
> > Looks like my system is running out of free pty's. There are a bunch of
> > users on the system running screen, so we are using up a ton of the
> > ptys. 
> > 
> > How do I find out the limit of ptys on my system? (sysctl doesn't
> > seem to show anything relevant.) 
> I believe you can increase the number of ptys by modifying /etc/ttys -
> from looking at my /etc/ttys file it looks as though once the ttyp* ttys
> are used up, the tty monniker changes to ttyq* etc...
> 
> > How do I increase that value? The pseudo-pty value in the kernel config
> > has no assigned value (ie. we are using the default) but what is the
> > default?
> Again I believe this is down to /etc/ttys.


Hi Jez,

/etc/ttys lists a ton of pseudo terminals, which is great. However,
after opening up 32 pseudo terminals (/dev/ptyp[0-9] and
/dev/ptyp[a-v]]), none of the other terminals are used (eg. /dev/ptyq*).
How do I get the system to start using those devices?

(The /etc/ttys entries for /dev/ttyp* are identical to the /dev/ttyq*
entries.)


Justin

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


ipnat built in FTP proxy

2003-12-04 Thread fbsd_user
I running FreeBSD 4.9 gateway with IPFILTER version 3.4.31 firewall.
Have ms/windows boxes on private lan behind firewall. Have IPNAT
running with FTP proxy enabled. From the ms/win lan users view point
every things is working fine for FTP client active and passive
access to public FTP sites. The problem is I am finding default log
messages for inbound port 21 requests in the log file. The out rule
which passes the port=21 packet is an keep state rule and it looks
like that when the FTP session conversation is completed the keep
state table is releasing some left over stuff.

In an effort to better understand what I was seeing I set up an test
configured as follows.

The contents on my ipnat.rules file
# Provide special NAT services for Active/Pasv FTP from LAN users.
map rl0 10.0.10.0/29 -> 0/32 proxy port 21 ftp/tcp

# Provide NAT services for LAN users.
# NAT my private LAN ip address to what every my dynamic ISP address
is.
map rl0 10.0.10.0/29 -> 0/32

# Provide NAT services for user ppp Dial in tun0 connections.
map tun0 10.0.0.0/29 -> 0/32


The content of my test filter rules ipf.rules file
pass out quick on rl0 proto udp from any to any port = 53 keep state
pass out quick on rl0 proto tcp from any to any port = 53 keep state
pass out quick on rl0 proto tcp from any to any port = 67 keep state

# Allow out LAN PC client FTP to public Internet
pass out quick on rl0 proto tcp from any to any port = 21 flags S
keep state

# Deny Everything else trying to get out.
block out log quick on rl0 all

# Allow traffic in from ISP's DHCP server.
pass in quick on rl0 proto udp from x.x.x.x to any port = 68 keep
state

# Block and log all remaining traffic coming into the firewall
block in log quick on rl0 all

pass in  quick on xl0 all
pass out quick on xl0 all

pass in  quick on lo0 all
pass out quick on lo0 all


To test I used the FTP client on one of the LAN ms/win boxes. I
first went to 8 public FTP sites in active mode. I checked my log
file during the navigation and downloading of data from each site as
I tested it and no log messages are posted. But when I tell the FTP
client to close the connection 5 of the 8 sites cause log message.
Later when I tried to go to the FTP sites that did not generate and
log messages, I did get the log messages any way. Log file included
later in the post.

I then saved the log file and created empty log file for next round
of tests.

In the second round of tests I went to the same 8 public FTP sites
in passive mode. Again I checked my log file during the navigation
and downloading of data from each site as I tested it and no log
messages are posted. But when I tell the FTP client to close the
connection 8 of the 8 sites cause log message.

In my book this is an bug.  Now I can put block in rule on port 21
to keep this junk messages from populating my log file. But that is
not the way one gets things fixed. Now if I am doing some thing
wrong please enlighten me.


Log messages for active test
test lan FTP client active mode with nat ftp proxy

trumpet news reader site 203.5.119.62  no log msgs

USROBOTICS Microsoft ftp server leaves the following when exiting
server
Dec  4 12:47:25 gateway ipmon[51]: 12:47:24.717411 rl0 @0:2 b
65.61.164.30,21 -> 67.20.101.103,1291 PR tcp len 20 40 -AF IN
Dec  4 13:06:30 gateway ipmon[51]: 13:06:30.244686 rl0 @0:2 b
65.61.164.30,21 -> 67.20.101.103,1330 PR tcp len 20 40 -AF IN

ftp1.ipswitch.com ws_ftp server leaves the following when exiting
server
Dec  4 13:13:12 gateway ipmon[51]: 13:13:11.508454 rl0 @0:2 b
156.21.4.254,21 -> 67.20.101.103,1339 PR tcp len 20 40 -AF IN

Sunsite UNC pro_ftp server leaves the following  when exiting server
Dec  4 13:21:39 gateway ipmon[51]: 13:21:38.844747 rl0 @0:2 b
152.2.210.81,21 -> 67.20.101.103,1348 PR tcp len 20 40 -AF IN
Dec  4 13:28:23 gateway ipmon[51]: 13:28:22.548626 rl0 @0:2 b
152.2.210.81,21 -> 67.20.101.103,1355 PR tcp len 20 40 -AF IN

IBM site 207.25.253.40  no log msgs

AOL site 64.12.168.246  no log msgs

Cdrom.com Nc_ftp server leaves the following  when exiting server
Dec  4 13:45:44 gateway ipmon[51]: 13:45:43.750464 rl0 @0:2 b
207.250.14.6,21 -> 67.20.101.103,1393 PR tcp len 20 40 -AF IN

Qualcomm.com ftp server leaves the following  when exiting server
Dec  4 13:50:39 gateway ipmon[51]: 13:50:39.488162 2x rl0 @0:2 b
199.106.114.201,21 -> 67.20.101.103,1397 PR tcp len 20 70 -AP IN
Dec  4 13:51:19 gateway ipmon[51]: 13:51:18.324295 rl0 @0:2 b
199.106.114.201,21 -> 67.20.101.103,1397 PR tcp len 20 40 -AF IN


Log messages for passive test
test lan FTP client passive mode with nat ftp proxy

trumput ftp server leaves the following when exiting server
Dec  4 14:04:35 gateway ipmon[51]: 14:04:35.839256 rl0 @0:2 b
203.5.119.62,21 -> 67.20.101.103,1416 PR tcp len 20 40 -A IN
Dec  4 14:04:36 gateway ipmon[51]: 14:04:36.362787 rl0 @0:2 b
203.5.119.62,21 -> 67.20.101.103,1416 PR tcp len 20 40 -A IN
Dec  4 14:04:37 gateway ipmon[51]: 14:04:37.561296 rl0 @0:2 b
203.5.119.62,21 -> 67.20.101.103,141

It's very relevant emailing you

2003-12-04 Thread camuflag
Honourable Mr Park

My name is Ziad Fazah.Indeed, I have already emailed you twice, 
concerning the non-possibility of Freebsd installation version 4.7. But 
after having installed Freebsd version 4.9, I got disappointed at 
Freebsd Kernel, because it didn't recognize my sound card and the 
ethernet controller.Thus, Iam asking you, whether there have been new 
switches on version 5.1 , referring  to its kernel. Unfortunately, I 
couldn't install it, due to the fact of having stopped immediately by 
announcing: Unknown cards. Thus, I checked out all irqs, and afterwards, 
I realized that my network card and the network sound hadn't been 
recognized by Freebsd. What a deception!! In anyway, I shall be awaiting 
 a response from you as soon as possible, and thanks a lot for your 
understanding.
			Yours Faithfully,
			Ziad Fazah

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


Re: Out of pty's

2003-12-04 Thread Jez Hancock
On Thu, Dec 04, 2003 at 01:28:36PM -0800, Justin Burke wrote:
> Looks like my system is running out of free pty's. There are a bunch of
> users on the system running screen, so we are using up a ton of the
> ptys. 
> 
> How do I find out the limit of ptys on my system? (sysctl doesn't
> seem to show anything relevant.) 
I believe you can increase the number of ptys by modifying /etc/ttys -
from looking at my /etc/ttys file it looks as though once the ttyp* ttys
are used up, the tty monniker changes to ttyq* etc...

> How do I increase that value? The pseudo-pty value in the kernel config
> has no assigned value (ie. we are using the default) but what is the
> default?
Again I believe this is down to /etc/ttys.


-- 
Jez Hancock
 - System Administrator / PHP Developer

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


Blocking DOS using arp

2003-12-04 Thread Jez Hancock
Hi,

Currently seeing an abnormal amount of http traffic consisting of only
tcp syn packets according to snort.  

My main question is how can I block inbound traffic from a given host
using arp?

Related question:
I've added block rules for the offending hosts in my ipf rule list, but
snort still sees traffic from these hosts after restarting ipf to
include the new block rules - why is this?  

TIA

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


Re: Way OT: SSH+VNC as quickndirty VPN

2003-12-04 Thread Allan Bowhill
On  0, "Goodleaf, John M" <[EMAIL PROTECTED]> wrote:
:
:Here's the scenario:
:I have a Windows machine at work. I have a VNC server on it. It is behind a
:firewall over which I have no control, so I cannot make a direct connection
:to this machine from outside. What I'd like to do is to initiate a SSH
:connection (with compression) to my BSD machine at home (which I can do) and
:forward the VNC server connection through that SSH tunnel. I'd like to then
:lock my workstation and office, go home, and use vncviewer to have access to
:my workstation at work. That way I can do work at odd hours and while
:watching Buffy the Vampire Slayer.
:
:Is this possible? I have tried a few combinations of port forwarding, but
:for whatever reason, find it unintuitive. Can't quite get it to work. Any
:suggestions much appreciated.

I agree, it is counter-intuitive, but I know it mostly works on a Unix-to-
Unix connection, but I have forgotten how to set it up. There may be a
problem with doing it with windows as the server, though.

vnc can only grant access to a single session in windows,  and that
session's display is based on reading the video frame buffer.

This generally would mean that you can't simultaneously lock your machine and
do work on it at the same time from home. In other words, when you login
from home, everything you do will be displayed on the windows machine in
your office while you are doing it.


-- 
Allan Bowhill
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: icmp messages

2003-12-04 Thread Toni Schmidbauer
On Wed, Dec 03, 2003 at 09:15:00AM +0200, Petre Bandac wrote:
> I've googled around to find out EXACTLY what ping messages mean
> 
> like 
> icmp: time exceeded in-transit [tos 0xc0] 

http://av.stanford.edu/books/tcpip/icmp_int.htm#6_0

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: using bsd commands

2003-12-04 Thread Toni Schmidbauer
On Wed, Dec 03, 2003 at 09:35:13AM +0200, Mmin Maslak wrote:
> How can I list all files in a directory that are 7+ days old? (That is except last 7 
> days) 
> is that possible with use any command(s) on Freebsd4,x ?

man find(1)

find . -type f -atime +7d -print

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: how to force packets to go out on a specific interface

2003-12-04 Thread Julian Elischer
if you use ipfw then the 'fwd' command CAN be used to force this if you
set up the routes correctly.. you send the packets to addresses that can
only reached through the different interfaces according to the routes
that you have installed..


On Thu, 4 Dec 2003, Maksim Yevmenkin wrote:

> Dear Hackers,
> 
> is there a way to force packets to go out on a specific interface
> based on a source IP address? 
> 
> here is what we want: for testing purposes we have a FreeBSD box with
> two 100Mbit NICs (em0 and em1). both NICs are on the the same subnet
> 172.1.1.x/23. both NICs are connected to the ServerIron. the purpose
> of the setup is to get 200Mbit link between FreeBSD and ServerIron.
> 
> ethernet trunking is NOT an option. it seems ServerIron uses algorithm
> that selects physical port in the trunk based on source and destination
> IP. IPs do not change during the test, so one NIC gets more traffic then
> another (we only have few clients that talk to the FreeBSD box).
> 
> so what is really required is: if a process was bound to 172.1.1.1 (em0)
> then the packets should go out on em0 and if process was bound to
> 172.1.1.2 (em1) then packets should go out on em1. we tried ipfw(8)
> "forward" and it did not do what we want. Linux can handle this via
> "ip route foo bar" thing where we can specify which local source address
> should go out on which interface.
> 
> one more thing: the solution must be compatible with dummynet(4).
> 
> thanks,
> max
> 
> __
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> 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]"


snort & PostgreSQL

2003-12-04 Thread Andrea Venturoli
Hello.
I upgraded snort from 2.0.0_1 to 2.0.5 and logging to PostgreSQL stopped working.

The file snort.conf is the same and I defined WITH_POSTGRES before using portupgrade; 
however, if I log connections to
the database, I see none.

Any hint?

 bye & Thanks
av.

P.S. I guess PostgreSQL, since another machine where I didn't upgrade snort is able to 
log here.


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


Re: Xdm/Kdm/Gmd

2003-12-04 Thread Charles Howse
On Thursday 04 December 2003 02:39 pm, Payne wrote:
> Charles Howse wrote:
> >On Thursday 04 December 2003 01:07 pm, Payne wrote:
> >>Hi,
> >>
> >>Thanks for the help early, I am wanting to have either xdm/kdm/gdm to
> >>start once my system it up, how can I do this? Also which is best?
> >
> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html
> >
> >This will detail the process for you.
> >As to which is best, that's only valid if you are running Gnome AND KDE.
> >I'm not familiar with gdm, but kdm is bundled w/ KDE, and xdm is bundled
> > w/ XFree86.
>
> Thanks, I have printed out the mannual so I will take a look at. GMD  =
> Gnome, I am old linux guy and I like kdm, I was hoping there was a wdm
> port, it suppose to be the best. Oh well.

[EMAIL PROTECTED] /usr/ports]$ make search key=wdm
[snip]
Port:   wdm-1.25_1
Path:   /usr/ports/x11/wdm
Info:   WINGs Display Manager; an xdm replacement
Maint:  [EMAIL PROTECTED]
Index:  x11 windowmaker
B-deps: Hermes-1.3.3 XFree86-libraries-4.3.0_6 expat-1.95.6_1 
fontconfig-2.2.90_3 freetype2-2.1.5_1 gettext-0.12.1 imake-4.3.0_1 jpeg-6b_1 
libiconv-1.9.1_3 libungif-4.1.0b1_1 pkgconfig-0.15.0 png-1.2.5_2 tiff-3.6.0 
windowmaker-0.80.2_1 wmicons-1.0
R-deps: Hermes-1.3.3 XFree86-libraries-4.3.0_6 expat-1.95.6_1 
fontconfig-2.2.90_3 freetype2-2.1.5_1 gettext-0.12.1 imake-4.3.0_1 jpeg-6b_1 
libiconv-1.9.1_3 libungif-4.1.0b1_1 pkgconfig-0.15.0 png-1.2.5_2 tiff-3.6.0 
windowmaker-0.80.2_1 wmicons-1.0

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
If you buy bananas or avocados before they are ripe,
there won't be any left by the time they are ripe.  If
you buy them ripe, they rot before they are eaten.

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


Out of pty's

2003-12-04 Thread Justin Burke
Hi All,

Looks like my system is running out of free pty's. There are a bunch of
users on the system running screen, so we are using up a ton of the
ptys. 

How do I find out the limit of ptys on my system? (sysctl doesn't
seem to show anything relevant.) 

How do I increase that value? The pseudo-pty value in the kernel config
has no assigned value (ie. we are using the default) but what is the
default?


TIA,
Justin

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


Re: single-user mode

2003-12-04 Thread Kent Stewart
On Thursday 04 December 2003 08:41 am, Dru wrote:
> It's been a while since I've had to enter single-user mode and I've just
> discovered that "boot -s" doesn't work at the "boot" prompt on 5.1-RELEASE.
> (however, it does work nicely if I interrupt loader at the next boot
> stage).
>
> In fact, I can't get *anything* to work at the "boot" prompt, or even
> leave that prompt without doing a CTRL ALT DEL. Am I missing something, or
> is the "boot" prompt defunct on 5.x?
>
>

No, but you have to wait for the spinner (|/-\ and etc) before you press the 
space bar. I just tried it as I updated to the latest 5.2-beta.

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: running freebsd with sendmail and qpopper

2003-12-04 Thread Marty Landman
First, Steve it's great of you to go to all this effort. Thanks in advance. 
Now I wonder if you'll be surprised at how early in the procedure things 
fell apart for me. :)

At 09:53 PM 12/3/2003, Steve Bertrand wrote:

ie. In some cases, you could send a mail message to [EMAIL PROTECTED],
and if the server is listening for incoming mail (sendmail) then it may
pick it up and deliver it to a local user.
My lan is set up as follows. My workstation 192.168.0.1 runs windows xp and 
shares its dialup connection through ics. In its host file it maps my fbsd 
box 192.168.0.7 to the server name swamisalami. This allows me to ftp, ssh, 
and also browse to http://swamisalami from my workstation and afaik any 
other box on the lan.

I use eudora as my email client on the workstation and set up a personality 
for [EMAIL PROTECTED] I was able to successfully send the following

From [EMAIL PROTECTED] Thu Dec  4 15:12:30 2003
X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22
Date: Thu, 04 Dec 2003 15:13:12 -0500
To: [EMAIL PROTECTED],
   [EMAIL PROTECTED]
From: Marty Landman <[EMAIL PROTECTED]>
Subject: testing
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
This is a test. If this were an actual email...

Oh.

>>

However, I don't know how to receive email from outside my lan on the fbsd 
box, nor how to send mail from the fbsd box to other locations.

Besides that I just managed to delete a user's mailbox and don't know how 
to recreate it. But that just seems to be an omen of how much trouble this 
is going to take overall. Just part of the learning hyperbola, uh curve -- 
yeah.

*update* - I received one of the test email msgs; apparently mail (or 
sendmail) created the /var/mail/marty file on the fly, then removed it 
again once I deleted the msg. btw, what is the cockamamie mbox thingie 
about and how do I manage it? uh, sorry about the value judgement implied 
in that stmt.

You can try this with the  #dig command:
Thx, this seems a bit more informative in a way than #whois.

- the IP of your mail server is 192.168.0.10
How do I find out what sendmail's ip adr is? What about the mail server 
that Eudora uses on the winxp box, does that enter into this if I want to 
be able to send/receive email on the internet from the fbsd box?

- your default gateway for your network is 192.168.0.1
AFAIK that's right since this is the winxp/dialup shared box's ip.

- your mail server name is mail.example.com
Now I'm lost. Do you mean the name of my ISP's email server?

1> Set up DNS on the server
# cd /etc/namedb
# chmod 744 make-localhost
# ./make-localhost
Question here since I'm so new. Looks like make-localhost's an exec that 
I've just executed. But when I created /tmp/scratch

FreeB ./tmp/scratch
./tmp/scratch: Command not found.
FreeB more /tmp/scratch
#!/bin/sh
echo Hello World
# ee named.conf
Add the following to the bottom of the file:
zone "example.com" {
type master;
file "example.com.zone";
allow-update { none; };
};
Stopped here since I'm unclear about how to sub for "example.com" but am 
leaving the rest of your instructions intact for followup.

Marty


Then, up near the top of the file, make the following changes to this
section:
# Remove the // from this line:
//  forward only;
# and remove the /* and the */ from this section, and change the
127.0.0.1 to the IP address of your ISP DNS server:
/*
forwarders {
127.0.0.1;
};
*/
Now create a zone file for this zone:

# ee /etc/namedb/example.com.zone

Add the following information to this empty file:

--- start clip here ---

$TTL 360  ; Default cached time to live for all records

example.com.IN  SOA ns.example.com. [EMAIL PROTECTED]
(
2003120401; Serial
172800  ; Refresh every 2 days
3600; Retry every hour
1728000 ; Expire every 20 days
172800 ); Minimum 2 days
@   IN  NS  ns.example.com.

; Set the Mail Exchange record

@   IN MX   10  mail.example.com.

ns  IN A192.168.0.10
mailIN A192.168.0.10
client  IN A192.168.0.25
router  IN A192.168.0.1
--- end clip ---

Now, tell your name server to look to itself for resolution of names:

# echo "search example.com" > /etc/resolv.conf
# echo "nameserver 127.0.0.1" >> /etc/resolv.conf
Now go configure your windows or whatever client computers to use
192.168.0.10 as it's DNS server.
2> Start the nameserver and load it at startup:
# /usr/sbin/named
Now, add the following 2 lines to your /etc/rc.conf file:

named_enable="YES"
named_program="/usr/sbin/named"
3> Configure sendmail
# cd /etc/mail
# echo "example.com" > relay-domains
# echo "example.com" > local-host-names
# echo "192.168.0 RELAY" > acce

Re: Xdm/Kdm/Gmd

2003-12-04 Thread Payne
Charles Howse wrote:

On Thursday 04 December 2003 01:07 pm, Payne wrote:
 

Hi,

Thanks for the help early, I am wanting to have either xdm/kdm/gdm to
start once my system it up, how can I do this? Also which is best?
   

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

This will detail the process for you.
As to which is best, that's only valid if you are running Gnome AND KDE.
I'm not familiar with gdm, but kdm is bundled w/ KDE, and xdm is bundled w/ 
XFree86.

 

Thanks, I have printed out the mannual so I will take a look at. GMD  = 
Gnome, I am old linux guy and I like kdm, I was hoping there was a wdm 
port, it suppose to be the best. Oh well.

Payne

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


Re: SCSI Disk not found

2003-12-04 Thread Olaf Hoyer
On Thu, 4 Dec 2003, HOLLOW, CHRISTOPHER wrote:

> I've worked with ProLiant servers and with FreeBSD RAID, but not on the
> same box.  Basically, as I understand it, you should use the Compaq
> SmartStart Array Configuration Utility to create the RAID1 (mirror)
> array.   The array controller will then present the RAID set as one
> logical drive to the OS.  The total logical size will be the size of one
> (1) of the drives.  Using a Promise RAID controller, dmesg listed the
> device ar0 for the logical RAID set and the devices ad4 and ad6 for the
> low-level RAID components.  The ar0 partition is what is carved up and
> installed to.  Hope this helps...
>
Hi!

Sorry, haven't followed the beginning of this thread closely enough, but
which compaq machine/revision of it are you running?

I also had some old 1850, which wasn't nice in regard to the software
based RAID in old days...

Olaf
-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Questions about updating...

2003-12-04 Thread rotten rottie
Ok lemme get this straight. ( Please bear with me.)

Here is a list of packages that are on my system:

vanapps01# pkg_info
cvsup-without-gui-16.1f General network file distribution
VS
expat-1.95.5XML 1.0 parser written in C
ezm3-1.0Easier, more portable Modula-3 distrib
gettext-0.11.5_1GNU gettext package
gmake-3.80  GNU version of 'make' utility
libiconv-1.8_2  A character set conversion library
libtool-1.3.4_4 Generic shared library support script
Since ssh is part of the base install .. if there is a patch/fix for ssh, 
which way is the proper way to update it...

In other word how would I go about upgrading /usr/src/secure/usr.sbin/sshd 
or named or nfs or anything that is installed in the base install without 
rebooting ?



From: Scott W <[EMAIL PROTECTED]>
To: rotten rottie <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: Questions about updating...
Date: Thu, 04 Dec 2003 03:48:05 -0500
MIME-Version: 1.0
Received: from ms-smtp-03-eri0.southeast.rr.com ([24.25.9.102]) by 
mc10-f7.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 3 Dec 2003 
21:52:22 -0800
Received: from mindcore.net (rdu163-100-105.nc.rr.com [24.163.100.105])by 
ms-smtp-03-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id 
hB45qHCH028916;Thu, 4 Dec 2003 00:52:17 -0500 (EST)
X-Message-Info: JGTYoYF78jEoDIcxE/d8MG4E7W9RQsz9
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) 
Gecko/20031007
X-Accept-Language: en-us, en
References: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 04 Dec 2003 05:52:22.0405 (UTC) 
FILETIME=[C93BFB50:01C3BA2A]

rotten rottie wrote:

I am a linux user that wants to switch to freebsd... I am a bit confused

about applying updates etc..

I installed a box for trial it was 5.1, I wanted to see if I could use
ports
to update openssh for a test examp. After the port installed I noticed
that
another version of openssh was installed on the system. I talked with a
friend and he said that it was part of usr/src and I could update it by
compiling the usr.bin version.. which was fine and worked. Here are my
questions:
1) if there are two trees(lack of better words) why would ssh exist in
both
the system tree and the ports tree ? Wouldnt it be better to have it in
the
ports tree ?
Well, it IS in the ports tree, but bear a few things in mind:
1. Everything in /usr/src is considered part of the base system, equivalent 
to 'system' in GenToo (unsurprisingly, as GenToo Portage/emerge is based 
heavily on bsd ports...but see below)

2. The ports tree is optional, but where you can track system source 
updates to a given CVS label, eg STABLE (recommended for 
production/stability), the ports tree isn't versioned, it's the equivalent 
of current. When you build from a port, it essentially builds the package 
and does a pkg_add, so it's still tracked by the bsd package system.

This combination allows you to keep the base system at a stable level, and 
then either NOT update your ports tree to get the equivalent ports from the 
particular label you're tracking on a given system, or to selectivly update 
single ports software, or all of the ports collection.

2) I have used gentoo in the past and am curious if there is something
simular to emerge -up world/system -- I would like to cvs the ports/sys
and
then be able to see if anything need upgrading .. is this possible ?
Yep, install portupgrade and cvsup. If it's on a slower system, highly 
recommend doing it via pkg_add -r portupgrade or pkg_add -r cvsup
to avoid having to compile ruby, perl and possibly other dependencies from 
scratch. Once you become familiar with the way ports/portupgrade and cvsup 
work (Note- sections on all 3 in the handbook, should be installed under 
/usr/share/doc/handbook on your system), you can then if you decide to, use 
portupgrade and the buildworld target to effectively rebuild your entire 
system from source.

The quickest equivalent to emerge -pUD world is using pkg_version

3) Say there was a update to openssh .. which would be the proper way to

update .. sync the sys tree and then just update ssh .. or sync the tree
and
recompile the system ? or remove the sys version and install the port
version and update the port ?
Set up cvsup properly (handbook + example file in /usr/share/examples) to 
the label you want to track to, cron it, and have it mail you output, and 
subscribe to the freebsd security mailing list. Either should be enough to 
give you some indication by itself..

I am very happy with freebsd .. Im still in the exploring stage .. The
reasons for my questions is that I am a little weary of using freebsd in
production if I dont easily know when updates are avail, having to
recompile
the system everytime I need a patch for a service.
You don't nescessarily need to recompile the entire base system, let alone 
the equivalen

RE: can ping, can't download through firewall

2003-12-04 Thread Garry Hill

thanks for the advice. 

>natd_interface=" rl0"fix this statement   there should not be
>space between first quote and rl0"  rl0"  "rl0"

the space comes from me copying and pasting from a website, not from my config files. 
that space was never in my config files.

>What happens if you boot using the original generic kernel with no
>firewall enable statements in rc.conf?  IE: kernel without IPFW or
>IPFILTER compiled in. Do you have total access to public internet

with generic kernel and no firewall it's the same situation. pingo-rama but no 
downloads. 

the response isn't even consistent. doing a "fetch -v 
http://207.126.111.202/index.html"; (which is rheet.mozilla.or) sometimes (more often 
than not) it gets to the "requesting http://..."; but no more but then sometimes it 
gets as far as "receiving..." but never gets more than 1024 bytes.

but, the good news is, i figured it out. it was the bloody cable after all that. the 
ifconfig was showing up as "100baseTX" but not "100baseTX " but what 
really pointed it out was the lack of a link status light when i tried a different 
ethernet card. so somewhere in that cable something is broken, i just don't know 
where. changing the plastic bits hasn't helped. the strangest thing is that it works 
(is working right now) without a hitch here on my mac - must be that the mac 
drivers/nic are more robust/less fussy than the i386/8139/freebsd counterparts. i 
don't know enough about full- or half- duplex to make more sense out of it. 

so, after two days of racking my brains and beating my head against various bits of 
brick and styrofoam padding we're back on track. 

thanks again,

g

>What happens if you boot using the original generic kernel with no
>firewall enable statements in rc.conf?  IE: kernel without IPFW or
>IPFILTER compiled in. Do you have total access to public internet
>from your gateway box? [ie will  lynx http://www.website.com work]
>If so then, add the rc.conf statements enable statements for the
>firewall of your chose and the firewall loadable module will be
>dynamically loaded at boot time. See if this makes any difference.
>If not then problem is not in the creation of new kernel, but in the
>firewall rules you are using.
>
>natd_interface=" rl0"fix this statement   there should not be
>space between first quote and rl0"  rl0"  "rl0"
>
>Change this rule allow ip from any to any  to  allow log ip from any
>to any
>And only test one outbound service like  lynx http://www.website.com
>and them check  your log to see what happened. BE careful this will
>generate a lot of log msgs.
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Garry Hill
>Sent: Thursday, December 04, 2003 10:53 AM
>To: FreeBSD
>Subject: can ping, can't download through firewall
>
>
>hi,
>
>i'm a reasonably experienced linux/bsd user - i've installed a few
>boxes in my time and usually with a good level of success. but this
>time i'm stumped/jiggered.
>
>i'm trying to set up a freebsd gateway to share my cable modem
>connection.
>
>from the gateway itself i can ping the world, from the attached
>clients i can ping the world, i can even do dns lookups. doing:
>
>curl --head http://www.website.com
>
>gives me a good-looking header and everything, but if i do
>
>lynx http://www.website.com
>
>no joy. i get:
>
>HTTP request sent; waiting for response.
>
>and it stops there. this is true from both the clients and the
>gateway itself. i just can't download anything for all the pings in
>the world.
>
>my current set up is
>
>-- kernel config:
>
>options IPFIREWALL
>options IPDIVERT
>options IPFIREWALL_DEFAULT_TO_ACCEPT
>options IPFIREWALL_VERBOSE
>options IPFIREWALL_VERBOSE_LIMIT=10
>
>-- /etc/rc.conf
>
>gateway_enable="YES"
>firewall_enable="YES"
>firewall_type="OPEN"
>natd_enable="YES"
>natd_interface=" rl0"
>natd_flags=""
>
>which are both straight out of the handbook.
>
>-- ipfw -a list
>00050 1844 130026 divert 8668 ip from any to any via rl0
>00100   96  11166 allow ip from any to any via lo0
>002000  0 deny ip from any to 127.0.0.0/8
>003000  0 deny ip from 127.0.0.0/8 to any
>65000 2481 200907 allow ip from any to any
>655350  0 allow ip from any to any
>
>i've tried the same thing using ipfilter and ipnat instead of natd
>and ipfw - with the same results.
>
>ethernet cards - a pair of 8139's - rl0 external, rl1 internal. as
>far as i can tell they work fine. on the internal network the pings
>are 100% - i can ftp ssh the works without problem.
>
>i've noticed that if i turn on the firewall my pings to the isp's
>router are much much less reliable, sometimes losing 30%+ of the
>packets but generally degraded compared to the setup with no
>firewall enabled.
>
>the firewall stats show that everything is passing ok.
>
>i really don't know what's going on. unfortunately my web searches
>have turned up nothing similar.
>
>does anyone have any ideas/comments/suggestions/experience of the
>same? 

Re: Xdm/Kdm/Gmd

2003-12-04 Thread Charles Howse
On Thursday 04 December 2003 01:07 pm, Payne wrote:
> Hi,
>
> Thanks for the help early, I am wanting to have either xdm/kdm/gdm to
> start once my system it up, how can I do this? Also which is best?

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

This will detail the process for you.
As to which is best, that's only valid if you are running Gnome AND KDE.
I'm not familiar with gdm, but kdm is bundled w/ KDE, and xdm is bundled w/ 
XFree86.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
An easily-understood, workable falsehood is more useful
than a complex, incompreshensible truth.

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


Re: Obtaining the unix o/s

2003-12-04 Thread HOLLOW, CHRISTOPHER
All I need to do is burn the iso images to my CD's and I've got the
entgire freebsd unix o/s?
Yes.  The whole show.  Including the current packages/ports collection.


After that, is it going to be quite a process to
install the software, or am I better off spending 60 bucks and get the
CD's from a retailer?
The installaion process is the same whether you download and burn the .iso as if you buy the retail CD.  Either way, expect it to be "quite a porcess."  =)  The retail box ships with CDs, documentation and some sweet packaging.  The online Handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ is a dynamite reference and should be ample to get you up and running.  But...being the good BSD user that you are, you can sleep well at night knowing that a portion of the proceeds of your retail FreeBSD purchase ended up in the coffers of the development team.

Chris

Dominick DiMantova wrote:

On Thu, 4 Dec 2003, Kevin D. Kinsey, DaleCo, S.P. wrote:

 

Dominick DiMantova wrote:

   

Hello,

My name is Dominick DiMantova and I have a question, or two:

1. what is the difference  in either purchasing the media or downloading
the software? If I want to download the software, when I go to one of the
ftp sites, I'm looking at the ste with alot of folders; how do I know what
I need to download? 

 

Before committing too much time and energy, grab the
FBSD handbook and read a few chapters.
 ftp://ftp.freebsd.org/pub/FreeBSD/doc/handbook
 (english version, multiple formats)
If you are thinking of downloading a CD, then you're looking
for an "ISO image" file.  IIRC, there are some folders or links to
folders fairly clearly marked according to system architecture;
for Intel (PC compatible) machines, look for "i386".  After that,
the catch would be, "do I want 4.x, or 5.x" and, after that's
decided, there are a couple of other options such as
"the MINI ISO", the "standard ISO", etc.
 ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386

   

All I need to do is burn the iso images to my CD's and I've got the
entgire freebsd unix o/s? After that, is it going to be quite a process to
install the software, or am I better off spending 60 bucks and get the
CD's from a retailer? 
 

My preferred method of installing FBSD is stated on the freebsd.org
home page.  "You need 2 freshly formatted floppies and these 
instructions"

   

2. Is X Windows a separate product or does it come bundled with freebsd?



 

A seperate product.  If you create a FBSD box via the Internet,
some additional bandwidth/time will be necessary to add
X to the system.  If you buy a FBSD CD set, you should have
sufficient materials on those CD's to create a working FBSD+
X Windows system without much 'Net connectivity.
   

Thanks.



Sincerely,

Dominick DiMantova

 

HTH,

Kevin Kinsey
DaleCo, S.P.
   

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

--
Christopher Hollow - Technical Consultant
Infrastructure & Technology Support
1 Dundas St. West, 11th floor, Toronto, ON
416.215.3075 ~ pager 416.339.9786


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


Re: Obtaining the unix o/s

2003-12-04 Thread Matthew Seaman
On Thu, Dec 04, 2003 at 02:41:36PM -0500, Dominick DiMantova wrote:
> On Thu, 4 Dec 2003, Kevin D. Kinsey, DaleCo, S.P. wrote:

> > If you are thinking of downloading a CD, then you're looking
> > for an "ISO image" file.  IIRC, there are some folders or links to
> > folders fairly clearly marked according to system architecture;
> > for Intel (PC compatible) machines, look for "i386".  After that,
> > the catch would be, "do I want 4.x, or 5.x" and, after that's
> > decided, there are a couple of other options such as
> > "the MINI ISO", the "standard ISO", etc.
> > 
> > 
> >   ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386

> All I need to do is burn the iso images to my CD's and I've got the
> entgire freebsd unix o/s? After that, is it going to be quite a process to
> install the software, or am I better off spending 60 bucks and get the
> CD's from a retailer? 

After downloading the ISO images and burning them to CD, you will have
essentially the same thing as the first two disks of the four disk
sets that you can spend $60 to buy from a retailer.

Those first two disks contain the entire FreeBSD O/S plus various
extra important packages, like X windows.  Infact, you can install the
base system just using the 'mini-iso' which consists of the essential
parts of the first disk.

The remaining disks in the 4 CD set contain various precompiled
software packages: however the collection available is extensive, and
too much to fit in the space available, so only some of the most
popular stuff gets onto the CDs.

The entire collection, as well as the system images is available from
the FTP servers -- as pre-compiled packages from the (except those
packages where the license terms don't permit redistribution) and some
source tar balls -- or you can obtain source code etc. via cvsup.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Router question

2003-12-04 Thread Bryan Cassidy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I was able to put something together. Aother PC. I've attached a copy of
the dmesg of the other machine I have. This would be the section of the
handbook on setting another pc up as a router wouldnt it?


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

I just want to start learning about this in the right areas to begin
with. I've never really understood nat. Think maybe I should install
FreeBSD 5.1 on the other machine or is 4.8 ok for this purpose even ok
if I want to start doing more advanced network/security settings. Is
there any advances on using 5.1 over 4.8 in this situation? So how would
I go about setting this other machine up as a router? The PC I am using
now is the one I like to do all my work on. I will have the other PC
probable on the floor just below my main PC. I have an extra DSL cable.
Plus what into what? Kinda confused here. I run these services on my
box. Thanks for the help.

Bryan

CUPS
Apache
PHP
COURIER-IMAP
POSTFIX
SquirrelMail



On Thu, 04 Dec 2003 03:15:38 -0500
Scott W <[EMAIL PROTECTED]> wrote:

> Bryan Cassidy wrote:
> 
> >-BEGIN PGP SIGNED MESSAGE-
> >Hash: SHA1
> >
> >Hello everyone. Hows everyone doing tongith/today? Well, I'm taking a
> >week off of work and thought I would read up on Security/Networking
> >and anything else to do with making my system/webserver secure. I am
> >going to Best Buy (ya i know, but it's the only computer related
> >store in this shitty town so.) to buy a router and was just wanting
> >to see what people could recommend on which ones are good. I've nver
> >really gotten into this kinda thing before but want to learn. Will
> >there be anything extra that I should get while I'm at the store?
> >Cables etc? I only have one pc is there any point in having a router
> >with one pc? Any links to how to set this up on FreeBSD? Thanks in
> >advance.-BEGIN PGP SIGNATURE-
> >Version: GnuPG v1.2.3 (FreeBSD)
> >
> >iD8DBQE/zn4Bm8uTTHnDH3ERAsR1AKDTzQHhzHV0ei2OevUSo0jzdksikACghTjr
> >QGg8Wa7hgX1Dr4vTXGjgCo8=
> >=LXnN
> >-END PGP SIGNATURE-
> >___
> >[EMAIL PROTECTED] mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
> >"[EMAIL PROTECTED]"
> >
> >  
> >
> If you've got only a single PC to connect, then the only reason for 
> wanting (not needing) a (presumably broadband) router is anything
> fairly recent will do NAT (address translation, basically lets > 1 PC
> share 1 public IP address).  One of the 'side benefits' of NAT routers
> is that they closes off connections initiated from the outside world
> (the Net).  Not that big of a deal with freeBSD, as the default
> services running by default are pretty sensible (compared to past and
> some current versions of Solaris, RedHat, SuSe etc etc), but this is
> generally A Good Thing if you're running Windows at any point, or are
> playing around with different services, as many of them have had
> exploits in the past that script kiddies like to jump on.
> 
> Of course, you can also turn your bsd system into a router by adding 
> another NIC, and then attaching a hub or switch to one NIC, and the 
> other to your DSL or cable modem...
> 
> The disadvantage (serious annoyance IMHO) of 'hardware routers'
> (opposed to software running on bsd or another *nix) is the general
> lack of logging abilities.  When I used to run several personal
> domains, it was _amazing_ the number of portscans and IMAP and other
> exploits that would be attempted on my systems.  I personally like to
> know what's being attempted against my systems, and most of the 'off
> the shelf' routers from BestBuy, CompUSA etc are a far cry from Cisco
> and others, who do run a 'real' (meaning user accessible) OS and can
> handle logging as well as complex rules for port forwarding or
> dropping routes
> 
> As far as freebsd is concerned, if you do decide to get one for
> whatever reason, the router is effectively dual homed, meaningin this
> case, that it has an internal network IP (eg 192.168.1.254) as well as
> an external IP which is what 'the world' sees, which is the IP
> assigned to it via the cable/DSL modem/your ISP.  You'll need to set
> your 'internal' systems (your home PCs/systems) to have their default
> gateway point to the internal IP of the router.  That will be the case
> regardless of whatever OS you run...
> 
> Of course, even a 486 class system, with a minimal install of freebsd,
> 
> with /usr mounted immutable, and a small hard drive, would make a
> great router, and you could also play around with a remote log host
> for logging, monitoring tools like logcheck, sentry, saint, and
> others, as well as designating your own port forwarding and firewall
> rulesets...if you decide to buy an 'off the shelf' router and still
> want some sort of idea of who's trying to do what to your system(s),
> you can port forward a

Re: growfs says 'we are not growing' ?!?!

2003-12-04 Thread Dan Nelson
In the last episode (Dec 04), Rishi Chopra said:
> Any idea why my partitions (da0s1a, da0s1d, da0s1e) don't have valid 
> disk labels?
> 
> # disklabel -A da0s1d | more
> disklabel: /dev/da0s1d: no valid label found
> # disklabel -A da0s1e | more
> disklabel: /dev/da0s1e: no valid label found
> 
> I created the partitions and mount points when installing the os
> using the standard GUI.

You don't run disklabel on partitions; you run it on slices.  Most
disks will have a single disklabel, which creates all the partitions
needed.  Let me see if I can do an ascii-art drawing of a resize
operation:

Original system:
 
1  |__DISK__|
2  |MBR|__Slice 1_|__Slice 2|
3 |_a_|___b___|__d___|___e__|
4 |_/_|   |_/var_|_/usr_|

Row 1 is the physical layout.  Row 2 is composed of the MBR and fdisk
slices.  Row 3 is BSD disklabels, and row 4 is filesystems.  In this
example, we'll say da0s1 is a non-unix filesystem and ignore it. 
da0s2b is swap, which always uses the entire space given to it, which
is why I didn't extend it to row 4.  The disklabel header for Slice 2
is actually embedded in the first block of the first partition which is
why there's no |DL| on row 3 to match the |MBR| for slices on row 2. 
UFS filesystems skip the first 8k or 64k in a partition to leave room
for the disklabel header and boot blocks.

Grow RAID array:
_
   |DISK_|
   |MBR|__Slice 1_|__Slice 2|
  |_a_|___b___|__d___|___e__|
  |_/_|   |_/var_|_/usr_|

Run fdisk on da0 and grow slice 2:
_
   |DISK_|
   |MBR|__Slice 1_|___Slice 2|
  |_a_|___b___|__d___|___e__|
  |_/_|   |_/var_|_/usr_|

Run disklabel on da0s2 and grow partition e:
_
   |DISK_|
   |MBR|__Slice 1_|___Slice 2|
  |_a_|___b___|__d___|___e___|
  |_/_|   |_/var_|_/usr__|

Run growfs on da0s2e and grow the filesystem:
_
   |DISK_|
   |MBR|__Slice 1_|___Slice 2|
  |_a_|___b___|__d___|___e___|
  |_/_|   |_/var_|_/usr__|

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


Re: SCSI Disk not found

2003-12-04 Thread HOLLOW, CHRISTOPHER
I've worked with ProLiant servers and with FreeBSD RAID, but not on the 
same box.  Basically, as I understand it, you should use the Compaq 
SmartStart Array Configuration Utility to create the RAID1 (mirror) 
array.   The array controller will then present the RAID set as one 
logical drive to the OS.  The total logical size will be the size of one 
(1) of the drives.  Using a Promise RAID controller, dmesg listed the 
device ar0 for the logical RAID set and the devices ad4 and ad6 for the 
low-level RAID components.  The ar0 partition is what is carved up and 
installed to.  Hope this helps...

Chris

Michael E. Mercer wrote:

The drive that can not be found is a 
Western Digital WD Enterprise 4360
4.3 GB Wide-Ultra SCSI

I have removed the second SCSI controller card (PCI) and
the Seagate SCSI Hard Drive.
All that remains is the On-motherboard scsi controller and the
western digital SCSI drive.
The Compaq Configuration Utility sees the drive.
But FreeBSD does not.
Any ideas? Is this Drive supported?

Thanks
Michael E Mercer
On Wed, 2003-12-03 at 22:06, Riley J. McIntire wrote:
 

From: Michael E. Mercer
 

Ok, its the "System Configuration Utility" supplied by Compaq not the
BIOS.
 

Michael
 

Just to jump in...after reading the thread you probably have hardware
raid 0 (mirroring) on the system using 2 controllers and 2 drives--the
Compaq cu should tell you what's going on. The OS will see the 2
mirrored drives as one. I'd be careful about changing scsi IDs until you
determine what's going on.
hth,

Riley

___
[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]"
 

--
Christopher Hollow - Technical Consultant
Infrastructure & Technology Support
1 Dundas St. West, 11th floor, Toronto, ON
416.215.3075 ~ pager 416.339.9786


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


Re: Obtaining the unix o/s

2003-12-04 Thread Dominick DiMantova
On Thu, 4 Dec 2003, Kevin D. Kinsey, DaleCo, S.P. wrote:

> Dominick DiMantova wrote:
> 
> >Hello,
> >
> >My name is Dominick DiMantova and I have a question, or two:
> >
> >1. what is the difference  in either purchasing the media or downloading
> >the software? If I want to download the software, when I go to one of the
> >ftp sites, I'm looking at the ste with alot of folders; how do I know what
> >I need to download? 
> >  
> >
> 
> Before committing too much time and energy, grab the
> FBSD handbook and read a few chapters.
> 
> 
>   ftp://ftp.freebsd.org/pub/FreeBSD/doc/handbook
>   (english version, multiple formats)
> 
> If you are thinking of downloading a CD, then you're looking
> for an "ISO image" file.  IIRC, there are some folders or links to
> folders fairly clearly marked according to system architecture;
> for Intel (PC compatible) machines, look for "i386".  After that,
> the catch would be, "do I want 4.x, or 5.x" and, after that's
> decided, there are a couple of other options such as
> "the MINI ISO", the "standard ISO", etc.
> 
> 
>   ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386
> 
All I need to do is burn the iso images to my CD's and I've got the
entgire freebsd unix o/s? After that, is it going to be quite a process to
install the software, or am I better off spending 60 bucks and get the
CD's from a retailer? 
> My preferred method of installing FBSD is stated on the freebsd.org
> home page.  "You need 2 freshly formatted floppies and these 
> instructions"
> 
> >
> >2. Is X Windows a separate product or does it come bundled with freebsd?
> >
> >
> >  
> >
> 
> A seperate product.  If you create a FBSD box via the Internet,
> some additional bandwidth/time will be necessary to add
> X to the system.  If you buy a FBSD CD set, you should have
> sufficient materials on those CD's to create a working FBSD+
> X Windows system without much 'Net connectivity.
> 
> >Thanks.
> >
> >
> >
> >Sincerely,
> >
> >Dominick DiMantova
> >  
> >
> HTH,
> 
> Kevin Kinsey
> DaleCo, S.P.
> 
> 

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


Re: Obtaining the unix o/s

2003-12-04 Thread Kevin D. Kinsey, DaleCo, S.P.
Dominick DiMantova wrote:

Hello,

My name is Dominick DiMantova and I have a question, or two:

1. what is the difference  in either purchasing the media or downloading
the software? If I want to download the software, when I go to one of the
ftp sites, I'm looking at the ste with alot of folders; how do I know what
I need to download? 
 

Before committing too much time and energy, grab the
FBSD handbook and read a few chapters.
 ftp://ftp.freebsd.org/pub/FreeBSD/doc/handbook
 (english version, multiple formats)
If you are thinking of downloading a CD, then you're looking
for an "ISO image" file.  IIRC, there are some folders or links to
folders fairly clearly marked according to system architecture;
for Intel (PC compatible) machines, look for "i386".  After that,
the catch would be, "do I want 4.x, or 5.x" and, after that's
decided, there are a couple of other options such as
"the MINI ISO", the "standard ISO", etc.
 ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386



My preferred method of installing FBSD is stated on the freebsd.org
home page.  "You need 2 freshly formatted floppies and these 
instructions"

2. Is X Windows a separate product or does it come bundled with freebsd?

 

A seperate product.  If you create a FBSD box via the Internet,
some additional bandwidth/time will be necessary to add
X to the system.  If you buy a FBSD CD set, you should have
sufficient materials on those CD's to create a working FBSD+
X Windows system without much 'Net connectivity.
Thanks.



Sincerely,

Dominick DiMantova
 

HTH,

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


protecting loader

2003-12-04 Thread Dru

Is there a way to prevent a user from bypassing loader and
loading/unloading stuff at the OK prompt? (other than physical security
measures)

I tried placing "/boot/loader -n" in "/boot.config", but it didn't make a
difference.

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


Re: growfs says 'we are not growing' ?!?!

2003-12-04 Thread Rishi Chopra
Any idea why my partitions (da0s1a, da0s1d, da0s1e) don't have valid 
disk labels?

# disklabel -A da0s1d | more
disklabel: /dev/da0s1d: no valid label found
# disklabel -A da0s1e | more
disklabel: /dev/da0s1e: no valid label found
I created the partitions and mount points when installing the os using 
the standard GUI.

-Rishi

Dan Nelson wrote:

In the last episode (Dec 04), Rishi Chopra said:
 

Trying to enlarge a partition (/usr) on a slice (da0s1) with plenty of 
space:

# fdisk

The data for partition 1 is:
sysid 165 (0xa5), (FreeBSD/NetBSD/386BSD)
  start 63, size 1171861362 (572197 Meg), flag 80 (active)
 beg: cyl 0/ head 1/ sector 1
 end: cyl 1023/ head 254/ sector 63
# df -h:

Filesystem   Size   Used   Avail   Capacity   Mounted on
/dev/da0s1a 193M  80M  98M  45%  /
/dev/da0s1d 193M 5.9M172M  3%/var
/dev/da0s1e 1.9G  670M 1.1G   37%  /usr
But when I try:

# umount /usr
# growfs /dev/da0s1e
   

You need to extend your e slice (with disklabel -e da0s1) first. 
You've got three "container" objects: Fdisk slices, BSD partitions, and
filesystem.  You've grown the slice, but you need to also expand the
partition before growfs can resize the filesystem.

 



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


Re: XFree86

2003-12-04 Thread Cordula's Web
Salut,

[EMAIL PROTECTED] est une liste d'expression
anglaise. Please use a french-speaking list instead]

> Bonjour,
> Je ne parviens pas à faire un startx

Si startx marche pour 'root', mais pas pour un autre,
il est necessaire d'utiliser Xwrapper-4. Par example:


startx -- /usr/X11R6/bin/Xwrapper-4 -depth 16

> Pb: Ne parviens pas à configurer Xfree86.

Le programme
  /usr/X11R6/bin/xf86config
genere un ficher XF86Config qu'il faut copier sur
/etc/XF86Config

> Qqn peut-il m'aider ?

Pouvez vous specifier le probleme de facon plus
precise?

> Nico

-- 
Cordula's Web. http://www.cordula.ws/

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


Xdm/Kdm/Gmd

2003-12-04 Thread Payne
Hi,

Thanks for the help early, I am wanting to have either xdm/kdm/gdm to 
start once my system it up, how can I do this? Also which is best?

Payne

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


Way OT: SSH+VNC as quickndirty VPN

2003-12-04 Thread Goodleaf, John M

Here's the scenario:
I have a Windows machine at work. I have a VNC server on it. It is behind a
firewall over which I have no control, so I cannot make a direct connection
to this machine from outside. What I'd like to do is to initiate a SSH
connection (with compression) to my BSD machine at home (which I can do) and
forward the VNC server connection through that SSH tunnel. I'd like to then
lock my workstation and office, go home, and use vncviewer to have access to
my workstation at work. That way I can do work at odd hours and while
watching Buffy the Vampire Slayer.

Is this possible? I have tried a few combinations of port forwarding, but
for whatever reason, find it unintuitive. Can't quite get it to work. Any
suggestions much appreciated.

-John


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


Obtaining the unix o/s

2003-12-04 Thread Dominick DiMantova

Hello,

My name is Dominick DiMantova and I have a question, or two:

1. what is the difference  in either purchasing the media or downloading
the software? If I want to download the software, when I go to one of the
ftp sites, I'm looking at the ste with alot of folders; how do I know what
I need to download? 


2. Is X Windows a separate product or does it come bundled with freebsd?


Thanks.



Sincerely,

Dominick DiMantova

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


RE: SCSI Disk not found

2003-12-04 Thread Riley J. McIntire
> From: Michael E. Mercer

> The drive that can not be found is a
> Western Digital WD Enterprise 4360
> 4.3 GB Wide-Ultra SCSI

> I have removed the second SCSI controller card (PCI) and
>  the Seagate SCSI Hard Drive.

It's been a while--but if you're saying you removed the drive that fbsd
sees and you installed on, and the system still boots, then you indeed
have a raid array with 2 drives, ie a mirror. Or you _had_ an array. You
now have a broken mirror. Please post a new dmesg.

Also noticed from your original dmesg:

ccd0-3: Concatenated disk drivers

which I've never used but makes me suspicious. ;-)

iirc compaq 800's have a separate raid configuration utility for
managing a hardware array. Check the HP/Compaq site and you may find it
for d/l.

> All that remains is the On-motherboard scsi controller and the
> western digital SCSI drive.

And freebsd (looked like it)  installed on the Seagate/Compaq drive?

> The Compaq Configuration Utility sees the drive.
> But FreeBSD does not.

Hopefully I'm not missing something obvious, but seems to me you've
broken the mirror by removing a drive and will have to rebuild it using
compaq's raid utility. See if you can find it.

Regards,

Riley

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


XFree86

2003-12-04 Thread REBUFFET Nicolas
Bonjour,
Je ne parviens pas à faire un startx
Pb: Ne parviens pas à configurer Xfree86.
Qqn peut-il m'aider ?
merci
Nico

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


Re: Can't mount UFS in KNOPPIX

2003-12-04 Thread Georg Klein
On Tue, 2 Dec 2003, Gareth Bailey wrote:

> Is it possible to mount freebsd native partitions in
> Knoppix? How can this be done? - i have tried 'mount -t
> ufs' and 'mount -t ufs -o ufstype=44bsd' BUT Knoppix
> doesn't want to know about it.
>

hi,

if you are using ufs2 an your FBSD Box, than Knoppix (like every Linux)
can't handle that. ufs works.

Georg

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


RE: Urgent Installation problems (CD) - DON"T HOLD YOUR BREATH

2003-12-04 Thread Thor Anderson
I hope you have better luck than I have, Alvin.

I am experiencing the same problems and received and tested the following 
options - all to no avail.

1)  Update computer BIOS to latest version
2)  Downloaded and tested ISO files from 4.6 to 4.91 from bootable CDs (all 
hang)
3)  Purchased commercial release (5.1) and tested CD (hangs after finding 
boot record)
4)  Purchased USB floppy drive and created floppy boot disks (hang)
5)  Attempted to submit problem report via web (web interface is down)
6)  Attempted to submit problem report via email to the "Bugmeister" 
(unacknowlaged)

In the meantime, additional testing shows:

1)  Installation CDs from Microsoft boot and install properly
2)  Installation CD created from downloaded ISO from the Fedora Project 
installs properly

In my situation, I believe the problem may be related to my computer being 
"legacy free".  What that means is that it does not have the traditional IO 
devices that most computers have (PS/2 keyboard or mouse, serial, parallel, 
or floppy interface.  All it has are USB ports for those functions.  My 
guess is that the kernel included in the installation files was not built 
for this situation.  In the meantime, since I do not have a working FreeBSD 
system, I can not build my own kernal.

When approaching this situation, it was my desire to base my systems on a 
BSD kernel.  Due to it's reputation of stability and (especially) 
compatability, I chose FreeBSD.  Since that time, I have spent over $100, 
many hours of testing, and significant frustration to install it - to no 
avail.  The lack of support (and even responsiveness) from the FreeBSD team 
after putting my money on the line to purchase the commercial release gives 
me grave doubts about the viability of this distribution and the legitimacy 
of the organization's compatability claims..

Good luck - and don't spend any money until it works!
Thor
From: Alvin <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Urgent Installation problems (CD)
Date: Thu, 4 Dec 2003 07:03:39 +0800
Thank you for your time. I burned the .iso for i386 (release 5.1) on the CD 
and configured the BIOS to boot from the CD but it won't boot from it. I 
have also tried using the floppy to install it but it can't detect the .iso 
in the CD. Are there other files that must be burned to the CD.

I have burned BeOS PE Max edition to the CD to test if my computer can boot 
from the CD. It worked perfectly and booted from it.

God bless,
Alvin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
Our best dial-up offer is back.  Get MSN Dial-up Internet Service for 6 
months @ $9.95/month now! http://join.msn.com/?page=dept/dialup

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


RE: SCSI Disk not found

2003-12-04 Thread Michael E. Mercer
The drive that can not be found is a 
Western Digital WD Enterprise 4360
4.3 GB Wide-Ultra SCSI

I have removed the second SCSI controller card (PCI) and
 the Seagate SCSI Hard Drive.

All that remains is the On-motherboard scsi controller and the
western digital SCSI drive.

The Compaq Configuration Utility sees the drive.
But FreeBSD does not.

Any ideas? Is this Drive supported?

Thanks
Michael E Mercer

On Wed, 2003-12-03 at 22:06, Riley J. McIntire wrote:
> > From: Michael E. Mercer
> 
> > Ok, its the "System Configuration Utility" supplied by Compaq not the
> > BIOS.
> 
> > Michael
> 
> Just to jump in...after reading the thread you probably have hardware
> raid 0 (mirroring) on the system using 2 controllers and 2 drives--the
> Compaq cu should tell you what's going on. The OS will see the 2
> mirrored drives as one. I'd be careful about changing scsi IDs until you
> determine what's going on.
> 
> hth,
> 
> Riley
> 
> 
> ___
> [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: "Cannot find file system superblock" error - how to recover?

2003-12-04 Thread Sergey 'DoubleF' Zaharchenko
On Thu, 4 Dec 2003 08:24:16 -0800 (PST)
"Scott I. Remick" <[EMAIL PROTECTED]> probably wrote:

> 
> --- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:
> > If you want to be more sure, try dd'ing your (suspectedly damaged)
> > superblock and some of its (suspectedly OK) copies into different files:
> > 
> > # dd if=/dev/ad6s1e skip=... bs=512 count=16 of=somefile
> > 
> > As /usr/src/sys/ufs/ffs/fs.h suggests, for THE superblock skip should be
> > 16 if you have UFS1 or 128 or 512 if you have UFS2 (if my maths is
> > correct). These commands shouldn't do anything harmful to /dev/ad6s1e.
> 
> Either I'm doing something wrong, or things aren't good.
> 
> Given:
> 
> su-2.05b# newfs -N /dev/ad6s1e

Just a minute. Are you sure that the filesystem was newfs'd with the
default parameters? If it were for me to newfs it, I would probably
choose larger block&fragment sizes, as I would probably be storing large
files. The superblock copy positions depend on the block/frag size. If
you specify parameters different from those used for actually newfs'ing
it the very first time, newfs -N will give you *incorrect* copy
addresses!

> /dev/ad6s1e: 76340.1MB (156344516 sectors) block size 16384, fragment size
> 2048
> using 416 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
> super-block backups (for fsck -b #) at:
>  160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976,
> 
> ...
> 
>  152046368, 152422720, 152799072, 153175424, 153551776, 153928128,
> 154304480,
>  154680832, 155057184, 155433536, 155809888, 156186240


-- 
DoubleF
The computing field is always in need of new cliches.
-- Alan Perlis


pgp0.pgp
Description: PGP signature


Re: Make kernel error nr. 1

2003-12-04 Thread Ion-Mihai Tetcu
On Wed, 3 Dec 2003 15:29:03 -0800 (PST)
Valerian Galeru <[EMAIL PROTECTED]> wrote:

> 
> I get an error when i make the kernel. Here is my config
> file(atached).

Valerius, could you please, please see, read and try to
understand Grog's http://www.lemis.com/questions.html

A few day ago I've said:

> Try to provide us more info as we can not guess what you console is
> printing. Copy / paste the output. Also uname -a output. If you want
> you could join the [EMAIL PROTECTED] mailling list.

If english is the problem please contact me directly.



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


Re: "Cannot find file system superblock" error - how to recover?

2003-12-04 Thread Sergey 'DoubleF' Zaharchenko
On Thu, 4 Dec 2003 08:24:16 -0800 (PST)
"Scott I. Remick" <[EMAIL PROTECTED]> probably wrote:

> 
> --- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:
> > If you want to be more sure, try dd'ing your (suspectedly damaged)
> > superblock and some of its (suspectedly OK) copies into different files:
> > 
> > # dd if=/dev/ad6s1e skip=... bs=512 count=16 of=somefile
> > 
> > As /usr/src/sys/ufs/ffs/fs.h suggests, for THE superblock skip should be
> > 16 if you have UFS1 or 128 or 512 if you have UFS2 (if my maths is
> > correct). These commands shouldn't do anything harmful to /dev/ad6s1e.
[snip]
> I am suspecting there is something wrong in my syntax for fetching the
> superblocks. I see that the SB size is always 8192 bytes regardless so it
> should be 512*16 as in the dd command. And I checked that the #s output by
> newfs -N were block positions and not raw byte permissions.
> 
> However newfs -N is saying that it is reporting the positions using a
> blocksize of 16384. In which case, 160 would mean 160 * 16384 = 2621440
> (byte pos). To translate to the 512-byte blocks, this means the skip should
> be 5120 (and 12048384 and 24091648 respectively for the 2nd & 3rd sb
> positions). However, when I grab 8192-byte chunks using these skip settings
> w/ dd, they don't match up either. I was hoping I was onto something. :(

Unless I am very much mistaken, the positions reported by newfs should
always be multiplied by the sector size (512), not by the block size. So
what you were doing is ok...

> Yet you say using the same # output by newfs -N as the skip for dd worked
> for you... hmm.

This suggests that something else (looking suspiciously at the
disklabel) is screwed, not the superblocks... I think we'll end up
digging through the hex dump of the beginning of the drive.

I've got a (probably bad) idea. If you say that the partition was
mounted as /data, then you could do a

# hd /dev/ad6s1 |grep /data

It should come up soon (the superblock should be close to the beginning
of the drive, right?). This way you can at least figure out where your
superblock lies (rounding the address of `/data' to 8K). Considering the
above discussion, you can calculate the *correct* address of the `e'
partition by subtracting 8K or 64K or 256K. See if it matches the one in
the disklabel.

Of course, this is all possible only if your superblock isn't screwed
enough to NOT contain `/data'.

This won't find you the copies of the superblock, BTW, as they are not
modified my a mount.

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


-- 
DoubleF
Non-Reciprocal Laws of Expectations:
Negative expectations yield negative results.
Positive expectations yield negative results.


pgp0.pgp
Description: PGP signature


Re: Hardware support IBM X335 (was: QUESTION ABOUT FREE BSD)

2003-12-04 Thread Alex de Kruijff
On Thu, Dec 04, 2003 at 05:59:25PM +0900, Takuya Satoh wrote:
> Hi.
> I'm workink for computer sales buissnes, and one of my costomer woul'd like
> to know that your Free BSD would work on the IBM X335 Server. If you have
> experienced that you?hear?in this case, please let me know it work or not.
> Thank you.

You can find a hardware support list on the website on the top rigth of
the main page.

-- 
Alex

P.S I've changed the subject because everybody on this list has
questions about FreeBSD. Someone who doesn't have a lot of time but does
have a awnser to you question may read it if the subject tells whats
inside.

P.S. Please CC me.

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


single-user mode

2003-12-04 Thread Dru

It's been a while since I've had to enter single-user mode and I've just
discovered that "boot -s" doesn't work at the "boot" prompt on 5.1-RELEASE.
(however, it does work nicely if I interrupt loader at the next boot
stage).

In fact, I can't get *anything* to work at the "boot" prompt, or even
leave that prompt without doing a CTRL ALT DEL. Am I missing something, or is
the "boot" prompt defunct on 5.x?

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


Re: growfs says 'we are not growing' ?!?!

2003-12-04 Thread Dan Nelson
In the last episode (Dec 04), Rishi Chopra said:
> Trying to enlarge a partition (/usr) on a slice (da0s1) with plenty of 
> space:
> 
> # fdisk
> 
> The data for partition 1 is:
> sysid 165 (0xa5), (FreeBSD/NetBSD/386BSD)
>start 63, size 1171861362 (572197 Meg), flag 80 (active)
>   beg: cyl 0/ head 1/ sector 1
>   end: cyl 1023/ head 254/ sector 63
> 
> # df -h:
> 
> Filesystem   Size   Used   Avail   Capacity   Mounted on
> /dev/da0s1a 193M  80M  98M  45%  /
> /dev/da0s1d 193M 5.9M172M  3%/var
> /dev/da0s1e 1.9G  670M 1.1G   37%  /usr
> 
> But when I try:
> 
> # umount /usr
> # growfs /dev/da0s1e

You need to extend your e slice (with disklabel -e da0s1) first. 
You've got three "container" objects: Fdisk slices, BSD partitions, and
filesystem.  You've grown the slice, but you need to also expand the
partition before growfs can resize the filesystem.

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


how to force packets to go out on a specific interface

2003-12-04 Thread Maksim Yevmenkin
Dear Hackers,

is there a way to force packets to go out on a specific interface
based on a source IP address? 

here is what we want: for testing purposes we have a FreeBSD box with
two 100Mbit NICs (em0 and em1). both NICs are on the the same subnet
172.1.1.x/23. both NICs are connected to the ServerIron. the purpose
of the setup is to get 200Mbit link between FreeBSD and ServerIron.

ethernet trunking is NOT an option. it seems ServerIron uses algorithm
that selects physical port in the trunk based on source and destination
IP. IPs do not change during the test, so one NIC gets more traffic then
another (we only have few clients that talk to the FreeBSD box).

so what is really required is: if a process was bound to 172.1.1.1 (em0)
then the packets should go out on em0 and if process was bound to
172.1.1.2 (em1) then packets should go out on em1. we tried ipfw(8)
"forward" and it did not do what we want. Linux can handle this via
"ip route foo bar" thing where we can specify which local source address
should go out on which interface.

one more thing: the solution must be compatible with dummynet(4).

thanks,
max

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "Cannot find file system superblock" error - how to recover?

2003-12-04 Thread Scott I. Remick

--- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:
> If you want to be more sure, try dd'ing your (suspectedly damaged)
> superblock and some of its (suspectedly OK) copies into different files:
> 
> # dd if=/dev/ad6s1e skip=... bs=512 count=16 of=somefile
> 
> As /usr/src/sys/ufs/ffs/fs.h suggests, for THE superblock skip should be
> 16 if you have UFS1 or 128 or 512 if you have UFS2 (if my maths is
> correct). These commands shouldn't do anything harmful to /dev/ad6s1e.

Either I'm doing something wrong, or things aren't good.

Given:

su-2.05b# newfs -N /dev/ad6s1e
/dev/ad6s1e: 76340.1MB (156344516 sectors) block size 16384, fragment size
2048
using 416 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976,

...

 152046368, 152422720, 152799072, 153175424, 153551776, 153928128,
154304480,
 154680832, 155057184, 155433536, 155809888, 156186240

I take 6 superblock copies (3 from beginning, 3 from end):

su-2.05b# dd if=/dev/ad6s1e skip=160 bs=512 count=16 of=sb1
16+0 records in
16+0 records out
8192 bytes transferred in 0.026774 secs (305969 bytes/sec)
su-2.05b# dd if=/dev/ad6s1e skip=376512 bs=512 count=16 of=sb2
16+0 records in
16+0 records out
8192 bytes transferred in 0.008415 secs (973502 bytes/sec)
su-2.05b# dd if=/dev/ad6s1e skip=752864 bs=512 count=16 of=sb3
16+0 records in
16+0 records out
8192 bytes transferred in 0.006808 secs (1203283 bytes/sec)
su-2.05b# dd if=/dev/ad6s1e skip=155433536 bs=512 count=16 of=sb4
16+0 records in
16+0 records out
8192 bytes transferred in 0.023173 secs (353513 bytes/sec)
su-2.05b# dd if=/dev/ad6s1e skip=155809888 bs=512 count=16 of=sb5
16+0 records in
16+0 records out
8192 bytes transferred in 0.011078 secs (739484 bytes/sec)
su-2.05b# dd if=/dev/ad6s1e skip=156186240 bs=512 count=16 of=sb6
16+0 records in
16+0 records out
8192 bytes transferred in 0.010837 secs (755932 bytes/sec)

None of these are the same:

su-2.05b# cmp sb1 sb2
sb1 sb2 differ: char 1, line 1
su-2.05b# cmp sb1 sb3
sb1 sb3 differ: char 1, line 1
su-2.05b# cmp sb2 sb3
sb2 sb3 differ: char 1, line 1

I don't include sb4-6 here because they're all null:

su-2.05b# hexdump -C sb4
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 
||
*
2000
su-2.05b# hexdump -C sb5
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 
||
*
2000
su-2.05b# hexdump -C sb6
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 
||
*
2000

I am suspecting there is something wrong in my syntax for fetching the
superblocks. I see that the SB size is always 8192 bytes regardless so it
should be 512*16 as in the dd command. And I checked that the #s output by
newfs -N were block positions and not raw byte permissions.

However newfs -N is saying that it is reporting the positions using a
blocksize of 16384. In which case, 160 would mean 160 * 16384 = 2621440
(byte pos). To translate to the 512-byte blocks, this means the skip should
be 5120 (and 12048384 and 24091648 respectively for the 2nd & 3rd sb
positions). However, when I grab 8192-byte chunks using these skip settings
w/ dd, they don't match up either. I was hoping I was onto something. :(

Yet you say using the same # output by newfs -N as the skip for dd worked
for you... hmm.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Adding a network card

2003-12-04 Thread Matthew Seaman
On Thu, Dec 04, 2003 at 10:49:19AM -0500, Payne wrote:

> I have a bit of a problem with a network card and to change out with a 
> need one. I have install Intel Pro 10/100 how can I get freebsd to see 
> it. I looked under sysintall and did see again.

Intel EtherExpress Pro cards use the fxp(4) driver.  That's standard
in the GENERIC kernel, or if you're using a customized kernel config,
just edit it to include the miibus and fxp devices.  Having obtained a
kernel with appropriate support, power the machine down, put the card
in and reboot.  Check the dmesg output (/var/run/dmesg.boot) to see if
your card has been detected.  Then adjust the network settings by
editing /etc/rc.conf and either reboot or run ifconfig(8) manually to
configure the new network interface.  sysinstall(8) isn't the tool for
thins job.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


RE: Connection attempt to TCP messages in /var/log/messages

2003-12-04 Thread fbsd_user
The log-in-vain MIB is an poor mans version of an firewall. When you
enable IPFW or IPFILTER this MIB and the other network security
MIB's become meaningless, as the firewall gets access to the packets
before anything else and drops all packets arriving on ports without
any application listening on the port as technically invalid.  This
subject has been posted to the questions list this week. See subject
thread 'network security sysctl mib's'

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Norman
Walek
Sent: Thursday, December 04, 2003 10:53 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Connection attempt to TCP messages in /var/log/messages

edit /etc/syslog.conf appropriately
kernel.debug for said example
>Nov 25 03:09:56 asia /kernel: Connection attempt to TCP
202.79.180.131:80

njw

"Mohsin Rahman" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>
...
>sysctl -w net.inet.tcp.log_in_vain=1
>sysctl -w net.inet.udp.log_in_vain=1
>
>turns em on and
>
>sysctl -w net.inet.tcp.log_in_vain=0
>sysctl -w net.inet.udp.log_in_vain=0
>
>turns them off. Hope this helps.
>
>Anyone know how to add a time/date to this log entry and which file
to
>modify?
>
>--
>Mohsin Rahman
>[EMAIL PROTECTED]
>
>
>- Original Message - From: "Kent Stewart"
<[EMAIL PROTECTED]>
>To: "Spades" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
>Sent: Monday, November 24, 2003 2:28 PM
>Subject: Re: Connection attempt to TCP messages in
/var/log/messages
>
>
> > On Monday 24 November 2003 11:11 am, Spades wrote:
> > > I did a tail -f /var/log/messages and got all these..
> > >
> > > previously before my cvs and recompile kernel to 4.9 stable
> > > it didn't have below.. now it does..
> > >
> > > Nov 25 03:09:56 asia /kernel: Connection attempt to TCP
>  202.79.180.131:80
> > > from 65.217.41.66:1681
> > > Nov 25 03:09:58 asia /kernel: Connection attempt to TCP
>  202.79.180.130:80
> > > from 24.136.234.77:4059
> > >
> > > question.. how to stop seeing them in /var/log/messages?
> > >
> >
> > Buy a hardware firewall that you place in front of your
computer. You
>  probably
> > have a log option in your firewall and someone is trying to
connect to
>  your
> > web server. You could turn off logging but I like to know who is
trying
>to
> > connect to my systems. This is especially true when I am not
running a
> > service and they are probing to find out if I am.
> >
> > 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]"
> >
>
>
>
>___
>[EMAIL PROTECTED] mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"

_
Tired of slow downloads and busy signals?  Get a high-speed Internet
connection! Comparison-shop your local high-speed providers here.
https://broadband.msn.com

___
[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]"


usb wireless lan cards

2003-12-04 Thread Paulo Roberto
Is there any project related to porting externel usb wireless
interfaces to FreeBSD?
I am stuck with a Linksys WUSB11 and have to run Windows on my laptop
just because the damn winmodem and this damn usb network interface.

TIA

Paulo Roberto

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Adding a new network card to FreeBSD 5.1

2003-12-04 Thread Payne
Hi,

Sorry for the last e-mail. I am hoping this one makes more sense. I had 
to replace my old network card, with a new one. The one was Netgear 
F311, the new one is Intel Pro 10/100, but I can't find how to make 
FreeBSD to see it. I have played around with sysinstall, is there a easy 
way to add to my FreeBSD. I am using 5.1

Thanks,

Payne

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


Re: QUESTION ABOUT FREE BSD

2003-12-04 Thread Vulpes Velox
On Thu, 4 Dec 2003 17:59:25 +0900
Takuya Satoh <[EMAIL PROTECTED]> wrote:

> 
> 
> 
> 
> 
> Hi.
> I'm workink for computer sales buissnes, and one of my costomer woul'd like
> to know that your Free BSD would work on the IBM X335 Server. If you have
> experienced that you hear in this case, please let me know it work or not.
> Thank you.

Check the list of supported hardware for the production release at freebsd.org
and find out.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Adding a network card

2003-12-04 Thread Payne
Hi,

I have a bit of a problem with a network card and to change out with a 
need one. I have install Intel Pro 10/100 how can I get freebsd to see 
it. I looked under sysintall and did see again.

Thanks,

Payne

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


can ping, can't download through firewall

2003-12-04 Thread Garry Hill

hi,

i'm a reasonably experienced linux/bsd user - i've installed a few boxes in my time 
and usually with a good level of success. but this time i'm stumped/jiggered.

i'm trying to set up a freebsd gateway to share my cable modem connection. 

from the gateway itself i can ping the world, from the attached clients i can ping the 
world, i can even do dns lookups. doing:

curl --head http://www.website.com

gives me a good-looking header and everything, but if i do 

lynx http://www.website.com

no joy. i get:

HTTP request sent; waiting for response.

and it stops there. this is true from both the clients and the gateway itself. i just 
can't download anything for all the pings in the world.

my current set up is 

-- kernel config:

options IPFIREWALL
options IPDIVERT 
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_VERBOSE 
options IPFIREWALL_VERBOSE_LIMIT=10 

-- /etc/rc.conf

gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
natd_enable="YES"
natd_interface=" rl0"
natd_flags="" 

which are both straight out of the handbook.

-- ipfw -a list
00050 1844 130026 divert 8668 ip from any to any via rl0
00100   96  11166 allow ip from any to any via lo0
002000  0 deny ip from any to 127.0.0.0/8
003000  0 deny ip from 127.0.0.0/8 to any
65000 2481 200907 allow ip from any to any
655350  0 allow ip from any to any

i've tried the same thing using ipfilter and ipnat instead of natd and ipfw - with the 
same results. 

ethernet cards - a pair of 8139's - rl0 external, rl1 internal. as far as i can tell 
they work fine. on the internal network the pings are 100% - i can ftp ssh the works 
without problem.

i've noticed that if i turn on the firewall my pings to the isp's router are much much 
less reliable, sometimes losing 30%+ of the packets but generally degraded compared to 
the setup with no firewall enabled.

the firewall stats show that everything is passing ok. 

i really don't know what's going on. unfortunately my web searches have turned up 
nothing similar.

does anyone have any ideas/comments/suggestions/experience of the same? is it the 
network cards? pings from the client machine when connected directly work perfectly 
but from the gateway are at best a little dodgy - losing 15% of the packets. is there 
some incompatibility between the network card and the router?

oh, and install is FreeBSD 4.9-RELEASE

any help greatly appreciated. it's doin my head in.

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


Re: Connection attempt to TCP messages in /var/log/messages

2003-12-04 Thread Norman Walek
edit /etc/syslog.conf appropriately
kernel.debug for said example
Nov 25 03:09:56 asia /kernel: Connection attempt to TCP 202.79.180.131:80
njw

"Mohsin Rahman" <[EMAIL PROTECTED]> wrote in message 
news:<[EMAIL PROTECTED]>...
sysctl -w net.inet.tcp.log_in_vain=1
sysctl -w net.inet.udp.log_in_vain=1
turns em on and

sysctl -w net.inet.tcp.log_in_vain=0
sysctl -w net.inet.udp.log_in_vain=0
turns them off. Hope this helps.

Anyone know how to add a time/date to this log entry and which file to
modify?
--
Mohsin Rahman
[EMAIL PROTECTED]
- Original Message - From: "Kent Stewart" <[EMAIL PROTECTED]>
To: "Spades" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, November 24, 2003 2:28 PM
Subject: Re: Connection attempt to TCP messages in /var/log/messages
> On Monday 24 November 2003 11:11 am, Spades wrote:
> > I did a tail -f /var/log/messages and got all these..
> >
> > previously before my cvs and recompile kernel to 4.9 stable
> > it didn't have below.. now it does..
> >
> > Nov 25 03:09:56 asia /kernel: Connection attempt to TCP
 202.79.180.131:80
> > from 65.217.41.66:1681
> > Nov 25 03:09:58 asia /kernel: Connection attempt to TCP
 202.79.180.130:80
> > from 24.136.234.77:4059
> >
> > question.. how to stop seeing them in /var/log/messages?
> >
>
> Buy a hardware firewall that you place in front of your computer. You
 probably
> have a log option in your firewall and someone is trying to connect to
 your
> web server. You could turn off logging but I like to know who is trying 
to
> connect to my systems. This is especially true when I am not running a
> service and they are probing to find out if I am.
>
> 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]"
>



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
Tired of slow downloads and busy signals?  Get a high-speed Internet 
connection! Comparison-shop your local high-speed providers here. 
https://broadband.msn.com

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


RE: Urgent Installation problems (CD)

2003-12-04 Thread fbsd_user
The .iso file is an compressed file. If the CD you are trying to
boot from only has a single .iso file then you did not burn the cd
correctly. It should look like an regular data CD with directories,
and sub-directories populated with files. If you can  use FBSD to
mount the CD, and use the cd  [change directory] command to point to
it and then ls command to see the contents, then your boot problem
lies some where else than with the CD disk.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alvin
Sent: Wednesday, December 03, 2003 6:04 PM
To: [EMAIL PROTECTED]
Subject: Urgent Installation problems (CD)

Thank you for your time. I burned the .iso for i386 (release 5.1) on
the CD and configured the BIOS to boot from the CD but it won't boot
from it. I have also tried using the floppy to install it but it
can't detect the .iso in the CD. Are there other files that must be
burned to the CD.

I have burned BeOS PE Max edition to the CD to test if my computer
can boot from the CD. It worked perfectly and booted from it.

God bless,
Alvin
___
[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: "Cannot find file system superblock" error - how to recover?

2003-12-04 Thread Scott I. Remick

--- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:
> Oh yes there are... what's surprising? If you are sure that the problem
> is with the superblock, pick any you wish.
> 
> The actual number of superblock copies depends on the disk size and the
> parameters you give to newfs.

[...]

> It's about THE superblock, not a superblock copy. There can be only one
> superblock. There may be many copies. But if you dd them to the
> superblock, that'll be fine.

Ahh ok, I've learned something new. Guess I misinterpreted the information I
found online. I'm not complaining: this is GOOD news. :)

> BTW, what's the output of ``disklabel -r /dev/ad6s1c'' ?

su-2.05b# disklabel -r /dev/ad6s1c
# /dev/ad6s1c:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 156344517   63unused0 0 # "raw" part, don't
edit
  e: 156344517   634.2BSD 2048 1638489
partition c: partition extends past end of unit
disklabel: partition c doesn't start at 0!
disklabel: An incorrect partition c may cause problems for standard system
utilities
partition e: partition extends past end of unit

That doesn't look good.

By the way, the past posts I've read suggest that even if I use fsck_ffs -b
to run fsck with a diff superblock (say, the one at 160) that it doesn't
actually fix the master copy, and that I still need to use dd to fix the
original. The command I've seen used is:

dd if=/dev/ad6s1c skip=32 of=/dev/ad6s1c seek=16 bs=512 count=16

1) Do I just replace the 32 of "skip=32" with 160 (or whichever superblock
makes fsck_ffs -b happy)?

2) I've also read that the size and location of the original superblock can
vary. Do I have to modify the seek/bs/count values to account for this? And
if so, how do I find the proper values?

Nothing done yet... don't wanna screw this up. Thanks everyone!

=
Scott I. Remick   --==--   ICQ: 450152 
Save the internet - Use a Mozilla-based browser: http://vtbsd.net/mozilla/
FreeBSD: Because making unix user-friendly is easier than debugging Windows. 
http://vtbsd.net/freebsd/
"Voici mon secret. Il est tres simple: on ne voit bien qu'avec le coeur. L'essentiel 
est invisible pour les yeux."

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "Cannot find file system superblock" error - how to recover?

2003-12-04 Thread Sergey 'DoubleF' Zaharchenko
On Thu, 4 Dec 2003 06:17:40 -0800 (PST)
"Scott I. Remick" <[EMAIL PROTECTED]> probably wrote:

> 
> --- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:
[so you want the list cc'd. good...]
> > Oh yes there are... what's surprising? If you are sure that the problem
> > is with the superblock, pick any you wish.
> > 
> > The actual number of superblock copies depends on the disk size and the
> > parameters you give to newfs.
> 
> [...]
> 
> > It's about THE superblock, not a superblock copy. There can be only one
> > superblock. There may be many copies. But if you dd them to the
> > superblock, that'll be fine.
> 
> Ahh ok, I've learned something new. Guess I misinterpreted the information I
> found online. I'm not complaining: this is GOOD news. :)
> 
> > BTW, what's the output of ``disklabel -r /dev/ad6s1c'' ?
> 
> su-2.05b# disklabel -r /dev/ad6s1c
> # /dev/ad6s1c:
> 8 partitions:
> #size   offsetfstype   [fsize bsize bps/cpg]
>   c: 156344517   63unused0 0 # "raw" part, don't edit
>   e: 156344517   634.2BSD 2048 1638489
> partition c: partition extends past end of unit
> disklabel: partition c doesn't start at 0!
> disklabel: An incorrect partition c may cause problems for standard system
> utilities
> partition e: partition extends past end of unit
> 
> That doesn't look good.

True.

> By the way, the past posts I've read suggest that even if I use fsck_ffs -b
> to run fsck with a diff superblock (say, the one at 160) that it doesn't
> actually fix the master copy, and that I still need to use dd to fix the
> original. The command I've seen used is:
>
> dd if=/dev/ad6s1c skip=32 of=/dev/ad6s1c seek=16 bs=512 count=16

In fact, when you mess with superblocks, it's messing with filesystems
(thus it's different from messing with disklabels). So I guess you
should use /dev/ad6s1e here. `e' should be the partition, and `c' ---
the whole disk.

> 1) Do I just replace the 32 of "skip=32" with 160 (or whichever superblock
> makes fsck_ffs -b happy)?

Probably yes. The thing is you want to copy some 8192 bytes from one
location to another. But I never had a chance to treat a superblock
that way... Go ask a person who did!
 
> 2) I've also read that the size and location of the original superblock can
> vary. Do I have to modify the seek/bs/count values to account for this? And

Yes. skip here is the location of the copy, seek is the location of the
superblock (see below for values).

> if so, how do I find the proper values?
> 
> Nothing done yet... don't wanna screw this up. Thanks everyone!

If you want to be more sure, try dd'ing your (suspectedly damaged)
superblock and some of its (suspectedly OK) copies into different files:

# dd if=/dev/ad6s1e skip=... bs=512 count=16 of=somefile

As /usr/src/sys/ufs/ffs/fs.h suggests, for THE superblock skip should be
16 if you have UFS1 or 128 or 512 if you have UFS2 (if my maths is
correct). These commands shouldn't do anything harmful to /dev/ad6s1e.

Of course, after that, you could hack up a program which will read
superblocks and display them according to their structure defined as
`struct fs' in /usr/src/sys/ufs/ffs/fs.h. Let's not do it today, right?

If your superblock copies will appear similar to each other (use cmp(1)
or md5(1)), then you can be sure that you've found the copies (so far
you haven't done any mistakes in your calculations). Then it's up to you
to commit the change.

I've just tried it on a test machine. The copies matched. Hmm:)

> =
> Scott I. Remick   --==--   ICQ: 450152 
> Save the internet - Use a Mozilla-based browser: http://vtbsd.net/mozilla/
> FreeBSD: Because making unix user-friendly is easier than debugging Windows. 
> http://vtbsd.net/freebsd/
> "Voici mon secret. Il est tres simple: on ne voit bien qu'avec le coeur. L'essentiel 
> est invisible pour les yeux."
> 
> Q: Because it reverses the logical flow of conversation.
> A: Why is putting a reply at the top of the message frowned upon?
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 


-- 
DoubleF
Peter's Law of Substitution:
Look after the molehills, and the mountains will look after
themselves.


pgp0.pgp
Description: PGP signature


MIT krb5, telnetd, PAM, incorrect permissions on forwarded tickets

2003-12-04 Thread Tillman Hodgson
I'm trying over here since I didn't have any luck fishing in ports@ :-)

I've since found the parts of the MIT login.krb5 that chown the
forwarded ticket file. That was nice to know to not really relevent :-)

I understand that there's a race condition when having root chown a file
in /tmp to a user (symlinks being the obvious attack path). There are
ways around that, though, so I don't believe the change that I'm looking
for leads to a security problem if handled carefully.

-T


-- 
All programs evolve until they can send email.
- A.S.R. quote (Richard Letts)
Except Microsoft Exchange.
- A.S.R. quote (Art)
--- Begin Message ---
Howdy folks,

When using the MIT krb5 port (up to date as of a CVSup this morning) on
a recent -STABLE box, there are two ways to enable telnetd in
/etc/inetd.conf:

telnet  stream  tcp nowait  root/usr/libexec/telnetd telnetd -a user
 or
telnet  stream  tcp nowait  root/usr/local/krb5/sbin/telnetd telnetd -a user -L 
/usr/local/krb5/sbin/login.krb5

The first way, according to the man page and to the README.FreeBSD
included in teh krb5 port, uses /usr/bin/login. The second way uses the
MIT login program.

The first way is obviously preferred -- you get login.conf and
login.access that way. However, when using forwarded tickets it creates
them with the wrong permissions (0600 root:wheel) and the user can't
even read their own ticket. If root chown's them to the user manually
the forwarded ticket works correctly.

Naturally, login.krb5 sets the permissions correctly.

Since a simple chown seems like such a simple thing to fix and there's
compelling benefits to using the FreeBSD login, I'd like to start using
/usr/bin/login with my MIT telnetd (it's even the default in the port
;-) ). But finding figuring out just where this should be down has been
non-trivial.

My first instinct (supported by the wording in README.FreeBSD) was to
look in /etc/pam.conf. But PAM doesn't appear to be in play here: I have
pam_krb5.conf commented out and am still able to login in correctly!
Uncommenting pam_krb5 in the PAM stack appears to have no effect.

So my next instinct was that the MIT telnetd was performing the ticket
creation in /tmp itself. That's a much bigger piece of software to read
through -- I'm still digging into it.

Are there any known workarounds for this? Would someone with a bit more
familiarity with the code in question mind taking a look at it?

Thanks,

-T


-- 
Belief gets in the way of learning.
- Robert Heinlein
--- End Message ---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


A-DATA flash drive: some oddities and how to add USB quirks

2003-12-04 Thread DEATHBYSIXTY9
i need som help if you would please call me @ ( 215 ) 852 - 7516 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


QUESTION ABOUT FREE BSD

2003-12-04 Thread Takuya Satoh





Hi.
I'm workink for computer sales buissnes, and one of my costomer woul'd like
to know that your Free BSD would work on the IBM X335 Server. If you have
experienced that you hear in this case, please let me know it work or not.
Thank you.

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


Urgent Installation problems (CD)

2003-12-04 Thread Alvin
Thank you for your time. I burned the .iso for i386 (release 5.1) on 
the CD and configured the BIOS to boot from the CD but it won't boot 
from it. I have also tried using the floppy to install it but it 
can't detect the .iso in the CD. Are there other files that must be 
burned to the CD.

I have burned BeOS PE Max edition to the CD to test if my computer 
can boot from the CD. It worked perfectly and booted from it.

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


Re: I need some documentation, and not only

2003-12-04 Thread Ion-Mihai Tetcu
On Thu, 4 Dec 2003 16:03:59 +0300
Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:

> On Thu, 4 Dec 2003 12:15:38 +0200 Ion-Mihai Tetcu <[EMAIL PROTECTED]> probably wrote:
> 
> > On Thu, 4 Dec 2003 01:59:40 -0800 (PST)
> >  Valerian Galeru <[EMAIL PROTECTED]> wrote:
> > 
[..]

> > 
> > cd /usr/local/bin/midc && make install clean
>  ^^^
> Change it to /usr/ports/misc/mc to make me happy...

*BIG* uuups :)

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


Re: I need some documentation, and not only

2003-12-04 Thread Sergey 'DoubleF' Zaharchenko
On Thu, 4 Dec 2003 12:15:38 +0200 Ion-Mihai Tetcu <[EMAIL PROTECTED]> probably wrote:

> On Thu, 4 Dec 2003 01:59:40 -0800 (PST)
>  Valerian Galeru <[EMAIL PROTECTED]> wrote:
> 
> > Can anyone tell me any sites with documentation about file systems in
> > Unix systems(it will be better on FreeBSD(if there are any differences
> > between Freebsd fs and other Unix fs) ). 
> > And i need documentation about Floppy disks, how to format them
> > in BSD
> 
> Q: What would happend if you start reading:
> the hanbook
>  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
> the faq
>  http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html
> and the man pages 
>  http://www.freebsd.org/cgi/man.cgi?manpath=FreeBSD+5.1-RELEASE
> 
> A: You would make things easier for both you and us.
> http://www.freebsd.org/docs.html
> 
> FreeBSD uses UFS1 or UFS2 (default from 5.1R).
> 
> http://docs.freebsd.org/44doc/papers/diskperf.html
> http://docs.freebsd.org/44doc/papers/fsinterface.html
> http://docs.freebsd.org/44doc/smm/03.fsck/paper.html
> http://docs.freebsd.org/44doc/smm/05.fastfs/paper.html
> 
> The sources are in:
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/ufs/
> and 
> /usr/src/sys/ufs if you choosed to install them.
> 
> > I need names of programs like
> > window comander, or something like this, not to type cd 100 times a
> > day:).
> 
> cd /usr/local/bin/midc && make install clean
 ^^^
Change it to /usr/ports/misc/mc to make me happy...

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


-- 
DoubleF
As of next week, passwords will be entered in Morse code.


pgp0.pgp
Description: PGP signature


Re: Weird display problem

2003-12-04 Thread Melvyn Sopacua
On Wednesday 03 December 2003 19:59, Daniela wrote:
> On Sunday 30 November 2003 02:56, Melvyn Sopacua wrote:
> > On Sunday 30 November 2003 04:32, Daniela wrote:
> > >andte_Mathematik/ in Mozilla and scroll down the page. I once had this a
> > > long time ago with 4.8 (now I have 4.9), but I can't remember the
> > > browser I was using and the exact site (it was something in Google
> > > directory).
> > >
> > > How can I solve the problem, or at least find out what causes it?
> >
> > Did you install x11-fonts/mozilla-fonts?
>
> Yes, just installed it and restarted the X server, but the problem is still
> there. Is this a known bug?

Well actually - there is/was a known problem with the Mozilla-fonts package 
and Mozilla. If you're having these problems without the Mozilla-fonts 
package as well, we're looking at something else.

What's your X version, your display driver and most notably the memory on the 
vidcard and your RAM?
You don't see this with any other page (cause I really can't find anything 
special about that page that could trigger Moz-weirdness)?

Are you using Xft for your fonts?
-- 
Melvyn

===
FreeBSD sarevok.idg.nl 5.2-BETA FreeBSD 5.2-BETA #1: Thu Dec  4 12:47:31 CET 
2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
===


pgp0.pgp
Description: signature


Ipsec bridging on FreeBSD

2003-12-04 Thread Kifah Abbad
Hi everyone,

I am working on my thesis , and i found some difficulties doing some
tasks of the project on openbsd so i am planning to move to freebsd.I
want to ask some questions, concerning tasks of the project, and i
hope someone would confirm or not.

1. Does freebsd offer s reasonable way for divert socket? i heard it
could be done using netgraph...It should be also possible to catch
ethernet frames (not only IP), since this would be happening on an
ipsec bridge.

2.This brings me to following point: Is there a similar solution for
ipsec-bridging, like explained in the example of "man brconfig" of
openbsd?

3.IS it possible to do MAC-Adress spoofing on a freeBSD machine?



Best regards

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


Re: pcm/TP 600 works fine (was Re: pcm/TP600works fine (was Re: pcm problems in 5.1 w/thinkpad)

2003-12-04 Thread Zhang Weiwu
Davis Doherty <[EMAIL PROTECTED]> wrote:

/dev/mixer is not present, nor are any other sound devices (except
sndstat; and a quick less -f sndstat shows no devices installed).
Attempting to play an mp3 via xmms fails (since /dev/dsp doesn't exist).
Were I running one of the older trees, I would say that I need to run sh
MAKEDEV snd0, but that seems to be gone from 5.x.
Then I think I don't have enough knowledge on your question. When you
have an answer please mail me a copy, because I'll upgrade to 5.2
when it release, I'll like to face the same problem.
I would be interested in seeing precisely the lines you put into your
kernel regarding sound.
All I did is that I appended this line (just one line) to the kernel 
config file
--
devicd pcm
--

Unless there is some obvious thing I failed to do, I shall move my
question over to FreeBSD-mobile.
Thanks for the help.

-Davis
_
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  

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


NFS: mountd binding to port numbers more then 1024

2003-12-04 Thread a person
Hello freebsd-questions,

  How could I force to do subject, if it's ever possibly?
  What does rc.conf's parameter nfs_reserved_port_only serves for?

-- 
Best regards,
Illia Baidakov

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


Re: DynDNS

2003-12-04 Thread Mike Maltese
> To be honet I want to set up a DynDNS, we run our own DNS server and have
a
> need for a DynDNS. I was wondering if there is a software package that I
can
> download to set this up or is it build into Bind already.

Oh, so you want dynamic clients automatically update their dns entries? If
you're running BIND, look into the "allow-update" directive. Also, you'll
have to be running a DHCP server which supports dynamic updates and works
with BIND. The ISC dhcp server can do this for you.

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


Re: DynDNS

2003-12-04 Thread Chuck PUP Payne
To be honet I want to set up a DynDNS, we run our own DNS server and have a
need for a DynDNS. I was wondering if there is a software package that I can
download to set this up or is it build into Bind already.

Thank for all the client information.

Payne


On 12/3/03 5:06 PM, "Bryan Cassidy" <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Of course you need apache installed. It will print out on the screen after you
> get done with a make install clean on ddclient but after you copy the
> appropriate files just edit /usr/local/etc/ddclient.conf Here I have attached
> my ddclient.conf file minus the usr name and passwd of course.
> 
> HTH
> 
> ##
> ##
> ## Define default global variables with lines like:
> ##  var=value [, var=value]*
> ## These values will be used for each following host unless overridden
> ## with a local variable definition.
> ##
> ## Define local variables for one or more hosts with:
> ##  var=value [, var=value]* host.and.domain[,host2.and.domain...]
> ##
> ## Lines can be continued on the following line by ending the line
> ## with a \
> ##
> ##
> daemon=300  # check every 300 seconds
> syslog=yes  # log update msgs to syslog
> mail=root   # mail all msgs to root
> mail-failure=root   # mail failed update msgs to root
> pid=/var/run/ddclient.pid   # record PID in file.
> #
> #use=watchguard-soho,fw=192.168.111.1:80# via Watchguard's
> SOHO FW
> #use=netopia-r910,   fw=192.168.111.1:80# via Netopia R910 FW
> #use=smc-barricade,  fw=192.168.123.254:80  # via SMC's Barricade
> FW
> #use=netgear-rt3xx,  fw=192.168.0.1:80  # via Netgear's
> internet FW
> #use=linksys,fw=192.168.1.1:80  # via Linksys's
> internet FW
> #use=maxgate-ugate3x00,  fw=192.168.0.1:80  # via MaxGate's
> UGATE-3x00  FW
> #use=elsa-lancom-dsl10,  fw=10.0.0.254:80   # via ELSA LanCom
> DSL/10 DSL Router
> #use=elsa-lancom-dsl10-ch01, fw=10.0.0.254:80   # via ELSA LanCom
> DSL/10 DSL Router
> #use=elsa-lancom-dsl10-ch02, fw=10.0.0.254:80   # via ELSA LanCom
> DSL/10 DSL Router
> #use=alcatel-stp,fw=10.0.0.138:80   # via Alcatel Speed
> Touch Pro
> #use=xsense-aero,fw=192.168.1.1:80  # via Xsense Aero
> Router
> #use=allnet-1298,fw=192.168.1.1:80  # via AllNet 1298 DSL
> Router
> #use=3com-oc-remote812,  fw=192.168.0.254:80# via 3com
> OfficeConnect Remote 812
> #use=e-tech, fw=192.168.1.1:80  # via E-tech Router
> #use=cayman-3220h,   fw=192.168.0.1:1080# via Cayman 3220-H
> DSL Router
> #
> #fw-login=admin, fw-password=XX # FW login and
> password
> #
> ## To obtain an IP address from FW status page (using fw-login, fw-password)
> #use=fw, fw=192.168.1.254/status.htm, fw-skip='IP Address' # found after IP
> Address
> #
> ## To obtain an IP address from Web status page (using the proxy if defined)
> #use=web, web=checkip.dyndns.org/, web-skip='IP Address' # found after IP
> Address
> #
> #use=ip, ip=127.0.0.1   # via static IP's
> #use=if, if=eth0# via interfaces
> use=web # via web
> #
> #protocol=dyndns2   # default protocol
> #proxy=fasthttp.sympatico.ca:80 # default proxy
> #server=members.dyndns.org  # default server
> #server=members.dyndns.org:8245 # default server (bypassing
> proxies)
> 
> login=user name# default login
> password=password for user   # default
> password
> mx=your.domain.tld# default MX
> #backupmx=yes|no# host is primary MX?
> #wildcard=yes|no# add wildcard CNAME?
> 
> ##
> ## dyndns.org dynamic addresses
> ##
> ## (supports variables: wildcard,mx,backupmx)
> ##
> server=members.dyndns.org, \
> protocol=dyndns2   \
> your.domain.tld
> 
> ##
> ## dyndns.org static addresses
> ##
> ## (supports variables: wildcard,mx,backupmx)
> ##
> # static=yes,   \
> # server=members.dyndns.org,\
> # protocol=dyndns2  \
> # your-static-host.dyndns.org
> 
> ##
> ##
> ## dyndns.org custom addresses
> ##
> ## (supports variables: wildcard,mx,backupmx)
> ##
> # custom=yes,   \
> # server=members.dyndns.org,\
> # protocol=dyndns2  \
> # your-domain.top-level,your-other-domain.top-level
> 
> ##
> ## ZoneEdit 

I need some documentation, and not only

2003-12-04 Thread Valerian Galeru
Can anyone tell me any sites with documentation about file systems in Unix systems(it 
will be better on FreeBSD(if there are any differences between Freebsd fs and other 
Unix fs) ). I need names of programs like window comander, or something like this, not 
to type cd 100 times a day:). And i need documentation about Floppy disks, how to 
format them in BSD


-
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: I need some documentation, and not only

2003-12-04 Thread Ion-Mihai Tetcu
On Thu, 4 Dec 2003 01:59:40 -0800 (PST)
 Valerian Galeru <[EMAIL PROTECTED]> wrote:

> Can anyone tell me any sites with documentation about file systems in
> Unix systems(it will be better on FreeBSD(if there are any differences
> between Freebsd fs and other Unix fs) ). 
> And i need documentation about Floppy disks, how to format them
> in BSD

Q: What would happend if you start reading:
the hanbook
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
the faq
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html
and the man pages 
 http://www.freebsd.org/cgi/man.cgi?manpath=FreeBSD+5.1-RELEASE

A: You would make things easier for both you and us.
http://www.freebsd.org/docs.html

FreeBSD uses UFS1 or UFS2 (default from 5.1R).

http://docs.freebsd.org/44doc/papers/diskperf.html
http://docs.freebsd.org/44doc/papers/fsinterface.html
http://docs.freebsd.org/44doc/smm/03.fsck/paper.html
http://docs.freebsd.org/44doc/smm/05.fastfs/paper.html

The sources are in:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/ufs/
and 
/usr/src/sys/ufs if you choosed to install them.

> I need names of programs like
> window comander, or something like this, not to type cd 100 times a
> day:).

cd /usr/local/bin/midc && make install clean


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


Compiling(running make) the kernel!

2003-12-04 Thread Valerian Galeru
Here are the config file and the error i get while compiling the kernel.



-
Do you Yahoo!?
Free Pop-Up Blocker - Get it now#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.54 2003/04/28 03:41:46 simokawa Exp $

machine i386
cpu I586_CPU
ident   valkernel
maxusers64

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols

#optionsMATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
#optionsMFS #Memory Filesystem
#optionsMD_ROOT #MD is a potential root device
#optionsNFS #Network Filesystem
options NFS_ROOT#NFS usable as root device, NFS required
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
#optionsSCSI_DELAY=15000#Delay (in ms) before probing SCSI
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug 
# output.  Adds ~215k to driver.

# To make an SMP kernel, the next two are needed
#optionsSMP # Symmetric MultiProcessor Kernel
#optionsAPIC_IO # Symmetric (APIC) I/O

# To support HyperThreading, HTT is needed in addition to SMP and APIC_IO
#optionsHTT # HyperThreading Technology

device  isa
#device eisa
device  pci

# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0
#device fd1 at fdc0 drive 1
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:
#device fdc0

# ATA and ATAPI devices
#device ata0at isa? port IO_WD1 irq 14
#device ata1at isa? port IO_WD2 irq 15
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
#device atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
#optionsATA_STATIC_ID   #Static device numbering

# SCSI Controllers
#device ahb # EISA AHA1742 family
#device ahc # AHA2940 and onboard AIC7xxx devices
#device ahd # AHA39320/29320 and onboard AIC79xx devices
#device amd # AMD 53C974 (Tekram DC-390(T))
#device isp # Qlogic family
#device mpt # LSI-Logic MPT/Fusion
#device ncr # NCR/Symbios Logic
#device sym # NCR/Symbios Logic (newer chipsets)
#optionsSYM_SETUP_LP_PROBE_M

growfs says 'we are not growing' ?!?!

2003-12-04 Thread Rishi Chopra
Trying to enlarge a partition (/usr) on a slice (da0s1) with plenty of 
space:

# fdisk

The data for partition 1 is:
sysid 165 (0xa5), (FreeBSD/NetBSD/386BSD)
   start 63, size 1171861362 (572197 Meg), flag 80 (active)
  beg: cyl 0/ head 1/ sector 1
  end: cyl 1023/ head 254/ sector 63
# df -h:

Filesystem   Size   Used   Avail   Capacity   Mounted on
/dev/da0s1a 193M  80M  98M  45%  /
/devfa  1.0K   1.0K  98M  0%/dev
/dev/da0s1d 193M 5.9M172M  3%/var
/dev/da0s1e 1.9G  670M 1.1G   37%  /usr
But when I try:

# umount /usr
# growfs /dev/da0s1e
I get:

growfs: we are not growing (1048576 -> 0)

What am I missing?  The /stand/sysinstall program had some problems with 
a large /usr partition as well; when I tried installing the system 
giving /usr all the remaining space on my disk, the installation would 
choke during the fetch and install from ftp.  How can I take advantage 
of the remaning free space on my disk?

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


Missing Interrupts

2003-12-04 Thread rk47
I am developing a device driver for a processing type PCI card on FreeBSD
4.8.

I just can't seem to get my interrupts working. How can I find out what is
going wrong?


1. allocation returns without error 
rid = 0;
sc->sc_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
 
0, ~0, 1, RF_SHAREABLE|RF_ACTIVE);

2. interrupt setup returns without errors
bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_NET, 
ncc_intr, sc, &sc->sc_intrhand))
2.1 The interupt handler exists.
static void
ncc_intr(void *arg)
{ ... }

3. I can write to the PCI cards control registers, I confirm this by an LED
on the card.

4. There is a "force interrupt" register on the PCI card which I write to
but nothing happens.

5. We also have a win32 driver for this card can successfully force an
interrupt.

6. I did have it working a long time ago but now i dont know what I'm doing
wrong.


"vmstat -i" gives the following:
interrupt   total   rate
stray irq7  1  0
fxp0 irq34384  1
ata0 irq14   2840  1
ata1 irq15  4  0
atkbd0 irq1  1680  0
clk irq0   273172 99
rtc irq8   349672127
Total  631753231

Loading the module (KLD) gives the following
ncc0 mem 0xe7abfc00-0xe6ab,0xe6ac-0xe6af irq 5 at 
device 4.0 on pci1


Riaan

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


Re: Anti aliased fonts in FBSD

2003-12-04 Thread Joe Marcus Clarke
On Thu, 2003-12-04 at 01:58, Bernard El-Hagin wrote:
> [EMAIL PROTECTED] wrote:
> 
> >On Thu, 2003-12-04 at 01:41, Bernard El-Hagin wrote:
> >> [EMAIL PROTECTED] wrote:
> >> 
> >> >On Thu, 2003-12-04 at 01:17, Bernard El-Hagin wrote:
> >> >> [EMAIL PROTECTED] wrote:
> >> >> 
> >> >> >On Thu, 2003-12-04 at 00:46, Bernard El-Hagin wrote:
> >> >> >> Hello,
> >> >> >> 
> >> >> >>   When I install some appliactions from ports they have nice
> >> >> >> anti-aliased fonts by default (gaim, for example). Unfortunately others
> >> >> >> do not (most notably gVim and also LinCVS, both of which are capable of
> >> >> >> using them). Where exactly is this governed? How do I tell applications
> >> >> >> to always use anti-aliased fonts? I am running CURRENT.
> >> >> >
> >> >> >There's a section on this in the FreeBSD handbook:
> >> >> >
> >> >> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-fonts.html
> >> >> 
> >> >> 
> >> >> Thanks to that section of the handbook I have enabled anti-aliased fonts
> >> >> in X, but it doesn't explain why some applications use those fonts by
> >> >> default and others don't. That's my real problem.
> >> >
> >> >Yes it does.  The last paragraph states:
> >> >
> >> >"Anti-aliasing should be enabled the next time the X server is started.
> >> >However, programs must know how to take advantage of it. At present, the
> >> >Qt toolkit does, so the entire KDE environment can use anti-aliased
> >> >fonts (see Section 5.7.3.2 on KDE for details). Gtk+ and GNOME can also
> >> >be made to use anti-aliasing via the ``Font'' capplet (see Section
> >> >5.7.1.3 for details). By default, Mozilla 1.2 and greater will
> >> >automatically use anti-aliasing. To disable this, rebuild Mozilla with
> >> >the -DWITHOUT_XFT flag."
> >> >
> >> >So, do you have gVim built with gtk+-2 support, and have you done what
> >> >section 5.7.3.2 tells you for KDE/Qt apps (i.e. set QT_XFT to true)?
> >> 
> >> 
> >> I don't use KDE nor Gnome, but as I understand it any application which
> >> is built with either Qt or Gtk+-2 support should be capable of using
> >> anti-aliased fonts. What I'm asking is how do I:
> >
> >Yes, per the cross-referenced sections in the above paragraph, you may
> >have to do some additional setting of variables if you do not use the
> >respective desktops.
> >
> >> 
> >> 
> >> 1. find out before building an application whether it will be built with
> >> support for either of those,
> >
> >As things are right now, looking at the ports' Makefiles is your best
> >bet.
> 
> 
> OK, that's what I was looking for. Thanks.
> 
> 
> >> 2. make sure that such support is added if it's not there by default
> >> (which I should be able to establish in step 1).
> >
> >Once you figure out the variable to set, you can add it to make.conf or
> >pkgtools.conf (or both).
> 
> 
> Does this mean that the name of the variable governing the AA fonts will
> be the same for any application which can use them? That's cool.

No.  WITH[OUT]_XFT is what some ports use, but some ports will use AA as
long as they're built with a supporting toolkit (e.g. vim).  In those
cases, you have to set the make variable to enable the port to build
with that toolkit (e.g. WITH_GTK2).

Joe

> 
> 
> Thanks for your help.
> 
> 
> Cheers,
> Bernard
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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


Re: Anti aliased fonts in FBSD

2003-12-04 Thread Bernard El-Hagin
[EMAIL PROTECTED] wrote:

>On Thu, 2003-12-04 at 01:41, Bernard El-Hagin wrote:
>> [EMAIL PROTECTED] wrote:
>> 
>> >On Thu, 2003-12-04 at 01:17, Bernard El-Hagin wrote:
>> >> [EMAIL PROTECTED] wrote:
>> >> 
>> >> >On Thu, 2003-12-04 at 00:46, Bernard El-Hagin wrote:
>> >> >> Hello,
>> >> >> 
>> >> >>   When I install some appliactions from ports they have nice
>> >> >> anti-aliased fonts by default (gaim, for example). Unfortunately others
>> >> >> do not (most notably gVim and also LinCVS, both of which are capable of
>> >> >> using them). Where exactly is this governed? How do I tell applications
>> >> >> to always use anti-aliased fonts? I am running CURRENT.
>> >> >
>> >> >There's a section on this in the FreeBSD handbook:
>> >> >
>> >> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-fonts.html
>> >> 
>> >> 
>> >> Thanks to that section of the handbook I have enabled anti-aliased fonts
>> >> in X, but it doesn't explain why some applications use those fonts by
>> >> default and others don't. That's my real problem.
>> >
>> >Yes it does.  The last paragraph states:
>> >
>> >"Anti-aliasing should be enabled the next time the X server is started.
>> >However, programs must know how to take advantage of it. At present, the
>> >Qt toolkit does, so the entire KDE environment can use anti-aliased
>> >fonts (see Section 5.7.3.2 on KDE for details). Gtk+ and GNOME can also
>> >be made to use anti-aliasing via the ``Font'' capplet (see Section
>> >5.7.1.3 for details). By default, Mozilla 1.2 and greater will
>> >automatically use anti-aliasing. To disable this, rebuild Mozilla with
>> >the -DWITHOUT_XFT flag."
>> >
>> >So, do you have gVim built with gtk+-2 support, and have you done what
>> >section 5.7.3.2 tells you for KDE/Qt apps (i.e. set QT_XFT to true)?
>> 
>> 
>> I don't use KDE nor Gnome, but as I understand it any application which
>> is built with either Qt or Gtk+-2 support should be capable of using
>> anti-aliased fonts. What I'm asking is how do I:
>
>Yes, per the cross-referenced sections in the above paragraph, you may
>have to do some additional setting of variables if you do not use the
>respective desktops.
>
>> 
>> 
>> 1. find out before building an application whether it will be built with
>> support for either of those,
>
>As things are right now, looking at the ports' Makefiles is your best
>bet.


OK, that's what I was looking for. Thanks.


>> 2. make sure that such support is added if it's not there by default
>> (which I should be able to establish in step 1).
>
>Once you figure out the variable to set, you can add it to make.conf or
>pkgtools.conf (or both).


Does this mean that the name of the variable governing the AA fonts will
be the same for any application which can use them? That's cool.


Thanks for your help.


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