freebsd-questions@freebsd.org

2005-05-15 Thread Moy Easwaran
Thanks for the quick response.
freetype is already being loaded.
pkg_add -r webfonts gives me a file not found error, and when I look
for it manually (in a browser) there doesn't appear to be a package.
I added arkpandora fonts but that made no difference.
Also, my concern is more than just web fonts: I want to clean up the
icons and menus and stuff as well (see the vim screenshots, for
instance).
Thanks,
Moy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Proliant 1600 with 2 CPUs

2005-05-15 Thread Turker Dundar
Hi,

I am trying to create a new kernel to use both the cpus installed in my
Proliant 1600 system. The machine can see both the cpus when it starts
up, but kernel fails to do so.

I am using 5.4-Release. In the kernel configuration file I have this
parameter defined already.

options  SMP

Kernel compiles with no errors. However, after the boot dmesg shows only
cpu0. additional cpu is not listed.

I tried options like NCPU=2 or APIC_IO. They are rejected as being
invlaid options.

Could you please tell me how I can make a new kernel to run with
multiple cpus. 

I am posting this email because I could not find any document to help me
further.

Many thanks,
Turker Dundar

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


freebsd-questions@freebsd.org

2005-05-15 Thread Mantas Smelevicius
try to install 

/usr/ports/x11-fonts/webfonts
or alternative
/usr/ports/x11-fonts/arkpandora

then enter on of the following lines into X config

FontPath "/usr/X11R6/lib/X11/font/webfonts/"

or

FontPath "/usr/X11R6/lib/X11/font/arkpandora/"

Also look at the Modules section into X config. Line
Load "freetype"
must be ther.




On 5/16/05, Moy Easwaran <[EMAIL PROTECTED]> wrote:
> I use mainly Fedora and OS X on desktops and OpenBSD on servers (so no
> GUI there).  I'm trying to play with FreeBSD 5.4 a little and having
> trouble with look-and-feel issues.  Fonts, menus, and sometimes icons
> look a bit ugly.  Here are some screenshots:
> http://tiresias.dyndns.org/~moy/screenshots/
> 
> I tried using Fedora's gtkrc but that didn't help, so either it's not
> a GTK issue or I wasn't doing it right.  I've added the various
> bluecurve packages, browsed through FreeBSD FAQs, and tried
> gtk[2]-theme-switch; that didn't help either.  I should also note that
> when I previewed the Bluecurve theme in gtk2-theme-switch, it didn't
> really look like the Bluecurve I'm used to.
> 
> Any ideas?
> 
> Thanks,
> 
> Moy
> 
> (Please cc me on replies.)
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 


-- 

Pagarbiai / Best regards

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


freebsd-questions@freebsd.org

2005-05-15 Thread Moy Easwaran
I use mainly Fedora and OS X on desktops and OpenBSD on servers (so no
GUI there).  I'm trying to play with FreeBSD 5.4 a little and having
trouble with look-and-feel issues.  Fonts, menus, and sometimes icons
look a bit ugly.  Here are some screenshots:
http://tiresias.dyndns.org/~moy/screenshots/
I tried using Fedora's gtkrc but that didn't help, so either it's not
a GTK issue or I wasn't doing it right.  I've added the various
bluecurve packages, browsed through FreeBSD FAQs, and tried
gtk[2]-theme-switch; that didn't help either.  I should also note that
when I previewed the Bluecurve theme in gtk2-theme-switch, it didn't
really look like the Bluecurve I'm used to.
Any ideas?
Thanks,
Moy
(Please cc me on replies.)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


how to format an external usb drive with a freebsd partititon under freebsd 5.3

2005-05-15 Thread Steve
I've done a google search, read the freebsd handbook and searched the 
mailing list archives...maybe I'm not using the right search terms but I'm 
not finding the information I need...or I'm misunderstanding something on a 
fundamental level.

I have a 120 gig western digital usb drive with a FAT32 file system 
connected to a freebsd 5.3 box that I can mount and read/write to okay 
.  But (and I think this is correct) when I backup files from my freebsd 
5.3 box to this drive, the file permissions aren't being maintained.  That 
is because it's a FAT32 files system correct?  I've always in the past 
backed up linux/freebsd files to other linux/freebsd boxes so this is the 
first time I'm dealing with this.

What is the correct way to format this FAT32 usb drive so I can put freebsd 
files on it and maintain the proper owner and file permissions.  I've tried 
to do this with sysinstall based on the instructions in the freebsd 
handbook but I get an error that freebsd can't write the partition.  The 
usb drive is currently mounted, is that the problem?

Steve Bopple
www.digitalbluesky.net 

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


RE: 5.4 install disc1 will not find hard drive

2005-05-15 Thread Ted Mittelstaedt


> -Original Message-
> From: fbsd_user [mailto:[EMAIL PROTECTED]
> Sent: Sunday, May 15, 2005 6:39 PM
> To: Ted Mittelstaedt; [EMAIL PROTECTED] ORG
> Subject: RE: 5.4 install disc1 will not find hard drive
> 
> 
> There is a  80 pin cable and its good because I tested it in another
> pc.
> 

I understand you may have an 80 pin cable on there and that you think
it must be good.

But the output you posted showed that the FreeBSD device driver thinks
you only have a 40 pin cable.  Either that is a bug or the ata chipset
cannot sense your 80 pin cable.  The obvious thing to do is to try
a different 80 pin cable.

> But your comments about snapshots is very interesting. I did not
> know about this.
> I checked the contents at the URL you posted. It looks like an
> install cd layout.
> Is there some command, script, or utility that will download and
> burn a cd from a snapshot?
> Is there any documentation on these snapshots and how to use one?
> 

Probably the FreeBSD handbook is the best place.

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


Sound playing through mic jack

2005-05-15 Thread Christopher Cox
Hello, I am having a problem in FreeBSD 5.4-RELEASE where all audio is being 
played through the mic jack instead of the one it is supposed to. I have 
read problems like this before about AC97 audio chips.

I have been able to play MP3 music through this jack, so I know the snd_ich 
driver is working properly. Problem is I cannot just switch jacks using 
wires because this is a laptop.

In Linux I could just add AC97_QUIRK=1 to my configuration and it would make 
the sound right ... but I cannot seem to find an equivelant in FreeBSD. 

Is there some kind of kernel option or even a source patch I could use?

BTW, I have an Intel 82801 ICH5 chipset.
-- 
Christopher Cox
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: silencing the boot beep

2005-05-15 Thread John Pettitt


Eric Schuele wrote:

> Allan Bowhill wrote:
>
>> Does anyone know how to turn off the annoying beep when BSD partition
>> selector comes up? 
>
>
> Wish I knew... I could use this as well.
>
>
If I recall correctly the beep comes from the PC BIOS and indicates the
POST passed.My suggestion - unplug the speaker.

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


Working Keyboard in 5.x

2005-05-15 Thread Holtor
Hello,

Does anyone know how to make a PS/2 keyboard work when plugged into a system 
booted without a
keyboard on FreeBSD 5.x? It doesn't seem to work.

For example in 4.x the default GENERIC kernel line is:
device  atkbd0  at atkbdc? irq 1 flags 0x1

If you leave that line alone, the ps/2 keyboard will not work if a system 
booted without one
plugged in. But if you remove the "flags 0x1" it will work fine.

Does anyone know how to make the PS/2 work properly in 5.x?

Thank you,

Holt G.



Discover Yahoo! 
Stay in touch with email, IM, photo sharing and more. Check it out! 
http://discover.yahoo.com/stayintouch.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: silencing the boot beep

2005-05-15 Thread Eric Schuele
Allan Bowhill wrote:
Does anyone know how to turn off the annoying beep when 
BSD partition selector comes up? 
Wish I knew... I could use this as well.
Also, has anyone got a decent setup for a synaptics touchpad 
attached to a Dell Inspiron 1150 laptop?
To /boot/device.hints add
   hint.psm.0.flags="0x1000"
That got mine on its feet.
5.4-STABLE 

Thanks in advance! :)

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


Re: 5.4 install disc1 will not find hard drive

2005-05-15 Thread Eric Schuele

I don't have any more pull getting PR's worked on, but I have found
that if they are properly filed then they get worked on faster.  For
example,
the PR system isn't an appropriate place for complaining that a mirror
site
is missing miniinst.iso file - you should contact the mirror
administrator
FWIW:
There is no miniinst.  I'm pretty sure they intend it to be so.  I've 
been hearing talk for many months regarding the changes in disc ISOs. 
I'm sure its documented somewhere (though I could not find it). You 
could search the archives.

At least you can start with the release announcement...
  http://www.freebsd.org/releases/5.4R/announce.html
At the bottom it shows they produced no mini installation. (as evidenced 
by the MD5s)

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


RE: 5.4 install disc1 will not find hard drive

2005-05-15 Thread fbsd_user


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ted
Mittelstaedt
Sent: Sunday, May 15, 2005 8:07 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED] ORG
Cc: [EMAIL PROTECTED]
Subject: RE: 5.4 install disc1 will not find hard drive

You also might consider that according to the device driver output
your
running a 40pin non-UDMA cable on what looks like a UDMA drive,
which is a
no-no, it might simply be a cabling issue with bad cables in your
system.
If you really do have an 80 pin cable then try exchanging it with
another
one, and remember, the blue connector goes to the adapter card, the
black
connector to the drive, and the grey to the secondary drive, if
there is
one.

You can only assume mirrors are going to be accurate for RELEASES,
as there's always propagation time from when changes are made.  If
your
traking snapshots you should be using
ftp://current.freebsd.org/pub/FreeBSD/snapshots/


Ted


 *

There is a  80 pin cable and its good because I tested it in another
pc.

But your comments about snapshots is very interesting. I did not
know about this.
I checked the contents at the URL you posted. It looks like an
install cd layout.
Is there some command, script, or utility that will download and
burn a cd from a snapshot?
Is there any documentation on these snapshots and how to use one?







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


Epson Stylus C86 Printer

2005-05-15 Thread Mike Jeays
I have just bought one of these printers, and am having trouble getting
it to work with ghostscript. It is connected via a USB port, and it
responds momentarily when I send anything directly to /dev/ulpt0.  

I would appreciate the correct parameters for ghostscript - I think it
should work with device ijs and 'server' ijsgimpprint, which has been
installed in /usr/local/bin.

Some of the instructions recommend CUPS and FooMatic, and seem much more
complicated than I ought to need for a local installation.

I tested the printer with Windows, and it does work.

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


RE: 5.4 install disc1 will not find hard drive

2005-05-15 Thread Ted Mittelstaedt

PR i386/81082

Once again, I don't think the problem is in the build process they used
for making the ISO.  As a matter of fact I just yesterday did a 5.4
install
on a system, booting from CD, which I burned from disc1.iso that I
downloaded
from one of the FTP mirrors, on the one machine I mentioned in the PR
that didn't have a problem.

I think the problem is in the driver.  If you go to the CVS tree it
is obvious that they have been dealing with these issues. For example,
check out comments like "Fix more ATAPI breakage. Apparently some devices
are very picky on details :)" made just 2 days ago, see here:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/

You also might consider that according to the device driver output your
running
a 40pin non-UDMA cable on what looks like a UDMA drive, which is a
no-no, it might simply be a cabling issue with bad cables in your system.
If you really do have an 80 pin cable then try exchanging it with another
one, and remember, the blue connector goes to the adapter card, the black
connector to the drive, and the grey to the secondary drive, if there is
one.

I don't have any more pull getting PR's worked on, but I have found
that if they are properly filed then they get worked on faster.  For
example,
the PR system isn't an appropriate place for complaining that a mirror
site
is missing miniinst.iso file - you should contact the mirror
administrator
of the mirror in question, directly.  And you might also consider that
there
is a 20MB file named 5.4-RELEASE-i386-bootonly.iso in the release
directory -
see for example:

ftp://ftp13.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/5.4/

and that there IS NOT a miniinst.iso file in the master FTP location,
see:

ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/5.4/

I would guess maybe they renamed it?

Also, you cannot assume a mirror site is going to have a good copy of
stable
anyway.  You can only assume mirrors are going to be accurate for
RELEASES,
as there's always propagation time from when changes are made.  If your
traking snapshots you should be using
ftp://current.freebsd.org/pub/FreeBSD/snapshots/


Ted



Ted

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of fbsd_user
> Sent: Sunday, May 15, 2005 4:41 AM
> To: Ted Mittelstaedt; [EMAIL PROTECTED] ORG
> Cc: [EMAIL PROTECTED]
> Subject: RE: 5.4 install disc1 will not find hard drive
>
>
>
>
>
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of fbsd_user
> > Sent: Saturday, May 14, 2005 12:54 PM
> > To: [EMAIL PROTECTED] ORG
> > Cc: [EMAIL PROTECTED]
> > Subject: 5.4 install disc1 will not find hard drive
> >
>
> >
> > Power management and APIC have been bios disabled since
> > version FreeBSD 3.4
> > version so that is not the problem. I tried selecting safe
> > option to boot
> > and still get same error 'no hard disk found".   My hard drive
> > is an western
> > digital 310100 on ata0 as master. When using this 5.4 install
> > cd on other
> > pc/ motherboard/ hard drive combos I get same error.
> >
> > I think there is something wrong with the build process of the
> > disc1.iso
> > file.
>
> I don't think there is anything wrong with the build process of
> disc1.iso.  I think instead that someone made a change in the atapi
> driver that broke this.
>
> I have a Intel Desktop Motherboard VC820 that this exact thing
> happened
> to.  In my case, I fortunately was running a Hipoint RAID card in it
> so
> the only thing that got wacked was the system now does not recognize
> that there is a CDROM on the secondary onboard IDE controller.  Last
> week I had it running FreeBSD 4.11 just fine.  (not on the RAID
> controller)
>
> I had assumed that using the RAID controller made it so that the
> onboard
> ATAPI controller had some problem, but after seeing this post it is
> clear
> that they broke the driver.
>
> DO you want to file a PR or should I?
>
> Ted
>
>
> -Original Message-
> From: Ted Mittelstaedt [mailto:[EMAIL PROTECTED]
> Sent: Sunday, May 15, 2005 12:38 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED] ORG
> Cc: [EMAIL PROTECTED]
> Subject: RE: 5.4 install disc1 will not find hard drive
>
>
> Ted.
>
> I filed a PR on the missing miniinst.iso file.
> http://www.freebsd.org/cgi/query-pr.cgi?pr=80861
>
> And it's not been addressed yet.  So if you have some pull
> in getting PR's worked on then you should file the PR on this
> problem.
> As I see this, it's a show stopper in distributing 5.4 stable and
> needs
> to be addressed immediately because all the mirror FTP sites are
> populated with non-functional disc1 iso files.
>
> Here are some more details from the boot of disc1.
>
> The btx loader issues this messages
> bios drive C: is disk1
>
> and near the end of the boot messages I get
>
> ata1-master: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
> ata1-master; setting pio4 on VIA 82C596B chip
>
> Please send me the PR number after you report t

NSSwitch settings on 5.4

2005-05-15 Thread Ian Moore
Hi,
I'm trying to configure an openldap server on 5.4 and I'm unsure of what the 
correct settings in nsswitch.conf should be for a 5.4-Release system, since 
the default seems to be different to previous releases.
Perhaps someone here might know?

I've been using the guide at http://books.blurgle.ca/read/chapter/1 as a 
reference.
This document says you have these lines in your nsswitch.conf:
passwd: files ldap
group: files ldap

On my 5.4-Release system, the default nsswitch.conf is:
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files

So should I have

group: compat ldap
passwd: compat ldap

or 

group: files ldap
passwd: files ldap

or some other combination?

Using the 'compat ldap' version, I get errors in /var/log/messages:
  May 13 22:42:26 daemon -csh: NSSWITCH(nsparser): /etc/nsswitch.conf  line 1:
  'compat' used with other sources
  May 13 22:42:26 daemon -csh: NSSWITCH(nsparser): /etc/nsswitch.conf  line 5:
  'compat' used with other sources

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpfcufap6TdC.pgp
Description: PGP signature


Re: BIND and NAT

2005-05-15 Thread Paul Waring
On 5/15/05, Joe Wood <[EMAIL PROTECTED]> wrote:
> I have a small question regarding a DNS issue I am having. I have a bsd box
> setup for a domain I am hosting..it has FBSD 5.3 and Bind 9.3. It sits
> behind a NAT device and is in a DMZ. The problem is when I setup the domain
> I told it to point to the public ip which is translated to the private IP on
> which DNS listens. Now when I try to go to the site it keeps trying to
> connect to the private IP the site is on instead of the correct public ip.
> Is this an issue with the DNS files being setup for the private network or
> should it matter?

If your DNS server is giving out the private IP address to machines on
the other side of the NAT device then yes, that does matter because
they won't be able to connect to it. If you want to run your DNS from
behind a NAT device (using port forwarding from a public IP perhaps -
that's what I do) then you might want to look into the concepts of
"views" in Bind, which will allow you to give out the private IP for
the domain to any machine on the same subnet (e.g. 192.168.0.x) and
the public IP address to any machine on the other side of the NAT
device. This is what I do when running my DNS from behind a router on
a private IP range and it works very well. It's a bit fiddly to setup
as each zone you have needs to be in both views (internal and
external) but otherwise it's fairly simple to setup.

Paul

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


Re: virtualdesktop

2005-05-15 Thread [EMAIL PROTECTED]
On Sun, 15 May 2005 15:51:38 -0700 (PDT)
Paul Klatt <[EMAIL PROTECTED]> wrote:

> Could nayone please help me configure the virtual
> desktop correctly so that the desktop does not go off
> of the monitor, and also the mouse does not work
> correctly. I would appreciate the help.

how did you configure X ?
which desktop-environment or windowmanager are you using ?
what is the exact problem with the mouse ?

if you're using 5.3 or later, try xorgcfg to configure X
(or xorgcfg -textmode)

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


virtualdesktop

2005-05-15 Thread Paul Klatt
Could nayone please help me configure the virtual
desktop correctly so that the desktop does not go off
of the monitor, and also the mouse does not work
correctly. I would appreciate the help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


BIND and NAT

2005-05-15 Thread Joe Wood
Hello all,

 

I have a small question regarding a DNS issue I am having. I have a bsd box
setup for a domain I am hosting..it has FBSD 5.3 and Bind 9.3. It sits
behind a NAT device and is in a DMZ. The problem is when I setup the domain
I told it to point to the public ip which is translated to the private IP on
which DNS listens. Now when I try to go to the site it keeps trying to
connect to the private IP the site is on instead of the correct public ip.
Is this an issue with the DNS files being setup for the private network or
should it matter? Thanks for any help.

 

joe

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


Re: simple? sh problen

2005-05-15 Thread Ian Smith
On Sun, 15 May 2005, Mikko Työläjärvi wrote:
 > On Mon, 16 May 2005, Ian Smith wrote:

 > > How do I test whether a sh argument is an integer or not, so as to avoid
 > > failing on a syntax error from otherwise working code such as:
 > >
 > > [ $3 -lt 10 -o $3 -gt 600 ] && echo "$0 $1 $2: $3 invalid" && exit 1
 > >
 > > when $3 is a non-integer argument?  Do I need to delve into awk and REs,
 > > or is there something more simple I've missed in mans test, expr, etc?
 > 
 > Here are some suggestions for functions to do the test:
 > 
 > isnum() {
 >  expr "$1" : '^[0-9][0-9]*$' >/dev/null
 > }
 > 
 > isnum() {
 >  case "$1" in
 >  *[^0-9]*|'') return 1;;
 >  esac
 >  return 0
 > }
 > 
 > The second one is likely to be faster unless "expr" is a shell builtin
 > (typically it it not).

Thanks Mikko; I liked the look of the case version, and it works fine:

if ! isnum $3; then echo "$0 $1 $2: $3 is not an integer"; exit 1; fi

 > $.02,

Worth every penny.  Cheers, Ian

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


Re: configuring KDE

2005-05-15 Thread [EMAIL PROTECTED]
On Sun, 15 May 2005 23:32:00 +0300
"Zaid Dashti" <[EMAIL PROTECTED]> wrote:

> when i write startx, the X server is started, but where is the kde ?
> when i write startkde, i got error message, that needs some
> configuration!
> 
> anyone know how to configure it?

you can try : echo "startkde" > .xinitrc
and then type startx again

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


Re: can't connect to mysql

2005-05-15 Thread [EMAIL PROTECTED]
On Sun, 15 May 2005 16:17:01 -0400
Eric Cheney <[EMAIL PROTECTED]> wrote:

> > you have to specifically enable it in /etc/rc.conf :
> > 
> > mysql_enable="YES"
> > 
> > it's documented in /usr/local/etc/rc.d/mysql-server.sh
> 
> Thank you; that did it!  My apologies for not reading the
> documentation---but I didn't know that's where I'd find the answer.

well, i just found out by looking into that file, rather than reading
any documentation ;-)

however in FreeBSD 5.x more and more services start to use the
"enable-option", which is very nice i think, it's very useful in a
jail-setup with shared nullfs-mounted directories

> And thanks for the quick responseI think I waited all of 10
> minutes!
> 
> I have to say FreeBSD is just terrific.  I used FreeBSD for about
> nine months about 2 or 3 years ago.  I loved it then, but had to
> move to another unix-like OS for reasons that had nothing to do with
> FreeBSD.  I put 5.4 on a machine Friday night and it has just been a
> terrific experience.  I'm amazed about how "current" the software
> is, and yet it seems to be a very stable release.  And now I get
> help from the list in about 10 minutes!  People really should feel
> proud about FreeBSD.  Great work!  Many thanks to all

i agree, esp. the jails and ports i enjoy a lot, e.g last week i needed
to get a database-backup used with mysql 3.x from a linux-machine
working on a newer linux-setup with mysql 4.x, and that backup refused
to "load properly"

then on a freebsd-machine i installed mysql 3.x, used the
database-backup on that, did a mysqldump, and then it worked fine on the
linux-machine

of course on linux i could have removed the mysql 4.x and compile mysql
3.x from source, but that would have taken quite a bit more time

yes, FreeBSD rocks :)

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


Re: configuring KDE

2005-05-15 Thread Kees Plonsz
Zaid Dashti wrote on Sunday 15 May 2005 22:32:

> Hello,
> I have installed FreeBSD 5.4 and configured the X server by using (xorgcfg
> -textmode) command.
> 
> when i write startx, the X server is started, but where is the kde ?
> when i write startkde, i got error message, that needs some configuration!
> 
> anyone know how to configure it?

Put it in xinitrc. Located at "/usr/X11R6/lib/X11/xinit/xinitrc"
Remove everything after "start some nice programs".
The only nice program you have is startkde.

-- 
Key-ID = A6581435  E-mail: replace trap1 with kees

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


Re: simple? sh problen

2005-05-15 Thread Mikko Työläjärvi
On Mon, 16 May 2005, Ian Smith wrote:
Hopefully not too OT .. the only silly question being the unasked one ..
How do I test whether a sh argument is an integer or not, so as to avoid
failing on a syntax error from otherwise working code such as:
[ $3 -lt 10 -o $3 -gt 600 ] && echo "$0 $1 $2: $3 invalid" && exit 1
when $3 is a non-integer argument?  Do I need to delve into awk and REs,
or is there something more simple I've missed in mans test, expr, etc?
Here are some suggestions for functions to do the test:
isnum() {
expr "$1" : '^[0-9][0-9]*$' >/dev/null
}
isnum() {
case "$1" in
*[^0-9]*|'') return 1;;
esac
return 0
}
The second one is likely to be faster unless "expr" is a shell builtin
(typically it it not).
   $.02,
   /Mikko
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


configuring KDE

2005-05-15 Thread Zaid Dashti
Hello,
I have installed FreeBSD 5.4 and configured the X server by using (xorgcfg 
-textmode) command.

when i write startx, the X server is started, but where is the kde ?
when i write startkde, i got error message, that needs some configuration!

anyone know how to configure it?




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


Re: can't connect to mysql

2005-05-15 Thread Eric Cheney
On Sunday, 15 May 2005 at 21:53:01 +0200, [EMAIL PROTECTED] wrote:
> On Sun, 15 May 2005 15:37:11 -0400
> Eric Cheney <[EMAIL PROTECTED]> wrote:
> 
> > Here's the error I get
> > 
> > begin error message**
> > 
> > max# mysql -u root -p
> > Enter password:
> > ERROR 2002: Can't connect to local MySQL server through socket
> > '/tmp/mysql.sock' (2)
>  cut 
> > So then I did this, as root 
> > 
> > max# /usr/local/etc/rc.d/mysql-server.sh start
> 
> you have to specifically enable it in /etc/rc.conf :
> 
> mysql_enable="YES"
> 
> it's documented in /usr/local/etc/rc.d/mysql-server.sh

Thank you; that did it!  My apologies for not reading the
documentation---but I didn't know that's where I'd find the answer.
And thanks for the quick responseI think I waited all of 10
minutes!

I have to say FreeBSD is just terrific.  I used FreeBSD for about
nine months about 2 or 3 years ago.  I loved it then, but had to
move to another unix-like OS for reasons that had nothing to do with
FreeBSD.  I put 5.4 on a machine Friday night and it has just been a
terrific experience.  I'm amazed about how "current" the software
is, and yet it seems to be a very stable release.  And now I get
help from the list in about 10 minutes!  People really should feel
proud about FreeBSD.  Great work!  Many thanks to all

-- 
   [EMAIL PROTECTED]   

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


Re: can't connect to mysql

2005-05-15 Thread [EMAIL PROTECTED]
On Sun, 15 May 2005 15:37:11 -0400
Eric Cheney <[EMAIL PROTECTED]> wrote:

> Here's the error I get
> 
> begin error message**
> 
> max# mysql -u root -p
> Enter password:
> ERROR 2002: Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2)
 cut 
> So then I did this, as root 
> 
> max# /usr/local/etc/rc.d/mysql-server.sh start

you have to specifically enable it in /etc/rc.conf :

mysql_enable="YES"

it's documented in /usr/local/etc/rc.d/mysql-server.sh

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


Re: can't connect to mysql

2005-05-15 Thread Chris Knipe
vi /etc/rc.conf
mysql_enable="YES"
:wq
/usr/local/etc/rc.d/mysql-server.sh start
mysql
and you should be fine.  read what the port installation says the next time 
you install a port ;-)

--
Chris.
I love deadlines. I especially love the whooshing sound they make as they 
fly by..." - Douglas Adams, 'Hitchhiker's Guide to the Galaxy'

- Original Message - 
From: "Eric Cheney" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, May 15, 2005 9:37 PM
Subject: can't connect to mysql


Hello.  I'm trying to get MySQL4.0 working.  I've installed it using
/stand/systinstall (as well as ports method on another attempt).
I got a report from sysinstall that MySQL was installed.  That's
both the client and the server (it caught the dependencies.)
But here's the problem: I can't connect to the database.
Here's the error I get
begin error message**
max# mysql -u root -p
Enter password:
ERROR 2002: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)
end error message**
I did the above leaving the password blank because I haven't set up
a password for root on MySQL yet.
Which brings up another problem.  I've tried the below and get the
stated message.
begin error message**
max# mysqladmin -u root password 'newpassword'
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock'
exists!
max#
end error message**
Well sure enough, /tmp/mysql.sock does not exist.  And a "ps waux |
grep msyql" leaves me to believe that mysql is not running.
So then I did this, as root 
max# /usr/local/etc/rc.d/mysql-server.sh start
And still mysql is not running, and I get the same problems as
stated above.
Any ideas about what I'm doing wrong?
Thank you.
--
   [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]" 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


can't connect to mysql

2005-05-15 Thread Eric Cheney
Hello.  I'm trying to get MySQL4.0 working.  I've installed it using
/stand/systinstall (as well as ports method on another attempt).
I got a report from sysinstall that MySQL was installed.  That's
both the client and the server (it caught the dependencies.)

But here's the problem: I can't connect to the database.  

Here's the error I get

begin error message**

max# mysql -u root -p
Enter password:
ERROR 2002: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)

end error message**

I did the above leaving the password blank because I haven't set up
a password for root on MySQL yet.  

Which brings up another problem.  I've tried the below and get the
stated message.

begin error message**

max# mysqladmin -u root password 'newpassword'
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock'
exists!
max#

end error message**

Well sure enough, /tmp/mysql.sock does not exist.  And a "ps waux |
grep msyql" leaves me to believe that mysql is not running.

So then I did this, as root 

max# /usr/local/etc/rc.d/mysql-server.sh start

And still mysql is not running, and I get the same problems as
stated above.

Any ideas about what I'm doing wrong?  

Thank you.

-- 

   [EMAIL PROTECTED]

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


Re: Help with Expect Script

2005-05-15 Thread Mike Jeays
On Sun, 2005-05-15 at 14:09, Phusion wrote:
> I'm new to writing expect scripts and need some help. The script will
> telnet to a host and run some commands. I want the script to ping the
> host to see if it's alive first before it telnets into it. Also, I
> know the host is pingable meaning it responds to pings. If the host
> doesn't respond to a ping I want it to log that to a log file and then
> quit. I already know how to telnet to the host, but not sure about the
> ping part and writing it to a log file. Could you please reply to this
> email with a little example script. Thanks.
> 
> Phusion
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
You can ping a host and test whether it was successful from a shell
script, without needing to use expect.  Hope this is useful, as it
doesn't quite answer your question.  Note the "-c 1" to tell ping to try
just once.

ping -c 1 chaucer
rc1=$?
if [ $rc1 -gt 0 ]
then
  echo "Chaucer is down"
else
  echo "Chaucer is up"
fi

Here is an example of telnet from expect; a very quick and dirty way to
synchronize a clock on a very old machine.

#!/usr/local/bin/expect
set timeout 10
spawn telnet jansen
expect "]"

send "password1\r"
expect "jansen???"

send "su\r"
expect "Password:"

send "rootpassword\r"
expect "#"

exec date >/tmp/datesync.tmp
exec cat /tmp/datesync.tmp
set newtime [exec cat /tmp/datesync.tmp]
send "date -s \"$newtime\"\r"
expect "#"

send "exit\r"
expect "jansen???"

send "exit\r"
expect "host."


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


Re: Spam Problems

2005-05-15 Thread Jim Trigg
Kevin Pang wrote:
Hello All,
I'm a newbie and manage a FreeBSD server, which only hosts my own websites,
also only me have shell accounts on this server. Someone sent out lots of
spams from my server today. I have stopped postfix and disabled mail command
to make sure no any emails will be sent to from this server.
I want to know how the spammer did that. Actually I didn't manage postfix to
work well, I even can't send emails from my desktop myself, on the server
side, sending/receiving emails works well. I guess the spams were sent via a
web script. The sender was specified as "[EMAIL PROTECTED]" according to the
complaint email. I use phpBB, vBulletin and Awstats.
The spam email entry in the maillog is:
May 14 14:55:03 pang postfix/smtp[46011]: EC0C595C90: to=<[EMAIL PROTECTED]>,
relay=mail2.iecc.com[208.31.42.98], delay=724, status=sent (250 ok
1116100192 qp 2255)
As a newbie, I have no idea where to start to fix the problem. My first
question: Is it possible to know which script sent out these spams? I don't
know what else to ask at the moment. I will appreciate it very much too if
you any other suggestions about my problems. Thanks!
If you post the output of 'postconf -n' we can determine what might be 
wrong in your postfix setup; if that looks good then it's probably one 
of the addon web packages.

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


ata1-slave: FAILURE

2005-05-15 Thread Gerard Seibert
I just did a clean install of FreeBSD 5.4. While booting up, the following 
messages appears:

as0: 7665MB  [15574/16/63] at 
ata0-master UDMA 33

ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE status=1 
error=4

acd0: DVDROM  at ata1 master PIO4
afdo: REMOVABLE  at ata1-slave BIOSPIO
Obviously, I am referring to the "FAILURE" message. I have no idea what it 
means or how to correct it. I did google for an answer, but not with a 
whole lot of success. I am not even sure if it is serious or not. 
Everything seems to be working correctly.

I have a regular CD and an internal ZIP drive installed besides the HD.
I am trying this OS on an old Compaq 5140 computer. Not exactly the latest 
thing I know, but I want to learn how to use it before trying it on my 
production machine.

Perhaps someone could point me in the right direction.
--
Ciao,
Gerard Seibert
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


simple? sh problen

2005-05-15 Thread Ian Smith
Hopefully not too OT .. the only silly question being the unasked one ..

How do I test whether a sh argument is an integer or not, so as to avoid
failing on a syntax error from otherwise working code such as:

 [ $3 -lt 10 -o $3 -gt 600 ] && echo "$0 $1 $2: $3 invalid" && exit 1

when $3 is a non-integer argument?  Do I need to delve into awk and REs,
or is there something more simple I've missed in mans test, expr, etc?

Cheers, Ian

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


Re: xconfiguration

2005-05-15 Thread wizlayer
On Saturday 02 January 1999 11:20 pm, paul klatt wrote:
> I am having a problem configuring x in free bsd I am having
> problem disabling the virtual desktop the desktop is to large
> for my monitor and the mouse does not work correctly. I would
> appreciate the help. I am using the kde desktop

Being this is pretty vague, I'm going to assume that you're new to 
X on FreeBSD...  Welcome!

Try following at the prompt (and yes  there's lots of things 
you can do, and there's lots of hardware xorg will work with...  
So there's lots of reading involved):

man xorg.conf
man Xorg

Don't forget the 'See Also' sections, as they will take you to 
other man pages which you will want to review as well.

Then, there's also www.x.org you can check out.

Good luck.

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


Help with Expect Script

2005-05-15 Thread Phusion
I'm new to writing expect scripts and need some help. The script will
telnet to a host and run some commands. I want the script to ping the
host to see if it's alive first before it telnets into it. Also, I
know the host is pingable meaning it responds to pings. If the host
doesn't respond to a ping I want it to log that to a log file and then
quit. I already know how to telnet to the host, but not sure about the
ping part and writing it to a log file. Could you please reply to this
email with a little example script. Thanks.

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


Re: Spam Problems

2005-05-15 Thread Chris
Jerry Bell wrote:
>>web script. The sender was specified as "[EMAIL PROTECTED]" according to the
>>complaint email. I use phpBB, vBulletin and Awstats.
> 
> 
> Most likely the attacker used a flaw in phpBB or awstats.  Are you running
> the latest versions of those?  Otherwise, it is possible they found a
> vulnerability in something else you were running, like apache, php, etc.
> 
> Jerry
> http://www.syslog.org

In addition to what Jerry states, visit the Postfix site. Learn how to
setup, configure, and manage Postfix.

If not done right, you may have set it up to be a relay - and that's not
a good thing.

Lock down Postfix. Ensure you understand all he things you did to it, in
the end you may find out you set something wrong, or added something you
should not have.


-- 
Best regards,
Chris

The one ingredient you made a special trip to the store
to get will be the one thing your guest is allergic to.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Spam Problems

2005-05-15 Thread Jerry Bell

> web script. The sender was specified as "[EMAIL PROTECTED]" according to the
> complaint email. I use phpBB, vBulletin and Awstats.

Most likely the attacker used a flaw in phpBB or awstats.  Are you running
the latest versions of those?  Otherwise, it is possible they found a
vulnerability in something else you were running, like apache, php, etc.

Jerry
http://www.syslog.org

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


Spam Problems

2005-05-15 Thread Kevin Pang
Hello All,

I'm a newbie and manage a FreeBSD server, which only hosts my own websites,
also only me have shell accounts on this server. Someone sent out lots of
spams from my server today. I have stopped postfix and disabled mail command
to make sure no any emails will be sent to from this server.

I want to know how the spammer did that. Actually I didn't manage postfix to
work well, I even can't send emails from my desktop myself, on the server
side, sending/receiving emails works well. I guess the spams were sent via a
web script. The sender was specified as "[EMAIL PROTECTED]" according to the
complaint email. I use phpBB, vBulletin and Awstats.

The spam email entry in the maillog is:
May 14 14:55:03 pang postfix/smtp[46011]: EC0C595C90: to=<[EMAIL PROTECTED]>,
relay=mail2.iecc.com[208.31.42.98], delay=724, status=sent (250 ok
1116100192 qp 2255)


As a newbie, I have no idea where to start to fix the problem. My first
question: Is it possible to know which script sent out these spams? I don't
know what else to ask at the moment. I will appreciate it very much too if
you any other suggestions about my problems. Thanks!

Kevin


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


Re: daily log reports

2005-05-15 Thread [EMAIL PROTECTED]
That is not my IP address or what is assigned, i was just using it  
for simplicity...

How can I change the address it sends mail to? I rather change it to  
[EMAIL PROTECTED] instead or [EMAIL PROTECTED] I can probably do that by  
changing /etc/aliases but it's strange since I didn't need to do this  
in 5.3

On May 15, 2005, at 2:50 AM, Robert Slade wrote:
On Sun, 2005-05-15 at 07:03, [EMAIL PROTECTED] wrote:
On 5.3 everything was working fine, I would be emailed daily/weekly/
monthly log reports. But now after upgrading to 5.4 I am seeing all
those log report emails being queued up in postfix.
The problem is it is trying to connect to the wrong IP...
the machines default IP is 1.1.1.1 (for simplicity) which is
hot.domain.tld and ip alias on the machine is 1.1.1.2 which is my
mail.domain.tld
According to maillog it keeps trying to connect to 1.1.1.1 to deliver
to [EMAIL PROTECTED] and it gets refused...
You should not use IP addresses that or allocated or reserved for  
other
purposes. Use one of the addresses reserved for private networks. eg
192.168.0.1 or 10.0.0.1.


Back on 5.3 it never did this... it sent mail properly, I think by
using the localhost address...
I don't think this is a postfix problem but probably something
changed on how daily log reports are sent/handled? Anyone have any
idea on where to start?
The default for the mail is [EMAIL PROTECTED] Did you have an  
alias
setup to send it to whatever addresses you want the log reports  
sent to?

Rob

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


Re: write failed filesystem full on fresh install of 5.4

2005-05-15 Thread platanthera
On Saturday 14 May 2005 23:30, Ross Adams Lippert wrote:
> I'm sorry I was not more specific.
>
> /var has 256MB
> /tmp has 256
> / has 256
> /usr has 4500MB
> newfs had been run on everything.
>
> ftp was passive.
>
> Since base is about 46MB of material, it seems it could put it
> anywhere.
>
> This occurs 3% of the way into the extration of base into / via
> ftp.  I did burn a CD and install off of that in the end and the
> problem went away.
>
>
> -r
>
> On Saturday, 14 May 2005 at 16:19:27 -0400, Jerry McAllister wrote:
> > > It was extracting the distribution into / over ftp and said
> > >
> > > /: write failed, filesystem is full
> > >
> > > this was after doing a newfs on /.  Has anyone run into this
> > > problem?

it's not a problem of your fs layout.

i ran into the same problem during 5.4/i386/ftp installation. i can't  
recall the specific circumstances (probably i did something wrong), but 
during the next attempt (after rebooting) it didn't reappear. 

> >
> > You are going to have to give more information.
> > What do your file systems look like?
> >
> > Sure I have had that happen when what I was ftp-ing was too big to
> > fit where I was trying to put it.   Then I had to either find or
> > make a bigger space or change my mind about what I wantd to move
> > there.
> >
> > Maybe yo udidn't make / big enough or made only a / big enough
> > for stuff that will be in root, but didn't make a separate /usr and
> > /var, etc for things what will go in them.
> >
> > > I am not subscribed.  If I should be tell me.  If not, put me
> > > in the cc-line.
> >
> > It would be good if you could subscribe.
> > You may need to follow some of these threads.
> >
> > jerry
> >
> > > -r
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FBSD 5.4 & netstat -an

2005-05-15 Thread Mathieu CHATEAU
Hello freebsd-questions,

i have 2 freebsd 5.4 running .

On one of them, if if do the classic "netstat -an" i do NOT see tcp
connection while i can see them on the other..

There are tcp connection on the box, at least me trough ssh (tcpdump
show it).

Any clue ?

thank you

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

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


Re: clone cd disk to cd disk

2005-05-15 Thread Fabian Keil
"fbsd_user" <[EMAIL PROTECTED]> wrote:

> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Fabian
> Keil
> > Sent: Saturday, May 14, 2005 5:22 PM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED] ORG
> > Subject: Re: clone cd disk to cd disk
> >
> > Its my understanding both of your suggestions only read the
> contents
> > of the source cd as files thus no MBR or any of those imbedded
> > hidden hardware security measures would get cloned.  Which is the
> > purpose of asking for a cdrom sector cloning program or utility.
> 
> 1. Neither dd nor readcd does "file reading".
> 2. You don't need to clone sectors to copy a bootable cd.
> 3. readcd has a clone switch.
> 4. If your "hidden hardware security measures" read the ATIP,
>you are lost anyway.
> 
> Fabian
> --
> 
> **
> 
> Fabian,  thanks for the insight.
> 
> I am running 4.10 generic kernel with 2 ata cd drives.
> Master is read only and slave is rd/rw.
> 
> How would I code the burncd command to read all the music files from
> cd0 and write to cd1 without work file in between?
> 
> How would I code the burncd command to clone a bootable cd without
> work file in between?

I never used burncd. man burncd seems to be a good starting point.

Fabian
-- 
http://www.fabiankeil.de/


pgp75xSHegkIB.pgp
Description: PGP signature


sysinstall "Unable to find device node..."

2005-05-15 Thread Juan Flores
Hello:
I am sorry to bother you. But I was wondering if you found a solution  
to your problem at the following site:
http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/ 
042082.html

"Unable to find device node for /dev/ad0s1b in /dev!"
I am having the same problem with  FreeBSD 5.4  and 5.3.
PIII 800 Mhz  40Gb HD 256Ram . cant seem to solve.  However 5.4 loads  
fine under Virtual PC on my Mac.

when I set the geometry to the BIOS specs Install tells me Geometry not  
correct and doesnt accept.   Sysinstall also states do not use physical  
geometry, but when physical geometry is used  it is accepted.

If you have any info it would be greatly appreciated.
Thanks
JRF
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Itanium 64bit under FreeBSD

2005-05-15 Thread Kris Kennaway
On Sun, May 15, 2005 at 05:02:16PM +1000, Andre Nas wrote:
> Dear,
> Is there any experience successful Install FreeBSD in HP Integrity rx2600, is 
> there any problem when using FreeBSD ia64?
>  
> How to know/check that the system OS or application can running pure in 
> 64bit? can FreeBSD ia64 running pure 64bit ?

Yes, FreeBSD runs on ia64, in 64 bit mode.  For more information, read
the freebsd-ia64 mailing list.

Kris


pgpLsWtYAF76O.pgp
Description: PGP signature


Too many "unknown dynamic rule type 244" in syslog..

2005-05-15 Thread BigBrother-{BigB3}

hi,
For the past weeks I have been receiving in my syslog the following 
message

"ikaros /kernel: unknown dynamic rule type 244"
"ikaros last message repeated XXX times"
ipfw -d show | grep 244
does not show anything
I have rebooted the machine,
I have flushed & reloaded the ruleset...the message remains
Can you help me of how to debug this situation? I do not know what is
causing this.
googling does not revealled something usefull (just the printf of the 
corresponding file)


Thanks in advance,
BB
---
Dreams have no limits!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cannot mount ThinkPad removable cdrom device under FreeBSD-5.4

2005-05-15 Thread Fabian Keil
Eirik Fossgård <[EMAIL PROTECTED]> wrote:

> I have an IBM removable cdrom device which I'm trying to use under 
> FreeBSD-5.4 RELEASE. I connect it on the USB ports on my ThinkPad X40,
> insert a cdrom (neil young) but I cannot mount it:
> 
> "mount -t cd9660 /dev/cd0 /mnt/cdrom" yields: 
> 
> cd9660: /dev/cd0: Device not configured.
> 
> A "dmesg" then yields:
> 
> umass0: GENERIC CDRCB04, rev 2.00/0.00, addr 2
> cd0 at umass-sim0 bus 0 target 0 lun 0
> cd0:  Removable CD-ROM SCSI-0 device 
> cd0: 40.000MB/s transfers
> cd0: Attempt to query device size failed: NOT READY, Medium not present - 
> tray closed
> (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 10 0 0 1 0 
> (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
> (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition
> (cd0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:64,0
> (cd0:umass-sim0:0:0:0): Illegal mode for this track
> (cd0:umass-sim0:0:0:0): Unretryable error
> (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back
> (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 10 0 0 1 0 
> (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
> (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition
> (cd0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:64,0
> (cd0:umass-sim0:0:0:0): Illegal mode for this track
> (cd0:umass-sim0:0:0:0): Unretryable error
> (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back
> (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 10 0 0 1 0 
> (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
> (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition
> (cd0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:64,0
> (cd0:umass-sim0:0:0:0): Illegal mode for this track
> (cd0:umass-sim0:0:0:0): Unretryable error
> (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back
> 
> I have: 
> 
> device cd
> device pass
> device atapicam
> device atapicd
> device scbus
> device ata
> 
> compiled into my kernel. I'm stuck. Grateful for any help/hints 
> on what to try next.

What are you trying to do? Audio CDs can't be mounted, they have no
file system, just a toc and some subchannel data.

If you want to play music, you can use cdcontrol.

To copy the disc use cdda2wav and cdrecord.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html

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


RE: 5.4 install disc1 will not find hard drive

2005-05-15 Thread fbsd_user





> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of fbsd_user
> Sent: Saturday, May 14, 2005 12:54 PM
> To: [EMAIL PROTECTED] ORG
> Cc: [EMAIL PROTECTED]
> Subject: 5.4 install disc1 will not find hard drive
>

>
> Power management and APIC have been bios disabled since
> version FreeBSD 3.4
> version so that is not the problem. I tried selecting safe
> option to boot
> and still get same error 'no hard disk found".   My hard drive
> is an western
> digital 310100 on ata0 as master. When using this 5.4 install
> cd on other
> pc/ motherboard/ hard drive combos I get same error.
>
> I think there is something wrong with the build process of the
> disc1.iso
> file.

I don't think there is anything wrong with the build process of
disc1.iso.  I think instead that someone made a change in the atapi
driver that broke this.

I have a Intel Desktop Motherboard VC820 that this exact thing
happened
to.  In my case, I fortunately was running a Hipoint RAID card in it
so
the only thing that got wacked was the system now does not recognize
that there is a CDROM on the secondary onboard IDE controller.  Last
week I had it running FreeBSD 4.11 just fine.  (not on the RAID
controller)

I had assumed that using the RAID controller made it so that the
onboard
ATAPI controller had some problem, but after seeing this post it is
clear
that they broke the driver.

DO you want to file a PR or should I?

Ted


-Original Message-
From: Ted Mittelstaedt [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 15, 2005 12:38 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED] ORG
Cc: [EMAIL PROTECTED]
Subject: RE: 5.4 install disc1 will not find hard drive


Ted.

I filed a PR on the missing miniinst.iso file.
http://www.freebsd.org/cgi/query-pr.cgi?pr=80861

And it's not been addressed yet.  So if you have some pull
in getting PR's worked on then you should file the PR on this
problem.
As I see this, it's a show stopper in distributing 5.4 stable and
needs
to be addressed immediately because all the mirror FTP sites are
populated with non-functional disc1 iso files.

Here are some more details from the boot of disc1.

The btx loader issues this messages
bios drive C: is disk1

and near the end of the boot messages I get

ata1-master: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
ata1-master; setting pio4 on VIA 82C596B chip

Please send me the PR number after you report this so I can track
it.

Thanks







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


Re: Filesystem was not properly dismounted (5.4-RELEASE)

2005-05-15 Thread Ed Stover
VnPenguin wrote:
> Hi all,
> On my FreeBSD 5.4 system, when I do "reboot" or "shutdown -h " and
> reboot, there is always a warning at boot time:
> 
> WARNING: / was not properly dismounted
> 
> and fbsd starts filesystem check over / partition (~5GB) :(
> 
> Anyone could explain me why this ? Any solution for help ?
> 
> Thank you,
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 
Why in the world is your / partition ~5Gb ?
256M is what your / should be, 512Mb is even cool... You used to be a
Linux guy huh? ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange kernel messages

2005-05-15 Thread Ed Stover
Colin J. Raven wrote:
> Hi all!
> I occasionally get these in my daily security run output (which is
> worrying in itself)
> 
> Limiting closed port RST response from 1629 to 200 packets per second
> 
> the number of these can range from one or two, to sometimes 25 - 30
> although the latter case is rarer. Usually there's about six or so.
> These don't arrive every day, usually about once per week on average.
You get those when someone nmaps you. What I do aside from FreeBSD's
builtin anti-DOS stuff is;
1. Blackholeing
2.portsentry (it is kinda a honey pot but has some pretty neat features)
> 
> Is this an OS response to an attempted attack, limiting potential DDOS
> damage? 
yes it is. How heavily loaded is your server?
>That's how I'm reading it, but of course I'm guessing. If that
> *is* so, what mechanism is doing this?
Others have answered this question allready ;)
> 
> FreeBSD 4.11 STABLE
> 
> Regards & TIA
> -Colin
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Slow DNS

2005-05-15 Thread Ed Stover
Xian wrote:
> I have just set up a router and would like DNS caching on it. I have tried to 
> set it up an it kind of works, just computer using it as their nameserver 
> take ages on DNS queries, up to 4-5 seconds.
> 
> To set up the DNS caching I added the ip of another DNS server 
> to /etc/resolv.conf and added namd_enable="YES" to /etc/rc.conf.
> I also tweaked the following lines in /var/named/etc/namedb/named.conf: 
> listen-on   { "any"; };
> forwarders {
>192.168.0.1;
> };
> query-source address * port 53;
> 
> Any ideas on how to make it run better? The DNS server at 192.168.0.1 answers 
> DNS queries in a few milliseconds.
> 
Put an entry for your upstream DNS/DNSes as well... That will speed
things up.
<--quote
// In addition to the "forwarders" clause, you can force your name
// server to never initiate queries of its own, but always ask its
// forwarders only, by enabling the following line:
//
//  forward only;

// If you've got a DNS server around at your upstream provider, enter
// its IP address here, and enable the line below.  This will make you
// benefit from its cache, thus reduce overall DNS traffic in the Internet.
/*
forwarders {
127.0.0.1;
};
*/
-->
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreebSD 5.3

2005-05-15 Thread Ed Stover
Richard Verwayen wrote:
> Am Mittwoch, den 11.05.2005, 16:53 -0700 schrieb Dixit, Viraj:
> 
>>Folks,
>>
>>I have accidentally changed the permissions to my directories on my test 
>>system. Now I cannot login either on console using root or any other login 
>>account. I simply cannot login, the permissions change has done it. I get the 
>>login prompt but this is the message I get from the system when I log in. 
>>Help 
>>Thanks,
>>An Idiot
>>
>>Here is the message:
>>login: invalid script: /usr/libexec/login_krb-or-pwd
>>Login incorrect
> 
> What about single-user mode?
> 
> RIchard
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

Look in the archives of this mailing list going back for 5 years.. You
will find a bazillion howto's on logging in , in  single user mode and
mounting the stuff you need to fix. ;) good luck!

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


Re: ps: bad namelist

2005-05-15 Thread Ed Stover
Jerry Bell wrote:
> Typically this is caused by a kernel and utilities (like ps and w) being
> out of sync.  It sounds like you don't think that is the case, though.  I
> suppose it could be a problem with your procfs, but I'm not sure that
> would cause this kind of symptom.  My suspicion is still on
> inconsistencies between the kernel and "world".
> 
>>ps: bad namelist
>>w: bad namelist
> 
> 
> 
> Jerry
> http://www.syslog.org
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
Ok, try the command "uptime" as well, I bet it will error too. It was a
while ago I have had this same problem. I remember I had to remake a
 /dev/file ... maybe it was /dev/null ... remake /dev/null and see if
that clears it up.
Try this ..
# cd /dev
# rm null
# mknod null c 2 2
# chmod 666 null
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: LBA and CHS parameters of my FBSD partition differ!

2005-05-15 Thread Marcello Maggioni
So are you saying that I should ignore the message during FBSD setup
and also ignore the message from PM too?

Just another question, is this "fact" common or I'm just the only one
who get it ?:D

Thanks again

Marcello

2005/5/15, Ted Mittelstaedt <[EMAIL PROTECTED]>:
> 
> > Is this problem present silently with every OS (the problem exists but
> > is not reported)
> 
> yes.  But, why is it a problem?  It really isn't, you know.
> 
> The only BIOS thing concerning hard disks that any modern operating
> system
> uses is the BIOS routines to load the kernel.  Whether the kernel is a
> FreeBSD
> kernel like FreeBSD, or a Windows kernel like NTKERNEL, once the kernel
> and
> disk drivers have been fetched from the hard disk, via BIOS code, they
> are
> loaded, and the operating system can now talk to the hard disk directly.
> 
> Granted, if you use some real-mode program to partition the hard disk,
> like
> the Windows 98 fdisk program running under DOS, why then you are going to
> be
> concerned with things like this.  But, WinXP, Win2K, OS/2, all UNIXES,
> they all require themselves to be booted and running.
> 
> FreeBSD knows all about how to read partition tables that Windows OSes
> have
> left on the hard drive, so in a dual-boot situation it should keep clear
> of the
> Windows partition.  Windows knows all about how to read partition tables
> that
> itself writes, and God knows if it knows anything beyond that, so in
> general
> on dual-boot systems, if you follow the convention of loading Windows
> first
> followed by loading FreeBSD, then all the bits end up in the right place.
> 
> Partition Magic is, in my opinion, nothing more than a crutch for lazy
> people
> who are too lazy to backup their Windows systems then reformat their hard
> drives
> with Windows and create with Windows a smaller partition, leaving free
> space
> for FreeBSD.  But of course, saying that is going to get people coming
> out of
> the woodwork to flame me.
> 
> Ted
> 
> 
> > -Original Message-
> > From: Marcello Maggioni [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, May 15, 2005 1:58 AM
> > To: Ted Mittelstaedt
> > Cc: freebsd-questions@freebsd.org
> > Subject: Re: LBA and CHS parameters of my FBSD partition differ!
> >
> >
> > Very bad...
> >
> > My motherboard (Abit KV7) has 8 different bios release and none of
> > these seems to solve this issue.  My 30GB disk on the other IDE
> > channel seems to work fine with FreeBSD.
> > Is this problem present silently with every OS (the problem exists but
> > is not reported) or only with FBSD?
> >
> > Thanks
> >
> > Marcello
> >
> > 2005/5/15, Ted Mittelstaedt <[EMAIL PROTECTED]>:
> > >
> > > Well, your skirting the thin edge since you obviously have a
> > dual-boot
> > > system - but if a fsck of the FreeBSD partition, and a
> > chkdsk /f of the
> > > XP partition turn up nothing, your probably fine.
> > >
> > > What is going on is your motherboard BIOS is old, and
> > doesen't understand
> > > disk drives that report more than
> > >
> > > cylinders 16383
> > > heads 16
> > > sectors/track 63
> > >
> > > and furthermore doesen't understand LBA mode all that well either.
> > > Basically,
> > > the OS (either Windows or FreeBSD) does a BIOS call at boot
> > to figure out
> > > the
> > > size of the disk, and what they are both getting back
> > differs from what
> > > the
> > > drive reports when the disk driver queries it directly.
> > >
> > > If your motherboard is reasonably supported the manufacturer
> > may have a
> > > BIOS update that might fix this.  Otherwise, if everything
> > is working,
> > > leave well enough alone.
> > >
> > > The failure that can result if your not lucky is that one OS
> > scribbles on
> > > the others space on the disk.
> > >
> > > For people that only run a single OS on the computer, these error
> > > messages
> > > can be ignored - unless, that is, after installation, the FreeBSD
> > > partition
> > > fails to boot.
> > >
> > > Ted
> > >
> > > > -Original Message-
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED] Behalf Of Marcello
> > > > Maggioni
> > > > Sent: Saturday, May 14, 2005 4:09 PM
> > > > To: freebsd-questions@freebsd.org
> > > > Subject: LBA and CHS parameters of my FBSD partition differ!
> > > >
> > > >
> > > > Hi all,
> > > >
> > > > I have FreeBSD 5.4 installed after a buildworld from 5.3 .
> > > >
> > > > The problem is that during the setup of the system a
> > warning message
> > > > appeared and notified me something about "Wrong disk geometry" or
> > > > something like that. I ignored the message and installed the system
> > > > which booted and worked fine .
> > > >
> > > > Today, from my WinXP disk I loaded Partition Magic 8 and
> > this warned
> > > > me that my FBSD partition has different LBA and CHS parameters and
> > > > that this is wrong, because these two should be identical
> > and asked me
> > > > if I would like to correct this. I answered no, bue wha

RE: LBA and CHS parameters of my FBSD partition differ!

2005-05-15 Thread Ted Mittelstaedt

> Is this problem present silently with every OS (the problem exists but
> is not reported)

yes.  But, why is it a problem?  It really isn't, you know.

The only BIOS thing concerning hard disks that any modern operating
system
uses is the BIOS routines to load the kernel.  Whether the kernel is a
FreeBSD
kernel like FreeBSD, or a Windows kernel like NTKERNEL, once the kernel
and
disk drivers have been fetched from the hard disk, via BIOS code, they
are
loaded, and the operating system can now talk to the hard disk directly.

Granted, if you use some real-mode program to partition the hard disk,
like
the Windows 98 fdisk program running under DOS, why then you are going to
be
concerned with things like this.  But, WinXP, Win2K, OS/2, all UNIXES,
they all require themselves to be booted and running.

FreeBSD knows all about how to read partition tables that Windows OSes
have
left on the hard drive, so in a dual-boot situation it should keep clear
of the
Windows partition.  Windows knows all about how to read partition tables
that
itself writes, and God knows if it knows anything beyond that, so in
general
on dual-boot systems, if you follow the convention of loading Windows
first
followed by loading FreeBSD, then all the bits end up in the right place.

Partition Magic is, in my opinion, nothing more than a crutch for lazy
people
who are too lazy to backup their Windows systems then reformat their hard
drives
with Windows and create with Windows a smaller partition, leaving free
space
for FreeBSD.  But of course, saying that is going to get people coming
out of
the woodwork to flame me.

Ted


> -Original Message-
> From: Marcello Maggioni [mailto:[EMAIL PROTECTED]
> Sent: Sunday, May 15, 2005 1:58 AM
> To: Ted Mittelstaedt
> Cc: freebsd-questions@freebsd.org
> Subject: Re: LBA and CHS parameters of my FBSD partition differ!
>
>
> Very bad...
>
> My motherboard (Abit KV7) has 8 different bios release and none of
> these seems to solve this issue.  My 30GB disk on the other IDE
> channel seems to work fine with FreeBSD.
> Is this problem present silently with every OS (the problem exists but
> is not reported) or only with FBSD?
>
> Thanks
>
> Marcello
>
> 2005/5/15, Ted Mittelstaedt <[EMAIL PROTECTED]>:
> >
> > Well, your skirting the thin edge since you obviously have a
> dual-boot
> > system - but if a fsck of the FreeBSD partition, and a
> chkdsk /f of the
> > XP partition turn up nothing, your probably fine.
> >
> > What is going on is your motherboard BIOS is old, and
> doesen't understand
> > disk drives that report more than
> >
> > cylinders 16383
> > heads 16
> > sectors/track 63
> >
> > and furthermore doesen't understand LBA mode all that well either.
> > Basically,
> > the OS (either Windows or FreeBSD) does a BIOS call at boot
> to figure out
> > the
> > size of the disk, and what they are both getting back
> differs from what
> > the
> > drive reports when the disk driver queries it directly.
> >
> > If your motherboard is reasonably supported the manufacturer
> may have a
> > BIOS update that might fix this.  Otherwise, if everything
> is working,
> > leave well enough alone.
> >
> > The failure that can result if your not lucky is that one OS
> scribbles on
> > the others space on the disk.
> >
> > For people that only run a single OS on the computer, these error
> > messages
> > can be ignored - unless, that is, after installation, the FreeBSD
> > partition
> > fails to boot.
> >
> > Ted
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Behalf Of Marcello
> > > Maggioni
> > > Sent: Saturday, May 14, 2005 4:09 PM
> > > To: freebsd-questions@freebsd.org
> > > Subject: LBA and CHS parameters of my FBSD partition differ!
> > >
> > >
> > > Hi all,
> > >
> > > I have FreeBSD 5.4 installed after a buildworld from 5.3 .
> > >
> > > The problem is that during the setup of the system a
> warning message
> > > appeared and notified me something about "Wrong disk geometry" or
> > > something like that. I ignored the message and installed the system
> > > which booted and worked fine .
> > >
> > > Today, from my WinXP disk I loaded Partition Magic 8 and
> this warned
> > > me that my FBSD partition has different LBA and CHS parameters and
> > > that this is wrong, because these two should be identical
> and asked me
> > > if I would like to correct this. I answered no, bue what
> should I do?
> > > Why there is this incongruency in these 2 parameters?
> > >
> > > Thanks
> > >
> > > Marcello
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
> > >
> >
> >
>

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any 

Re: LBA and CHS parameters of my FBSD partition differ!

2005-05-15 Thread Marcello Maggioni
Very bad...

My motherboard (Abit KV7) has 8 different bios release and none of
these seems to solve this issue.  My 30GB disk on the other IDE
channel seems to work fine with FreeBSD.
Is this problem present silently with every OS (the problem exists but
is not reported) or only with FBSD?

Thanks

Marcello

2005/5/15, Ted Mittelstaedt <[EMAIL PROTECTED]>:
> 
> Well, your skirting the thin edge since you obviously have a dual-boot
> system - but if a fsck of the FreeBSD partition, and a chkdsk /f of the
> XP partition turn up nothing, your probably fine.
> 
> What is going on is your motherboard BIOS is old, and doesen't understand
> disk drives that report more than
> 
> cylinders 16383
> heads 16
> sectors/track 63
> 
> and furthermore doesen't understand LBA mode all that well either.
> Basically,
> the OS (either Windows or FreeBSD) does a BIOS call at boot to figure out
> the
> size of the disk, and what they are both getting back differs from what
> the
> drive reports when the disk driver queries it directly.
> 
> If your motherboard is reasonably supported the manufacturer may have a
> BIOS update that might fix this.  Otherwise, if everything is working,
> leave well enough alone.
> 
> The failure that can result if your not lucky is that one OS scribbles on
> the others space on the disk.
> 
> For people that only run a single OS on the computer, these error
> messages
> can be ignored - unless, that is, after installation, the FreeBSD
> partition
> fails to boot.
> 
> Ted
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Marcello
> > Maggioni
> > Sent: Saturday, May 14, 2005 4:09 PM
> > To: freebsd-questions@freebsd.org
> > Subject: LBA and CHS parameters of my FBSD partition differ!
> >
> >
> > Hi all,
> >
> > I have FreeBSD 5.4 installed after a buildworld from 5.3 .
> >
> > The problem is that during the setup of the system a warning message
> > appeared and notified me something about "Wrong disk geometry" or
> > something like that. I ignored the message and installed the system
> > which booted and worked fine .
> >
> > Today, from my WinXP disk I loaded Partition Magic 8 and this warned
> > me that my FBSD partition has different LBA and CHS parameters and
> > that this is wrong, because these two should be identical and asked me
> > if I would like to correct this. I answered no, bue what should I do?
> > Why there is this incongruency in these 2 parameters?
> >
> > Thanks
> >
> > Marcello
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
> >
> 
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail NOINET6=true

2005-05-15 Thread Abu Khaled
On 14 May 2005 09:33:26 -0400, Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> Abu Khaled <[EMAIL PROTECTED]> writes:
> 
> > sendmail[1579]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line
> > 279: Unknown address family inet6 in Family=option
> 
> Comment out that line and the message will go away.  Comment it out in
> the .mc file as well, and it won't come back next time you update.
> 

Thanks Lowell for your help :)

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


The FreeBSD Diary: 2005-04-24 - 2005-05-14

2005-05-15 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives  
and/or The FreeBSD Diary . 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Itanium 64bit under FreeBSD

2005-05-15 Thread Andre Nas
Dear,
Is there any experience successful Install FreeBSD in HP Integrity rx2600, is 
there any problem when using FreeBSD ia64?
 
How to know/check that the system OS or application can running pure in 64bit? 
can FreeBSD ia64 running pure 64bit ?
 
Thanks,
Andre



-
Find local movie times and trailers on Yahoo! Movies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"