Re: WARNING: a geometry of 77545/16/63 for ad0 is incorrect

2006-06-09 Thread Pavel Duda

justin schlingmann wrote:

Hello,

I`m trying to install freebsd 6.1 from an iso i fetched from
ftp.uk.freebsd.org.
I get the following meassage:

WARNING: a geometry of 77545/16/63 for ad0 is incorrect uing a more likely
geometry.
If this geometry is incorrect or you are unshure wether or not it`s correct,
please consult the hardware guide
in the documentation submenu or use the geaometry command to change it now.



This should be no problem. I had same warnings when installing 6.0  6.1 
and everything is OK (so far :-)).



There seems to be a problem with my harddisk but i am not shure what it is.
I also get the following message when i try to fetch my distributions from
cdrom.
write failurer on transfer



Have you properly created partitions and mount points for your system ? 
I remember I've seen something like this when trying to install on disk 
where mount points were not specified.



maybe someone can help me figuring out the problem is.
Installing freebsd 5.5 goes wthout a problem.

Thanks,
Justin.

___
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: General Non-critical: FreeBSD media releases

2006-06-09 Thread Pavel Duda

Justin T. Wert wrote:
 


To Whom It May Concern:

  Are there any plans to release a DVD version of all 3 of your
media CDs combined?  I tried searching the web on how to combine the media
into one DVD, but have failed to find a site that has a working method.  My
personal attempts have the same issue, where it asks for disc 2 even
though the files are available on the DVD. Do you know a procedure to do
this correctly, or have DVD release available?

 


I guess that difference between creating DVD image and CD image(s) 
shouldn't be so big. At least I can't see any limitation when you use 
same steps for building custom installation CDs (like the old one for r4 
http://www.gsoft.com.au/~doconnor/FreeBSD-release-2.html). Most steps 
should be same for later versions.
Only point where you will be requested to insert second CD is when you 
are installing some packages and you have incorrect INDEX file.


Pavel



 

 


 Thank you in advance,

 


Justin T. Wert

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


FreeBSD and newer HDD problems ?

2006-06-04 Thread Pavel Duda

Hello,
I've recently bought new big HDD (WDC RE, 320GB) and it looks like 
FreeBSD has some troubles with it when trying to transfer files over 
network.


If I try to perform some synthetic test like 'dd if=/dev/zero 
of=/wdc320/testfile' then I get some decent speeds about 40MB/s. When I 
try to copy some big files from my older disk (IBM 40GB) I still have 
write about 25-27MB/s.


Problem comes when I try to copy something to disk over network (tried 
samba, ftp) disk write speed is very low - about 5-6MB/s at max.
When testing this issue I've start 'systat -vmstat 1' and noticed that 
my new disk is very busy (60-100%) and speed (MB/s) jumps up and down. 
If I write files with 'dd' or transfer them from disk 2 disk then write 
speed and disk load is almost constant (about 60%). When transfering 
files over network to old HDD then disk load is low (40-50%) and speed 
is constant (8-9MB/s).


To be sure that disk it is not some kind of disk problem I've installed 
Debian 3.1r2 with same version of samba and I get 9-11MB/s transfer 
speeds (in both directions) !!


Also it doesn't matter if I use transfer data over gigabit card or 
100mbit card. Results are similar. FreeBSD is in avarage very very slow 
(3MB) while Debian works fine (10MB). Because my server is primarily 
used for transfer files (Samba + PDC) it is crucial for me to have 
highest transfer speeds possible and I'd like to stick with FreeBSD :-/.


Does someone has any idea what could be wrong or how could I determine 
what causes this problem ?


Thanks for any advice.
Pavel

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


Re: FreeBSD and newer HDD problems ?

2006-06-04 Thread Pavel Duda

Pavel Duda wrote:

Hello,
I've recently bought new big HDD (WDC RE, 320GB) and it looks like 
FreeBSD has some troubles with it when trying to transfer files over 
network.


If I try to perform some synthetic test like 'dd if=/dev/zero 
of=/wdc320/testfile' then I get some decent speeds about 40MB/s. When I 
try to copy some big files from my older disk (IBM 40GB) I still have 
write about 25-27MB/s.


Problem comes when I try to copy something to disk over network (tried 
samba, ftp) disk write speed is very low - about 5-6MB/s at max.
When testing this issue I've start 'systat -vmstat 1' and noticed that 
my new disk is very busy (60-100%) and speed (MB/s) jumps up and down. 
If I write files with 'dd' or transfer them from disk 2 disk then write 
speed and disk load is almost constant (about 60%). When transfering 
files over network to old HDD then disk load is low (40-50%) and speed 
is constant (8-9MB/s).


To be sure that disk it is not some kind of disk problem I've installed 
Debian 3.1r2 with same version of samba and I get 9-11MB/s transfer 
speeds (in both directions) !!


Also it doesn't matter if I use transfer data over gigabit card or 
100mbit card. Results are similar. FreeBSD is in avarage very very slow 
(3MB) while Debian works fine (10MB). Because my server is primarily 
used for transfer files (Samba + PDC) it is crucial for me to have 
highest transfer speeds possible and I'd like to stick with FreeBSD :-/.


Does someone has any idea what could be wrong or how could I determine 
what causes this problem ?


Thanks for any advice.
Pavel

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




I've forgot to add that system is FreeBSD 6.0 (no custom kernel), P4 
1.8GHz, 384MB RAM, Realtek gigabit NIC (8169), Intel EE NIC 10/100mbit.



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


Re: FreeBSD and newer HDD problems ?

2006-06-04 Thread Pavel Duda

Mikhail Goriachev wrote:

Pavel Duda wrote:


Hello,
I've recently bought new big HDD (WDC RE, 320GB) and it looks like
FreeBSD has some troubles with it when trying to transfer files over
network.

If I try to perform some synthetic test like 'dd if=/dev/zero
of=/wdc320/testfile' then I get some decent speeds about 40MB/s. When I
try to copy some big files from my older disk (IBM 40GB) I still have
write about 25-27MB/s.

Problem comes when I try to copy something to disk over network (tried
samba, ftp) disk write speed is very low - about 5-6MB/s at max.
When testing this issue I've start 'systat -vmstat 1' and noticed that
my new disk is very busy (60-100%) and speed (MB/s) jumps up and down.
If I write files with 'dd' or transfer them from disk 2 disk then write
speed and disk load is almost constant (about 60%). When transfering
files over network to old HDD then disk load is low (40-50%) and speed
is constant (8-9MB/s).

To be sure that disk it is not some kind of disk problem I've installed
Debian 3.1r2 with same version of samba and I get 9-11MB/s transfer
speeds (in both directions) !!

Also it doesn't matter if I use transfer data over gigabit card or
100mbit card. Results are similar. FreeBSD is in avarage very very slow
(3MB) while Debian works fine (10MB). Because my server is primarily
used for transfer files (Samba + PDC) it is crucial for me to have
highest transfer speeds possible and I'd like to stick with FreeBSD :-/.

Does someone has any idea what could be wrong or how could I determine
what causes this problem ?




Hi,

This effect is normal since you're transferring files over relatively
slow network. The speed through 100Mb/s Ethernet will be around 5 or
6MB/s and probably you can't go any faster due to your hardware
limitations (switch, cables, processor, controllers and especially their
drivers).

Currently there are a few active threads related to similar issues
(controllers and their drivers). You might be interested in following them:

http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123577.html
http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123588.html
http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123673.html


Cheers,
Mikhail.



Hmmm so how you explain that with Debian system on SAME machine I'm ABLE 
to get transfer speeds about 10MB/s ?? Or do you mean I can't go faster 
with FreeBSD and only solution is switch to Linux ??


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


Re: FreeBSD and newer HDD problems ?

2006-06-04 Thread Pavel Duda

Nikolas Britton wrote:

On 6/4/06, Pavel Duda [EMAIL PROTECTED] wrote:



I've forgot to add that system is FreeBSD 6.0 (no custom kernel), P4
1.8GHz, 384MB RAM, Realtek gigabit NIC (8169), Intel EE NIC 10/100mbit.



What SATA controller are you using?, and have you tried this with
FreeBSD 6.1? if not you should.




It is PATA controller on i845 mobo so it is quite old. It works in 
UDMA100 mode. Next week I will probably try to hook it to ATA UDMA133 
PCI card to see if there is some difference.


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


Re: Building a Jail in FreeBSD or NetBSD for a hosting environment

2006-02-28 Thread Pavel Duda

Nick Larsen wrote:

Hey Members,

I have done a little research on Jails and setting them up, and managed to
get one going at one stage and managed to somehow destroy it.
I'm new to Jails, and I would like to use a real jail then just using a
chroot jail.

Where I work, we use the Ensim software for hosting, and I find that very
pricey and sluggish (and it runs on Fedora rather than Linux).
They use a technique of chrooting sites and the sites users into an
environment in /home/virtual/sitexxx/ I would like to be able to do the same
(but with Jail), but not quite sure how to go about it. Last time I tried to
`make world DESTDIR=/my/jail/path` it failed (cannot remember the details
right now) but it this where I start?

Also do I need an individual IP for each jail? because each physical server
will have 1 IP unless the customer requests a dedicated IP.

Any help would be appreciated, and I have tried to research it but end up
going round in circles.

--
Regards,

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



Hi,
I've recently found great guide for creating jails - here is the link: 
http://www.section6.net/wiki/index.php/Creating_a_FreeBSD_Jail. It is 
really not so hard to get it up and runing. You can only get into 
troubles when trying to get to work some programs/daemons because of 
jail limitations.

 Pavel

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


FreeBSD 5.4 6.0 slow network throughput

2006-02-28 Thread Pavel Duda
I have upgraded my home server to 5.4 from 5.2.1 and after some time 
I've noticed that network throughput is very low (about 4MB/s).


I'm not expert on this field but I have checked some settings (sysctl, 
netstat) and couldn't find anything suspicious. I have second machine 
with almost same configuration so I tried to put there newer version of 
FreeBSD 6.0 but it doesn't help. Now I've tried older version - 4.11 
(only one I have available at this moment on CD) and speed is as it is 
supposed to be (8-9MB/s).


Does somebody has same experience with such behaviour ? I've used 
clean systems ie. without kernel modifications and I don't know what 
could cause this (some major change in TCP stack in 5.4+ ? NIC drivers ?).



Test system:
P4, 1.8Ghz, 512MB RAM with Intel EtherExpress 100  Realtek Gigabit NIC 
(fxp  rl)


FBSD 5.4/6.0:
- avarage net thrput 3.5 - 4.5 MB/s (tested with FTP/Samba)
- netperf reports about 31-34 mbit/s with default settings

FBSD 4.11:
- avarage net thrput 7.5 - 9 MB/s
- netperf reports about 65-66 mbit/s


Testing was done over 100mbit linksys switch, 1Gbit USR switch, 
crosslink cable. Four different machines used as clients.


Thanks for any advice
  Pavel

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


Re: LDAP authentication problems

2006-02-15 Thread Pavel Duda

Igor Robul wrote:

On Sun, Feb 12, 2006 at 03:44:54PM +0100, Pavel Duda wrote:


Now I have tried to do
'id testuser'


You need nss_ldap too. 
___

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



Yes that was problem at beginig. Unfortunately I had few typos in my 
.conf files :-/ so that caused problems. I have refreshed my test jail 
and it seems that now everything works just fine (I've not tested only 
samba yet). When I have time I'm going to write it all down and make 
some mini-howto for Samba-LDAP(-PDC) on FreeBSD. It was not so hard to 
get LDAP working but some steps could be confusing for LDAP novices like me.


Have a Nice Day
   Pavel

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


LDAP authentication problems

2006-02-12 Thread Pavel Duda

Hi,
I have problems to get LDAP authentiction working (pam_ldap)and after 
two days of struggle I'm almost giving up...


I've tried few howtos like that one from samba.idealx.org but without 
success. First I wanted to run Samba PDC on FreeBSD, but I've stuck with 
pam_ldap authentication.


Now I can:
- browse LDAP database with ldapsearch or from other machine with LDAP 
browser

- I'm able to use ldapsearch with user account created in this database ie.:
'ldapsearch -D uid=testuser,ou=Users,dc=OHRADNI,dc=NET -W'
'Enter LDAP Password: mypassword'
'[will list all entries]'

But when I try to use it for authentication it just don't work. For 
example I can't login with 'ssh [EMAIL PROTECTED]'.


Because I have loglevel -1 I can see many data in /var/log/debug.log, 
but I'm not sure what exactly I should look for in this debug output 
thus I don't know if problem is on LDAP side or something else in my setup.


(I've attached gziped part of debug.log)

Can somebody help ?
Does someone have working setup of LDAP authentication on FreeBSD 6.0 
and would be so kind to sent me some quick howto or give an advice ?


Thanks

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

Re: Samba Problem

2006-02-12 Thread Pavel Duda

Warren Liddell wrote:
When i try logging onto the FreeBSD machine from windows via samba, upon 
entering the username/pswd windows Automatically adds: fred/shinjii


All i want it to have is just shinjii .. what am i missing and where do i go 
to fix this ?

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



If your Windows machine have a name FRED than this is normal behaviour.

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


Re: LDAP authentication problems

2006-02-12 Thread Pavel Duda

Robert Slade wrote:

On Sun, 2006-02-12 at 13:37, Pavel Duda wrote:


Hi,
I have problems to get LDAP authentiction working (pam_ldap)and after 
two days of struggle I'm almost giving up...


I've tried few howtos like that one from samba.idealx.org but without 
success. First I wanted to run Samba PDC on FreeBSD, but I've stuck with 
pam_ldap authentication.


Now I can:
- browse LDAP database with ldapsearch or from other machine with LDAP 
browser

- I'm able to use ldapsearch with user account created in this database ie.:
'ldapsearch -D uid=testuser,ou=Users,dc=OHRADNI,dc=NET -W'
'Enter LDAP Password: mypassword'
'[will list all entries]'

But when I try to use it for authentication it just don't work. For 
example I can't login with 'ssh [EMAIL PROTECTED]'.


Because I have loglevel -1 I can see many data in /var/log/debug.log, 
but I'm not sure what exactly I should look for in this debug output 
thus I don't know if problem is on LDAP side or something else in my setup.


(I've attached gziped part of debug.log)

Can somebody help ?
Does someone have working setup of LDAP authentication on FreeBSD 6.0 
and would be so kind to sent me some quick howto or give an advice ?





I used the example on the samba site which is also available in the docs
after samaba is installed. 


The only issues were that it is written for Linux and hence has
different file locations and one of the Linux commands does not exist in
FreeBSD. It is not a direct problem as it is only used for testing.

Rob 


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



So you make it work on your system ?
I'm aware that guide on samba site is for linux and some of conf files 
are in different locations (like ldap.conf ). I have of course tried two 
howtos specific for FreeBSD too (like http://books.blurgle.ca/ or

http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html).
Still, I'm not able to determine where is my main problem, if it is LDAP 
related or some bad configuration in other part of whole authentization 
process (or maybe both).


Now I have tried to do
'id testuser'
and it is not able to recognize user and there is no additional output 
in debug.log so system doesn't even contact LDAP. So this could be the 
problem.
I must have something wrong probably in pam.d or nsswitch, but I don't 
know what :-(.


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


IPFW traffic shaping questions

2005-12-30 Thread Pavel Duda

Hello,
I have few questions for ipfw gurus..

1) can I see what packets are matching my pipes/queues ? I'm using ipfw 
pipe show for example but there is always only one host so if I'm 
testing some rules I can't tell if they work or not (maybe there is some 
other way how to trace such things ?)


2) how to correctly setup ul/dl limits for clients ? I have 4096/256 
line and I want primarily control upload because when someone starts 
uploading too much line become unusable for low latency apps (games, ip 
phone, audio broadcasting). I have created queues to limit upload, but 
then also download was affected and slowdown was very big. I have tried 
to add rule for ACK packets - no effect (I'm not network guru maybe this 
is not enough for speeding up download).


Now I'm thinking that maybe I have wrong rules because as I remember 
pipes and queues are managed diferently then other ipfw rules and even 
when I put unlimited pipe for ACK out it is then limited by second 
rule for all out - pipes/queues are not first match wins right ?


3) this is similar to 1) - is there some tool for monitoring how packet 
flows through rules ? And I don't mean using ipfw log :-) ...


Any advice or web tutorial for network-lama (ie. me :-) ) appreciated.

Thanks  Happy New Year
Pavel D.

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


Re: How much memory is a jail using ... ?

2005-12-30 Thread Pavel Duda

Marc G. Fournier wrote:


Is there an easy way to do this?  I know I can find out what processes 
are running in a jail by looking at /proc/*/status ,but none of the 
fields appear to relate to memory used by that process ... so, I'm 
guessing I should be able to 'read' one of the other fiels in the procfs 
directory for this?


Thanks ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]




Hmm interesting question, I'm afraid that fastest but not very accurate 
way is to use ps SIZE and count it for jailed processes.


Pavel

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


Re: Some questions on chmod in FAT hdd

2005-12-30 Thread Pavel Duda

Joao Borges wrote:


  Hello everybody


  I've finally installed and ran Samba 3 on my FreeBSD
5.4. Then, wanting to share a directory I applyed on
directory

drwxr-xr-x  1 root  wheel  1638 Dec 30 13:58 shared 


the following command (as root):

chmod -R a=rwx shared

It doesn't return error but when I look up the new
atribution it is the same. Indeed this directory is
inside a mounting point which has the same attributes
(ie the mounting operation copies the mounting point
attributtes and  then I can't change any attributes
inside the mounting point). By the way the mount is a
msdosfs type. 


Can I deal with this problem? Is it a bug (so I
report) or I am doing some mistake?



Hi,

Non-root file accesses may yield unexpected errors.
If the file system owner is not equal to the user who is accessing
the file system, some programs may generate unusual errors when
modifying or creating files. This happens because all files that are
created on the MS-DOS FS are implicitly chowned to the file system
owner. Work-around: only the user who owns the file system should
have write permission for it.

...so if you need to have access under some user then you have to mount 
it into dir where this user is an owner. It is obvious because MSDOS FS 
(FAT) doesn't support multiple users.


Pavel



I've also performed a Windows XP to FreeBSD transfer
via Network using Samba. The transfer made useless all
the archives involved (some mp3). I shared a  full
access share on FreeBSD and then copied and paste on
the XP station the files. Then on FreeBSD they were
useless. Can anybody tell what happened?

Att
Joao Francisco









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



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


Re: Help me

2005-12-30 Thread Pavel Duda

Mohammed Arab wrote:

Hi,



  I would like to get some information from you regarding freebsd system,
really is very confuse to know which one is stable system when i went to
site i found many freebsd system one is called stable and another one is
current and release. Can you please explain me on this topic and which one i
have to choice. I am interesting to know everything about this system.



In short :
release - is something you want for your production system
stable - is something you can use too without much worry - it should be 
stable right ? :-)
current - is for brave people who like to spend nights to figure out 
what the hell is going on with their system and fight with all those 
mysterious kernel panics..


For start you should use at least stable version, you can always mess up 
 your system by switching to current :-D




Also there is no GUI Graphics on freebsd and why I have manually install
and configure video graphics also. can you help me and give me the
instruction how to setup VGA CARD.



I think that you should start here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
You will find there most answers to your questions and if something goes 
wrong you can always come here for advice.



Welcome to FreeBSD world !!!

Pavel



I am waiting for your reply.

Thanks,
Mohammed Arab
___
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: DDS Tape problems

2005-06-21 Thread Pavel Duda

Jerry McAllister wrote:

Alex Zbyslaw wrote:


Pavel Duda wrote:



Hi,
I have problem with my DDS-3 type drive. I'm able to write on it but 
not read data back. If I try to read them I get card dump and tape 
drive hangs up. I have tried to upgrade firmware but problem remains. 
Does somebody have experience with this ?



We have had a lot of experience with seeing similar problems, but little 
with solving it.   We have about 75 systems with mostly DDS-3 some are 
DDS-4. All Are SCSI.   All were on Dell Poweredge machines and are which 
ever vendor OEM model they were installing at the moment - but we couldn't 
seem to identify a clear difference from one model to the next.  


More than half seem to have been working fine for several years.
The rest have continual problems with symptoms similar to yours - 
it appears to write OK, but the tape is unreadable.   There appears to

be stuff on the tape but it is junk.  I say this because skips and
rewinds take about the amount of time I would expect,  but of course
that is not a definitive test.   Also, sometimes I can cat or dd a file
off the tape that is junk (eg the file is junk - not readable as anything.  
But often I cannot get anything at all.   Some got errors during the write.


I think there are multiple problems with the DDS drives, some of which 
may be their own hardware on internal control and some may be the 
SCSI controller or the drivers, but I have never been able to pin 
anything down and after asking several questions on the lists over

several years, have had no response other than some people agreeing
and some stabs with additional questions to answer that all went nowhere.

In a couple of cases, getting the drive replaced seemed to fix the
problem.   I believe the ones that warranty replacement helped were the
ones that failed during write.In others I don't think rplacement helped.   
Some sites have upgraded to DLT.


I know none of this helps much toward solving the problem, but I post
this response for moral support and in hopes of jogging someone who
might know more about these things.

jerry




My specs :
FreeBSD 5.2.1, generic kernel, x86 (P3), SCSI card is Adaptec AHA2940 
and tape drive Python 04106.


Not terribly helpful, but I have a DAT2 working with an Adaptec 2940A.  
It's worked since forever and is fine with 5.4 though I never ran 
5.1/2/3.  Is the machine it's attached to dual-boot?  I.e. can you test 
the tape drive in Windows, or Linux for example?  (Well, they have to be 
good for something :-))   Is this a recent problem or is this the first 
time you've tried using this drive?  Can you try another SCSI adapter?  
I've run mine (for testing only) off the cheapest rubbish I got free 
with a SCSI CDRW and it was fine.


I was trying to use Tekram SCSI adapter with same result. I have taken 
this DDS tape from my AIX machine (netfinity) where it was working wo 
problems.



The only other guess would be termination.  Has anything else on your 
SCSI chain changed?  Is the terminator properly plugged in?


Termination should be fine. I have tried both variants - termination on 
tape and termination via active terminator on cable.




--Alex



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



I've just switched tape drive for a DDS-4 and this one works fine. Funny 
is that DDS3 drive works wo problems on my workstation with Windows and 
same (well same type not exactly same) SCSI adapter. I have also found 
some information that there could be problem with SCSI commands 
queueing, but no solution for that or what it causes. Anyway now I'm 
happy that DDS-4 in server works fine so I probably wont dig deeper to 
find out where is the problem


Pavel

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


Re: DDS Tape problems

2005-06-20 Thread Pavel Duda
I'm not 100% sure its writing, but when I try to write something and 
then use mt -f /dev/sa0 status I got correct status of writen files so 
I can just assume that everything is OK.


Tape is fine I was using it in work in DDS2 tape drive. I have some 
problem with brand new tapes (DDS2 and DDS3)


Serials are not problem. I have turned them off temporarily.

Today I will try to read tape recorded on my machine im my work.


Ted Mittelstaedt wrote:

How do you know it's actually writing?  Can you remove the tape and
put it in another DDS3 drive and see your files?

Are you sure your using a DDS125 tape?

Do you regularly use a cleaning cartridge on this drive?

I would also suggest you try FreeBSD 4.11 on this system - looks
like your serial ports aren't working, either.

Ted



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Pavel Duda
Sent: Sunday, June 19, 2005 12:23 PM
To: freebsd-questions@freebsd.org
Subject: DDS Tape problems


Hi,
I have problem with my DDS-3 type drive. I'm able to write on 
it but not 
read data back. If I try to read them I get card dump and tape drive 
hangs up. I have tried to upgrade firmware but problem remains. Does 
somebody have experience with this ?


My specs :
FreeBSD 5.2.1, generic kernel, x86 (P3), SCSI card is Adaptec AHA2940 
and tape drive Python 04106.


I'm attaching dmesg output.

Thanks for any advice
Pavel Duda








___
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: DDS Tape problems

2005-06-20 Thread Pavel Duda

Greg 'groggy' Lehey wrote:

On Sunday, 19 June 2005 at 21:22:43 +0200, Pavel Duda wrote:


Hi,
I have problem with my DDS-3 type drive. I'm able to write on it but not
read data back. If I try to read them I get card dump and tape drive
hangs up. I have tried to upgrade firmware but problem remains. Does
somebody have experience with this ?

My specs :
FreeBSD 5.2.1, generic kernel, x86 (P3), SCSI card is Adaptec AHA2940
and tape drive Python 04106.

I'm attaching dmesg output.



I don't have time to investigate the status output in detail, but at
first glance the output looks consistent with hardware failure.  I've
had this so many times with tape drives, in particular DDS, that I
have given up using them altogether: not a single one survived its
guarantee period.  If it's not the drive, it could be the tape, though
I've seen far fewer problems in this area.  Does this drive (and tape)
work in other systems?


Yes. I was recently using it in my AIX Netfinity machine. Some tapes 
used for test are new. I will test to record something and read it in 
machine in work.




I don't think it's termination; you say you only see the errors during
reading, and that doesn't fit.



Termination is OK and there is only tape drive at this time (all 
unnecessary drives were removed to minimize possible interferences).



What does the drive do when you try to read it?  A lot of
back-and-forth is usually an indication of hardware read errors.



Both LEDs are on and tape drive doesn't react to eject button.


Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
The virus contained in this message was not detected.

Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


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


Re: DDS Tape problems

2005-06-20 Thread Pavel Duda

Alex Zbyslaw wrote:

Pavel Duda wrote:


Hi,
I have problem with my DDS-3 type drive. I'm able to write on it but 
not read data back. If I try to read them I get card dump and tape 
drive hangs up. I have tried to upgrade firmware but problem remains. 
Does somebody have experience with this ?


My specs :
FreeBSD 5.2.1, generic kernel, x86 (P3), SCSI card is Adaptec AHA2940 
and tape drive Python 04106.



Not terribly helpful, but I have a DAT2 working with an Adaptec 2940A.  
It's worked since forever and is fine with 5.4 though I never ran 
5.1/2/3.  Is the machine it's attached to dual-boot?  I.e. can you test 
the tape drive in Windows, or Linux for example?  (Well, they have to be 
good for something :-))   Is this a recent problem or is this the first 
time you've tried using this drive?  Can you try another SCSI adapter?  
I've run mine (for testing only) off the cheapest rubbish I got free 
with a SCSI CDRW and it was fine.




I was trying to use Tekram SCSI adapter with same result. I have taken 
this DDS tape from my AIX machine (netfinity) where it was working wo 
problems.


The only other guess would be termination.  Has anything else on your 
SCSI chain changed?  Is the terminator properly plugged in?




Termination should be fine. I have tried both variants - termination on 
tape and termination via active terminator on cable.




--Alex

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


DDS Tape problems

2005-06-19 Thread Pavel Duda

Hi,
I have problem with my DDS-3 type drive. I'm able to write on it but not 
read data back. If I try to read them I get card dump and tape drive 
hangs up. I have tried to upgrade firmware but problem remains. Does 
somebody have experience with this ?


My specs :
FreeBSD 5.2.1, generic kernel, x86 (P3), SCSI card is Adaptec AHA2940 
and tape drive Python 04106.


I'm attaching dmesg output.

Thanks for any advice
Pavel Duda




Jun 19 20:54:32 monty syslogd: kernel boot file is /boot/kernel/kernel
Jun 19 20:54:32 monty kernel: Copyright (c) 1992-2004 The FreeBSD Project.
Jun 19 20:54:32 monty kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 
1991, 1992, 1993, 1994
Jun 19 20:54:32 monty kernel: The Regents of the University of California. All 
rights reserved.
Jun 19 20:54:32 monty kernel: FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 
2004
Jun 19 20:54:32 monty kernel: [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Jun 19 20:54:32 monty kernel: Preloaded elf kernel /boot/kernel/kernel at 
0xc0a35000.
Jun 19 20:54:32 monty kernel: Preloaded elf module /boot/kernel/acpi.ko at 
0xc0a352bc.
Jun 19 20:54:32 monty kernel: Timecounter i8254 frequency 1193182 Hz quality 0
Jun 19 20:54:32 monty kernel: CPU: Intel Pentium III (596.00-MHz 686-class CPU)
Jun 19 20:54:32 monty kernel: Origin = GenuineIntel  Id = 0x681  Stepping = 1
Jun 19 20:54:32 monty kernel: 
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
Jun 19 20:54:32 monty kernel: real memory  = 268378112 (255 MB)
Jun 19 20:54:32 monty kernel: avail memory = 251056128 (239 MB)
Jun 19 20:54:32 monty kernel: Pentium Pro MTRR support enabled
Jun 19 20:54:32 monty kernel: npx0: [FAST]
Jun 19 20:54:32 monty kernel: npx0: math processor on motherboard
Jun 19 20:54:32 monty kernel: npx0: INT 16 interface
Jun 19 20:54:32 monty kernel: acpi0: IBMCDTPWSPJ on motherboard
Jun 19 20:54:32 monty kernel: pcibios: BIOS version 2.10
Jun 19 20:54:32 monty kernel: Using $PIR table, 8 entries at 0xc00f1e60
Jun 19 20:54:32 monty kernel: acpi0: Power Button (fixed)
Jun 19 20:54:32 monty kernel: Timecounter ACPI-safe frequency 3579545 Hz 
quality 1000
Jun 19 20:54:32 monty kernel: acpi_timer0: 24-bit timer at 3.579545MHz port 
0xf808-0xf80b on acpi0
Jun 19 20:54:32 monty kernel: acpi_cpu0: CPU on acpi0
Jun 19 20:54:32 monty kernel: pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on 
acpi0
Jun 19 20:54:32 monty kernel: pci0: ACPI PCI bus on pcib0
Jun 19 20:54:32 monty kernel: pcib0: slot 14 INTA is routed to irq 11
Jun 19 20:54:32 monty kernel: pcib0: slot 15 INTA is routed to irq 10
Jun 19 20:54:32 monty kernel: agp0: VIA 82C691 (Apollo Pro) host to PCI 
bridge mem 0xf400-0xf7ff at device 0.0 on pci0
Jun 19 20:54:32 monty kernel: pcib1: PCIBIOS PCI-PCI bridge at device 1.0 on 
pci0
Jun 19 20:54:32 monty kernel: pci1: PCI bus on pcib1
Jun 19 20:54:32 monty kernel: pci1: display, VGA at device 0.0 (no driver 
attached)
Jun 19 20:54:32 monty kernel: isab0: PCI-ISA bridge at device 2.0 on pci0
Jun 19 20:54:32 monty kernel: isa0: ISA bus on isab0
Jun 19 20:54:32 monty kernel: atapci0: VIA 82C596B UDMA66 controller port 
0xfff0-0x at device 2.1 on pci0
Jun 19 20:54:32 monty kernel: ata0: at 0x1f0 irq 14 on atapci0
Jun 19 20:54:32 monty kernel: ata0: [MPSAFE]
Jun 19 20:54:32 monty kernel: ata1: at 0x170 irq 15 on atapci0
Jun 19 20:54:32 monty kernel: ata1: [MPSAFE]
Jun 19 20:54:32 monty kernel: pci0: bridge, HOST-PCI at device 2.3 (no driver 
attached)
Jun 19 20:54:32 monty kernel: fxp0: Intel 82550 Pro/100 Ethernet port 
0x74c0-0x74ff mem 0xfcfe-0xfcff,0xfcfde000-0xfcfdefff irq 11 at device 
14.0 on pci0
Jun 19 20:54:32 monty kernel: fxp0: Ethernet address 00:02:b3:b3:86:5a
Jun 19 20:54:32 monty kernel: miibus0: MII bus on fxp0
Jun 19 20:54:32 monty kernel: inphy0: i82555 10/100 media interface on miibus0
Jun 19 20:54:32 monty kernel: inphy0:  10baseT, 10baseT-FDX, 100baseTX, 
100baseTX-FDX, auto


Jun 19 20:54:32 monty kernel: ahc0: Adaptec 2940 SCSI adapter port 
0x7800-0x78ff mem 0xfcfdf000-0xfcfd irq 10 at device 15.0 on pci0
Jun 19 20:54:32 monty kernel: aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs


Jun 19 20:54:32 monty kernel: fdc0: Enhanced floppy controller (i82077, 
NE72065 or clone) port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
Jun 19 20:54:32 monty kernel: fdc0: FIFO enabled, 8 bytes threshold
Jun 19 20:54:32 monty kernel: fd0: 1440-KB 3.5 drive on fdc0 drive 0
Jun 19 20:54:32 monty kernel: ppc0 port 0x778-0x77f,0x378-0x37f irq 5 drq 3 on 
acpi0
Jun 19 20:54:32 monty kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in 
COMPATIBLE mode
Jun 19 20:54:32 monty kernel: ppc0: FIFO with 16/16/8 bytes threshold
Jun 19 20:54:32 monty kernel: ppbus0: Parallel port bus on ppc0
Jun 19 20:54:32 monty kernel: plip0: PLIP network interface on ppbus0
Jun 19 20:54:32 monty kernel: lpt0: Printer on ppbus0
Jun 19 20:54:32 monty kernel: lpt0: Interrupt-driven port
Jun 19 20:54:32

Re: Question about KVM switch

2004-06-21 Thread Pavel Duda
Hillman Dai wrote:
 Hi all,
 
 I have just installed the FreeBSD 5.2.1 and I'm using
 a KVM switch to share the monitor, mouse and keyboard.
 I could managed to use keyboard while the mouse still
 doesn't work. Could you help me to solve the problem?
 What kind of command I could use to check and which
 file you want me to send back to you?
 
 The brand of the KVM switch is:
 Name: IOGear
 Model: GCS52U
 
 Thank You for your support!
 
 Regards,
 Hillman
 

Some machines are not able to handle mouse switching while runing.
When I was connecting 8-port KVM switches to some of our (old) servers
(with FBSD and AIX) I had to reboot them to get mouse to work.

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


Re: blocking internally

2004-06-19 Thread Pavel Duda
John Lee wrote:
hi, i have 7 ips on one box, however they can't connect internally
to each other IP ports. please advise.
here's my setup:
rc.conf:
defaultrouter=63.223.65.1
ifconfig_sis0=inet 63.223.65.192  netmask 255.255.255.0
/etc/ips.added:
ifconfig sis0 inet 63.223.65.193/32 alias
ifconfig sis0 inet 63.223.71.2/32 alias
ifconfig sis0 inet 63.223.71.3/32 alias
ifconfig sis0 inet 63.223.71.4/32 alias
ifconfig sis0 inet 63.223.71.5/32 alias
route add 63.223.65.193 63.223.65.1
route add 63.223.71.2 63.223.71.1
route add 63.223.71.3 63.223.71.1
route add 63.223.71.4 63.223.71.1
route add 63.223.71.5 63.223.71.1
You have some reason to route ifaces through 63.223.71.1 ? And where is 
this gateway ?


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


Re: blocking internally

2004-06-19 Thread Pavel Duda
John Lee wrote:
hi, i have 7 ips on one box, however they can't connect internally
to each other IP ports. please advise.
here's my setup:
rc.conf:
defaultrouter=63.223.65.1
ifconfig_sis0=inet 63.223.65.192  netmask 255.255.255.0
/etc/ips.added:
ifconfig sis0 inet 63.223.65.193/32 alias
ifconfig sis0 inet 63.223.71.2/32 alias
ifconfig sis0 inet 63.223.71.3/32 alias
ifconfig sis0 inet 63.223.71.4/32 alias
ifconfig sis0 inet 63.223.71.5/32 alias
route add 63.223.65.193 63.223.65.1
route add 63.223.71.2 63.223.71.1
route add 63.223.71.3 63.223.71.1
route add 63.223.71.4 63.223.71.1
route add 63.223.71.5 63.223.71.1
Why are you using this routes ? Is .71.1 some other gateway ?

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


Re: freddbsd (Now what)

2004-06-09 Thread Pavel Duda
LW Ellis wrote:
First Thanx to all for the book / website suggestions
I have installed FreeBSD. I have two questions, I am a complete newby to
unix.
1)  I installed KDE lite package that came with the CD I downloaded.
Now what? Where is it? What is my next step?
2) How do I edit my 10/100 card settings, I'm not sure they're right yet.
Thanx
Later,
Leon
A fanatic is one who can't change his mind and won't change the subject.
Sir Winston Churchill
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Answer for this is FreeBSD Handbook :-) 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html) 
and sysinstall (/stand/sysinstall). You can use sysinstall to configure 
XFree86 Server/Desktop and configure network devices as well.

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


Serial Console problem

2004-05-26 Thread Pavel Duda
I've just tried connect to my fbsd box with serial cable (serial 
console), it works fine but I get always after some time this :

 May 26 17:12:47 monty getty[585]: login_tty /dev/console: 
Inappropriate ioctl for device
May 26 17:12:47 monty getty[587]: login_tty /dev/console: 
Inappropriate ioctl for device
May 26 17:12:47 monty init: getty repeating too quickly on port 
/dev/console, sleeping 30 secs
May 26 17:12:47 monty getty[589]: login_tty /dev/console: 
Inappropriate ioctl for device

I can work with serial console, but these messages are anoying. Any 
suggestion how to get rid od them ?

Some info :
--
System is FreeBSD 5.2.1
kernel with options CONSPEED=115200
--
/etc/make.conf (bootblocks recompiled)
BOOT_COMCONSOLE_PORT=0x3F8
BOOT_COMCONSOLE_SPEED=115200
--
/etc/ttys
ttyd0   /usr/libexec/getty std.115200 vt100 on secure
--
dmesg
...
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A, console
...
--
Thanks, P.D.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Running FreeBSD 4.9 Jails on a FreeBSD 5.2.1 system

2004-05-25 Thread Pavel Duda
Kung Foo Ham[p]?ster wrote:
I'm looking at upgrading my main system from FreeBSD RELENG_4 to RELENG_5_2.
I'll probably start with a clean sate for the system for that transition.
I have a few users who run their own systems on jails on my machine...
My question is:
When I install FreeBSD 5 on my system can I run those FreeBSD 4 Jails on it and
then upgrade them individually without much pressure.
I want to have as minimal down time upgrading my system.
I'm hoping that I can upgrade my system for a day and then upgrade the jails
individually at my leisure.
Can this be done?
-Adam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
AFAIK you can have different builds on main system and jails, though it 
is not good idea (it is always better to have system synchronized with 
kernel). So you probably can do that, but you may expect some problems...

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


Re: Network printing question: apsfilter + samba over Win2k network

2004-05-22 Thread Pavel Duda
Mike wrote:
Michal Pasternak wrote:
Mike [Fri, May 21, 2004 at 02:55:19PM -0700]:
PROBLEM: I'm able to see the printer from the Win2k client accoss 
the network, Windows 2k prompts for a driver and I load the driver. 
Windows reports that the printer is ready, however when I try to 
print a test page, nothing happens.

Do the logs in /var/log/ say anything useful?
Mike,
Hmm... the /var/log/log.smbd had several of these entries:
[2004/05/21 14:04:19, 0] printing/print_cups.c:cups_printer_fn(107)
  Unable to connect to CUPS server localhost - Connection refused
So I added this rule to IPFW (for Cups):
ipfw add allow tcp from 192.168.1.0/24 to me 515
And I re-started cups: /usr/local/etc/rc.d/cups.sh start
So now (it doesn't complain):
[2004/05/21 17:05:40, 0] smbd/server.c:main(791)
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
I also check the lpd-errs log but couldn't find anything.  I've also 
re-read the apsfilter manual but it really doesn't cover in a detail how 
to configure to a Windows client network.

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

I recommend to take a look at cups logs.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to secure ftp over SSH (how to make ftpd listen only to 127.0.0.1)?

2004-05-22 Thread Pavel Duda
Constantine wrote:
Hello,
I am very concerned about the security of my servers. My favourite 
file-management software does not support any other unix standards than 
plain ftp.

How is it possible to set up my FreeBSD 5.2.1 that way, that it will 
accept ftp connections only from itself, so that iff the login to the 
system is done via SSH with port-forwarding, then one can open 
ftp-connection?

(It will be very nice if in this case the username/password is not 
requested again, i.e. the ftp connection is anonymous and yet the 
ftp-client gets the same rights to files as SSH-logged user, who has the 
port-forwarding, but this does not sound like easy doable.)

Put it in other words, how can I make ftpd listen only to 127.0.0.1?
Constantine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

I've forgot about hosts.allow it should work as well if you dont want to 
use ipfw.

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


Re: How to secure ftp over SSH (how to make ftpd listen only to 127.0.0.1)?

2004-05-21 Thread Pavel Duda
Constantine wrote:
Hello,
I am very concerned about the security of my servers. My favourite 
file-management software does not support any other unix standards than 
plain ftp.

How is it possible to set up my FreeBSD 5.2.1 that way, that it will 
accept ftp connections only from itself, so that iff the login to the 
system is done via SSH with port-forwarding, then one can open 
ftp-connection?

(It will be very nice if in this case the username/password is not 
requested again, i.e. the ftp connection is anonymous and yet the 
ftp-client gets the same rights to files as SSH-logged user, who has the 
port-forwarding, but this does not sound like easy doable.)

Put it in other words, how can I make ftpd listen only to 127.0.0.1?
Constantine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

I'm not sure if this is possible to set within ftpd. I'm using classic 
way to block incoming FTP requests from unwanted addresses - IPFW.

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


Re: Samba PDF printing

2004-05-21 Thread Pavel Duda
Andrea Venturoli wrote:
** Reply to note from Joan Picanyol i Puig [EMAIL PROTECTED] Wed, 19 May 2004 
19:50:11 +0200

Everything works fine, but not after a reboot. 
After the machine is powered up PDF creation will silently fail. 
sh /usr/local/etc/rc.d/samba.sh stop ; sh /usr/local/etc/rc.d/samba.sh start will fix this. 
Any hint? 
  
Look at the samba logs after incrementing the log level in smb.conf.

Wish I could understand something from that :(
Samba logs hold either too few or way to much data; I tried to analyze them, but that 
lead up to nothing.
 bye  Thanks
av.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
I've found it. Problem is PATH variable. Try to add 
PATH=/bin:/sbin:/usr/local/bin:... etc. to your samba pdf printing 
script. It works for me.

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


Re: Samba PDF printing

2004-05-19 Thread Pavel Duda
Andrea Venturoli wrote:
Hello.
I've set up Samba in order provide a PDF creation tool which works as a virtual 
printer.
Everything works fine, but not after a reboot.
After the machine is powered up PDF creation will silently fail.
sh /usr/local/etc/rc.d/samba.sh stop ; sh /usr/local/etc/rc.d/samba.sh start will 
fix this.
Any hint?
Why would such a service fail on startup, but work if restarted later?
 bye  Thanks
av.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
I remember that I had same problem, when samba wasn't started from 
inetd. Now I'm using CUPS PDF priner so I can't check it out, but try to 
start nmbd/smbd directly from inetd.

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


Re: wine

2004-05-14 Thread Pavel Duda
Lucas Holt wrote:
Enemy territory runs with linux emulation on freebsd.  Its certainly 
not ported to freebsd.  I've tried it on 5 current and compared the 
results to running in linux and windows.  There is a definite 
performance gap in freebsd.  I assume its because there is no native 
binary.  The linux version under redhat 9 gives me a better framerate 
than any other os.  Its a shame we can't get native games for freebsd.  
Of course, i am happy with linux ports.

A fault of the open source community is not encouraging companies to use 
open source game frameworks.  It would make ports to non windows 
platforms easier.  I actually run three operating systems at home 
FreeBSD, Mac OS X, and Windows XP.  The lack of porting effects me on my 
mac and pc.  Sadly, UNIX/Linux users and Mac users rarely work together 
on these issues even though they effect both groups.  Think about it, 
blizzard games are ported to Mac OS but not linux or unix.  Enemy 
territory was ported to linux but not mac os.  I've even heard rumors 
that Doom 3 won't be ported to anything... just windows builds.  :(



Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

You are right it runs only with linux binary compatibility, but I didnt 
notice big difference between Windows and FreeBSD(linux) version. At 
least not something like 76fps on Windows and 30fps on FreeBSD (on 
FreeBSD I get about 5-7fps less then on Windows 70-80fps ). And I was 
also trying some games under gentoo (like UT) and again no big 
difference (my gaming comp is AMD 1.33Ghz/gf3ti500/768MB RAM).
I think that in near future there will be less games for PC platform 
anyway. Take a look at game-selling statistics and you will recognize 
that developers have more money from games for consoles and many titles 
coming out exclusively only on some platforms (PS2 or Xbox) and it will 
get worst when PS3 and Xbox2 hit market. Well, we will see.

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


Re: PCMCIA to PCI hardware

2004-05-14 Thread Pavel Duda
sAndri Kok wrote:

Hi guys,

I'm thinking of running a wireless access point using FreeBSD. Now, the 
manual (wi(4)) says that I need a prism II or 2.5 chipset, I can get 
that quite easily, but the PCI version is not. I'm thinking of getting a 
PCMCIA card with that supported chip and a PCMCIA to PCI card 
http://cgi.ebay.com.au/ws/eBayISAPI.dll?ViewItemitem=3095750525. Are 
these cards suppoerted under FBSD? thx a lot guys =)

Regards,

Andri

_
Get Extra Storage in 10MB, 25MB, 50MB and 100MB options now! Go to  
http://join.msn.com/?pgmarket=en-aupage=hotmail/es2

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

Tale a look at this list 
http://www.personaltelco.net/index.cgi/Prism2Card and maybe you will 
find something in your local store. I am using Z-COM XI-626 myself ( 
IMHO this card is just PCMCIA version welded on PCI board :-) ) costs 
about 50$ and works well.

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


Re: Transfering Files

2004-05-14 Thread Pavel Duda
Andras Kende wrote:



Bruce,

I assuming both system is local behind firewall.

I would install both samba and ftp server like pure_ftpd...

For fileserver: use samba for mp3's file's

Web dev test: you could share the apache document root folders too with
samba and copy the files there.
Or just upload with windows ftp client...

Andras Kende
http://www.kende.com


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
I agree, use samba for data storage and ftp for uploading data to your 
webserver ( I assume you will then upload your final work to remote 
server via ftp too so in that case it is better to simulate same 
situation at home ).

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


Re: wine

2004-05-13 Thread Pavel Duda
Radu MOLNAR wrote:

I believe that this is where the opensource comunity in general looses to
windows. I dont know about you guys but computer games is how i got in
touch with IT and i see that is still hapening with kids nowadays.
The only reason i still install windows on my desktop is to
play games. I would gladly give up the microsoft products and most of my
friends would do so too if it wasn't for the reason mentioned above.
You may say that games are not important but i must disagree. How can one
claim to make an OS for workstations if you can not play games in that OS.
Games are the peak of multimedia aplications. Just take a look at the
slashdot.org site and you will see that every day the GAMES section has
the most new news.
If we want an alternative to windows (we wants it) than maybe we should
concentrate our energies on making a desktop. But these are just the
rambling words of a guy that is frustrated of having to use microsoft
operating systems, having to pay a lot of money for them and then getting
the quality that we all know.
whatever
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem is not quality of fbsd. Problem is that you have to emulate 
proprietary Windoz (with proprietary DirectX) to run games, because that 
game wasnt released for *nix. This is about number of installations and 
about attitude of game developers. And to be honest, would you develop 
some game for fbsd/linux if u know there will be maybe 10k copies sold ?
Fortunately I'm playing Enemy Territory now and it is available under 
FreeBSD :-).

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


Re: Streaming Audio

2004-05-12 Thread Pavel Duda
Jose Lima wrote:
On Tue, 2004-05-11 at 16:17, Pavel Duda wrote:



Apache has an MP3 module that works good.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Thats true and I am aware of that, but i'm runing webserver, mysql 
server and icecast anyway so BBjuke suits me well. And besides that I 
can use icecast to relay some internet radios to local network.

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


Re: Help: Speeding up Boot Process

2004-05-12 Thread Pavel Duda
Mark Jayson Alvarez wrote:

 Please help me sir. I want to make the most out
of my FreeBSD system. And one last thing, I know this
might sound ignorant on my part but... could you tell
how to run multiple programs in one log-in prompt? I
didn't acctualy understand how virtual consoles works
so every time I'm playing mp3 on mpg123, I will have
to press the F keys to login to another prompt just to
be able to run another program.

Thanks a lot,
Mark
Take a look at screen ( ports/misc/screen ).

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


Re: Wireless Cards ?

2004-05-12 Thread Pavel Duda
Edmund Allain wrote:
What wireless cards work on BSD ? I need a specific card in which I can
go to Compusa and purchase it. I have already bought a smc2602w which
was suppose to work but they change the chip. I m really frustrated with
this delimna. Please give specific card names
Thanks in advance 
eddie
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

I was using wifi cards based on Prism chipset - Z-COM XI-626 (PCI) in 
desktop and Z-COM XI-325 (PCMCIA) in laptop.

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


Re: wine

2004-05-12 Thread Pavel Duda
Radu MOLNAR wrote:

This is odd as from what i heard freebsd's power is in it's speed,
something that i noticed for my self by using it for desktop
aplications.
There is almost no performance gap between games that you run under 
linux, bsd or windows (especially for FPS games like CS). I really like 
fbsd, but when it comes to games, I'd rather use my windoz machine.

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


Re: 3 Nics - Dual (Tripe) Homed Host

2004-05-11 Thread Pavel Duda
Steven N. Fettig wrote:

Travis Troyer wrote:

I have a FreeBSD system that acts as a NAT Gateway, currently 
providing on LAN with access to the Internet.  I have added a third 
NIC, connected to a second LAN.  The second LAN does not need internet 
access, but I would like it to be able to communicate with the first 
LAN.  I have tried reading various sources, but have not found 
anything dealing with this situation. I would appreciate any help.  
Below is a diagram of my current setup and the output of ifconfig.

Internet
|
[ xl0: DHCP assigned ]
   Router
|  |
[ xl1: 10.0.0.1]  [ xl3: 192.168.1.10]
10.0.0.0/24 LAN  192.168.1.0/24 LAN
Output of ifconfig:
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=8VLAN_MTU
   inet 24.33.126.252 netmask 0xff00 broadcast 255.255.255.255
   ether 00:60:97:74:35:b0
   media: Ethernet autoselect (10baseT/UTP)
   status: active
xl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=bRXCSUM,TXCSUM,VLAN_MTU
   inet 10.0.0.1 netmask 0xff00 broadcast 10.0.0.255
   ether 00:01:02:37:93:eb
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
xl2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=bRXCSUM,TXCSUM,VLAN_MTU
   inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255
   ether 00:01:02:cc:63:d2
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet 127.0.0.1 netmask 0xff00
Travis,

Although I have been dealing with routing for years, I can't claim I 
really understand it well, so my advice may not be so intelligent, but 
here's a stab at it anyway:
I think what you want to do is to bridge both LAN's.  You need to tell 
your gateway that in order to get to 10.0.0.0/24 from 192.168.1.0/24, 
you need to tell the routing tables that the route to 10.0.0.0/24 is via 
xl1 and vice versa.
route add 10.0.0.0/24 -interface xl1

and vice versa:

route add 192.168.1.0/24 -interface xl2

In the handbook, it says 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bridging.html): 

--begin quote--
19.5.4 Enabling the Bridge
Add the line:
net.link.ether.bridge=1
to /etc/sysctl.conf to enable the bridge at runtime, and the line:
net.link.ether.bridge_cfg=if1,if2
to enable bridging on the specified interfaces (replace if1 and if2 with 
the names of your two network interfaces). If you want the bridged 
packets to be filtered by ipfw(8), you should add:
net.link.ether.bridge_ipfw=1

as well.

For FreeBSD 5.2-RELEASE and later, use instead the following lines:
net.link.ether.bridge.enable=1
net.link.ether.bridge.config=if1,if2
net.link.ether.bridge.ipfw=1
--end quote--
I am not sure if this will work, though, because I'm not sure what 
effect (if any) it would have on the NAT from the 192.168.1.0/24 
network.  You might want to first try this approach while NAT and the 
firewall are turned off.  I have a similar situation that I want to 
test, so I'd be curious if you succeed and how.

Steve Fettig

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

This should work fine with NAT. I was using similar setup during tests 
with wi-fi : server with wi-fi card (hostap and DHCP - 192.168.1.xxx 
range), one NIC connected to local LAN (192.168.0.xxx range) and one NIC 
for connection to my ISP ( to cable modem to be more specific ). Only 
people on local lan were able to connect to internet - this was 
controlled via ipfw rules.

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


Re: Streaming Audio

2004-05-11 Thread Pavel Duda
Darryl Hoar wrote:

Greetings,
I have a 5.1-release box at home that I would like to put my
personal mp3's on.  I want to listen to them on any computer
on my home lan.  

Several on the PC's on my home lan are Microsoft windows.

What are some ideas so that I can access them ?  Samba
seems a bit overkill.  What about apache running on the box,
serving up dynamic pages listing the mp3's.  When you click
on the link it launches windows media player (or real player)
so that you can listen.
Anyway, I would appreciate any ideas on this matter.

thanks,
Darryl
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
You can try BBJuke (it requires MySQL, IceCast and webserver).

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