Re: sshd question

2006-01-19 Thread Matthew Seaman
Peter wrote:
> --- Beech Rintoul <[EMAIL PROTECTED]> wrote:
> 
>> I'm trying to set up ssh to use keys to authenticate on a remote server.
>> I've 
>> always used passwords in the past. I generated a key pair and exported
>> my 
>> public key to ~/.ssh/authorized_keys on the remote machine. I changed 
>> sshd_config to "PasswordAuthentication no". when I login the remote
>> machine 
>> still asks for a password. What do I change to just use the key to log
>> in? 
> 
> I'm assuming you do not want to enter anything to log in right?  If so,
> you need a private key with a blank passphrase.  It's hard to say from
> here but it may be that you are being prompted for the passphrase to
> unlock your private key.

No, no, no.  ssh keys with out pass-phrases are a liability.  It really is a
bad idea to do that.

What the OP should do instead is use ssh-agent -- I fire it up from .xsession
when I log into my desktop.  Then load your key into the agent:

ssh-add ~/.ssh/id_dsa

which will require you to give the pass phrase.  However, that's the one and
only time you'll need to do that.

Then when you ssh into a box, it should auth against your key automatically.  If
you take care to always use the '-A' flag when you ssh in:

ssh -A hostname

then you can bounce through several machines, and the auth requests will be
relayed back to the ssh-agent on your desktop.[*]

Cheers,

Matthew

[*] Agent forwarding is off by default in /etc/ssh/ssh_config (client side)
but permitted in /etc/ssh/sshd_config (server side) -- but the -A flag
overrides the client settings.

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Post install help

2006-01-19 Thread Vayu
I just did my first install, so far so good.  I've got KDE running.  I 
know how to play around with xorg.conf and got my screen resolution 
matching my monitor.  My network is working to the router.  Now I would 
like to get my graphics and sound cards working.


Where can I find out about getting an nVidia driver installed (I have a 
6600GT)?


Where can I find out about getting my sound card working (sound blaster 
Audigy 2)?  Right now I get no sounds anywhere in KDE.


How can trace my permission errors when I try to access my CD player in 
KDE?  (All I know about so far is to add myself to the wheel group to 
get su)


Is there a good source of HowTos anywhere?


Any help would be appreciated


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


RE: FreeBSD vs Linux

2006-01-19 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Danial Thom
>Sent: Wednesday, January 18, 2006 8:54 AM
>To: Dick Davies; freebsd-questions@freebsd.org
>Subject: Re: FreeBSD vs Linux
>
>
> 
>> >  Microsoft pays hardware manufacturers to
>> > make drivers for their OS,
>> 
>> I seriously doubt it. They don't need to with
>> their market share.
>
>Ok, what do you guys live in a shoe or something?
>For pete's sake, how can so many people be so
>patently clueless and still be able to find food
>and shelter? Do you really have no idea how
>things work? Are you really so brainwashed by the
>geeky liberals that you have lost your ability to
>think?
>
>MS doesn't have to "pay" vendors, you toad.
>Vendors write drivers for windows because the
>market is substantial 

Actually, it's a lot worse than that, most times.

The vendors usually aren't the ones that write drivers,
it is the chipset manufacturers that usually write a
stock driver that they supply with the chipset, with the
idea that the vendor is supposed to use this as an
example of how the chipset it to be handled when they
write their own driver.  All to often, though, the vendor
merely repackages the chipset manufacturer's example
driver.

>
>Vendors don't write drivers for freebsd because:
>
>1) the market is too small
>2) Some don't want to release source, as they'll
>lose more to taiwanese cloners than they will
>make selling to 'nix users.
>3) X sucks, so why risk having people badmouth
>your cards?
>

Some of this is true but most of the reason is merely
that the chipset manufacturers don't write the drivers
so there's nothing for the vendor to repackage.  And
the chipset manufacturers only write a single driver
for the largest OS in market share simply because their
customers (the card vendors) won't buy the chipsets if
an example driver doesen't exist, and to the chipset
manufacturer, every single scrap of time spent writing
a driver is wasted effort, whether the driver is for
Windows or some other OS.

If you actually go out and buy decent quality hardware
that costs more money, where the vendors do in fact just
use the chipset maker-supplied driver as a base to work
from, you will find drivers for lots of different non-Windows
operating systems.  But you won't find that hardware in
the bargin bin at Fry's.

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


Re: portmanager status?

2006-01-19 Thread Micah

Craig Deal wrote:

I just ran portmanager -s and it said that it has been removed from
the ports collection. The "MOVED" file said
"sysutils/portmanager||2006-01-19|Author withdrew permission to
distribute". Does this mean it will not be available any more, or is
this temporary?

Does anyone have a recommendation for a replacement for a novice user.
Portmanager was very easy to use and I never had a problem with it.

Thanks,
Craig


Check out http://portmanager.sunsite.dk/preface.html
"I have decided to remove portmanager from the FreeBSD ports tree 
because I do not get along with the people in charge of FreeBSD ports."


Sounds pretty permanent to me.

Use portupgrade.

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


Re: 6.0 for nfsd ?

2006-01-19 Thread [EMAIL PROTECTED]
On 1/18/06, Albert Shih <[EMAIL PROTECTED]> wrote:
> I must

I won't ask why, just take it as a given.

> What's adavantage can I've to install FreeBSD 6.0 instead 5.x ? (The only
> thing I want is the best performance AND best stability for...nfs).
>

If you must upgrade, go to 6.0.  5.x would be advised only for those
already following 5.x and not for new installs, IMO.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: konsole font size and colour ?

2006-01-19 Thread Ken Stevenson
On Tue, Jan 17, 2006 at 07:14:49AM -0800, Micah wrote:
> Mehmet Fatih AKBULUT wrote:
> >hi all,
> >how can i resize konsole' font size and change its colour to green ?
> >the default size is so huge, and only a few lines can be seen on the 
> >screen.
> >help please,
> >thanks in advance,
> >regards,
> >bye.
> >[for debian i can edit /boot/grub/menu.lst but dont know what to do for
> >freebsd.]
> 
> Not sure what your asking because Konsole (a KDE terminal emulator) and 
> GRUB (a boot loader) have little in common.
> 
> For Konsole, everything you need to change the size is under the 
> "Settings" menu, specifically "font" and "size." To get it to stick, use 
> "save as default". Preset colors schemes can be set via "schema" and can 
> be customized via "configure konsole"
> 
> I've never run into a GRUB option that allows you to change it's size. 
> You'll still edit menu.lst, but it's located wherever you installed GRUB.
> 
> HTH,
> Micah

I haven't done this for a while, but here's what I have on my system:

In your kernel configuration:

options VESA

In rc.conf :

font8x8="/usr/share/syscons/fonts/iso02-8x8.fnt
allscreens_flags="132x43"

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


Autoconf Issues

2006-01-19 Thread Cody Holland
Running FreeBSD 5.4-STABLE and trying to install Apache 2.0.x and
getting:

autoconf: not found
buildconf: autoconf not found.
   You need autoconf version 2.13 or newer installed
   to build Apache from CVS.
./buildconf failed for apr
*** Error code 1

I have autoconf-2.13.000227_5 installed and automake-1.4.6_2.  I've
removed and reinstalled autoconf several times and also tried
autoconf-259.  I've installed Apache many times and have never ran into
an issue like this.  Any ideas?

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


Re: vidcontrol does not give mode more 800x600

2006-01-19 Thread [EMAIL PROTECTED]
On 1/18/06, Андрей <[EMAIL PROTECTED]> wrote:
>
> when start on vmware `vidcontrol -i mode` list mode before 1920x1440
> when start on real hardware `vidcontrol -i mode` list mode only before
> 800x600
>
> tried to add 'options VGA_WIDTH90' in kernel
> tried to install driver nvidia
> in internet on this subject nothing have not found
>
> even connected other monitor :)
>

Though they may be listed, modes higher than 800x600
don't appear to function.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: portmanager status?

2006-01-19 Thread Craig Deal
On 1/19/06, Kris Kennaway <[EMAIL PROTECTED]> wrote:
>
> Try portupgrade.  It's what most people use.
>
> Kris
>

Thanks, I'll give it a try.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sshd question

2006-01-19 Thread Peter

--- Beech Rintoul <[EMAIL PROTECTED]> wrote:

> I'm trying to set up ssh to use keys to authenticate on a remote server.
> I've 
> always used passwords in the past. I generated a key pair and exported
> my 
> public key to ~/.ssh/authorized_keys on the remote machine. I changed 
> sshd_config to "PasswordAuthentication no". when I login the remote
> machine 
> still asks for a password. What do I change to just use the key to log
> in? 

I'm assuming you do not want to enter anything to log in right?  If so,
you need a private key with a blank passphrase.  It's hard to say from
here but it may be that you are being prompted for the passphrase to
unlock your private key.

--
Peter






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portmanager status?

2006-01-19 Thread Craig Deal
I just ran portmanager -s and it said that it has been removed from
the ports collection. The "MOVED" file said
"sysutils/portmanager||2006-01-19|Author withdrew permission to
distribute". Does this mean it will not be available any more, or is
this temporary?

Does anyone have a recommendation for a replacement for a novice user.
Portmanager was very easy to use and I never had a problem with it.

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


sshd question

2006-01-19 Thread Beech Rintoul
I'm trying to set up ssh to use keys to authenticate on a remote server. I've 
always used passwords in the past. I generated a key pair and exported my 
public key to ~/.ssh/authorized_keys on the remote machine. I changed 
sshd_config to "PasswordAuthentication no". when I login the remote machine 
still asks for a password. What do I change to just use the key to log in? 

Thanks,

Beech

-- 

---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://akparadise.byethost33.com
---













pgpZ4LVXqhtOE.pgp
Description: PGP signature


Re: Support for FreeBSD 4.10/4.9

2006-01-19 Thread Derrick Francis

Kris,
   Thank you for the quick response.  That is exactly what I was 
looking for.


Kris Kennaway wrote:

On Mon, Dec 19, 2005 at 02:28:09PM -0800, Derrick Francis wrote:
  
Have a simple question.  If someone to request support for version 4.10 
or 4.9 how would they be supported?  Please let me know.  I need to 
verify this version of FreeBSD is still supported.  Thank you.



Generally speaking these old versions are not supported at all.  They
might still be receiving security support (see
http://www.freebsd.org/security/), but if you e.g. try to report a bug
then you'll mostly get people telling you to upgrade to a supported
version first (since after all there's a good chance the bug is
already fixed).

At this point you really need to plan to upgrade to the 6.0 series,
since that's where the future lies.

Kris
  



--
Derrick Francis 
IT/Security Consultant
X-Feds, Inc.
(O) 619.222.4600
(C) 760.613.8892
(E) [EMAIL PROTECTED]

Important Notice: The contents of this email are intended solely for the named 
addressee and may contain proprietary data or information; any unauthorized use 
of the contents is expressly prohibited. If you have received this email in 
error, please delete it and any attachments immediately and advise the sender. 
If you are the intended recipient you should not disclose all or any part of 
the contents except in accordance with applicable nondisclosure and 
confidentiality agreements. Thank You.

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


Re: again canon printer trouble

2006-01-19 Thread Michal Mertl
[EMAIL PROTECTED] wrote:
> Michal Mertl wrote:
> > [EMAIL PROTECTED] wrote:
> >
> >>Ok, two short questions.
> >>
> >>-Is someone able to translate this for me (seems to be Czech)?
> >>  http://www.abclinuxu.cz/hardware/show/65412;jsessionid=10vmgmw8u8l16
> >>
> >>-May my problem be due to acpi in any way? I don't know acpi either. But may
> try
> >>something like debug.acpi.disabled="isa" in /boot/device.hints. Good or bad
> idea
> >>?
> >
> >
> > Hello. I am Czech. The page talks about using the printer under Linux.
> > Canon provides drivers for it. I don't know if they can be used because
> > I don't know the CUPS much. If the driver/filter program is (can be)
> > invoked manually, you could probably use it with FreeBSD native CUPS. If
> > not you can possibly run Linux CUPS and print to it even from FreeBSD
> > native applications. If the program directly communicates with the
> > printer you may be out of luck because you don't run Linux kernel and
> > the emulation may not be complete in these low-level areas.
> >
> > I didn't see your original post but printing issue can not be caused by
> > ACPI unless the interface for printing doesn't work at all. If for
> > example you use USB connection to the printer and something else USB
> > works, than ACPI can't be at fault.
> >
> > HTH
> >
> > Michal
> >
> >
> >
> 
> Hi Michal,
> 
> Definetely this ML should be read at least by czech people. Others are welcome
> for sure. Thanks a million for your translation and re-explanation.
> 
> I am going to test in that way tomorrow. Of course, I still do not understand
> why I cannot print directly with > /dev/lpt0.

I have never tried this but I believe it should work. You have to know
how to talk to your printer, usualy using some language like Postscript
or PCL or some vendor special language for modern ink printers.


> About acpi, I told that because I have ppc0: 
> port 0x378-0x37f irq 7 on acpi0 in dmesg and all the examples I saw had isa
> instead of acpi. Any idea? Is it normal?

I think that the old reports were from older FreeBSD version which
didn't have ACPI or from old machines which didn't have lpt in ACPI.
Nowadays "on acpi0" is pretty common.

> Thanks again Michal.
> 

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


Re: Support for FreeBSD 4.10/4.9

2006-01-19 Thread Kris Kennaway
On Mon, Dec 19, 2005 at 02:28:09PM -0800, Derrick Francis wrote:
> Have a simple question.  If someone to request support for version 4.10 
> or 4.9 how would they be supported?  Please let me know.  I need to 
> verify this version of FreeBSD is still supported.  Thank you.

Generally speaking these old versions are not supported at all.  They
might still be receiving security support (see
http://www.freebsd.org/security/), but if you e.g. try to report a bug
then you'll mostly get people telling you to upgrade to a supported
version first (since after all there's a good chance the bug is
already fixed).

At this point you really need to plan to upgrade to the 6.0 series,
since that's where the future lies.

Kris


pgpQohC6JsPt8.pgp
Description: PGP signature


Support for FreeBSD 4.10/4.9

2006-01-19 Thread Derrick Francis
Have a simple question.  If someone to request support for version 4.10 
or 4.9 how would they be supported?  Please let me know.  I need to 
verify this version of FreeBSD is still supported.  Thank you.


--
Derrick Francis 
IT/Security Consultant
X-Feds, Inc.
(O) 619.222.4600
(C) 760.613.8892
(E) [EMAIL PROTECTED]

Important Notice: The contents of this email are intended solely for the named 
addressee and may contain proprietary data or information; any unauthorized use 
of the contents is expressly prohibited. If you have received this email in 
error, please delete it and any attachments immediately and advise the sender. 
If you are the intended recipient you should not disclose all or any part of 
the contents except in accordance with applicable nondisclosure and 
confidentiality agreements. Thank You.


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


Re: How to tell if IPF is running?

2006-01-19 Thread jdow

From: "Erik Norgaard" <[EMAIL PROTECTED]>

Nce writeup. I do have one question at the bottom.

I used IPF on FBSD until there was some bug in IPF for 5.x some version 
that forced me to switch after an upgrade. The bug has been fixed since 
but I have found no reason to go back.


There are two things I miss from IPF:

a) proper accounting: You can't count traffic correctly with stateful 
filtering on pf, pf will count when a rule is matched but once a state 
is established packets for that state are not matched and hence not counted.


b) an active and inactive ruleset: To load a new ruleset you'll have to 
flush everything. You can check syntax of rules before loading and pf 
loads all or nothing, so if there is a syntax error in your ruleset it 
won't be loaded. BUT: You may make syntactically correct changes that 
yet contain errors: Just say you wrote:


  block in all from 10.0.0.0/2

but meant

  block in all from 10.0.0.0/24

In IPF I always used:

  # ipf -s && sleep 60 && ipf -s

to give me 60 seconds to verify that I didn't lock myself out.

Now, that is compensated by in PF you can flush and reload the rules 
only, keeping existing states, so the connection you use for maintenance 
is not torn down.


The pros for PF are some features to prevent DDoS against servers behind 
your firewall, and advanced queuing features and CARP. The use of macros 
and tables makes it easier to maintain rules, but the lack of groups 
means you have to be more careful structuring your ruleset:


Rules are read top down _always_ in IPF I really liked groups, even 
though I always kept rules together. It just made it more explicit that 
rules went the same place. PF uses some clever skip ahead to gain the 
speed that proper use of groups give in IPF, and tests have shown that 
pf is faster than IPF in particular when rulesets grow large.


but you need to be careful writing rules:

IPF sample:

block in quick from 10.0.0.0/24 to any head 10
pass  in quick from 10.0.0.0/24 to 192.168.0.0/24 group 10

PF sample:

block in   from 10.0.0.0/24 to any
pass  in quick from 10.0.0.0/24 to 192.168.0.0/24
block in quick from 10.0.0.0/24 to any

The thing is that in the first line of the IPF sample, a default action 
is made for that group. packets matching the head rule but no rules in 
the group will take that action.


In PF you'll have to include that extra rule in the end to get the same 
behavior.


So, in short, ipf is really simple and comparatively easy to work with, 
the lack of macros means you generally have to write more but this also 
makes it more explicit what happens as packets traverse the ruleset.


pf has some really nice features in particular in more complex setups. 
The use of macros means that you can create compact rulesets that can 
easily be adopted to other systems or setups.


Use what you feel most comfortable with.


OK, I am coming from a Linux iptables world. I have a nicely working
firewall in that realm including the following nice little tidbit that
allows me to be anywhere in the world and ssh into the machine while
making ssh dictionary attacks really "expensive".
===8<---
$IPTABLES -A INPUT -p tcp --syn --dport 22 -m recent --name sshattack --set
$IPTABLES -A INPUT -p tcp --dport 22 --syn -m recent --name sshattack \
 --rcheck --seconds 120 --hitcount 3 -j LOG --log-prefix 'SSH REJECT: '
$IPTABLES -A INPUT -p tcp --dport 22 --syn -m recent --name sshattack \
 --rcheck --seconds 120 --hitcount 3 -j REJECT --reject-with tcp-reset
===8<---
The trap allows up to three tries within a 120 second period before blocking
the IP address responsible until the tries within the last 120 seconds is
below 3. I've found that attacks will start. Then they will simply spend
an hour or two generating log entries for the rejects. (I then add the
net block for the source to another rule that blocks it entirely for ssh.)

I have similar blocks on pop3s and imaps.

Which tool would be able to do this sort of thing best and how might it
have been done.

{^_^}   Joanne, getting tired of the Linux perpetual beta test.

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


Re: bootloader.conf

2006-01-19 Thread Kevin Kinsey

C M wrote:


All,

I have a Dell c640 laptop.  I would rather not run X, however
the only sreensize that I can get for the console is 640x800. 



vidcontrol(1) might be work a look.

Kevin Kinsey

PS > Please note that the sig was auto-generated by
fortune(6) ... nothin' personal. :-D

--
Ah say, son, you're about as sharp as a bowlin' ball.


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


Re: Share desktop with XOrg

2006-01-19 Thread Garrett Cooper

Erik Osterholm wrote:


On Wed, Jan 18, 2006 at 06:15:55PM +0100, User Gandalf wrote:
 


Kilian Hagemann wrote:

   


On Wednesday 18 January 2006 18:08, User Gandalf pondered:


 


Is it possible to share a desktop under the XOrg server? Is there a port
for this? I'm aware of the -display option of X based programs. What I
need is not a remote desktop connection. I would like to share my
desktop to another user so he can see what I see.
 

   

Yes, the stock Xorg server doesn't though. You could use VNC, but in my 
experience that just opens up another X display where you login separately 
using kdm/gdm/xdm or whatever.


I suggest you use KDE's desktop sharing (krfb, in the menu under "System", 
part of the "kdenetwork" package, tested on 3.4.1). Does what you want.



 

I hoped there is a more native solution. I prefer gtk over kde but what 
can I do?

Thanks,
   



The x11vnc port may do what you want.  Give that a look.

Erik
 

   It is a wonderful port. It provides access to your display that you 
specify (if you are the "owner" of the display), and emulates it via 
VNC. It will take up less memory than straight VNC since it uses the 
existing X server (if it is running), and attaches to it and allows VNC 
connections to that specific instance of the X server.

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


Re: NTP

2006-01-19 Thread Pietro Cerutti
On 1/19/06, Aguiar Magalhaes <[EMAIL PROTECTED]> wrote:
> Hi list,
>
> When I type "ntpdate ntp.nasa.gov" (or another server)
> the answer is "no server suitable for synchronization
> found"...

# ntpdate ntp.nasa.gov
19 Jan 20:45:32 ntpdate[17119]: adjust time server 198.123.30.132
offset 0.000333 sec

Can you ping that server or any other ntp server?
Are you behind a firewall?


>
> What is wrong ?
>
> Aguiar
>
>
>
>
>
>
>
>
>
>
> ___
> Yahoo! doce lar. Faça do Yahoo! sua homepage.
> http://br.yahoo.com/homepageset.html
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>


--
Pietro Cerutti
<[EMAIL PROTECTED]>

   Non lasciar calpestare i TUOI diritti!
   Don't let 'em take YOUR rights!

   NO al Trusted Computing!
   Say NO to Trusted Computing!

   www.no1984.org
   www.againsttcpa.com


--
Pietro Cerutti
<[EMAIL PROTECTED]>

   Non lasciar calpestare i TUOI diritti!
   Don't let 'em take YOUR rights!

   NO al Trusted Computing!
   Say NO to Trusted Computing!

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


bootloader.conf

2006-01-19 Thread C M

All,

I have a Dell c640 laptop.  I would rather not run X, however the only 
sreensize that I can get for the console is 640x800.  Does anyone know of a 
driver I can call in the Kernel to get a bigger console?


_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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


Re: NTP

2006-01-19 Thread albi
Aguiar Magalhaes wrote:

> When I type "ntpdate ntp.nasa.gov" (or another server)
> the answer is "no server suitable for synchronization
> found"...

perhaps there's a problem with your internet-connection somehow or your
DNS-settings or firewall- or proxy-settings ? (ntpdate ntp.nasa.gov
works fine here)

trying ntpdate with the -d parameter is also an idea

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NTP

2006-01-19 Thread N.J. Thomas
* Aguiar Magalhaes <[EMAIL PROTECTED]> [2006-01-19 16:35:25 -0300]:
> When I type "ntpdate ntp.nasa.gov" (or another server) the answer is
> "no server suitable for synchronization found"...

Works fine over here. Can you connect to the NTP port on that server?
Try this:

nc -u -v ntp.nasa.gov 123

and see if you get a connection succeeded message.

Also, have you thought about using pool.ntp.org instead?

Thomas

-- 
N.J. Thomas
[EMAIL PROTECTED]
Etiamsi occiderit me, in ipso sperabo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


NTP

2006-01-19 Thread Aguiar Magalhaes
Hi list,

When I type "ntpdate ntp.nasa.gov" (or another server)
the answer is "no server suitable for synchronization
found"...

What is wrong ?

Aguiar










___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 

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


RE: Help backing up to networked drive

2006-01-19 Thread Mike Loiterman

For those that are interested this is how got things to work:

On the Mac Mini I edited /etc/smb.conf and put in this:

 [backup] 
 path = /Volumes/Server-Backup
 writeable = yes

Then I restarted Windows File Sharing by going to System
Preferences->Sharing and then turning off Windows File Sharing and then
turning it back on.

Then, on my server, I mounted the Mini's drive with this command:

/usr/sbin/mount_smbfs //[EMAIL PROTECTED]/backup /mnt/backup

Now I'm using this script to do a level 0 dump:

/sbin/dump 0aufL - / | bzip2 >/mnt/backup/root-dump-l0.bz2 
/sbin/dump 0aufL - /tmp | bzip2 >/mnt/backup/tmp-dump-l0.bz2 
/sbin/dump 0aufL - /usr | bzip2 >/mnt/backup/usr-dump-l0.bz2 
/sbin/dump 0aufL - /var | bzip2 >/mnt/backup/var-dump-l0.bz2 

Once I see that this is working well, I'll probably set up folders for a
weekly level 0 and dailys level 9's.

Thanks to Chuck for the hint on adding the drive in the Mini's smb.conf
file.

--
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: [EMAIL PROTECTED]
PGP Key: 0xD1B9D18E

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


Re: NIC

2006-01-19 Thread Alex Zbyslaw

Fabian Keil wrote:


-Original Message-
From: Fabian Keil [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 19, 2006 7:29 AM

To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: NIC

"Vitalie Apostu" <[EMAIL PROTECTED]> wrote:

   

When I unplug UTP cable from NIC card and plug it back the system 
cannot ping any host in network.

Does anybody know how to fix it?
 


Did you try ifconfig $nic_device up?
   



I guess it would violate POLA, I for one wouldn't expect the
NIC to get up by itself.
 

If cable is pulled and plugged back in when the machine is already up, I 
would be astonished if it didn't just come back.  In fact, I just tried 
it to be sure, and everything "just worked".


Vitalie, perhaps some info about the kind of NIC you have might help.  
Also can you show ifconfig

   1) before you pull the cable
   2) after you pull the cable
   3) after you plug the cable back in

At least then we could compare what happens for you with what happens 
for me.


For reference, I see:

Before:
sk0: flags=8843 mtu 1500
   inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
   inet 192.168.1.2 netmask 0xff00 broadcast 192.168.1.255
   ether 00:11:d8:94:74:49
   media: Ethernet autoselect (1000baseTX )
   status: active

Pulled:
sk0: flags=8843 mtu 1500
   inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
   inet 192.168.1.2 netmask 0xff00 broadcast 192.168.1.255
   ether 00:11:d8:94:74:49
   media: Ethernet autoselect (none)
   status: no carrier

Back in:
sk0: flags=8843 mtu 1500
   inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
   inet 192.168.1.2 netmask 0xff00 broadcast 192.168.1.255
   ether 00:11:d8:94:74:49
   media: Ethernet autoselect (1000baseTX )
   status: active

--Alex



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


Re: Share desktop with XOrg

2006-01-19 Thread Erik Osterholm
On Wed, Jan 18, 2006 at 06:15:55PM +0100, User Gandalf wrote:
> Kilian Hagemann wrote:
> 
> >On Wednesday 18 January 2006 18:08, User Gandalf pondered:
> > 
> >
> >>Is it possible to share a desktop under the XOrg server? Is there a port
> >>for this? I'm aware of the -display option of X based programs. What I
> >>need is not a remote desktop connection. I would like to share my
> >>desktop to another user so he can see what I see.
> >>   
> >>
> >
> >Yes, the stock Xorg server doesn't though. You could use VNC, but in my 
> >experience that just opens up another X display where you login separately 
> >using kdm/gdm/xdm or whatever.
> >
> >I suggest you use KDE's desktop sharing (krfb, in the menu under "System", 
> >part of the "kdenetwork" package, tested on 3.4.1). Does what you want.
> > 
> >
> I hoped there is a more native solution. I prefer gtk over kde but what 
> can I do?
> Thanks,

The x11vnc port may do what you want.  Give that a look.

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


Re: NIC

2006-01-19 Thread Fabian Keil
Please don't top post and don't forget to CC
[EMAIL PROTECTED]

"Vitalie Apostu" <[EMAIL PROTECTED]> wrote:

> It will work if I do ifconfig up or restart. Why do not do
> automatically?
> 
> -Original Message-
> From: Fabian Keil [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, January 19, 2006 7:29 AM
> To: [EMAIL PROTECTED]
> Cc: freebsd-questions@freebsd.org
> Subject: Re: NIC
> 
> "Vitalie Apostu" <[EMAIL PROTECTED]> wrote:
> 
> > When I unplug UTP cable from NIC card and plug it back the system 
> > cannot ping any host in network.
> > Does anybody know how to fix it?
> 
> Did you try ifconfig $nic_device up?

I guess it would violate POLA, I for one wouldn't expect the
NIC to get up by itself.

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


signature.asc
Description: PGP signature


RE: Help backing up to networked drive

2006-01-19 Thread Gayn Winters
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Mike Loiterman
> Sent: Thursday, January 19, 2006 8:17 AM
> To: freebsd-questions@freebsd.org
> Subject: RE: Help backing up to networked drive
> 
> 
> Mike Loiterman  wrote:
> > I would like to backup my server to a firewire drive
> > connected to a Macintosh Mini. Both machines are on my local
> > network and, of course, behind a secure firewall.
> > 
> > Right now I'm using this script to take backups:
> > 
> > #!/bin/sh
> > 
> >  /sbin/dump -0uanL -f - / | gzip -2 | ssh -c blowfish
> > [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-root.gz && \
> >  /sbin/dump -0uanL -f - /tmp | gzip -2 | ssh -c blowfish
> > [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-tmp.gz && \
> >  /sbin/dump -0uanL -f - /usr | gzip -2 | ssh -c blowfish
> > [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-usr.gz && \
> >  /sbin/dump -0uanL -f - /var | gzip -2 | ssh -c blowfish
> > [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-var.gz
> > 
> > This is working fine, but I have to run the script mannually
> > and enter the password.
> > 
> Actually, I take it back.  The original script doesn't work.
> 
> dd gives an error when I try to backup /usr saying that the 
> file is too
> large...it dies at 4GB.
> 
Not knowing anything about the mac mini, I can only guess:  Have you
tried using a partition name for dd of= instead of a file name?

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 


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


FreeBSD6, INET6

2006-01-19 Thread Mike Pechkin
hi,

1. installed FreeBSD 6.0 
2. did cvsup RELENG_6_0
3. kernel config containts 'INET6' option
4. files 'hosts' and 'resolv.conf' are OK
5. sendmail can't send mail because of Windows DNS server's replies:
18:07:54.804053 IP 192.168.10.33.55378 > 192.168.10.2.53:  38300+ ? 
temp-bsd.mbint.ddd.ru. (47)
18:07:54.804426 IP 192.168.10.2.53 > 192.168.10.33.55378:  38300* 0/1/0 (96)
18:07:54.804602 IP 192.168.10.33.49171 > 192.168.10.2.53:  38301+[|domain]
18:07:54.804785 IP 192.168.10.2.53 > 192.168.10.33.49171:  38301 
NXDomain*[|domain]
18:07:54.813891 IP 192.168.10.33.60941 > 192.168.10.2.53:  38302+ ? ddd.ru. 
(32)
18:07:54.814053 IP 192.168.10.2.53 > 192.168.10.33.60941:  38302* 0/1/0 (87)
18:07:54.814169 IP 192.168.10.33.60929 > 192.168.10.2.53:  38303+ A? ddd.ru. 
(32)
18:07:54.814311 IP 192.168.10.2.53 > 192.168.10.33.60929:  38303* 1/0/0 A 
10.10.1.21 (48)
18:07:54.824778 IP 192.168.10.33.53488 > 192.168.10.2.53:  39349+ ? 
temp-bsd.mbint.ddd.ru. (47)
18:07:54.824944 IP 192.168.10.2.53 > 192.168.10.33.53488:  39349* 0/1/0 (96)
18:07:54.825046 IP 192.168.10.33.54497 > 192.168.10.2.53:  39350+ A? 
temp-bsd.mbint.ddd.ru. (47)
18:07:54.825194 IP 192.168.10.2.53 > 192.168.10.33.54497:  39350* 1/0/0 (63)
18:07:54.827428 IP 192.168.10.33.56929 > 192.168.10.2.53:  39351+ ? ddd.ru. 
(32)
18:07:54.827585 IP 192.168.10.2.53 > 192.168.10.33.56929:  39351* 0/1/0 (87)
18:07:54.827675 IP 192.168.10.33.53689 > 192.168.10.2.53:  39352+ A? ddd.ru. 
(32)
18:07:54.827814 IP 192.168.10.2.53 > 192.168.10.33.53689:  39352* 1/0/0 A 
10.10.1.21 (48)
18:07:54.936453 IP 192.168.10.33.57793 > 192.168.10.2.53:  39353+ MX? ddd.ru. 
(32)
18:07:54.93 IP 192.168.10.2.53 > 192.168.10.33.57793:  39353* 1/0/1 
MX[|domain]
18:07:54.937242 IP 192.168.10.33.60244 > 192.168.10.2.53:  39354+ ? 
dove.mbint.ddd.ru. (43)
18:07:54.937411 IP 192.168.10.2.53 > 192.168.10.33.60244:  39354* 0/1/0 (92)
18:07:54.937677 IP 192.168.10.33.57139 > 192.168.10.2.53:  39355+ ? 
dove.mbint.ddd.ru. (43)
18:07:54.937843 IP 192.168.10.2.53 > 192.168.10.33.57139:  39355* 0/1/0 (92)
18:07:54.937946 IP 192.168.10.33.50315 > 192.168.10.2.53:  39356+ ? dove. 
(22)
18:07:54.938085 IP 192.168.10.2.53 > 192.168.10.33.50315:  39356 ServFail 0/0/0 
(22)
18:07:54.938158 IP 192.168.10.33.63138 > 10.2.2.11.53:  39356+ ? dove. (22)
18:07:54.938584 IP 10.2.2.11.53 > 192.168.10.33.63138:  39356 ServFail 0/0/0 
(22)
18:07:54.938813 IP 192.168.10.33.50821 > 192.168.10.2.53:  39357+ ? 
dove.mbint.ddd.ru. (43)
18:07:54.938978 IP 192.168.10.2.53 > 192.168.10.33.50821:  39357* 0/1/0 (92)
18:07:54.939186 IP 192.168.10.33.63402 > 192.168.10.2.53:  39358+ ? dove. 
(22)
18:07:54.939324 IP 192.168.10.2.53 > 192.168.10.33.63402:  39358 ServFail 0/0/0 
(22)
18:07:54.939411 IP 192.168.10.33.64564 > 10.2.2.11.53:  39358+ ? dove. (22)
18:07:54.939738 IP 10.2.2.11.53 > 192.168.10.33.64564:  39358 ServFail 0/0/0 
(22)

6. if remove 'INET6' option from the kernel everything is OK! mails works fine.
7. "WorkAroundBroken" option in my.mc doesn't help

p.s. Old FreeBSD (5.3, 5.2.1) servers works OK w/ this Windows DNS servers and 
has INET6 option!!!

--mpech

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


Re: Fwd: Re: question

2006-01-19 Thread Nathan Vidican

Spiros Papadopoulos wrote:

On Thursday 19 January 2006 06:27, Jose Jesus Ortega wrote:


thanks for the help, I tried edithing the
xorg.conf.new but when I made the changes that says in
the freeBSD website handout it made it worse. My
laptop is compaq and the model is Presario 700 if that
helps. You think changing from kde to another desktop
or window manager will help? or its the X server thats
the problem?



Well i found out some things you may want to look:
the command vidcontrol(1), syscons(4) and then
/usr/defaults/rc.conf has this line (375) in section
"system console options"
allscreens_flags="" # Set this vidcontrol mode for all virtual screens

the modes are listed in vidcontrol and there are other interesting options in
this section.

Because if i understood well then you have problems with the console and the
gui, is this right?
Well the console has nothing to do with xorg.conf in this case. This is set
before you start the xserver.

I tryied allscreens_flags="VGA_90x60" i reboot but didn't work. However I
won't be able to see the machine for the next two weeks.
Let me know if you make it work.

Spiros



--- Spiros Papadopoulos <[EMAIL PROTECTED]> wrote:


On Thursday 19 January 2006 00:23, Jose Jesus Ortega

wrote:


thanks but the Fn+F7 didn't help, nothing happens,


and



yes I'm using a laptop. Is there another way?


I never had this problem myself. I have a friend
with an HP laptop that gets
the command line interface always in the  middle of
the screen. However KDE
works fine for him so we never got messed with this
until know..
The only difference i can see right now is that he
gives
#kdm and not #startx to start KDE and it starts
normally (whole screen)
In his case Fn + F7 combination doesn't work with
the non-graphical interface
but works with KDE.
To further help you personaly i will have a look but
not in less than 10-12
hours from now.
are you editing the xorg.conf file or using
#xorgconfig (or similar command)
to make changes?

Anyone else faced with this already?

/* Sorry that i didn't cc before */

Spiros



--- Spiros Papadopoulos <[EMAIL PROTECTED]>


wrote:


Hi



-Original Message-
From: [EMAIL PROTECTED]


[mailto:owner-freebsd-



[EMAIL PROTECTED] On Behalf Of Jose Jesus


Ortega



Sent: Wednesday, January 18, 2006 4:20 AM
To: [EMAIL PROTECTED]
Subject: question

I installed freeBSD 6.0 on my pc and kde but


starting



"startx"
will only display a small part of the whole


screen.

Is your pc a laptop?
For example if this happens on my laptop, I may


be



able to alter it with the
combination "Fn+F7". Is there such chance in


your



case?
Just in case this helps.



I tried
configuring the X11 but when I add the


"HorizSync"



at



30-107 and "VertRefresh" at 48-120 the screen


only



diplays colors. How do I make it make kde


appear



with



the whole screen?


___



freebsd-questions@freebsd.org mailing list


http://lists.freebsd.org/mailman/listinfo/freebsd-questions



To unsubscribe, send any mail to


"freebsd-questions-



[EMAIL PROTECTED]"



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




Had a Pressario 730CA myself, and the machine's video goes bazerk switching back 
from GUI/graphics to console - same problem under netbsd and openbsd too... 
Upgraded a year ago to an AMD64-based Compaq Pressario 3000-series, same problem 
still ... turned out to be the video driver. I 'upgraded' to the nvidia driver 
and things are WAY better now, can switch consoles, smoother 3d performance too. 
Not recall the video chipset in the 700 series though, but if I recall they were 
nvidia too no?


Anyhow - just thought I'd drop my two cents, took me a million 
support/frustrated emails to various lists before I got it figured out too, hope 
this might help.


--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: no one here use restore/dump?

2006-01-19 Thread Chuck Swiger

Wojciech Puchar wrote:
[ ... ]

Did you have a more specific question...?


yes - i did before.

i have problems with restore. dump is about 60GB and 1.5 million files.

two problems when doing restore -rvf /device

1) after extracting all directory listing it starts to do "Make node..."

but after some of it done, it starts to take 100% CPU and work for about 
1 hour on PII/400 before finishing it.


eventually it finishes, so it's not such a big problem


If you do a SIGINFO (normally control-T), it ought to give more specific 
information about what it's doing.


Are you restoring to an empty new filesystem which has just been newfs'ed with 
similar inode parameters to the original source of the backup?


2) after restoring 7 volumes, at 8-th volume it tried to prepend ? to 
every pathname extracted so it resulted in error unable to create.
doing ln -s \? . and restarting restore from 8-th volume worked and i 
was able to finish things.
 
why restore failed? and how to dump without fear!


I haven't seen that sort of problem myself.  Are you sure the original 
filesystem is OK and doesn't contain any weird symlinks which could have 
confused dump?  Try to fsck it and test a new dump/restore sequence.


Did you use the -L flag to dump using a snapshot, that may help...

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


Re: information about distribution

2006-01-19 Thread David Kelly
On Thu, Jan 19, 2006 at 04:20:59PM +0100, Martin Rolinec wrote:
> Hello.
> 
> I would like to make a web page on which I would like to sale Linux 
> distibution to people, who don?t have an opportunity to download it from 
> internet.

The FreeBSD community would be very upset if you sold FreeBSD CD's
labeled "Linux."

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Fwd: Re: question

2006-01-19 Thread Spiros Papadopoulos

On Thursday 19 January 2006 06:27, Jose Jesus Ortega wrote:
> thanks for the help, I tried edithing the
> xorg.conf.new but when I made the changes that says in
> the freeBSD website handout it made it worse. My
> laptop is compaq and the model is Presario 700 if that
> helps. You think changing from kde to another desktop
> or window manager will help? or its the X server thats
> the problem?

Well i found out some things you may want to look:
the command vidcontrol(1), syscons(4) and then
/usr/defaults/rc.conf has this line (375) in section
"system console options"
allscreens_flags="" # Set this vidcontrol mode for all virtual screens

the modes are listed in vidcontrol and there are other interesting options in
this section.

Because if i understood well then you have problems with the console and the
gui, is this right?
Well the console has nothing to do with xorg.conf in this case. This is set
before you start the xserver.

I tryied allscreens_flags="VGA_90x60" i reboot but didn't work. However I
won't be able to see the machine for the next two weeks.
Let me know if you make it work.

Spiros

> --- Spiros Papadopoulos <[EMAIL PROTECTED]> wrote:
> > On Thursday 19 January 2006 00:23, Jose Jesus Ortega
> >
> > wrote:
> > > thanks but the Fn+F7 didn't help, nothing happens,
> >
> > and
> >
> > > yes I'm using a laptop. Is there another way?
> >
> > I never had this problem myself. I have a friend
> > with an HP laptop that gets
> > the command line interface always in the  middle of
> > the screen. However KDE
> > works fine for him so we never got messed with this
> > until know..
> > The only difference i can see right now is that he
> > gives
> > #kdm and not #startx to start KDE and it starts
> > normally (whole screen)
> > In his case Fn + F7 combination doesn't work with
> > the non-graphical interface
> > but works with KDE.
> > To further help you personaly i will have a look but
> > not in less than 10-12
> > hours from now.
> > are you editing the xorg.conf file or using
> > #xorgconfig (or similar command)
> > to make changes?
> >
> > Anyone else faced with this already?
> >
> > /* Sorry that i didn't cc before */
> >
> > Spiros
> >
> > > --- Spiros Papadopoulos <[EMAIL PROTECTED]>
> >
> > wrote:
> > > > Hi
> > > >
> > > > > -Original Message-
> > > > > From: [EMAIL PROTECTED]
> > > >
> > > > [mailto:owner-freebsd-
> > > >
> > > > > [EMAIL PROTECTED] On Behalf Of Jose Jesus
> > > >
> > > > Ortega
> > > >
> > > > > Sent: Wednesday, January 18, 2006 4:20 AM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: question
> > > > >
> > > > > I installed freeBSD 6.0 on my pc and kde but
> > > >
> > > > starting
> > > >
> > > > > "startx"
> > > > > will only display a small part of the whole
> > > >
> > > > screen.
> > > >
> > > > Is your pc a laptop?
> > > > For example if this happens on my laptop, I may
> >
> > be
> >
> > > > able to alter it with the
> > > > combination "Fn+F7". Is there such chance in
> >
> > your
> >
> > > > case?
> > > > Just in case this helps.
> > > >
> > > > >I tried
> > > > > configuring the X11 but when I add the
> >
> > "HorizSync"
> >
> > > > at
> > > >
> > > > > 30-107 and "VertRefresh" at 48-120 the screen
> >
> > only
> >
> > > > > diplays colors. How do I make it make kde
> >
> > appear
> >
> > > > with
> > > >
> > > > > the whole screen?
> >
> > ___
> >
> > > > > freebsd-questions@freebsd.org mailing list
>
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>
> > > > > To unsubscribe, send any mail to
> > > >
> > > > "freebsd-questions-
> > > >
> > > > > [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 backing up to networked drive

2006-01-19 Thread Mike Loiterman
Mike Loiterman  wrote:
> I would like to backup my server to a firewire drive
> connected to a Macintosh Mini. Both machines are on my local
> network and, of course, behind a secure firewall.
> 
> Right now I'm using this script to take backups:
> 
> #!/bin/sh
> 
>  /sbin/dump -0uanL -f - / | gzip -2 | ssh -c blowfish
> [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-root.gz && \
>  /sbin/dump -0uanL -f - /tmp | gzip -2 | ssh -c blowfish
> [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-tmp.gz && \
>  /sbin/dump -0uanL -f - /usr | gzip -2 | ssh -c blowfish
> [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-usr.gz && \
>  /sbin/dump -0uanL -f - /var | gzip -2 | ssh -c blowfish
> [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-var.gz
> 
> This is working fine, but I have to run the script mannually
> and enter the password.
> 
> So my question are these:
> 1.  Is there any other way of doing this so that I would not
> have to deal with the password issue from ssh?  This is all
> taking place behind a secure firewall on my local network, so
> ssh is probably not necessary.
> 
> 2.  How can I use samba to mount the Mini's drive?
> mount_smbfs would only see the home share belonging to the
> user I was logging in with and not the /Volume directory on
> the Mac.  Sym-links from the users /home to /Volumes didn't
> work correctly.  How can I access the drives in /Volumes via samba?

Actually, I take it back.  The original script doesn't work.

dd gives an error when I try to backup /usr saying that the file is too
large...it dies at 4GB.

--
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: [EMAIL PROTECTED]
PGP Key: 0xD1B9D18E

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


Re: How to tell if IPF is running?

2006-01-19 Thread Peter

--- Erik Norgaard <[EMAIL PROTECTED]> wrote:

> Peter wrote:
> > --- Erik Norgaard <[EMAIL PROTECTED]> wrote:
> > 
> >> Gable Barber wrote:
> >>> On 1/18/06, Peter <[EMAIL PROTECTED]> wrote:
>  Switch over to pf.
> 
> >>> Why do you suggest PF over IPF?
> >>>
> >>> Hope I am not starting a war here.. but I am genuinely interested in
> >> the
> >>> opinions.
> >> I used IPF on FBSD until there was some bug in IPF for 5.x some
> version 
> >> that forced me to switch after an upgrade. The bug has been fixed
> since 
> >> but I have found no reason to go back.
> >>
> >> There are two things I miss from IPF:
> >>
> >> a) proper accounting: You can't count traffic correctly with stateful
> 
> >> filtering on pf, pf will count when a rule is matched but once a
> state 
> >> is established packets for that state are not matched and hence not
> >> counted.
> > 
> > That's not true.

> I need host based counting that distinguish up- and download. 

> And, I still don't know the easy solution to get the numbers out.
> 
> Of course there is a point in PF, namely that there is just one ruleset 
> whereas in IPF filtering and accounting rules are separate.

Use labels.  I admit that accounting in pf can lead to a more messy
ruleset.

--
Peter






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help backing up to networked drive

2006-01-19 Thread Chuck Swiger

Mike Loiterman wrote:
[ ... ]

This is working fine, but I have to run the script mannually and enter the
password.  


So my question are these:
1.  Is there any other way of doing this so that I would not have to deal
with the password issue from ssh?  This is all taking place behind a secure
firewall on my local network, so ssh is probably not necessary.


You can use ssh-keygen to generate a RSA or DSA keyapir without a passphrase; 
copy that to ~/.ssh/authorized_keys on the other machine, and you can ssh 
without entering a password.



2.  How can I use samba to mount the Mini's drive?  mount_smbfs would only
see the home share belonging to the user I was logging in with and not the
/Volume directory on the Mac.  Sym-links from the users /home to /Volumes
didn't work correctly.  How can I access the drives in /Volumes via samba?


You either have to configure Samba to explicitly list the path under /Volumes as 
a share, or you have to enable the option to follow symlinks outside the share 
which contains your symlink


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


Help backing up to networked drive

2006-01-19 Thread Mike Loiterman
I would like to backup my server to a firewire drive connected to a
Macintosh Mini. Both machines are on my local network and, of course, behind
a secure firewall.

Right now I'm using this script to take backups:

#!/bin/sh 
  
 /sbin/dump -0uanL -f - / | gzip -2 | ssh -c blowfish [EMAIL PROTECTED] dd
of=/Volumes/Server-Backup/dump-root.gz && \ 
 /sbin/dump -0uanL -f - /tmp | gzip -2 | ssh -c blowfish [EMAIL PROTECTED]
dd of=/Volumes/Server-Backup/dump-tmp.gz && \ 
 /sbin/dump -0uanL -f - /usr | gzip -2 | ssh -c blowfish [EMAIL PROTECTED]
dd of=/Volumes/Server-Backup/dump-usr.gz && \ 
 /sbin/dump -0uanL -f - /var | gzip -2 | ssh -c blowfish [EMAIL PROTECTED]
dd of=/Volumes/Server-Backup/dump-var.gz 

This is working fine, but I have to run the script mannually and enter the
password.  

So my question are these:
1.  Is there any other way of doing this so that I would not have to deal
with the password issue from ssh?  This is all taking place behind a secure
firewall on my local network, so ssh is probably not necessary.

2.  How can I use samba to mount the Mini's drive?  mount_smbfs would only
see the home share belonging to the user I was logging in with and not the
/Volume directory on the Mac.  Sym-links from the users /home to /Volumes
didn't work correctly.  How can I access the drives in /Volumes via samba?

--
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: [EMAIL PROTECTED]
PGP Key: 0xD1B9D18E

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


information about distribution

2006-01-19 Thread Martin Rolinec

Hello.

I would like to make a web page on which I would like to sale Linux 
distibution to people, who don´t have an opportunity to download it from 
internet.


So I have few questions about a licence:

1. I would like to ask, if I can download the CD images from your
   distribution (iso-cd-dvd, live iso and so on) and offer them for
   sale on my web page, thus if I can spread your distibution legaly
   for a minimal charges?

2. CDs and DVDs I would like to sale with CD printing.../with Buble
   Jet printer/. So I would like to ask you, if I can use your LOGO
   and the LOGO of distibution and a color combination of your
   distribution on the CD printing.

PS: Of course with using of your LOGO and the color combination I regard 
all rights and duties involved in copyright.


So, every customer, who will buy your distribution will be notified in 
writing, that:


1. distribution is dowloaded from web, from your ISO images

2. distribution is burned

3. the price of CD or DVD does not include the technical support in
   all forms from you .

4. customer will be informed, that your LOGO, color and the name of
   distribution is subject to your author´s right

5. customer will be informed, that the CD was burned by me, so I will
   bear all problems coupled with its malfuncion.


Thank you for your answers and I hope, that I will be able to spread 
your distribution without biggest problems.


With best regards.
Have a nice day.

Martin Rolinec
Slovakia
Europe





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


Re: Cron script redirection (probably stderr problem ?)

2006-01-19 Thread Lowell Gilbert
bsd <[EMAIL PROTECTED]> writes:

> Hello,
> 
> I am using a little cron script to update my server that calls
> "portsnap". Once this is done there is another piece of script that
> tells me which port(s) is to be updated with a simple call to a
> script that mainly execute portversion -l "<" and mail me the output
> of the command.
> 
> 
> There is one little problem with that script :
> 
> Cron mails me (root) each time this output (probably because it comes
> from standerr ?) :
> 
> > [Updating the portsdb  in /usr/ports ... - 14011
> > port entries found
> > . 
> > 1000.2000.3000.4000.5000.6000. 
> >  
> > 7000.8000.9000.1.11000.120
> > 00.13000.14000 . done]
> 
> 
> The cron script is executed as follow :
> 
> 0 3 * * * /usr/local/sbin/portsnap cron && /usr/local/sbin/portsnap -
> I update && /root/src/upgrade.sh > /var/log/upgrade.log
> 
> 
> I've tried to add a 2>&1 at the end of the script :
> 
> 0 3 * * * /usr/local/sbin/portsnap cron && /usr/local/sbin/portsnap -
> I update && /root/src/upgrade.sh > /var/log/upgrade.log 2>&1
> 
> 
> But this does not seem to change my problem.

That should work, assuming the output comes from the stderr of
/root/src/upgrade.sh.  I even tested the syntax to make sure I 
wasn't  just confused by my lack of coffee this morning...

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


Re: Xorg - how to disable some video modes?

2006-01-19 Thread Alejandro Pulver
On Tue, 10 Jan 2006 12:56:01 +0100
User Gandalf <[EMAIL PROTECTED]> wrote:

> Here is the config. I made a mistake. You were right. I forgot to use 
> DefaultDepth. But I do not understand why I need it, since 24 is the 
> only depth specified in my screen section,
> 

Maybe it was trying to use another depth (like 16), and because it
wasn't present in a "Display" subsection it used all the available
modes by default.

> Without "DefaultDepth 24" it starts with 1900x1440. With
> "DefaultDepth 24" is starts in 1024x768 but it does not allow me to
> switch to 1280x1024 with Ctrl-Alt-Plus.
> 
> Thanks,
> 
>Les
> 

You can only use the modes that are listed in "Modes", that's why you
can't switch to 1280x1024. You have to add "1280x1024" to the "Modes"
line (when not using DefaultDepth 24 it seems all modes are listed
there).

Then X will start in the higher resolution it can find in "Modes", to
solve this you can put in .xinitrc the following command (which will
change the resolution after X starts):

xrandr -s 1024x768

You can also see the list of available resolutions with that command
(without parameters).

If you have something like "exec /usr/X11R6/bin/xfce" in .xinitrc be
sure to put the "xrandr -s 1024x768" command before it (the "exec"
replaces the shell by xfce, so everything after the exec will never
be executed).

For example (xorg.conf section with 1280x1024 added to Modes):

Section "Screen"
   Identifier "Screen0"
   DefaultDepth 24
   Device "Card0"
   Monitor"Monitor0"
   SubSection "Display"
   Viewport   0 0
   Depth 24
   Modes   "1280x1024" "1024x768"
   EndSubSection
EndSection

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


Compaq Armada 1500c with ext USB drive

2006-01-19 Thread Ian Smith
[originally posted to -mobile 4 days ago, but I've had no response ..]

$subject running 4.5-RELEASE since 2002, no problems but perenially full
4GB drive and way-too-ancient wi for newer cards: past time to upgrade.  

5.4 CDs and new 40GB drive arriving in a few days.  In the meanwhile have
borrowed an external USB 2.5" 20GB drive for hopefully clean full backup,
but after much struggle and study I just can't get it to go despite USB
and SCSI attachment seeming fine.  Always, bottom line, 'Unit not ready'.

The external USB drive is recognised, attached and works fine on 2 'doze
boxes, a '98 desktop and a modern Compaq laptop running XP; on the former
I created a FAT32 first partition and copied a few files onto it.

Relevant extracts from dmesg.boot are below, but first I'll describe the
problem appearance; perhaps someone will recognise it straight up?  This
is using an added USB 4 port powered hub, the ext drive having an extra
power-only USB plug reportedly needed by some USB systems; no difference:

Jan 15 15:36:41 paqi /kernel: uhub1: Genesys Logic, Inc. USB2.0 Hub, class 9/0, 
rev 2.00/6.0b, addr 2
Jan 15 15:36:41 paqi /kernel: uhub1: 4 ports with 4 removable, self powered

Adding the drive:

Jan 15 15:40:18 paqi /kernel: umass0: Genesys Logic, Inc. USB TO IDE, rev 
2.00/0.02, addr 3
Jan 15 15:40:18 paqi /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Jan 15 15:40:18 paqi /kernel: da0:  Fixed Direct 
Access SCSI-0 device
Jan 15 15:40:18 paqi /kernel: da0: 650KB/s transfers
Jan 15 15:40:18 paqi /kernel: da0: 19077MB (39070080 512 byte sectors: 64H 
32S/T 19077C)

paqi# camcontrol rescan da0
Re-scan of bus 0 was successful

paqi# usbdevs -v
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), Intel(0x), rev 0x0100
 port 1 addr 2: self powered, config 1, USB2.0 Hub(0x0605), Genesys Logic, 
Inc.(0x05e3), rev 0x060b
  port 1 addr 3: self powered, config 1, USB TO IDE(0x0702), Genesys Logic, 
Inc.(0x05e3), rev 0x0002
  port 2 powered
  port 3 powered
  port 4 powered
 port 2 powered

paqi# camcontrol devlist -v
scbus0 on umass-sim0 bus 0:
  at scbus0 target 0 lun 0 (da0,pass0)
scbus-1 on xpt0 bus 0:
<  >   at scbus-1 target -1 lun -1 (xpt0)

paqi# camcontrol negotiate da0 -v
Current Parameters:
umass-sim0: SIM/HBA version: 1
umass-sim0: HBA engine count: 0
umass-sim0: maximum target: 32
umass-sim0: maximum LUN: 0
umass-sim0: highest path ID in subsystem: 0
umass-sim0: initiator ID: 32
umass-sim0: SIM vendor: FreeBSD
umass-sim0: HBA vendor: USB SCSI
umass-sim0: bus ID: 0
umass-sim0: base transfer speed: 65KB/sec

paqi# camcontrol tur da0
Unit is not ready

paqi# fdisk da0
fdisk: can't open device /dev/da0

Jan 15 15:45:33 paqi /kernel: (da0:umass-sim0:0:0:0): . CDB: 8 0 0 0 1 0
Jan 15 15:45:33 paqi /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:24,0
Jan 15 15:45:33 paqi /kernel: (da0:umass-sim0:0:0:0):
Jan 15 15:45:33 paqi /kernel: da0: reading primary partition table: error 
reading fsbn 0

.. which is what happens on any attempt to read from the drive.  I added
SCSI debugging to the kernel and can bombard you with voluminous reports
while having debug enabled, but it always comes back to the above; for
some reason the drive is not being made ready, or not being seen as such.

Any clues?

Cheers, Ian

=== relevant extracts from dmesg.boot ===

FreeBSD 4.5-RELEASE #1: Mon Dec 26 00:30:19 EST 2005
[EMAIL PROTECTED]:/usr/src/sys/compile/PAQI_2
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (300.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10
  
Features=0x183f9ff
real memory  = 167772160 (163840K bytes)
avail memory = 158973952 (155248K bytes)
Preloaded elf kernel "kernel" at 0xc0406000.

pcib0:  on motherboard
pci0:  on pcib0
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port 0x1020-0x102f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
uhci0:  port 0x1000-0x101f irq 11 at 
device 7.2 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered

ad0: 4108MB  [8905/15/63] at ata0-master UDMA33
acd0: CDROM  at ata0-slave using PIO4
Mounting root from ufs:/dev/ad0s4a

===

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


Re: I belong to too many groups

2006-01-19 Thread Nathan Vidican

Bob @ Brisbane wrote:
It took me so long to get onto this list that in the end I just gave and 
reinstalled over the top of the old one. It all works now, but I would 
still be interested in a way around the problem if one exists. The 
original problem is described below


I recently installed FreeBSD 6 RELEASE onto a hard drive and added two 
other

users, bob and bill.

Whilst I was doing this I decided to make root and bob members of ALL the
groups in the system.

I now find that I am unable to log in as either root or bob nor can I su 
from bob.
I have tried booting to safe mode but it will still not allow me to do 
anything

The messages that I get from the system are:

login: ROOT LOGIN (root) ON ttyv0
login: initgroups(root,0) : Invalid argument
login: setusercontext() failed - exiting

I can still log in as bill and this will allow me to see the system files
but bill doesn't have the authority to change anything.
I tried to su to root but bill is not in the wheel group.
If I want to run a graphical environment (and I do) then I need to start
this up as root.
Is there any way to get past this problem or will I need to reinstall?


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





You could always bootup the 'fixit' image from the install cd, then mount your 
root partition, and vi /etc/group. That's what I'd do given your case; if you 
are unsure of how to mount the partition, bootup your machine, login as 'bill', 
type 'mount' and look at which partition is mounted to '/'. Then bootup the 
fixit image, and 'mount /dev/_your_root_slice /mnt', then simply 'vi 
/mnt/etc/group'. Should be fairly straight forward, email back to the list if 
you still have problems with it.



--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Multiple install

2006-01-19 Thread Ken Stevenson
On Wed, Jan 18, 2006 at 09:57:58AM -0800, Eric Smith wrote:
> Do you know of a drive clone that will work well with distributing freebsd
> installations to multiple servers via network.

g4u (Ghost for You) works over ftp

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


Re: freebsd-questions Digest, Vol 121, Issue 38

2006-01-19 Thread Uncle Deejy-Pooh

> Message: 2
> Date: Thu, 19 Jan 2006 11:27:42 -
> From: "Graham Bentley" <[EMAIL PROTECTED]>
> Subject: Re: FreeBSD vs Linux
> To: 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"

<. snip .>

> To that guy (wherever he is now) :-
>
> Download FreeBSD and get it installed, its great!
>
> Come back and ask if you have any problems or
> questions and we will do our best to help :))
>
> Happy FreeBSD'ing !!!
>

A refreshing answer, comrade B. Nice to read...

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


Haven't been hacked, just prone to man-in-the-middle attacks (WAS: I have been hacked)

2006-01-19 Thread Kilian Hagemann
Hi guys,

Just to find closure on this thread, I'd like to admit that I jumped to 
conclusions too early and would like to share what had actually happened, 
after many hours wasted playing the detective :-(  (glad I didn't 
format/reinstall though)

When I "used" my FreeBSD gateway as an smtp server to convince myself I had 
been hacked, the smtp connection was somehow redirected to one of my 
institution's mail servers (or at least that's what gmail's mail headers are 
saying). Funny enough the same trick no longer works today, but then they're 
currently upgrading lots of stuff around here so that's a different story.

Then when I used ftp to connect to my gateway and it came up with "frox 
transparent proxy", someone had actually intercepted my connection and 
forged/spoofed a reply. I know that because I went to the premises of my box, 
unplugged everything and tried that trick again, successfully, from a 
separate dial-up connection. Hey, nmap even told me my box had ports open 
even though it wasn't even up!

I've never seen anything like this before, but I've notified my ISP. Remains 
to be seen if they do anything about it...

Anyway, long story short I'm glad I'm still secure and thanks to everyone who 
helped me out and gave me advice.

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


QUARANTINED: Message could not be delivered

2006-01-19 Thread WorkgroupMail Content Filter
The message "Message could not be delivered" from Mail Administrator, sent on 
1/19/2006 15:09 was quarantined because it contained either an executable file, 
a batch file or a screen saver file. All of these types of attachments are 
considered security risks. Please consult your mail administrator who can 
release the message.

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


need your recommendations / examples for add AC97 driver

2006-01-19 Thread Genady Chapovetsky
Hi.

Thank You for support.

Can I ask you help me create AC97 application for RT application? 
My OS Integrity (GHS), I have experience with Integrity device driver but I
need your recommendations / examples for add AC97 driver.

)usually I use Linux driver-application as references(  My h/w shell PC
Intel Pentium base.

 

 

Best regards 

 

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


Sendmail Auto reply (Mail forwarding)

2006-01-19 Thread Anbu
Hi,
   
  I am working on a task to complete the autoreply from sendmail, I am getting 
the autoreply (Using usemin-->Mailforwarding), But the response is very slow.
   
  I can see some errors in mail log like Authentication-Warning: and 
hostname.domainname: userid set sender to emailid using -f..
   
  Could you pl. help on this...
   
  Regards,
   
  anbu


-
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, 
whatever.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NIC

2006-01-19 Thread Fabian Keil
"Vitalie Apostu" <[EMAIL PROTECTED]> wrote:

> When I unplug UTP cable from NIC card and plug it back the system
> cannot ping any host in network. 
> Does anybody know how to fix it?

Did you try ifconfig $nic_device up?

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


signature.asc
Description: PGP signature


Re: FreeBSD vs Linux

2006-01-19 Thread Graham Bentley
Damn, I just fell into the same old trap. This is a questions 
list about FreeBSD. I already use it (as well as other OS's)
What do I care about the arguments for and against xy and z? 

Thinking about it now, if I was asking the same question and 
someone said  "Why not try out FreeBSD and make your 
own mind up!" I may think they where being a tad dismissive 
however there can never be any substitue for hands on 
experience !!

To that guy (wherever he is now) :-

Download FreeBSD and get it installed, its great! 

Come back and ask if you have any problems or 
questions and we will do our best to help :))

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


Apache & PV entries

2006-01-19 Thread M. L.

Hello list,

I am configuring a very heavily used apache webserver, that required 
some special needs.


This particular configuration needs to have at least 1024 httpds always 
running. Reaching this number is not a problem, but whenever I stop 
apache via apachectl stop, I notice all the httpds take a long time (1 
min) to vanish - and meanwhile, top shows most of them locked.


The states I see in top are:
*vm ob
RUN

while the header shows:
1038 processes:332 running, 12 sleeping, 694 lock

The numbers vary a lot. Eventually, they get killed, but it takes too 
much time.


After some searching, I found out the cause for this was running out of 
PVs. I've added the following relevant options to the kernel:

options KVA_PAGES=768
options PMAP_SHPGPERPROC=5120

sysctl vm.zone | grep PV shows: (note: httpd stopped here)
   (limit) (used)  (free)   
(requests)

PV ENTRY: 24, 84410445,   5522, 1632543,  5381679


So, if my assumptions are correct,  and running out of PVs was the cause 
(I did get that message about increasing PMAP_SHPGPERPROC before I 
placed that in the kernel), there is a problem now. If you look at the 
vm.zone output, there are 84,410,445 PVs that could exist, but the 
system shows only 1,632,543 free.


This leads me to believe there is another thing to tune. I already have 
a high PVs limit, but according to this output, it's not going further 
than 1,6 millions.


My question is, what can I do to make the system use the full 84 
millions, as I have not found any way to do this.







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


Re: FreeBSD vs Linux

2006-01-19 Thread cpghost
On Tue, Jan 17, 2006 at 08:03:15PM +0100, Mathias Menzel-Nielsen wrote:
> My hardware is fully supported by FreeBSD and in fact some of it was 
> supported earlier on FreeBSD than on Linux.
> For example, the Brooktree bktr(4) Video-Capture driver existed first on 
> FreeBSD, also high-speed cd-burning was
> not possible on Linux without eating all available cpu-time, before 
> kernel 2.6 -- at that time FreeBSD burned my cd's
> at 52x-speed without noticeable cpu-usage. Multimedia was always a 
> glance on FreeBSD -- dvd-playback/record,
> xvid-encoding, tv-capturing, blender -- all ever worked like a champ.
> Additionally to that, i would never move back to a linux distro, simply 
> because their archaic package-management
> is not half as reliable in day-to-day-use as the FreeBSD ports tree. I 
> am running the same FreeBSD install since 4.9
> and it was easy and non-problematic to update to even major release 
> changes. Even if that criticism doesnt apply
> as much to gentoo, which has some good efforts to use a "ports-tree" 
> under Linux, I just prefer the original :)

Same here. Using FreeBSD as a multimedia workstation and very
happy with it.

There are still a few shortcomings though, like missing MIDI
recording (not playback) functionality and no support for my
Pinnacle DC10+ Zoran video capture card; but if I need that,
I'd just dual-boot into gentoo (which *does* feel a lot like
FreeBSD from an admin POV and the main reason I picked that
distro, just to feel more at home), do whatever is needed,
and then reboot into FreeBSD. Not ideal, but workable.

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: no one here use restore/dump?

2006-01-19 Thread Wojciech Puchar

nobody here do backups of their systems? strange?!


I backup and restore using those self-named tools on a variety of DLT and 4mm 
DAT tape drives.  4mm DDS DAT kinda sucks, and they are super-sensitive to 
being cleaned a lot.


i'm using DVD+RW discs. after doing dvd+rw-format for a first time, it 
could be used directly (as /dev/acd1) for dump but blocksize must be 32 
and -B 4590208 must be entered.



Did you have a more specific question...?


yes - i did before.

i have problems with restore. dump is about 60GB and 1.5 million files.

two problems when doing restore -rvf /device

1) after extracting all directory listing it starts to do "Make node..."

but after some of it done, it starts to take 100% CPU and work for about 1 
hour on PII/400 before finishing it.


eventually it finishes, so it's not such a big problem

2) after restoring 7 volumes, at 8-th volume it tried to prepend ? to 
every pathname extracted so it resulted in error unable to create.
doing ln -s \? . and restarting restore from 8-th volume worked and i was 
able to finish things.



why restore failed? and how to dump without fear!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: compile with HFS+ support?

2006-01-19 Thread Igor Robul
On Tue, Jan 17, 2006 at 07:17:50AM -0500, Lowell Gilbert wrote:
> david <[EMAIL PROTECTED]> writes:
> 
> > how can i compile freebsd GENERIC kernel with HFS+ support?sorry for
> > stupid question.i am newbie in freebsd
> 
> I don't think there is kernel support, but there are some ports (e.g.,
> /usr/ports/emulators/hfsutils) that help you read HFS.
There IS kernel support

http://people.freebsd.org/~yar/hfs/

To original poster: try search on main FreeBSD.org before asking
questions. There are great chance that you find something useful :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to tell if IPF is running?

2006-01-19 Thread Erik Norgaard

Peter wrote:

--- Erik Norgaard <[EMAIL PROTECTED]> wrote:


Gable Barber wrote:

On 1/18/06, Peter <[EMAIL PROTECTED]> wrote:

Switch over to pf.


Why do you suggest PF over IPF?

Hope I am not starting a war here.. but I am genuinely interested in

the

opinions.
I used IPF on FBSD until there was some bug in IPF for 5.x some version 
that forced me to switch after an upgrade. The bug has been fixed since 
but I have found no reason to go back.


There are two things I miss from IPF:

a) proper accounting: You can't count traffic correctly with stateful 
filtering on pf, pf will count when a rule is matched but once a state 
is established packets for that state are not matched and hence not

counted.


That's not true.


Hi Peter, it would be quite useful if you would contribute with 
knowledge instead of empty claims. And if you don't care to explain in 
verbose mode, at least provide a link to where the knowledge is found.

If I am wrong, I'd like to learn the solution.

I need host based counting that distinguish up- and download. AFAIK this 
means I can't use tables and hence I have to reload the entire ruleset 
to add or remove a host. This is quite annoying compared to IPF where I 
can load or delete a single rule from the active ruleset - and thanks to 
groups, I can make sure a rule get inserted the right place.


And, I still don't know the easy solution to get the numbers out.

Of course there is a point in PF, namely that there is just one ruleset 
whereas in IPF filtering and accounting rules are separate.


Cheers, Erik


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