Re: Gmail vs FreeBSD

2006-04-16 Thread Andrew Pantyukhin
On 4/17/06, Igor Robul <[EMAIL PROTECTED]> wrote:
> On Sun, Apr 16, 2006 at 02:11:06PM +0100, Richard Collyer wrote:
> > Andrew Pantyukhin wrote:
> > If your running FreeBSD just get a qmail server on the go and slap
> > squirrelmail on there for web based mail.
> Not everybody in the world has 24/7 computer with direct connect to
> Internet. There are at least 3 reasons:
>
> 1) Too noisy. Not everyone has big house
> 2) Too expensive. I pay for Ethernet based connection $30, but it is not
>  techicaly possible in every Russian house.
> 3) Some other reason :-)

Hmm, it seems that gmail is recovering.

It's not really a problem for me to get a colocated box
and run my own mail server. The problem is I use gmail
as an app, not as a mail server. And this app rocks, it's
really hard to find anything close to it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: last known 4-.x-RELEASE where PicoBSD can be built

2006-04-16 Thread Nikos Vassiliadis
On Saturday 15 April 2006 10:09, Dinesh Nair wrote:
> On 02/16/06 16:07 Nikos Vassiliadis said the following:
> > I tried to build PicoBSD using sources from RELENG_4 on a
> > 4.10-RELEASE-p5 system and it failed. I (think|know) it's working
> > again on RELENG_6, but I want to use 4.x branch. So, which
> > sources should I get to build it?
>
> this may come too late, but what was the error when you tried to build it ?

I was trying to build a RELENG_4 PicoBSD from a RELENG_4_10 and it was
failing. I also took the Pico build script from RELENG_6 and everything worked.

A "small" thread here:
http://lists.freebsd.org/pipermail/freebsd-small/2006-February/000540.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Gmail vs FreeBSD

2006-04-16 Thread Igor Robul
On Sun, Apr 16, 2006 at 02:11:06PM +0100, Richard Collyer wrote:
> Andrew Pantyukhin wrote:
> If your running FreeBSD just get a qmail server on the go and slap 
> squirrelmail on there for web based mail.
Not everybody in the world has 24/7 computer with direct connect to
Internet. There are at least 3 reasons:

1) Too noisy. Not everyone has big house
2) Too expensive. I pay for Ethernet based connection $30, but it is not
 techicaly possible in every Russian house.
3) Some other reason :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: System user creation

2006-04-16 Thread Beech Rintoul
On Sunday 16 April 2006 20:13, you wrote:
> On Apr 16, 2006, at 5:29 PM, Beech Rintoul wrote:
> > On Sunday 16 April 2006 16:01, jekillen wrote:
> >> Hello folks;
> >> I am trying to create a system user for a program to use.
> >> I haven't found any specific instructions for doing this in the
> >> FreeBSD
> >> manual
> >> or Absolute FreeBSD.
> >> The program exits with an error saying it can't create/write to a pid
> >> file.
> >> I believe it is the way I used adduser to create it and I don't know
> >> what
> >> I did wrong. I assigned it the class bin and disabled the password and
> >> assigned none as the home dir.
> >> To remove mystery it is MySQL I am trying to get running.
> >> This is the error file entry:
> >> starting server errors:
> >> 060417 17:38:49 [ERROR] /usr/local/mysql/libexec/mysqld: Can't
> >> create/write to file '/usr/local/mysql/var/AMD64-939..pid'
> >> (Errcode: 13)
> >> 060417 17:38:49 [ERROR] Can't start server: can't create PID file:
> >> Permission denied
> >> 060417 17:38:49  mysqld ended
>
> My concern is 'permission denied' which means there seems to be
> something wrong with the mysql user
> I created. I have done this on another FreeBSD v6 installation  and I
> didn't have the same problem.
> I don't know what I did differently. Yes I did install mysql my self. I
> have had nothing but problems
> with ports, ref a concurrent post where I tried to install an network
> interface card driver, nvnet and
> got a torrent of errors when trying to run make. I went to the FreeBSD
> web site and manually fetched the
> disfile and place it in the distfile directory. It doesn't mean there
> is anything wrong with ports, it just
> means I'm not willing to spend the time to get it up to speed on my
> system.
> Anyhow, I just want to get MySQL running and then I'll deal with any
> other problems. But on my other
> FreeBSD machine i have had none so far and it has been happily running
> for some 6 or 7 weeks
> (accept for a power blackout event that I was able to recover from
> easily).
> Thanks
> JK
>
> > How did you install mysql? That path doesn't look like the default port
> > install. Someone correct me if I'm wrong, but shouldn't that be
> > in /var/db/mysql? Anyway, user and group should be mysql - check your
> > folder
> > permissions to make sure mysql can write there.
> >
> > Beech
> >
Unfortunately, you've just run into one of the pitfalls of installing stock 
programs. I just looked at the port of mysql-server and there are no less 
than 10 patches (most dealing with configuration) not counting the ones in 
mysql-client. Unless you're willing to spend the time dealing with all that 
by hand you're better off uninstalling and using the package version of that 
port. Installing a package is very easy and documented in the handbook. Other 
than that you need to take a close look at configure in the sources and you 
may need to adjust those for your system. In the short term what you have is 
a file permission problem. Find out what user mysql is trying to run as (most 
likely "mysql"), make sure that user exists and set your file permissions on 
the mysql directory to allow it to write as that user. It's ok to 
use "adduser" to create the user.

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---













pgp4cpgSjyY4J.pgp
Description: PGP signature


Re: a favorite graphical ftp client?

2006-04-16 Thread David J Brooks
On Sunday 16 April 2006 22:56, Micah wrote:
> Jonathan Horne wrote:
> > On Sunday 16 April 2006 20:17, [EMAIL PROTECTED] wrote:
> >>> i would like to ask the list for opinions on a good graphical ftp
> >>> client
> >>
> >> for a
> >>
> >>> freebsd desktop.  before i try them all, id like to get a few
> >>> recomendations :)
> >>
> >> gftp is quite nice imho --> http://gftp.seul.org/
> >
> > sorry, i should have mentioned i use KDE.  will gftp be any trouble to
> > compile, or is it going to pull down the entire gnome to go with it?  im
> > really looking for something that works well under KDE.
> >
> > thanks,
> > jonathan horne
>
> May not be "graphical" enough, but Konqueror's built in ftp, sftp, and
> fish support has always been enough for my needs and it doesn't require
> any extra packages outside KDE.  Just type ftp://ftp.example.com or
> ftp://[EMAIL PROTECTED] in the location bar.

Konqueror is generally what I use as well. Another good alternative is 
Kasablanca.

David
-- 
Sure God created the world in only six days,
but He didn't have an established user-base.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


DIAL-IN TERMINAL SERVICE

2006-04-16 Thread FreeBSD MailingLists
I have attached a modem to my freebsd box and trying to setup a simple
dial-in terminal service.
I have tried to follow the instructions in the freebsd handbook.

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

I am able to get a terminal working on the serial port (tested with a null
modem cable)
but when I get to the modem setting section.  I get confused.

The server is located in China so I purchased a Taiwan maker TP-Link's modem
the model number is TP-Link EC5658V V92 External (MD5660) Modem.
At least that's what the Window's driver recognizes it as.
I have attached the WindowsXP inf file that seems to have the control
commands listed.

Can anyone help me with setting up my modem?
1) How do I know if my modem stores parameters in non-volatile RAM?
2) How do I setup my modem to receive incoming calls? How do I set what ring
the modem picks up on?
3) How do I mute the modem speakers so that I don't have to hear the
annoying
4) If the modem parameters are kept in volatile RAM, how do I get my
computer to reinitialize the settings on bootup?

TIA,
Tomoki Taniguchi


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

Re: System user creation

2006-04-16 Thread jekillen


On Apr 16, 2006, at 5:29 PM, Beech Rintoul wrote:


On Sunday 16 April 2006 16:01, jekillen wrote:

Hello folks;
I am trying to create a system user for a program to use.
I haven't found any specific instructions for doing this in the  
FreeBSD

manual
or Absolute FreeBSD.
The program exits with an error saying it can't create/write to a pid
file.
I believe it is the way I used adduser to create it and I don't know
what
I did wrong. I assigned it the class bin and disabled the password and
assigned none as the home dir.
To remove mystery it is MySQL I am trying to get running.
This is the error file entry:
starting server errors:
060417 17:38:49 [ERROR] /usr/local/mysql/libexec/mysqld: Can't
create/write to file '/usr/local/mysql/var/AMD64-939..pid'
(Errcode: 13)
060417 17:38:49 [ERROR] Can't start server: can't create PID file:
Permission denied
060417 17:38:49  mysqld ended
My concern is 'permission denied' which means there seems to be  
something wrong with the mysql user
I created. I have done this on another FreeBSD v6 installation  and I  
didn't have the same problem.
I don't know what I did differently. Yes I did install mysql my self. I  
have had nothing but problems
with ports, ref a concurrent post where I tried to install an network  
interface card driver, nvnet and
got a torrent of errors when trying to run make. I went to the FreeBSD  
web site and manually fetched the
disfile and place it in the distfile directory. It doesn't mean there  
is anything wrong with ports, it just
means I'm not willing to spend the time to get it up to speed on my  
system.
Anyhow, I just want to get MySQL running and then I'll deal with any  
other problems. But on my other
FreeBSD machine i have had none so far and it has been happily running  
for some 6 or 7 weeks
(accept for a power blackout event that I was able to recover from  
easily).

Thanks
JK


How did you install mysql? That path doesn't look like the default port
install. Someone correct me if I'm wrong, but shouldn't that be
in /var/db/mysql? Anyway, user and group should be mysql - check your  
folder

permissions to make sure mysql can write there.

Beech

--- 


Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
--- 















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


Re: a favorite graphical ftp client?

2006-04-16 Thread Micah

Jonathan Horne wrote:

On Sunday 16 April 2006 20:17, [EMAIL PROTECTED] wrote:

i would like to ask the list for opinions on a good graphical ftp client

for a


freebsd desktop.  before i try them all, id like to get a few
recomendations :)

gftp is quite nice imho --> http://gftp.seul.org/


sorry, i should have mentioned i use KDE.  will gftp be any trouble to 
compile, or is it going to pull down the entire gnome to go with it?  im 
really looking for something that works well under KDE.


thanks,
jonathan horne


May not be "graphical" enough, but Konqueror's built in ftp, sftp, and 
fish support has always been enough for my needs and it doesn't require 
any extra packages outside KDE.  Just type ftp://ftp.example.com or 
ftp://[EMAIL PROTECTED] in the location bar.


HTH,
Micah

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


tip vs minicom

2006-04-16 Thread FreeBSD MailingLists
i am trying to setup a dial-in terminal service between 2 machines with
serial modems attached.
In the FreeBSD Handbook the instructions for a dial-out service use the tip
and cu commands.
I have been using minicom to connect to varius serial terminals such as
cisco routers, so i am used to it.
Is it better to use tip or minicom for dial-out purposes?

Is there a good instuction page for setting minicom up for dialing out?

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


Re: a favorite graphical ftp client?

2006-04-16 Thread Patrick Bowen

Jonathan Horne wrote:


On Sunday 16 April 2006 20:17, [EMAIL PROTECTED] wrote:
 


i would like to ask the list for opinions on a good graphical ftp client
 


for a

   


freebsd desktop.  before i try them all, id like to get a few
recomendations :)
 


gftp is quite nice imho --> http://gftp.seul.org/
   



sorry, i should have mentioned i use KDE.  will gftp be any trouble to 
compile, or is it going to pull down the entire gnome to go with it?  im 
really looking for something that works well under KDE.


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

 



Jonathan;

No, it won't. I use it with WindowMaker. It pulled some stuff down with 
it, but not much.


BTW, if you're using KDE, there is a kftpgrabber graphical ftp client 
for KDE in the ports collection.


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


Re: a favorite graphical ftp client?

2006-04-16 Thread Jonathan Horne
On Sunday 16 April 2006 20:17, [EMAIL PROTECTED] wrote:
> > i would like to ask the list for opinions on a good graphical ftp client
>
> for a
>
> > freebsd desktop.  before i try them all, id like to get a few
> > recomendations :)
>
> gftp is quite nice imho --> http://gftp.seul.org/

sorry, i should have mentioned i use KDE.  will gftp be any trouble to 
compile, or is it going to pull down the entire gnome to go with it?  im 
really looking for something that works well under KDE.

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


USB MODEM

2006-04-16 Thread FreeBSD MailingLists
I purchased a usb modem recently and connected it to my FreeBSD box to see
if it is compatible.
I have recompiled my kernel with
device ucom
device umodem

When I connect the modem I get the following kernel message.

ucom0: OMRON OMRON ME5614U2 DATA FAX MODEM, rev 1.10/1.00, addr 2, iclass
2/2
ucom0: data interface 1, has CM over data, has break
ucom0: Could not find data bulk in

Is there anyway to get this modem working with FreeBSD?

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


Re: a favorite graphical ftp client?

2006-04-16 Thread Jeff Cross
[EMAIL PROTECTED] wrote:
>> i would like to ask the list for opinions on a good graphical ftp client
> for a
>> freebsd desktop.  before i try them all, id like to get a few
>> recomendations :)
> 
> gftp is quite nice imho --> http://gftp.seul.org/
> 
> 
> 
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 
> 
I agree.  gftp is what I use as well.

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


boot0: is booting from non-BIOS-recognized disk possible?

2006-04-16 Thread Amanda Babcock Furrow
I have read the boot0cfg, disklabel (I have FreeBSD 4.9), and fdisk 
manpages trying to figure out if boot0 can solve my problem.  I did
not find the answer there, or in http://www.freebsd.org/doc/faq/disks.html
or the freebsd-questions archives.

I would like to be able to boot from my Seagate ST3120814A, which is
not compatible with my BIOS (Award Modular BIOS v4.51PG, BIOS string
08/21/97-580VPX-VIA83669-2A5LD000C-00, VT 580VX MMX motherboard).  
The BIOS, for which no update was ever issued, will hang during disk
detection unless I disable the Seagate by setting it to "None" in
the BIOS (as opposed to "Auto" and "User", which hang).  However,
once I boot FreeBSD from an older disk, the Seagate is detected as 
/dev/ad3 and partitions from it can be mounted.

I understand that boot0 can be configured to boot from a second disk
using the -s 5 argument of boot0cfg.  However, the boot0cfg man page 
does not go into great detail.  Can boot0 boot from a disk which is 
disabled in BIOS but accessible from FreeBSD, or only from disks which 
the BIOS is able to detect?

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


Re: a favorite graphical ftp client?

2006-04-16 Thread albi
> i would like to ask the list for opinions on a good graphical ftp client
for a
> freebsd desktop.  before i try them all, id like to get a few
> recomendations :)

gftp is quite nice imho --> http://gftp.seul.org/





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


a favorite graphical ftp client?

2006-04-16 Thread Jonathan Horne
i would like to ask the list for opinions on a good graphical ftp client for a 
freebsd desktop.  before i try them all, id like to get a few 
recomendations :)

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


On-Board video card configuration.

2006-04-16 Thread Enigma
I am fairly new to FreeBSD, and I have been having problems with my IBM Aptiva 
2196-24A in getting the on-board video card configured with freeBSD. So i can 
run X window system at a decent resolution. All i can get to work is Standard 
VGA driver at 640x800 at 8bit. I have had this card working properly (win2k, 
ubuntu) so it is fully operational. The on-board chipset is SiS 540, and due to 
freeBSD not supporting this with options in the config menu, how can i go about 
setting it up to work?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh to Freebsd 6.1-UPDATE

2006-04-16 Thread Benjamin Lutz
On Monday 17 April 2006 00:46, Marwan Sultan wrote:
> Sorry,
> But forgot to say that this problem happens when there is no Internet
> connection only!
> But when internet sharing presents on my XP all works fine.
>
> Thank you and sorry again.
>
> >Hello,
> >
> >  I just fresh installed FreeBSD 6.0R,
> >  The box connected to a hub and 1 more computer XP connected to same HUB,
> >  on my home LAN, both can ping/replay each other, both NIC interfaces are
> >up.
> >
> >  XP is the internet gateway. 192.168.0.1 and BSD is 192.168.0.2
> >
> >  The problem is when i Open my SecureCRT in XP and try to SSH (using
> > SSH2) to FreeBSD
> >  it never goeson, and on /var/messages always says its timedout.
> >
> >  during installation I choose to run SSH, also after the fresh install i
> >checked /etc/inetd.conf
> >  and i removed the # from the SSH line, then restarted the inetd.conf,
> >  but also the same!

Setting "UseDNS no" in the FreeBSD machine's /etc/ssh/sshd_config should solve 
the problem.

Cheers
Benjamin


pgp2vHAAuzZnP.pgp
Description: PGP signature


Re: System user creation

2006-04-16 Thread Beech Rintoul
On Sunday 16 April 2006 16:01, jekillen wrote:
> Hello folks;
> I am trying to create a system user for a program to use.
> I haven't found any specific instructions for doing this in the FreeBSD
> manual
> or Absolute FreeBSD.
> The program exits with an error saying it can't create/write to a pid
> file.
> I believe it is the way I used adduser to create it and I don't know
> what
> I did wrong. I assigned it the class bin and disabled the password and
> assigned none as the home dir.
> To remove mystery it is MySQL I am trying to get running.
> This is the error file entry:
> starting server errors:
> 060417 17:38:49 [ERROR] /usr/local/mysql/libexec/mysqld: Can't
> create/write to file '/usr/local/mysql/var/AMD64-939..pid'
> (Errcode: 13)
> 060417 17:38:49 [ERROR] Can't start server: can't create PID file:
> Permission denied
> 060417 17:38:49  mysqld ended

How did you install mysql? That path doesn't look like the default port 
install. Someone correct me if I'm wrong, but shouldn't that be 
in /var/db/mysql? Anyway, user and group should be mysql - check your folder 
permissions to make sure mysql can write there. 

Beech

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---













pgpSAF7Rb6DtL.pgp
Description: PGP signature


Re: /boot/loader and modules

2006-04-16 Thread David J Brooks
On Sunday 16 April 2006 17:42, jesse marquez wrote:
> Hello,
>
> Last night I installed FreeBSD 6.0 - Release on a Gateway 450SX4 laptop.
> For some reason it seems the loader is not reading the local changes made
> to /boot/loader.conf . Have any of you expierenced this? I've checked my
> changes made to loader.conf and they all seem fine. /boot/loader.rc looks
> fine as well. It doesn't seem like it's anything obvious, any help is
> appreciated.

It would be helpful if you could post the contents of your /boot/loader.conf 
to the list.

David
-- 
Sure God created the world in only six days,
but He didn't have an established user-base.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: System user creation

2006-04-16 Thread albi
> I am trying to create a system user for a program to use.
> I haven't found any specific instructions for doing this in the FreeBSD
manual or Absolute FreeBSD.
> The program exits with an error saying it can't create/write to a pid file.
> I believe it is the way I used adduser to create it and I don't know
what I did wrong. I assigned it the class bin and disabled the password
and assigned none as the home dir.
> To remove mystery it is MySQL I am trying to get running.

it's a bit unclear what you're trying to do, mysql already runs as a
"non-privileged" user normally

if you want to restrict access to your mysql-database then you can just
create a user in mysql and give that user certain permissions (root in
mysql != root in FreeBSD)

if you really want to run mysql-server as a new user you probably need to
change mysql-config settings or put that user in the group mysql (and
adjust permissions for mysql-files and dirs accordingly)





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


System user creation

2006-04-16 Thread jekillen

Hello folks;
I am trying to create a system user for a program to use.
I haven't found any specific instructions for doing this in the FreeBSD 
manual

or Absolute FreeBSD.
The program exits with an error saying it can't create/write to a pid 
file.
I believe it is the way I used adduser to create it and I don't know 
what

I did wrong. I assigned it the class bin and disabled the password and
assigned none as the home dir.
To remove mystery it is MySQL I am trying to get running.
This is the error file entry:
starting server errors:
060417 17:38:49 [ERROR] /usr/local/mysql/libexec/mysqld: Can't 
create/write to file '/usr/local/mysql/var/AMD64-939..pid' 
(Errcode: 13)
060417 17:38:49 [ERROR] Can't start server: can't create PID file: 
Permission denied

060417 17:38:49  mysqld ended

Thanks in advance;
jk

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


Re: TV Tuner viewing software suggestions

2006-04-16 Thread Danny Pansters
On Sunday 16 April 2006 14:39, Jim Stapleton wrote:
> I'm trying to use my TV Tuner (A Leadtek Brooktree chipset tuner), and
> I have gotten FXTV to work great with one exception: It appears to
> only work in something that looks to be about 320x240, when I go
> fullscreen or anything larger than what it opens as, it only draws to
> part of the screen... providing something, that while rather cool
> looking, is not productive for watching tv or playing console games.
>
> I tried getting kbtv to work, but I'm getting an error installing py-kde.

If you do so please try version 1.0 from http://freebsd.ricin.com/kbtv (no 
port yet sorry, use install/deinstall). the one currently in ports is two 
releases behind.

> the last of the py-kde compile:
> c++ -c -Wno-deprecated-declarations -pipe -fPIC -O2
> -fno-strict-aliasing -pipe -march=athlon-mp -Wall -W -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -I. -I../extra/kde350 -I/usr/local/include
> -I/usr/local/include/python2.4 -I/usr/X11R6/include -o
> sipkdecorepart0.o sipkdecorepart0.cpp
> sip/kdecore/ktimezones.sip: In function `PyObject*
> convertFrom_ZoneMap(void*)': /usr/local/include/ktimezones.h:191: error:
> `KTimezone::KTimezone(const KTimezone&)' is private
> sip/kdecore/ktimezones.sip:209: error: within this context
> sipkdecorepart0.cpp: In function `void* init_KTimezones(sipWrapper*,
> PyObject*, sipWrapper**)':
> /usr/local/include/ktimezones.h:340: error:
> `KTimezones::KTimezones(const KTimezones&)' is private
> sipkdecorepart0.cpp:9497: error: within this context
> sipkdecorepart0.cpp: In function `void* init_KTimezone(sipWrapper*,
> PyObject*, sipWrapper**)':
> /usr/local/include/ktimezones.h:191: error:
> `KTimezone::KTimezone(const KTimezone&)' is private
> sipkdecorepart0.cpp:10450: error: within this context
> sip/kdecore/kmountpoint.sip: In function `PyObject*
> convertFrom_KMountPoint_List(void*)':
> sip/kdecore/kmountpoint.sip:151: warning: taking address of temporary
> sipkdecorepart0.cpp: In function `PyObject* convertFrom_Display(void*)':
> sipkdecorepart0.cpp:34478: warning: unused variable 'sipCpp'
> sip/kdecore/kconfigbase.sip: In function `PyObject*
> convertFrom_ulonglong(void*)':
> sip/kdecore/kconfigbase.sip:307: warning: unused variable 'LongLong'
> sip/kdecore/kwinmodule.sip: In function `PyObject*
> convertFrom_QValueList_2100(void*)':
> sip/kdecore/kwinmodule.sip:111: warning: unused variable 'inst'
> sipkdecorepart0.cpp: At global scope:
> sipkdecorepart0.cpp:34440: warning: unused parameter 'sipPy'
> sipkdecorepart0.cpp:34440: warning: unused parameter 'sipIsErr'
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/py-kde/work/PyKDE-snapshot20060122/kdecore.
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/py-kde/work/PyKDE-snapshot20060122.
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/py-kde.

I'm aware of this problem and can now reproduce it (just updated KDE from 
3.5.1 to 3.5.2 and now it shows up). I'm looking into it. There's also a new 
py-kde to be released one of these days, and then I'm planning to update the 
sip/py-qt/py-kde ports altogether.

Dan

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


Re: Not receiving email from FreeBSD lists on Gmail for about 3 days

2006-04-16 Thread Richard Collyer

Joao Barros wrote:

Hi all,

I'm subscribed to several FreeBSD lists and I stopped receiving any
email on my gmail account on the 13th.
Anyone else experiencing this problem or the exact opposite, actually
receiving mail on your gmail account?

Please add me as a direct recipient for any response.

My thanks in advance,


A few people on Gmail have complained about this. I beleve they have 
e-mailed gmail support.


Cheers
Richard

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


Re: bounced email to a freedbsd mailing list

2006-04-16 Thread Jonathan Chen
On Sun, Apr 16, 2006 at 03:23:44PM -0700, Dan Strick wrote:
> I just got a couple of messages to freebsd-chat rejected.
> Can someone clue me in?  The rejection message was:
> 
> The original message was received at Sun, 16 Apr 2006 06:33:36 -0400
> from h-67-101-99-172.snfccasy.dynamic.covad.net [67.101.99.172]
> 
>- Transcript of session follows -
> ... while talking to mx1.freebsd.org.:
> >>> DATA
> <<< 450 Client host rejected: cannot find your hostname, [69.49.106.81]
> ... Deferred: 450 Client host rejected: cannot 
> find your hostname, [69.49.106.81]
> 
> Dig -x 69.49.106.81 reveals:
> 
> ;; ANSWER SECTION:
> 81.106.49.69.in-addr.arpa. 21124 IN PTR 
> mail871.carrierinternetsolutions.com.

The problem is that "mail871.carrierinternetsolutions.com" doesn't
resolve to anything.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Jesus saves.
   Allah forgives.
 Cthulu thinks you'd make a nice sandwich.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: ssh to Freebsd 6.1-UPDATE

2006-04-16 Thread Marwan Sultan




Sorry,
But forgot to say that this problem happens when there is no Internet 
connection only!

But when internet sharing presents on my XP all works fine.

Thank you and sorry again.



Hello,

 I just fresh installed FreeBSD 6.0R,
 The box connected to a hub and 1 more computer XP connected to same HUB,
 on my home LAN, both can ping/replay each other, both NIC interfaces are 
up.


 XP is the internet gateway. 192.168.0.1 and BSD is 192.168.0.2

 The problem is when i Open my SecureCRT in XP and try to SSH (using SSH2) 
to FreeBSD

 it never goeson, and on /var/messages always says its timedout.

 during installation I choose to run SSH, also after the fresh install i 
checked /etc/inetd.conf

 and i removed the # from the SSH line, then restarted the inetd.conf,
 but also the same!

 I never faced such thing on 4.x, and i heard from somewhere that between 
SecureCRT and
 FreeBSD more than 5.x i have to change something in ssh configuration in 
the box,


 Anyhelp please?

 Marwan.

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/


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


/boot/loader and modules

2006-04-16 Thread jesse marquez
Hello,

Last night I installed FreeBSD 6.0 - Release on a Gateway 450SX4 laptop. For
some reason it seems the loader is not reading the local changes made to
/boot/loader.conf . Have any of you expierenced this? I've checked my
changes made to loader.conf and they all seem fine. /boot/loader.rc looks
fine as well. It doesn't seem like it's anything obvious, any help is
appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


bounced email to a freedbsd mailing list

2006-04-16 Thread Dan Strick
I just got a couple of messages to freebsd-chat rejected.
Can someone clue me in?  The rejection message was:

The original message was received at Sun, 16 Apr 2006 06:33:36 -0400
from h-67-101-99-172.snfccasy.dynamic.covad.net [67.101.99.172]

   - Transcript of session follows -
... while talking to mx1.freebsd.org.:
>>> DATA
<<< 450 Client host rejected: cannot find your hostname, [69.49.106.81]
... Deferred: 450 Client host rejected: cannot 
find your hostname, [69.49.106.81]

Dig -x 69.49.106.81 reveals:

;; ANSWER SECTION:
81.106.49.69.in-addr.arpa. 21124 IN PTR 
mail871.carrierinternetsolutions.com.

Is this a temporary condition?

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


ssh to Freebsd 6.1 (help)

2006-04-16 Thread Marwan Sultan

Hello,

 I just fresh installed FreeBSD 6.0R,
 The box connected to a hub and 1 more computer XP connected to same HUB,
 on my home LAN, both can ping/replay each other, both NIC interfaces are 
up.


 XP is the internet gateway. 192.168.0.1 and BSD is 192.168.0.2

 The problem is when i Open my SecureCRT in XP and try to SSH (using SSH2) 
to FreeBSD

 it never goeson, and on /var/messages always says its timedout.

 during installation I choose to run SSH, also after the fresh install i 
checked /etc/inetd.conf

 and i removed the # from the SSH line, then restarted the inetd.conf,
 but also the same!

 I never faced such thing on 4.x, and i heard from somewhere that between 
SecureCRT and
 FreeBSD more than 5.x i have to change something in ssh configuration in 
the box,


 Anyhelp please?

 Marwan.

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: /boot at beginning of drive

2006-04-16 Thread Beech Rintoul
On Sunday 16 April 2006 13:30, Brendan Grossman wrote:
> > Having a separate /tmp slice is not a bad idea, combining /,
> > /usr, and /var is unless you're doing a very minimal install.
>
> I can separate /usr, but my goal is to combine /home and /var, or at least
> where mail and databases are stored, for reasons already mentioned.
>
> I suppose I could do this...
>
> / 5gb
> swap  4gb
> /tmp  1gb
> /usr  70gb
>
> Then /home -> /usr/home, /var -> /usr/var
>
> Or create a 60gb partition and call it /users
>
> Then /var/mail -> /users/mail, /var/dbdir -> /users/dbdir
>
> The drive is 80gb (effectively 74ish), and 60gb of it must be for users
> (using either /var or /home)
>
> I suppose it is a bit better.

If /home is symlinked to /usr/home, then use a MTA that will deliver mail 
to /home/user/mail. Databases are stored in /var/db for security reasons, but 
there's no reason you can't configure whatever db you're using to store 
database files in /usr. The reason for having a separate /var partition is in 
the event of a filesystem crash or you get hacked it's much easier to restore 
important files. The same holds true for /etc (which is part of /). Doing a 
restore of /usr just to get the system going again could take quite a while 
and trying to restore to non-standard locations is guaranteed to give you 
some grief. While there is no "standard" filesystem layout on *nix systems, 
the recommended layout is tried and true and will be much easier to 
troubleshoot without having to translate help documents to your custom setup.

Beech
-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---













pgpcH3ONtHJgQ.pgp
Description: PGP signature


Re: /boot at beginning of drive

2006-04-16 Thread Kent Stewart
On Sunday 16 April 2006 14:19, Colin Percival wrote:
> Brendan Grossman wrote:
> > Here is my reason for separating /tmp and mounting it
> > noexec,nosuid:
> >
> > http://www.sagonet.com/forums/showthread.php?t=2852
>
> Quoth mount(8):
>  noexec  Do not allow execution of any binaries on the
> mounted file system.  This option is useful for a server that has
> file systems containing binaries for architectures other than its
> own.  Note: This option was not designed as a security feature and no
> guarantee is made that it will prevent malicious code execution; for
> example, it is still possible to execute scripts which reside on a
> noexec mounted partition.
>
> Mounting /tmp as noexec causes perfectly good code to gratuitously
> fail, while providing no real security improvement.

Including weird system or port update failures.

Kent

-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ "I am Andean project".
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /boot at beginning of drive

2006-04-16 Thread RW
On Sunday 16 April 2006 22:30, Brendan Grossman wrote:
> > Having a separate /tmp slice is not a bad idea, combining /,
> > /usr, and /var is unless you're doing a very minimal install.
>
> I can separate /usr, but my goal is to combine /home and /var, or at least
> where mail and databases are stored, for reasons already mentioned.
>
> I suppose I could do this...
>
> / 5gb

That's far too  big,  my  /  has 166MB on it, including  a substantial amount 
of cruft. 

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


RE: /boot at beginning of drive

2006-04-16 Thread Brendan Grossman
> Having a separate /tmp slice is not a bad idea, combining /, 
> /usr, and /var is unless you're doing a very minimal install.

I can separate /usr, but my goal is to combine /home and /var, or at least
where mail and databases are stored, for reasons already mentioned.

I suppose I could do this... 

/   5gb
swap4gb
/tmp1gb
/usr70gb

Then /home -> /usr/home, /var -> /usr/var

Or create a 60gb partition and call it /users

Then /var/mail -> /users/mail, /var/dbdir -> /users/dbdir

The drive is 80gb (effectively 74ish), and 60gb of it must be for users
(using either /var or /home)

I suppose it is a bit better. 


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


Not receiving email from FreeBSD lists on Gmail for about 3 days

2006-04-16 Thread Joao Barros
Hi all,

I'm subscribed to several FreeBSD lists and I stopped receiving any
email on my gmail account on the 13th.
Anyone else experiencing this problem or the exact opposite, actually
receiving mail on your gmail account?

Please add me as a direct recipient for any response.

My thanks in advance,

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


Re: adding root cert to openssl

2006-04-16 Thread Tobias Roth
On Sun, Apr 16, 2006 at 10:03:03AM -0400, Robert Huff wrote:
> 
> Tobias Roth writes:
> 
> >  I'd like to add a certificate to OpenSSL. The OpenSSL HOWTO mentions
> >  OPENSSLDIR, which is /etc/ssl on FreeBSD (for OpenSSL from base). To
> >  have OpenSSL recognize a new certificate, it has to be put into
> >  OPENSSLDIR/certs/, but this does not exist on FreeBSD. The
> >  only certs/ dir I could find is /usr/src/crypto/openssl/certs/.
> >  
> >  So my question: How to add a certificate to OpenSSL on FreeBSD?
> 
>   Have you encountered any reason you can't just create the
> directory yourself?

It seems creating the dir, copying the cert file into there, and
creating a hash symlink, as advised in the OpenSSL Howto, has no
effect.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /boot at beginning of drive

2006-04-16 Thread Colin Percival
Brendan Grossman wrote:
> Here is my reason for separating /tmp and mounting it noexec,nosuid:
> 
> http://www.sagonet.com/forums/showthread.php?t=2852

Quoth mount(8):
 noexec  Do not allow execution of any binaries on the mounted
 file system.  This option is useful for a server that has
 file systems containing binaries for architectures other
 than its own.  Note: This option was not designed as a
 security feature and no guarantee is made that it will
 prevent malicious code execution; for example, it is
 still possible to execute scripts which reside on a
 noexec mounted partition.

Mounting /tmp as noexec causes perfectly good code to gratuitously fail,
while providing no real security improvement.

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


Re: /boot at beginning of drive

2006-04-16 Thread RW
On Sunday 16 April 2006 21:51, Brendan Grossman wrote:
> > -Original Message-
> > From: Beech Rintoul [mailto:[EMAIL PROTECTED]
> > Sent: Monday, 17 April 2006 6:19 AM
> > To: freebsd-questions@freebsd.org
> > Cc: Brendan Grossman
> > Subject: Re: /boot at beginning of drive
> >
> > On Sunday 16 April 2006 12:38, Brendan Grossman wrote:
> > > > It's not a good idea to put everything on the / filesystem.
> > > > At a minimum I would have:
> > > > /
> > > > swap
> > > > /var
> > > > /usr
> > > >
> > > > Your users will not fill up /var unless you allow them unlimited
> > > > mail, databases or access to root.
> > >
> > > They will have unlimited access up until their quota has
> >
> > been reached.
> >
> > > Where they use that quota is anyone's guess.
> > >
> > > > User's tempfiles will go to /usr/tmp.
> > >
> > > How does that work? I just checked /tmp, and it's not a symlink.
> >
> > Copy the contents of /tmp to /usr/tmp then remove /tmp and
> > symlink /usr/tmp to /tmp.
>
> Yes, may I ask what the point is though?
>
> Here is my reason for separating /tmp and mounting it noexec,nosuid:
>
> http://www.sagonet.com/forums/showthread.php?t=2852

Then have it as a separate partition, this has no relevance to your situation 
at all. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /boot at beginning of drive

2006-04-16 Thread Beech Rintoul
On Sunday 16 April 2006 12:51, Brendan Grossman wrote:
> > -Original Message-
> > From: Beech Rintoul [mailto:[EMAIL PROTECTED]
> > Sent: Monday, 17 April 2006 6:19 AM
> > To: freebsd-questions@freebsd.org
> > Cc: Brendan Grossman
> > Subject: Re: /boot at beginning of drive
> >
> > On Sunday 16 April 2006 12:38, Brendan Grossman wrote:
> > > > It's not a good idea to put everything on the / filesystem.
> > > > At a minimum I would have:
> > > > /
> > > > swap
> > > > /var
> > > > /usr
> > > >
> > > > Your users will not fill up /var unless you allow them unlimited
> > > > mail, databases or access to root.
> > >
> > > They will have unlimited access up until their quota has
> >
> > been reached.
> >
> > > Where they use that quota is anyone's guess.
> > >
> > > > User's tempfiles will go to /usr/tmp.
> > >
> > > How does that work? I just checked /tmp, and it's not a symlink.
> >
> > Copy the contents of /tmp to /usr/tmp then remove /tmp and
> > symlink /usr/tmp to /tmp.
>
> Yes, may I ask what the point is though?
>
> Here is my reason for separating /tmp and mounting it noexec,nosuid:
>
> http://www.sagonet.com/forums/showthread.php?t=2852
>
Having a separate /tmp slice is not a bad idea, combining /, /usr, and /var is 
unless you're doing a very minimal install.

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---













pgpDHxI1ZkyoC.pgp
Description: PGP signature


gateway setup

2006-04-16 Thread steve lasiter
I just moved into a new position and will be
implementing a new network topology and I wanted to
use the opportunity to introduce them to FreeBSD. I'll
be setting up a FreeBSD gatewall/firewall with 3 NICs
behind two networks. Say, fxp0-cable modem to nic1,
fxp1-nic2 to a Microsoft Small Business Server 2003
box, and fxp2-nic3 to webserver and wireless.

Gateway 10.0.0.1

The first 192.168.1.1/24 network will be gateway - SBS
box - switch - LAN with 10 PCs.

The second 192.168.10.1/24 network will be gateway -
switch - wireless LAN and Windows 2003 box serving as
a webserver. Leaves me room to grow on both.

My questions: 

We currently have DSL but are moving to Cable for more
speed and I'm trying to get two static IP addresses,
one for each network. The reasoning is based on the
way the SBS box takes over port 80 and 443 for
internal purposes and it appears that redirection
would be a mess with the webserver. Is the setup as
simple as configuring each of fxp1 and fxp2 NICs to
the private addresses and then using the same 10.0.0.1
gateway entries for all?

Are there any out there that have set up successful
topologies with two IPs and three NICs? What are some
of the options and pitfalls?

If I only have one IP available and need to direct to
several websites on the one network and internal
services (using ports 890 and 443) on the other
network how can this be routed?

All input is appreciated as usual.

Steve L 






__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /boot at beginning of drive

2006-04-16 Thread RW
On Sunday 16 April 2006 21:38, Brendan Grossman wrote:

> I agree that it's not a great idea, but considering the software I'm using,
> user files are stored in /var and /home. I don't know what percentage of
> quotas users will use for emails, databases, or home dirs, and I don't want
> to take a guess. If say they were to use a lot of their quota for
> databases, then down the track I don't want to have the problem with /var
> full but users still under their quota.
>
> By the way just did an install, and it boots fine with the swap, /tmp, /
> structure.

The default is to put most of the space under /usr and symlink /home 
to /usr/home. There's no reason why you can't extend this, and if you really 
must, put and /var and /tmp  under /usr too. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: /boot at beginning of drive

2006-04-16 Thread Brendan Grossman
> -Original Message-
> From: Beech Rintoul [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 17 April 2006 6:19 AM
> To: freebsd-questions@freebsd.org
> Cc: Brendan Grossman
> Subject: Re: /boot at beginning of drive
> 
> On Sunday 16 April 2006 12:38, Brendan Grossman wrote:
> > > It's not a good idea to put everything on the / filesystem.
> > > At a minimum I would have:
> > > /
> > > swap
> > > /var
> > > /usr
> > >
> > > Your users will not fill up /var unless you allow them unlimited 
> > > mail, databases or access to root.
> >
> > They will have unlimited access up until their quota has 
> been reached.
> > Where they use that quota is anyone's guess.
> >
> > > User's tempfiles will go to /usr/tmp.
> >
> > How does that work? I just checked /tmp, and it's not a symlink.
> 
> Copy the contents of /tmp to /usr/tmp then remove /tmp and 
> symlink /usr/tmp to /tmp.

Yes, may I ask what the point is though? 

Here is my reason for separating /tmp and mounting it noexec,nosuid:

http://www.sagonet.com/forums/showthread.php?t=2852

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


Re: /boot at beginning of drive

2006-04-16 Thread Beech Rintoul
On Sunday 16 April 2006 12:38, Brendan Grossman wrote:
> > It's not a good idea to put everything on the / filesystem.
> > At a minimum I would have:
> > /
> > swap
> > /var
> > /usr
> >
> > Your users will not fill up /var unless you allow them
> > unlimited mail, databases or access to root.
>
> They will have unlimited access up until their quota has been reached.
> Where they use that quota is anyone's guess.
>
> > User's tempfiles will go to /usr/tmp.
>
> How does that work? I just checked /tmp, and it's not a symlink.

Copy the contents of /tmp to /usr/tmp then remove /tmp and symlink /usr/tmp 
to /tmp.

>
> > On a system with many users, you should
> > consider a /home slice with quotas on that and your
> > mailserver set to deliver mail to the users file. Remember
> > not everyone is going to max out their filesystem so quotas
> > can be set to reasonable values. There are many good reasons
> > to separate those filesystems, disk performance and
> > crashdumps being just two. Having many users is NOT a good
> > reason to combine filesystems. You need to rethink your
> > diskspace or add another drive for /home or /usr. The
> > handbook has a good section on this.
>
> I agree that it's not a great idea, but considering the software I'm using,
> user files are stored in /var and /home. I don't know what percentage of
> quotas users will use for emails, databases, or home dirs, and I don't want
> to take a guess. If say they were to use a lot of their quota for
> databases, then down the track I don't want to have the problem with /var
> full but users still under their quota.
>
> By the way just did an install, and it boots fine with the swap, /tmp, /
> structure.
>
> Cheers
> Brendan
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---













pgpBocgwSgvEK.pgp
Description: PGP signature


Re: [SOLVED] Re: seeking help on "adding a disk"

2006-04-16 Thread Jerry McAllister
> > > 
> > > 
> > > This is all I have:
> > > 
> > > $ ls -lh /dev/r*
> > > crw-rw-rw-  1 root  wheel0,  10 Apr  9 15:55 /dev/random
> > > 
> > > No raw devices.
> > 
> > Yes.  devices don't just show up and stay there any more.  They
> > are managed by devfs.   I haven't studied that to see just how
> > it works yet, so I don't know at which point it should start showing
> > up in /dev if ever.
> > 
> > I just figured trying a newfs with the /dev/r... might be something
> > to try out to see what happened - sort of an experiment and if that
> > doesn't do it, then maybe the thing to pursue is your concern about
> > the cables.
> > 
> > If that doesn't work, I think this has gone beyond any problems I
> > have
> > ever had so I don't know what else to suggest.  Hopefully someone
> > else 
> > will have some thing to say.
> > 
> > jerry
> 
> 
> I changed to a UDMA 133 cable (80-wire) and that solved the problem;
> the newfs command succeeded!

So, you were right in the first place.
Well, that is often the way it is.

Enjoy,

jerry

> 
> Peter
> 
> ___
> 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: FreeBSD-4.11 and 4GB RAM

2006-04-16 Thread Beech Rintoul
On Sunday 16 April 2006 11:18, Odhiambo Washington wrote:
> On my brand new Dell PowerEdge, now running FreeBSD 4.11-RELEASE under
> test, there is 4GB RAM, but looking at dmesg.boot, this is what shows:
>
> real memory 268173312 (261888K bytes)
> available memory 255455235 (249468K bytes)
>
> This is 2GB RAM only showing, with kernel.GENERIC.
>
> There must be something I need to compile in the kernel so as to access
> more than 2GB RAM.
>
> I have compiled "options PAE" in the kernel but it still does not see
> the full 4GB RAM.

4.11 will soon be completely unsupported, besides putting 4.11 on a new server 
is akin to putting a flathead-6 engine in a Ferrari. You should 
upgrade/reinstall 6-pr and go from there. You will have far fewer problems.

Just my $.02

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---













pgpcadwTx7tcm.pgp
Description: PGP signature


Newbie question - cannot add new disk

2006-04-16 Thread Oliver Iberien
Hi,

I have been trying to add a second IDE hard drive. I can't seem to get it 
mounted, or to get what I put into sysinstall and what comes out when I use 
the command line to agree.

I can use sysinstall and then run newfs:
bsd# newfs /dev/ad1s1c
/dev/ad1s1c: 39205.5MB (80292804 sectors) block size 16384, fragment size 2048
using 214 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976,
[...]
 78281376, 78657728, 79034080, 79410432, 79786784, 80163136

So it looks as if there is a slice there using the whole 40G disk, called 
ad1s1c. But:

bsd# disklabel ad1
disklabel: /dev/ad1 read: Input/output error

And with the following line in /etc/fstab

/dev/ad1s1c /disk2  ufs rw  1   1

bsd# mount -u /dev/ad1s1c /disk2
mount: /dev/ad1s1c on /disk2: specified device does not match mounted device

Using the command line utilities:

bsd# disklabel -Brw ad1 auto
bsd# disklabel -e ad1s1
disklabel: /dev/ad1s1: No such file or directory
bsd# disklabel -e ad1c
disklabel: /dev/ad1c read: Input/output error
bsd# newfs /dev/ad1s1c
newfs: /dev/ad1s1c: could not find special device
bsd# fdisk -BI ad1
*** Working on device /dev/ad1 ***
fdisk: Geom not found

And so I go round and round, as at that point I have to use sysinstall again. 
I tried this with two disks, both of which were good under linux. The 180G 
Seagate spat out DMA errors at startup, and I got nowhere with it. This one 
is a 40G Maxtor.

I suppose I could change out the cable (I have none handy otherwise I would 
have) although I can't see why a cable that worked for linux would not work 
now. Master/slave are set correctly. I could not mount linux partitions, 
either, despite the recompile -- don't know if that's related. I'd be 
grateful for any ideas. 

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


RE: /boot at beginning of drive

2006-04-16 Thread Brendan Grossman
> It's not a good idea to put everything on the / filesystem.
> At a minimum I would have:
> /
> swap
> /var
> /usr
> 
> Your users will not fill up /var unless you allow them 
> unlimited mail, databases or access to root. 

They will have unlimited access up until their quota has been reached. Where
they use that quota is anyone's guess.

> User's tempfiles will go to /usr/tmp.

How does that work? I just checked /tmp, and it's not a symlink. 

> On a system with many users, you should 
> consider a /home slice with quotas on that and your 
> mailserver set to deliver mail to the users file. Remember 
> not everyone is going to max out their filesystem so quotas 
> can be set to reasonable values. There are many good reasons 
> to separate those filesystems, disk performance and 
> crashdumps being just two. Having many users is NOT a good 
> reason to combine filesystems. You need to rethink your 
> diskspace or add another drive for /home or /usr. The 
> handbook has a good section on this. 

I agree that it's not a great idea, but considering the software I'm using,
user files are stored in /var and /home. I don't know what percentage of
quotas users will use for emails, databases, or home dirs, and I don't want
to take a guess. If say they were to use a lot of their quota for databases,
then down the track I don't want to have the problem with /var full but
users still under their quota. 

By the way just did an install, and it boots fine with the swap, /tmp, /
structure. 

Cheers
Brendan

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


Out of memory during ridiculously large request

2006-04-16 Thread Roger Williams
Since an upgrade to 6.0 (perl 5.8.8) I am getting the following error:

>>Out of memory during ridiculously large request at
/usr/local/pop-before-smtp-1.36/pop-before-smtp line 355

Below is the offending line:

>> foreach (keys %db)

While googling I see there are other programs having the same issue.  Any
ideas on how to get perl/freebsd to let the program work?

Thanks,
Roger

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


FreeBSD-4.11 and 4GB RAM

2006-04-16 Thread Odhiambo Washington
On my brand new Dell PowerEdge, now running FreeBSD 4.11-RELEASE under 
test, there is 4GB RAM, but looking at dmesg.boot, this is what shows:

real memory 268173312 (261888K bytes)
available memory 255455235 (249468K bytes)

This is 2GB RAM only showing, with kernel.GENERIC.

There must be something I need to compile in the kernel so as to access
more than 2GB RAM.

I have compiled "options PAE" in the kernel but it still does not see
the full 4GB RAM.


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

It's not the valleys in life I dread so much as the dips.
-- Garfield
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /boot at beginning of drive

2006-04-16 Thread Beech Rintoul
On Sunday 16 April 2006 11:59, Brendan Grossman wrote:
> > -Original Message-
> > From: Glenn Dawson [mailto:[EMAIL PROTECTED]
> > Sent: Monday, 17 April 2006 5:16 AM
> > To: Brendan Grossman; freebsd-questions@freebsd.org
> > Subject: Re: /boot at beginning of drive
> >
> > /boot has to be in the / file system.
> >
> > There's a rather lengthy thread about this a few months back
> > if you search the archives.
>
> Think I found it...
> http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-July/092614.h
>t ml
>
> That's not good then. I'm setting up a system with many users, who will
> need access to /var and their /home. They will have quotas, so data in /var
> + data in /home must be less than their quota. Obviously it's not a good
> idea to create separate /var and /home partitions as for example, if say
> /var filled up, the user won't be able to write to it, even though they are
> "allowed" to since their quota hasn't been reached.
>
> Hmmm... Does /boot have to be in the first 1024 cylinders still? I could
> adjust my scheme as such:
>
> swap 1gb
> /tmp 500mb (mounted noexec,nosuid)
> / remainder

It's not a good idea to put everything on the / filesystem.
At a minimum I would have:
/
swap
/var
/usr

Your users will not fill up /var unless you allow them unlimited mail, 
databases or access to root. User's tempfiles will go to /usr/tmp. On a 
system with many users, you should consider a /home slice with quotas on that 
and your mailserver set to deliver mail to the users file. Remember not 
everyone is going to max out their filesystem so quotas can be set to 
reasonable values. There are many good reasons to separate those filesystems, 
disk performance and crashdumps being just two. Having many users is NOT a 
good reason to combine filesystems. You need to rethink your diskspace or add 
another drive for /home or /usr. The handbook has a good section on this. 

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---













pgpSnO0Ddb3Dq.pgp
Description: PGP signature


RE: /boot at beginning of drive

2006-04-16 Thread Brendan Grossman
> -Original Message-
> From: Glenn Dawson [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 17 April 2006 5:16 AM
> To: Brendan Grossman; freebsd-questions@freebsd.org
> Subject: Re: /boot at beginning of drive
> 
> /boot has to be in the / file system.
> 
> There's a rather lengthy thread about this a few months back 
> if you search the archives.

Think I found it...
http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-July/092614.ht
ml

That's not good then. I'm setting up a system with many users, who will need
access to /var and their /home. They will have quotas, so data in /var +
data in /home must be less than their quota. Obviously it's not a good idea
to create separate /var and /home partitions as for example, if say /var
filled up, the user won't be able to write to it, even though they are
"allowed" to since their quota hasn't been reached. 

Hmmm... Does /boot have to be in the first 1024 cylinders still? I could
adjust my scheme as such:

swap 1gb
/tmp 500mb (mounted noexec,nosuid)
/ remainder

Will this cause any dramas?

Cheers
Brendan

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


Re: mouse scroll up problem

2006-04-16 Thread Pete Slagle

[EMAIL PROTECTED] wrote:

I have FreeBSD 6.0-RELEASE and optical Microsoft IntelliMouse Explorer, 
USB native, plugged to PS/2 port via it's own USB->PS/2 adaptor.


When I scroll my mouse wheel up in X11 it acts like "scroll up + left 
button one/double-click". For example, in Opera, Firefox. In MS Windows 
mouse works correctly.


boot message:
psm0: model IntelliMouse Explorer, device ID 4

xorg.conf fragment:
"Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/sysmouse"
Option  "Buttons" "5"
Option  "ZAxisMapping" "4 5"
EndSection"

/etc/rc.conf fragment:
moused_enable="YES"
moused_type="auto"
moused_port="/dev/psm0"
moused_flags="-F 200 -r high -a 2.5 -l 1"
mousechar_start=3


I am running the same mouse in the same way on the same release. Here is 
what is working for me:


Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Device" "/dev/sysmouse"
Option  "Protocol" "sysmouse"
Option  "ZAxisMapping" "4 5"
EndSection

moused_enable="YES" # don't use type "auto" with KVM
moused_nondefault_enable="NO"
moused_type="ps/2 -l 2" # -l 2 for scroll (fails in _flags)
moused_flags=""

[end]


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


Re: /boot at beginning of drive

2006-04-16 Thread Glenn Dawson

At 12:40 PM 4/16/2006, Brendan Grossman wrote:

Hello

I'm trying to install FreeBSD with the following partition scheme...

/boot 100mb (50mb too small? Install fails with filesystem full error)
swap 1gb
/tmp 100mb
/ remainder

However after I install and boot, it says it can't find /boot/kernel/kernel

The version is 6.0. Am I missing sometihng obvious? Does it need to mount /
first? If so, how?


/boot has to be in the / file system.

There's a rather lengthy thread about this a few months back if you 
search the archives.


-Glenn



Cheers
Brendan

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


/boot at beginning of drive

2006-04-16 Thread Brendan Grossman
Hello

I'm trying to install FreeBSD with the following partition scheme...

/boot 100mb (50mb too small? Install fails with filesystem full error)
swap 1gb
/tmp 100mb
/ remainder

However after I install and boot, it says it can't find /boot/kernel/kernel

The version is 6.0. Am I missing sometihng obvious? Does it need to mount /
first? If so, how?

Cheers
Brendan 

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


nvnet fails to make

2006-04-16 Thread jekillen

I hope this would be appropriate for this list,
I have just downloaded the distfile for the nvnet network interface 
card built in to a Gigabyte motherboard.

The make command aborted with an avalanche of errors, see attachment.
Does anyone have any info that would help me correct this situation so 
I can get my network up on this

connection?
Thank in advance.
JK4/16/06 ~12:20 P.M. PDT
this file: nvnet-src-20050312.tar.gz was just downloaded from the FreeBSD web 
site
ports section and put in the distfiles dir.

FreeBSD v6.0 on AMD64 socket 939
Gigabyte mb with built in nvidia NIC.

# cp /usr/home/jekillen/to_AMD64-939/nvnet-src-20050312.tar.gz 
/usr/ports/distfiles
# make
===>  Vulnerability check disabled, database not found
===>  Extracting for nvnet-1.0.0301
=> Checksum OK for nvnet-src-20050312.tar.gz.
===>  Patching for nvnet-1.0.0301
===>  Applying FreeBSD patches for nvnet-1.0.0301
===>  Configuring for nvnet-1.0.0301
===>  Building for nvnet-1.0.0301
===> module (all)
"/usr/share/mk/bsd.compat.mk", line 36: warning: NOOBJ is deprecated in favor 
of NO_OBJ
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
awk -f @/tools/makeobjops.awk @/dev/mii/miibus_if.m -h
awk -f @/tools/miidevs2h.awk @/dev/mii/miidevs
cp /usr/ports/net/nvnet/work/nvnet/module/../nforce/nvnet/nvenetlib.o.i386 
nvenetlib.o
cc -O2 -fno-strict-aliasing -pipe   
-I/usr/ports/net/nvnet/work/nvnet/module/../nforce/nvnet 
-I/usr/ports/net/nvnet/work/nvnet/module/../src -Werror -D_KERNEL -DKLD_MODULE 
-nostdinc -I-  -I/usr/ports/net/nvnet/work/nvnet/module/../nforce/nvnet 
-I/usr/ports/net/nvnet/work/nvnet/module/../src -I. -I@ -I@/contrib/altq 
-I@/../include -I/usr/include -finline-limit=8000 -fno-common  
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow 
-mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99 -c 
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:106:31: 
machine/bus_memio.h: No such file or directory
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c: In function `nv_attach':
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:503: error: structure has 
no member named `ac_enaddr'
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:506: error: structure has 
no member named `ac_enaddr'
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:506: warning: ethernet 
address is not type unsigned char * (arg 3)
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:518: error: structure has 
no member named `ac_if'
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:544: error: structure has 
no member named `ac_enaddr'
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c: In function `nv_detach':
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:581: error: structure has 
no member named `ac_if'
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c: In function `nv_init':
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:651: error: structure has 
no member named `ac_if'
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:654: error: `IFF_RUNNING' 
undeclared (first use in this function)
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:654: error: (Each 
undeclared identifier is reported only once
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:654: error: for each 
function it appears in.)
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:673: error: structure has 
no member named `ac_enaddr'
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:683: error: `IFF_OACTIVE' 
undeclared (first use in this function)
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c: In function `nv_stop':
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:705: error: structure has 
no member named `ac_if'
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:725: error: `IFF_RUNNING' 
undeclared (first use in this function)
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:725: error: `IFF_OACTIVE' 
undeclared (first use in this function)
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c: In function `nv_ifstart':
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:877: error: `IFF_OACTIVE' 
undeclared (first use in this function)
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c: In function `nv_ioctl':
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:1013: error: 
`IFF_RUNNING' undeclared (first use in this function)
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c: In function `nv_intr':
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:1060: error: structure 
has no member named `ac_if'
/usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:1078: error: structure 
has no member named `ac_if'
/usr/ports/net

Re: Improving kde perfomance...

2006-04-16 Thread Paulino Calderon
Hey.
I did jump in logic assuming kde is to blame, so I tried fluxbox on this
machine and everything runs normal, XOrg cpu usage is <1%. but while I was
setting everything up some stuff happened that I would like to mention.

First I noticed there are two instances of kdm running at the same time even
though I dont start it from rc.d, I only modified /etc/ttys file, also when
I modified it to start fluxbox instead of kdm this error comes up:

init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs

I dont know if this is a different problem though.

Then I decided to check out my xorg config file, I realized I was using the
default one that loads in case you dont have one , and the next logical step
it was to create one to avoid this right?
So I created the base file doing Xorg -configure, but when I tested it this
time x dindt load, it said something about radeon module not located, I did
a kldload radeon but still same error.

So how am i running x right now? I added the fluxbox exec line to .xinitrc
and did a startx, I guess Im using the same auto default config file that I
used when i was running kdm, oh I almost forgot i did installed it from
source.

Thank you all for your response.




On 4/15/06, Paulino Calderon <[EMAIL PROTECTED]> wrote:
>
> Hey folks, Ive been googling about howto improve kde perfomance, i ve
> always used fluxbox as my wm but recently I got a new laptop, it has a 3.2ghz 
> processor, 1 gb of ram, and an ati mobility radeon x600 wiith 256 mb of
> video meomry so I decided to try kde but so far the perfomance has benn
> really poor, cpu usage is always between 20-25% eventhough im not doing
> anything, most apps takes between 5 and 10 seconds to start, and even the
> mouse pointer feels like it gets stuck when i move it too fast, is this as
> fast as it gets for kde? or do you guys think there is osmething wrong with
> my installation? I instaleld it via ports by the way.
>
> Thanks for your help.
>
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Anything to recode mp3 files in the ports?

2006-04-16 Thread dgmm
On Saturday 15 April 2006 14:08, Mikhail Teterin wrote:
> Hi!
>
> I have a sizable collection of mp3 files (most of my CDs, actually) encoded
> at high ratio for archiving.
>
> I'd like to put some of them on a low-capacity player. Is there a utility
> (preferably -- a ported one), that can reencode an existing mp3 file at
> lower quality settings (hence smaller size), or do I have to re-rip the CDs
> from scratch?
>
> Thanks!
>
>   -mi

I used this last year to convert a collection of radio shows, audio books and 
music.  I wanted different rates dependant on content and at the time thought 
this was the way to go.  If you try it, beware that it does not cope well 
with "odd" filesnames, eg with spaces in the name etc.

(watch out for line wrap)

#!/bin/sh
basedir=/home1/convert
touch ${basedir}/mp3lock
# Convert all mp3 files in $basedir to $bitrate, $samplerate, $channels
# where $bitrate, $samplerate and $channels are derived from the pathname.
#
# $basedir - "top" of the tree to convert. Below $basedir should be two
#directories named "todo" and "done".
#Below "todo" you must create directories named using this
#convention:
#@[EMAIL PROTECTED]@cc@ - where bb is the desired bitrate, ss is 
the desired
# samplerate and cc is the channels or mode.  The mode
# may be one of s, stereo, j, joint-stereo, m, mono,
# f, forced joint-stereo or d, duel channel.
#The mp3 files will be stored  below "todo/@[EMAIL PROTECTED]@cc@" 
and will be
#converted using the parameters extracted from the directory name 
and
#then saved into an identical dir structure below "done".
#
#Note:  Spaces in the filenames will be replaced with underscores.
#   Spaces in directory names will remain as is
#
#The original file will be deleted after it has been converted.
#Comment out the rm "$filename" near the end to keep the original.
#
# $ffile  - just the filename (in case we need this at a future date)
#
# $destfile - full, modified, path to the "done" dir tree

find "$basedir"/todo -name "*.mp3" -type f |
while read filename
  do
destfile=`echo -n "$filename" | sed 's/\/todo\//\/done\//' | sed 
's/ /_/g'`
ffile=${destfile##*/}
fpath=${destfile%/*}
# Check if dest. path exists, create if req.
if [ ! -d "$fpath" ]
  then
mkdir -p "$fpath"
fi
# Get conversion parameters from pathname
bitrate=`echo $destfile | cut -f 2 -d @`
samplerate=`echo $destfile | cut -f 3 -d @`
channels=`echo $destfile | cut -f 4 -d @`
nice -n 20 lame -h -b $bitrate --resample $samplerate -m $channels 
"$filename" "$destfile"
#   rm "$filename"
  done
rm `echo ${basedir}/mp3lock`



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


Re: direct rending doesnt work in xorg

2006-04-16 Thread Björn König

Danny Butroyd schrieb:


Section "Device"
Identifier  "Card0"
Driver  "ati"
VendorName  "ATI Technologies Inc"
BoardName   "Radeon R250 Lf [Radeon Mobility 9000 M9]"
BusID   "PCI:1:0:0"
Screen  0
EndSection


You have to use the driver "radeon" in order to use 3D acceleration.


[rvn] /home/danny# glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.0.3 r200 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed
(/usr/X11R6/lib/modules/dri/r200_dri.so: Undefined symbol
"_glapi_add_entrypoint")
libGL error: unable to find driver: r200_dri.so

The solution (according to the wiki) is to reinstall DRI and LIBGL from
source, however, I have reinstalled all the relevant ports but I still
get the same problem.  Can anyone help?


Does /usr/X11R6/lib/modules/dri/r200_dri.so exist?

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


Re: wireless setup help

2006-04-16 Thread Patrick Bowen

[EMAIL PROTECTED] wrote:


Hi,

I'm having difficulties connecting to my roommate's apple airport.

Following the guide I tried using a fixed IP:
ifconfig ath0 10.0.1.5 netmask 0xff00 ssid "True That"
but got "status: no carrier" and obviously couldn't ping anything.

I believe WEP is turned off at the moment as my roommate joins without any
password.

next I tried the dhcp method from someone in the mailing list.  I added
these lines to rc.conf then rebooted:
ifconfig_ath0="DHCP"
ifconfig ath0 ssid "True That"

at reboot dhcp wasn't able to pick up any leases and I saw "status: no
carrier" on ifconfig ath0.

FreeBSD wireless setup is new to me, so I'm probably missing something
obvious.  The card is a DLink Airplus G and I have the if_ath.ko loading
at boot without any problems.  Any hints are most appreciated. Thanks,
Nathan

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

 



Nathan;

Unless the Apple device is running a DHCP server (you didn't mention if 
you knew that to be true), setting "ifconfig_ath="DHCP"" in rc.conf will 
have no effect. Have you tried setting the IP and netmask and ssid to 
what your roommate's machine is using (just to see if it works)?


Also, the line in your rc.conf, "ifconfig ath0 ssid "True That"" is, I 
suspect, wrong. I'll bet it needs to be something like 
"ifconfig_ath0_ssid="True That".


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


Re: Why are people singing there postings on this mailling list ?

2006-04-16 Thread dgmm
On Saturday 15 April 2006 15:23, Benjamin Lutz wrote:
> On Saturday 15 April 2006 15:23, Kees Plonsz wrote:
> > Is is so important to know that the question or answer came from
> > that person ? I don't think so.
> > Even if it were so, for me it is too much trouble to import every key
> > into my key-database from a key-server.
>
> I sign emails for the same reason I sign my snail-mail letters with a pen.
> I like providing authenticity. Whether the recipient actually checks the
> signatures is not that important, important is that if the need or desire
> arises, he can.
>
> I don't import every key I come across either, usually only those keys for
> which I get signatures on a regular basis.
>
> > On the other hand, those who aren't able to read singed messages
> > are confronted with a lot of carbage tekst wich makes the posting
> > harder to read.
>
> Most people use PGP/Mime these days. If your mail client does not support
> PGP, the signature will be surpressed or maybe shown as attachment. Either
> way, that doesn't make the mail content harder to read. And if your Mail
> client doesn't support Mime yet, well, that's your choice, and seeing the
> signature plaintext is far from the worst inconvience you'll have to put up
> with in that case.
>
> > We don't send postings in .html for that same reason.
>
> That's different. Html text means there's no readable content at all for
> non-HTML mail readers. And these are quite common.
>
> I sign my emails for two other reasons. First, I'm advocating adoption of
> PGP by everyone. I wish to sensitize people for the facts that standard
> emails are neither private nor authenticated, and that you can achieve
> these very important things with PGP. Frankly, I find it staggering how
> many people send around confidential information in emails over the public
> internet, without thinking of the consequences.
>
> The second reason is very personal. It takes some effort on my part to sign
> email. I am not using any key agent, which means I enter my keyphrase every
> time I send an email. This makes the process of sending an email more
> conscious for me: I think twice whether I really want to send it. Sometimes
> times I've stopped myself from sending an email I would later regret (a
> flame, or an angry answer, something like that) at the signing stage. It
> means that sending an email is not as much of a fire-and-forget thing for
> me. I like that.

You raise some good points there.  I've not looked at the above at all for my 
own use yet.  Do you recommend some reading on what it is, how-tos etc which 
are a little less "dry" than man pages? 

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


kill aRts

2006-04-16 Thread eoghan

Hello
Im having some trouble with my sound on gnome. When I go to my 
multimedia system selector both my default sink and default source are 
set to OSS, but when i test them i get:

"Failed to construct test pipeline for 'OSS - Open Sound System'"
I would like to kill aRts to see if this is my problem... Im using 
KMPlayer from gnome and was thinking these kde apps might try use aRts?

Totem won't start cos audio output was not found.
Would this be an aRts issue as i previously used KDE? I searched for 
some specific information for the oss error message and setting sound on 
gnome but did not find much.

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


wireless setup help

2006-04-16 Thread nathan
Hi,

I'm having difficulties connecting to my roommate's apple airport.

Following the guide I tried using a fixed IP:
ifconfig ath0 10.0.1.5 netmask 0xff00 ssid "True That"
but got "status: no carrier" and obviously couldn't ping anything.

I believe WEP is turned off at the moment as my roommate joins without any
password.

next I tried the dhcp method from someone in the mailing list.  I added
these lines to rc.conf then rebooted:
ifconfig_ath0="DHCP"
ifconfig ath0 ssid "True That"

at reboot dhcp wasn't able to pick up any leases and I saw "status: no
carrier" on ifconfig ath0.

FreeBSD wireless setup is new to me, so I'm probably missing something
obvious.  The card is a DLink Airplus G and I have the if_ath.ko loading
at boot without any problems.  Any hints are most appreciated. Thanks,
Nathan

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


Plip0:< PLIP network interface> on ppbus0 error .

2006-04-16 Thread Tony Karanja
Dear support. 

  Am trying to install FreeBSD  4.11 on a new machine without anyother
software ( HP Compaq dx6120 ) with SATA 80 Gb harddisk. But I keep on
getting this error. Plip0:< PLIP network interface> on ppbus0. 

 

Reason am using the archived version is due to the fact that Etinc bandwidth
manager requires the os to be installed. Otherwise would have used a higher
version. Kindly assist as I really want to run the FreeBSD and the bandwidth
Manager soonest. 

 

Regards

Tony Karanja

Technical Advisor

Myisp Limited 

Nairobi Kenya 

 

 

 

 

 

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


Re: First Upgrade SUCCESS!

2006-04-16 Thread Chuck Swiger

Grant Peel wrote:
[ ... ]
1). Is there a simpler way to run mergmaster. What I wound up doing 
after going blind reading all the diffs, and saying I would 'Deal With 
Them LAter" was to re-run it and hit 'i' to accept the newly installed 
version, as the manpage states 'i' is the most commonly used one. So the 
question is, is all I really need to deal with now, rc.conf, 
master.passwd, group, sshd_config etc? Should I be accepting 99% of them 
with 'i'?


You can accept about 95% of them with 'i'.

Do a "ls -ltr /etc" and worry about merging only those that have been changed 
recently, or at least after the OS was first installed.


2). I have a 4.10 and 4.7 server that I need to upgraded. Can I go from 
them to 6.1 (When RCn is released?) Or will I need to upgrade to 5.x 
first? Or, would a virgin install be better here?


You could go to 5.5 and then to 6, but it's probably easier to do a binary 
reinstall (possibly on a new drive? a 4.7 machine would have ~5 year or disks in 
it)...


3). My Primary nameserver is running 5.2.1. Will it be safe, i.e. will 
the upgrade process leave my MySQL and BIND setups alone? If not, what 
must I do to save them? (Other than backing them up, which I of course 
will do).


Ugh.  :-)  You should upgrade anything running 5.2.1 to 5.5 or 6.

4). My Secondary nameserver is 4.4 (Yeah, I know ...). Is it safe to 
upgrade it simlar to whatever the answer to '2' above is? i.e. straight 
to 6.1, or 5.x first, or clean install?


Build out new 6.x machines and transition your services off your old hardware, 
if you can?  You're going to experience less downtime than trying to upgrade in 
place, and if DNS is mission-critical, you ought to prioritize keeping it going...


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


Newbie question - using sysinstall "Upgrade an existing system" - easy?

2006-04-16 Thread Oliver Iberien
What actually happens when you use "Upgrade an existing system" in sysinstall? 
Do you end up with the X-server, etc., all functioning as before, or is there 
a lot of cleanup to do afterwards? 

(In my case, this would be from 6.0 to 6.1, whenever the release version of 
6.1 comes out. I am getting DMA errors in trying to install a second drive, 
and posts from this list give the impression that changing versions may make 
a difference.)

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


First Upgrade SUCCESS!

2006-04-16 Thread Grant Peel

Hi all,

   After using FreeBSD for many years, and all the time upgrading via 
backing up data and installing from new ISO CD, I have finally decided to 
talke the time and learn source and ports upgrading.


   The first one I did was on a devel server with a few ports installed. 
Upgraded 5.4 RELEASE to 6.1 RC1. Since I have DRAC cards on all the new 
servers I was able to do it completely remote!


   That having been said, I have a couple of questions.

1). Is there a simpler way to run mergmaster. What I wound up doing after 
going blind reading all the diffs, and saying I would 'Deal With Them LAter" 
was to re-run it and hit 'i' to accept the newly installed version, as the 
manpage states 'i' is the most commonly used one. So the question is, is all 
I really need to deal with now, rc.conf, master.passwd, group, sshd_config 
etc? Should I be accepting 99% of them with 'i'?


2). I have a 4.10 and 4.7 server that I need to upgraded. Can I go from them 
to 6.1 (When RCn is released?) Or will I need to upgrade to 5.x first? Or, 
would a virgin install be better here?


3). My Primary nameserver is running 5.2.1. Will it be safe, i.e. will the 
upgrade process leave my MySQL and BIND setups alone? If not, what must I do 
to save them? (Other than backing them up, which I of course will do).


4). My Secondary nameserver is 4.4 (Yeah, I know ...). Is it safe to upgrade 
it simlar to whatever the answer to '2' above is? i.e. straight to 6.1, or 
5.x first, or clean install?


The most help (I think) I need is with dealing with MERGEMASTER' as it seems 
a very 'thick' process to undertake.


-Grant







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


Re: Newbie question -- which files to back up?

2006-04-16 Thread Glenn Dawson

At 09:08 AM 4/16/2006, Oliver Iberien wrote:

On Sunday 16 April 2006 09:00, Glenn Dawson wrote:
> At 09:58 PM 2/22/2006, Andy Reitz wrote:
> >Hi Oliver,
> >
> >At a minimum, you will probably want to back up the following directories:
> >
> > /etc
> > /usr/local/etc
> > /home
> >
> >That will get all of the configuration files for FreeBSD and the
> >software thar you installed from ports.
>
> Actually, no.  If you want to backup the software installed from
> ports you will typically need /usr/local.
>
> The contents of /var/db would also be desirable so that you know
> which ports are installed on the machine among other things.
>
> -Glenn
>
> >  The last directory will det all of your user's data. Some other
> > applications might put data in other places, however, so you might
> > want to research the applications that you are running to make sure
> > you don't miss any important data.
> >
> >-Andy.

Thanks for all this information. Can /usr/local and /var/db just be copied
directly back in after recovery, or (if it's more complicated that that)
would there be a tutorial on this somewhere?


Generally speaking, /usr/local is empty after a clean install, so 
simply replacing its contents should be ok.  Though keep in mind that 
some ports put things outside /usr/local so they may not work until 
other things are restored.


/var/db/pkg is the dir you want for restoring the database of 
installed ports/packages.  The other things in /var/db you will 
probably want to put back as needed instead of all at once.


-Glenn



Oliver
___
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: Newbie question -- which files to back up?

2006-04-16 Thread Oliver Iberien
On Sunday 16 April 2006 09:00, Glenn Dawson wrote:
> At 09:58 PM 2/22/2006, Andy Reitz wrote:
> >Hi Oliver,
> >
> >At a minimum, you will probably want to back up the following directories:
> >
> > /etc
> > /usr/local/etc
> > /home
> >
> >That will get all of the configuration files for FreeBSD and the
> >software thar you installed from ports.
>
> Actually, no.  If you want to backup the software installed from
> ports you will typically need /usr/local.
>
> The contents of /var/db would also be desirable so that you know
> which ports are installed on the machine among other things.
>
> -Glenn
>
> >  The last directory will det all of your user's data. Some other
> > applications might put data in other places, however, so you might
> > want to research the applications that you are running to make sure
> > you don't miss any important data.
> >
> >-Andy.

Thanks for all this information. Can /usr/local and /var/db just be copied 
directly back in after recovery, or (if it's more complicated that that) 
would there be a tutorial on this somewhere?

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


Re: Newbie question -- which files to back up?

2006-04-16 Thread Glenn Dawson

At 09:58 PM 2/22/2006, Andy Reitz wrote:

Hi Oliver,

At a minimum, you will probably want to back up the following directories:

/etc
/usr/local/etc
/home

That will get all of the configuration files for FreeBSD and the 
software thar you installed from ports.


Actually, no.  If you want to backup the software installed from 
ports you will typically need /usr/local.


The contents of /var/db would also be desirable so that you know 
which ports are installed on the machine among other things.


-Glenn

 The last directory will det all of your user's data. Some other 
applications might put data in other places, however, so you might 
want to research the applications that you are running to make sure 
you don't miss any important data.


-Andy.
___
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: wifi ath

2006-04-16 Thread dick hoogendijk
On 16 Apr Patrick Bowen wrote:
> dick hoogendijk wrote:
> 
> >Bought a WiFi D-Link with atheros chipset.
> >Any pitfalls?
> >What options exactly do I need to have my ath based wifi card up and
> >running?
> >
> Test the card with "kldload if_ath" as root, then ifconfig and dhcp,
> before you re-compile the kernel. If that works then you can just  add
> the modules at startup. Saves time recompiling.

True. Thanks for your suggestion.
On the other hand I will recompile non the less, because I will upgrade
from 6.0 to 6.1. So I will look at the messages from kldload to see what's
needed in the kernel ;-) ??

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[SOLVED] Re: seeking help on "adding a disk"

2006-04-16 Thread Peter

--- Jerry McAllister <[EMAIL PROTECTED]> wrote:

> > 
> > 
> > --- Jerry McAllister <[EMAIL PROTECTED]> wrote:
> > 
> > [snip]
> > 
> > > > # newfs -U /dev/ad2s1e
> > > 
> > > Newfs used to require the raw device name, as in
> > > 
> > >newfs -U /dev/rad2s1e
> > > 
> > > but I see the man page doesn't show that in its example now, so
> > > maybe it no long does.   Try it once and see.
> > 
> > > > > The newfs should then work after the bsdlabel is fixed up.
> > > > 
> > > > Nope.  Same error.  Retries of newfs causes crashes at random
> > > sectors. 
> > > > I am guessing that the 40-wire cable is causing poor signaling.
>  I
> > > also
> > > > tried changing the offset of 'e' to 0 and modifying the 'size'
> so
> > > that
> > > > it matches 'c'.
> > > 
> > > Could be.  If using rad2s1e doesn't help, then maybe that is your
> > > problem.
> > 
> > 
> > This is all I have:
> > 
> > $ ls -lh /dev/r*
> > crw-rw-rw-  1 root  wheel0,  10 Apr  9 15:55 /dev/random
> > 
> > No raw devices.
> 
> Yes.  devices don't just show up and stay there any more.  They
> are managed by devfs.   I haven't studied that to see just how
> it works yet, so I don't know at which point it should start showing
> up in /dev if ever.
> 
> I just figured trying a newfs with the /dev/r... might be something
> to try out to see what happened - sort of an experiment and if that
> doesn't do it, then maybe the thing to pursue is your concern about
> the cables.
> 
> If that doesn't work, I think this has gone beyond any problems I
> have
> ever had so I don't know what else to suggest.  Hopefully someone
> else 
> will have some thing to say.
> 
> jerry


I changed to a UDMA 133 cable (80-wire) and that solved the problem;
the newfs command succeeded!

Peter

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


direct rending doesnt work in xorg

2006-04-16 Thread Danny Butroyd
Hi All

I have been tearing my hair out trying to fix this problem.  Basically
Direct Rendering isnt working.  My setup:-

OS:-

FreeBSD 6.1-PRERELEASE #3

Xorg Installed from ports:-

[rvn] /home/danny# pkg_info | grep xorg
xorg-6.9.0  X.Org distribution metaport
xorg-clients-6.9.0_2 X client programs and related files from X.Org
xorg-documents-6.9.0 Documentation of X11 protocol and libraries from X.Org
xorg-fonts-100dpi-6.9.0_1 X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-6.9.0_1 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-6.9.0_1 X.Org Cyrillic bitmap fonts
xorg-fonts-encodings-6.9.0_1 X.Org font encoding files
xorg-fonts-miscbitmaps-6.9.0_1 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-6.9.0 X.Org TrueType fonts
xorg-fonts-type1-6.9.0 X.Org Type1 fonts
xorg-fontserver-6.9.0_1 X font server from X.Org
xorg-libraries-6.9.0 X11 libraries and headers from X.Org
xorg-manpages-6.9.0 X.Org library manual pages
xorg-nestserver-6.8.2 Nesting X server from X.Org
xorg-printserver-6.8.2_2 X Print server from X.Org
xorg-server-6.9.0_1 X.Org X server and related programs
xorg-vfbserver-6.9.0 X virtual framebuffer server from X.Org


dri-devel install from ports:-

[rvn] /home/danny# pkg_info | grep dri
dri-6.2.20050719,1  DRI OpenGL drivers snapshot

All drivers seem to be working ok:-

[rvn] /home/danny# dmesg | grep drm
drm0:  port 0xc000-0xc0ff mem
0xe800-0xefff,0xfcff-0xfcff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xe000 128MB
info: [drm] Initialized radeon 1.19.0 20050911
info: [drm] Loading R200 Microcode

Xorg is setup correctly (as far as I know):-

---snip---
Section "Module"
Load  "extmod"
Load  "glx"
Load  "dri"
Load  "dbe"
Load  "record"
Load  "xtrap"
Load  "type1"
Load  "freetype"
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Device"
Identifier  "Card0"
Driver  "ati"
VendorName  "ATI Technologies Inc"
BoardName   "Radeon R250 Lf [Radeon Mobility 9000 M9]"
BusID   "PCI:1:0:0"
Screen  0
EndSection
---snip---

>From this page (http://dri.freedesktop.org/wiki/DriTroubleshooting) I
have been through all the checks and my setup fails on the following:-

[rvn] /home/danny# setenv LIBGL_DEBUG verbose
[rvn] /home/danny# glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.0.3 r200 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed
(/usr/X11R6/lib/modules/dri/r200_dri.so: Undefined symbol
"_glapi_add_entrypoint")
libGL error: unable to find driver: r200_dri.so

The solution (according to the wiki) is to reinstall DRI and LIBGL from
source, however, I have reinstalled all the relevant ports but I still
get the same problem.  Can anyone help?

Thanks in advance.
Danny

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


Re: where/under what do I look for relaxing the privlege requirements for mounting/accessing devices?

2006-04-16 Thread Lowell Gilbert
"Jim Stapleton" <[EMAIL PROTECTED]> writes:

> I want a non-root user (I'm happy to limit it to wheel users), to be
> able to mount smb shares and rip music, but I don't know how to do
> this. Where can I find documentation on this?

For the mounting part, see the FAQ entry titled "How do I let ordinary
users mount floppies, CDROMs and other removable media?".

For ripping from CD, access to the device should be enough.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


adding root cert to openssl

2006-04-16 Thread Robert Huff

Tobias Roth writes:

>  I'd like to add a certificate to OpenSSL. The OpenSSL HOWTO mentions
>  OPENSSLDIR, which is /etc/ssl on FreeBSD (for OpenSSL from base). To
>  have OpenSSL recognize a new certificate, it has to be put into
>  OPENSSLDIR/certs/, but this does not exist on FreeBSD. The
>  only certs/ dir I could find is /usr/src/crypto/openssl/certs/.
>  
>  So my question: How to add a certificate to OpenSSL on FreeBSD?

Have you encountered any reason you can't just create the
directory yourself?


Robert Huff

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


Re: wifi ath

2006-04-16 Thread Patrick Bowen

dick hoogendijk wrote:


Bought a WiFi D-Link with atheros chipset.
I use a non-default kernel, so I guess I have to put some options back in
and recompile. Will upgrade to 6.1-rc at the same time ;-)

Any pitfalls?
What options exactly do I need to have my ath based wifi card up and
running?

 


Dick;

Test the card with "kldload if_ath" as root, then ifconfig and dhcp, 
before you re-compile the kernel. If that works then you can just  add 
the modules at startup. Saves time recompiling.


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


where/under what do I look for relaxing the privlege requirements for mounting/accessing devices?

2006-04-16 Thread Jim Stapleton
I want a non-root user (I'm happy to limit it to wheel users), to be
able to mount smb shares and rip music, but I don't know how to do
this. Where can I find documentation on this?

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


wifi ath

2006-04-16 Thread dick hoogendijk
Bought a WiFi D-Link with atheros chipset.
I use a non-default kernel, so I guess I have to put some options back in
and recompile. Will upgrade to 6.1-rc at the same time ;-)

Any pitfalls?
What options exactly do I need to have my ath based wifi card up and
running?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Gmail and FreeBSD

2006-04-16 Thread Martin Hepworth
Well I'm glad it's not just me - I even tried subscribing again and I
haven't got the activation request.

So I'd say for reason gmail is bouncing the emails, as the freeBSD lists
seem to have unsubcribed me..

Other email seems to be coming in fine..

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


Re: Gmail vs FreeBSD

2006-04-16 Thread Richard Collyer

Andrew Pantyukhin wrote:

So what's up with gmail and freebsd sites? I haven't
seen a single message delivered to my inbox since
April 13. Not from mailing lists, not from gnats scripts -
nothing.

I told the lists to send mail to my other address, I then
redirect from there back to gmail - and it works. So
gmail seems to block direct communications from the
freebsd servers only.

And I'm not the only one to experience this:
http://lists.freebsd.org/pipermail/freebsd-questions/2006-April/119155.html

I've written to gmail support directly and through their
forums, but haven't yet received anything except for
the automated replies telling me that I'm an idiot and
pointing me to their faqs.

I understand that if a problem of this magnitude stays
unresolved for more than 72 hours, I should probably
be looking for another mail service. What would you
suggest? I've already signed up for Yahoo Beta, but
it's not clear when I will receive the invitation.


If your running FreeBSD just get a qmail server on the go and slap 
squirrelmail on there for web based mail.


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


Gmail vs FreeBSD

2006-04-16 Thread Andrew Pantyukhin
So what's up with gmail and freebsd sites? I haven't
seen a single message delivered to my inbox since
April 13. Not from mailing lists, not from gnats scripts -
nothing.

I told the lists to send mail to my other address, I then
redirect from there back to gmail - and it works. So
gmail seems to block direct communications from the
freebsd servers only.

And I'm not the only one to experience this:
http://lists.freebsd.org/pipermail/freebsd-questions/2006-April/119155.html

I've written to gmail support directly and through their
forums, but haven't yet received anything except for
the automated replies telling me that I'm an idiot and
pointing me to their faqs.

I understand that if a problem of this magnitude stays
unresolved for more than 72 hours, I should probably
be looking for another mail service. What would you
suggest? I've already signed up for Yahoo Beta, but
it's not clear when I will receive the invitation.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Problems Installing FreeBSD 5.4 & 6.0

2006-04-16 Thread fbsd
try trying turn plug-n-play and power management in the pc bios.
post the boot probe log here

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mohamad
Babaei
Sent: Sunday, April 16, 2006 8:24 AM
To: freebsd-questions@freebsd.org
Subject: Problems Installing FreeBSD 5.4 & 6.0


Hi,
I'm trying to install FreeBSD 5.4 & 6.0 on my intel Celeron 2.0 Pc,
but
every time i get the following error when the next installation
process
is "Fdisk" :

"no disks found! please verify that your disk controller is being
properly
probed"
please help.

Regards,
Mo.
___
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: Problems Installing FreeBSD 5.4 & 6.0

2006-04-16 Thread Derek Ragona
You need to provide more information on your system such as what disk 
controller(s) it has and what hard disks.


-Derek


At 07:24 AM 4/16/2006, Mohamad Babaei wrote:

Hi,
I'm trying to install FreeBSD 5.4 & 6.0 on my intel Celeron 2.0 Pc, but
every time i get the following error when the next installation process
is "Fdisk" :

"no disks found! please verify that your disk controller is being properly
probed"
please help.

Regards,
Mo.
___
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]"


TV Tuner viewing software suggestions

2006-04-16 Thread Jim Stapleton
I'm trying to use my TV Tuner (A Leadtek Brooktree chipset tuner), and
I have gotten FXTV to work great with one exception: It appears to
only work in something that looks to be about 320x240, when I go
fullscreen or anything larger than what it opens as, it only draws to
part of the screen... providing something, that while rather cool
looking, is not productive for watching tv or playing console games.

I tried getting kbtv to work, but I'm getting an error installing py-kde.

I tried getting xawtv to work, but it's got compile errors.


Both of these have occured since my earliest CVSUPs, at around the
28th of last month, py-kde seems to work pre-cvsup, but I don't know
how to fix it now, nor do I know a good cvsup date to grab the clean
pykde.


Thanks,
-Jim




The last of the xawtv compile:
cc -shared -Wl,-soname,read-qt.so -o libng/plugins/read-qt.so
libng/plugins/read-qt.o -L/usr/local/lib -lquicktime -Wl,-E
-L/usr/local/lib -lglib-12 -lm
cc -O2 -fno-strict-aliasing -pipe -march=athlon-mp -DMMX=1
-I/usr/ports/multimedia/xawtv/work/xawtv-3.95/common
-I/usr/local/include -L/usr/local/lib -Wall -Wmissing-prototypes
-Wstrict-prototypes -Wpointer-arith -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include
-I/usr/X11R6/include -I/usr/local/include/freetype2
-I/usr/local/include -I/usr/X11R6/include/X11/fonts -I. -I./vbistuff
-I./x11 -I./jwz -I./common -I./console -I./x11 -I./structs -I./libng
-Llibng -DCONFIGFILE="/usr/X11R6/lib/X11/xawtvrc"
-DLIBDIR="/usr/X11R6/lib/xawtv" -DDATADIR="/usr/X11R6/share/xawtv"
-DVERSION="3.95" -fPIC -Wp,-MD,mk/libng_plugins_write-qt.tmp -c -o
libng/plugins/write-qt.o libng/plugins/write-qt.c
In file included from libng/plugins/write-qt.c:7:
/usr/local/include/lqt/quicktime.h:423: warning: function declaration
isn't a prototype
/usr/local/include/lqt/quicktime.h:432: warning: function declaration
isn't a prototype
/usr/local/include/lqt/quicktime.h:442: warning: function declaration
isn't a prototype
In file included from /usr/local/include/lqt/lqt.h:6,
 from libng/plugins/write-qt.c:9:
/usr/local/include/lqt/lqt_codecinfo.h:192: warning: function
declaration isn't a prototype
/usr/local/include/lqt/lqt_codecinfo.h:202: warning: function
declaration isn't a prototype
/usr/local/include/lqt/lqt_codecinfo.h:210: warning: function
declaration isn't a prototype
/usr/local/include/lqt/lqt_codecinfo.h:226: warning: function
declaration isn't a prototype
/usr/local/include/lqt/lqt_codecinfo.h:235: warning: function
declaration isn't a prototype
In file included from libng/plugins/write-qt.c:9:
/usr/local/include/lqt/lqt.h:136: warning: function declaration isn't
a prototype
/usr/local/include/lqt/lqt.h:248: warning: function declaration isn't
a prototype
libng/plugins/write-qt.c: In function `video_list':
libng/plugins/write-qt.c:351: error: structure has no member named
`num_encoding_colormodels'
libng/plugins/write-qt.c:353: error: structure has no member named
`encoding_colormodels'
libng/plugins/write-qt.c:354: error: structure has no member named
`encoding_colormodels'
libng/plugins/write-qt.c:381: error: structure has no member named
`num_encoding_colormodels'
libng/plugins/write-qt.c:382: error: structure has no member named
`encoding_colormodels'
gmake: *** [libng/plugins/write-qt.o] Error 1
*** Error code 2

Stop in /usr/ports/multimedia/xawtv.
*** Error code 1

Stop in /usr/ports/multimedia/xawtv.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade66555.0 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! multimedia/xawtv  (new compiler error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed




the last of the py-kde compile:
c++ -c -Wno-deprecated-declarations -pipe -fPIC -O2
-fno-strict-aliasing -pipe -march=athlon-mp -Wall -W -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -I. -I../extra/kde350 -I/usr/local/include
-I/usr/local/include/python2.4 -I/usr/X11R6/include -o
sipkdecorepart0.o sipkdecorepart0.cpp
sip/kdecore/ktimezones.sip: In function `PyObject* convertFrom_ZoneMap(void*)':
/usr/local/include/ktimezones.h:191: error:
`KTimezone::KTimezone(const KTimezone&)' is private
sip/kdecore/ktimezones.sip:209: error: within this context
sipkdecorepart0.cpp: In function `void* init_KTimezones(sipWrapper*,
PyObject*, sipWrapper**)':
/usr/local/include/ktimezones.h:340: error:
`KTimezones::KTimezones(const KTimezones&)' is private
sipkdecorepart0.cpp:9497: error: within this context
sipkdecorepart0.cpp: In function `void* init_KTimezone(sipWrapper*,
PyObject*, sipWrapper**)':
/usr/local/include/ktimezones.h:191: error:
`KTimezone::KTimezone(const KTimezone&)' is private
sipkdecorepart0.cpp:10450: error: within this context
sip/kdecore/kmountpoint.sip: In function `PyObject*
convertFrom_KMountPoint_List(void*)':
sip/kdecore/kmountpoint.sip:151: warning: taking address of temporary
sipkdecorepart0.cpp: In function `PyObject* convertFrom_Display(voi

Problems Installing FreeBSD 5.4 & 6.0

2006-04-16 Thread Mohamad Babaei
Hi,
I'm trying to install FreeBSD 5.4 & 6.0 on my intel Celeron 2.0 Pc, but
every time i get the following error when the next installation process
is "Fdisk" :

"no disks found! please verify that your disk controller is being properly
probed"
please help.

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


Re: a new ftp mirror of freebsd

2006-04-16 Thread robert
On Sun, 2006-04-16 at 13:46 +0400, Andrew Wingorodov wrote:
> i wish make a new ftp mirror of freebsd.
> i have a private server  on the M9 established
>   http://andr.ru/img/resume/se7320vp2.jpg
>   ftp://213.248.60.220/
> 
> I shall be grateful for answers:
>   1) how many the mbyte should be had?
>   2) what for copying are better for using? (sitecopy? rsync? anyware?)
>   3) how to get in the list of mirrors 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html ?
> 
> thanks, with best regards
> 
> -- andr
> Andrew Wingborn
> http://andr.ru/

Andrew,

Have a look ate this:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/index.html

Good luck

Rob

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


adding root cert to openssl

2006-04-16 Thread Tobias Roth
Hi

I'd like to add a certificate to OpenSSL. The OpenSSL HOWTO mentions
OPENSSLDIR, which is /etc/ssl on FreeBSD (for OpenSSL from base). To
have OpenSSL recognize a new certificate, it has to be put into
OPENSSLDIR/certs/, but this does not exist on FreeBSD. The
only certs/ dir I could find is /usr/src/crypto/openssl/certs/.

So my question: How to add a certificate to OpenSSL on FreeBSD?

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


a new ftp mirror of freebsd

2006-04-16 Thread Andrew Wingorodov
i wish make a new ftp mirror of freebsd.
i have a private server  on the M9 established
  http://andr.ru/img/resume/se7320vp2.jpg
  ftp://213.248.60.220/

I shall be grateful for answers:
  1) how many the mbyte should be had?
  2) what for copying are better for using? (sitecopy? rsync? anyware?)
  3) how to get in the list of mirrors 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html ?

thanks, with best regards

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


Re: Newbie question -- which files to back up?

2006-04-16 Thread Andy Reitz
Hi Oliver,

At a minimum, you will probably want to back up the following directories:

/etc
/usr/local/etc
/home

That will get all of the configuration files for FreeBSD and the software thar 
you installed from ports. The last directory will det all of your user's data. 
Some other applications might put data in other places, however, so you might 
want to research the applications that you are running to make sure you don't 
miss any important data.

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


Newbie question -- which files to back up?

2006-04-16 Thread Oliver Iberien
I'm running FreeBSD 6.0 on a home machine and backing up to a DVD Burner, 
probably using kdar, the dar archiver that comes with KDE. 

My question is : which system files to back up, along with my personal stuff? 
I'm used to using linux distributions that do your system backups for you. 
The capacity of the DVDs sets a practical limit on what I can reasonably back 
up, so I need to pick and choose, basically to make recovery easier should 
everything go south. Thanks!

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


The FreeBSD Diary: 2006-03-26 - 2006-04-15

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

These are the articles posted during this period:

14-Apr : Mailman - additional virtual domains
 You got one!  Now add more 
 http://freebsddiary.org/mailman-virtual-domains.php?2

10-Apr : Card reader for FreeBSD
 A useful way to get pictures off digital cameras 
 http://freebsddiary.org/card-reader.php?2


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

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