Re: Remote login via modem

2007-05-20 Thread Ian Smith
On Sat, 19 May 2007 12:45:35 -0700 Lou Katz [EMAIL PROTECTED] wrote:
  On Sat, May 19, 2007 at 07:49:46AM +0200, Nikola Lecic wrote:

Sorry Nicola, no cc, your email address wasn't quoted ..

   On Sat, 19 May 2007 11:49:47 +1000
   Ivan Carey [EMAIL PROTECTED] wrote:
   
Hello,
I would like to be able to access my network remotely via modem
access.

What I am trying to achieve is this. At the office I have a server,
this server is Not connected to the Internet, I need to be able to
Administer it from my Home office, so I am thinking that I need to
access it via a serial modem.
What do I need to do to achieve this.
   
   You need getty(8) or /usr/ports/comms/mgetty+sendfax. Please read
   
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/dialup.html
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html

  This shows how to connect to some other ISP with ppp. I need to setup MY 
  machine
  to accept INCOMING PPP, and can't find any doc (though I could have 
  overlooked it).
  Pointers to setup of incoming ppp dialin greatly appreciated.

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

Assuming you're using userppp rather than pppd.  The above is a useful
outline, but for some detail I include the dialup configuration from an
old server here.  Note this was for FreeBSD 2.2.6 and a few things have
changed, like the names of ttydX and cuaaX, but maybe it'll help.

/etc/ttys:

[.. normal stuff, then ..]
# dialout: cuaa0 used by ppp
ttyd0   /usr/libexec/getty std.57600  vt100   off insecure
# dialups:
ttyd1   /usr/local/sbin/mgettyvt100   on insecure
ttyd2   /usr/local/sbin/mgettyvt100   on insecure
ttyd3   /usr/local/sbin/mgettyvt100   on insecure

/usr/local/etc/mgetty+sendfax/login.config:

# ppp logs in (utmp) once authenticated
/AutoPPP/ - -   /etc/ppp/ppp-pap-dialup @
#
#% 4/9/4 deny all members for direct (non-ppp, terminal) logins except ..
smithi  smithi  smithi  /usr/bin/login @
greggreggreg/usr/bin/login @
*   -   -   /usr/bin/false @

/usr/local/etc/mgetty+sendfax/mgetty.config:

port ttyd1
debug 4
fax-id 00 00 00
speed 115200
switchbd 19200
direct NO
blocking NO
port-owner uucp
port-group dialer
port-mode 0660
toggle-dtr YES
toggle-dtr-waittime 400
data-only yes
fax-only NO
modem-type data
# Spirit 336L (Rockwell chipset)
init-chat  ATS0=0Q0D2C1S95=47 OK
modem-check-time 600
rings 2
answer-chat  ATA CONNECT \c \r
answer-chat-timeout 60
autobauding no
ringback NO
ringback-time 30
ignore-carrier false
issue-file /etc/issue
prompt-waittime 500
login-prompt @ login:
login-time 60
diskspace 2048
notify faxadmin
fax-owner uucp
fax-group dialer
fax-mode 0660

port ttyd2
[.. ditto; port ttyd3 ditto, modulo init-chat for other type modems ..]

/etc/ppp/ppp-pap-dialup:

#!/bin/sh
#% ppp-pap-dialup 28Jun98, test version, adapted from:
#  ppp-shell 25May98 smithi from 2.2.5 handbook, PPP Configuration
IDENT=`echo $0 | sed -e 's/^.*-\(.*\)$/\1/'`
# CALLEDAS=$IDENT
TTY=`tty`
IDENT=`basename $TTY`
/usr/sbin/ppp -direct pap$IDENT

/etc/ppp/ppp.conf:

default:
  allow users *
  enable throughput
  set log phase chat connect carrier link ipcp ccp ID0 TUN
  set speed 115200
  disable lqr
  deny lqr
  set timeout 1200

# dialout line: (4Jul98) =

telstra:
  set log +command
  allow users root smithi greg
  allow mode auto ddial dedicated background
  set server 3000
  set device /dev/cuaa0
  set timeout 0
# rest of dialout config not shown ..

# dialup lines: =

papttyd1:
  set server 3001
  allow users *
# force use of pap, use /etc/passwd auth
  enable pap
  enable passwdauth
# for broken linux pppd callers :(
  disable pred1
  deny pred1
  disable deflate
  deny deflate
#
  set ifaddr x.y.z.145 x.y.z.161 255.255.255.255
  delete ALL
# 1may99 keepalive filters
  set afilter 0 deny icmp
  set afilter 1 deny tcp dst eq 110
  set afilter 2 deny tcp src eq 110
# [.. various others ..]
  set afilter 15 deny udp src eq 53
  set afilter 16 deny udp dst eq 53
# last allowed is rule 19
  set afilter 17 permit 0/0 0/0

papttyd2:
  set server 3002
  allow users *
# [.. ditto ..]
  set ifaddr x.y.x.146 x.y.z.162 255.255.255.255
  delete ALL

# [ ditto papttyd3: ..]

Cheers, Ian

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


boot from flashdisk

2007-05-20 Thread Jaurip Saragih

Hi there,
May you tell me how to boot from flashdisk to install freebsd?

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


Re: Clean install of Xorg 7.2

2007-05-20 Thread Garrett Cooper

John Wilson wrote:


Hello.

I've cvsup'd the new ports tree and have read /usr/ports/UPDATING, but 
only noticed upgrade notes in regard to Xorg 7.2.  I attempted to 'make 
install clean' to install the new Xorg, but it failed after building the 
drm package.  Am I missing something really basic here in regard to 
getting Xorg installed in a non-upgrade manner?


Thanks for your help,
John.


There isn't really a branching system I've discovered with ports.

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


Re: Updating all ports

2007-05-20 Thread Garrett Cooper

Marc G. Fournier wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Saturday, May 19, 2007 23:51:35 -0500 Jack Barnett
[EMAIL PROTECTED] 
wrote:



For /usr/ports I sync to just '.'  (dot).  Is that what I want?  (I want just
'stable' ports, nothing bleeding edge).

for /usr/src I sync to: RELENG_6

But my question, is there a way to go though and say let's rebuild any port
that is newer (via sync) then one I current have?

For example, if I build and install application FooBar-1.0.0 from the
/usr/ports and the next week FooBar-1.0.7 is there a way to say yea, let's
rebuild this instead of manually building it?  Or at the very least, give me
a list of changes on which applications need to be manually built.


Install /usr/ports/ports-mgmt/portupgrade ...

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGT97n4QvfyHIvDvMRArgeAKDrbrgHfAQ5YNeky3kB2sn2d0TYjQCg4SQL
+Cwq8SvFjLs1EHN7dD5UXDM=
=nyhg
-END PGP SIGNATURE-


That will take care of 95% of all cases, but isn't intelligent enough to 
do things properly 5% of the time (packages move, dependencies change, etc).


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


Re: Remote login via modem [coda]

2007-05-20 Thread Ian Smith
I'd address this also to [EMAIL PROTECTED], but my prior message evoked:

On Sun, 20 May 2007 16:02:27 +1000 (EST), Mail Delivery Subsystem wrote:

  The original message was received at Sun, 20 May 2007 16:02:09 +1000 (EST)
  from [EMAIL PROTECTED]
  
 - The following addresses had permanent fatal errors -
  [EMAIL PROTECTED]
  
 - Transcript of session follows -
  ... while talking to mail.metron.com.:
   RCPT To:[EMAIL PROTECTED]
   571 5.0.0 Local Policy REFUSAL: Confirmed network-wide opt-out
  554 [EMAIL PROTECTED]... Service unavailable

I've not seen a 'Confirmed network-wide opt-out' SMTP response before. 

Any idea what it indicates, apart from the obvious rejection of mail?

Ian

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


Re: Xorg 7.2.0 Release

2007-05-20 Thread Albert Shih
 Le 19/05/2007 à 17:27:42-0400, Colin Percival a écrit
 Garrett Cooper wrote:
  Please be aware that the portsnap snapshot hasn't been updated yet to
  include the X.org 7.2 addition, if you use portsnap.
 
 Right now, portsnap is distributing half of Xorg 7.2.  This isn't portsnap's
 fault; the portsnap buildbox CVSuped from cvsup-master in the middle of flz's
 commit.
 
 The rest should be available via portsnap in approximately 45 minutes.
 
Do portsnap just now :

[EMAIL PROTECTED] ~]# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... none found.
Fetching snapshot tag from portsnap.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Thu May 17 09:35:44 CEST 2007 to Sun May 20 10:37:19 CEST 2007.
Fetching 3 metadata patches.. done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 6188
patches.102030405060708090


[EMAIL PROTECTED] ~]# portversion -v -l |wc
 1551096   10423
[EMAIL PROTECTED] ~]


holly  shiiitthat's big...


I think I'm going to make a format/install/build-ports

Lots of thanks for this work.

Regards.


--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Dim 20 mai 2007 11:48:28 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Updating all ports

2007-05-20 Thread Erik Norgaard

Jack Barnett wrote:
For /usr/ports I sync to just '.'  (dot).  Is that what I want?  
(I want just 'stable' ports, nothing bleeding edge).


for /usr/src I sync to: RELENG_6

But my question, is there a way to go though and say let's rebuild any 
port that is newer (via sync) then one I current have?


You don't want to update only ports that are newer by date as some older 
ports may need to be rebuild to link to the newer version of dependencies.


cheers, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Future development of xorg port

2007-05-20 Thread P.U.Kruppa

Hi,

since now we all did/are doing our monster xorg port upgrade, I 
wonder how the future development of xorg is planned.


- Will we permanently receive small upgrades of xorg modules by
  tracking -STABLE ?
- Will there be kind of an xorg-devel port?
- Or do we wait for the next big complete upgrade to 7.3 ?


Thanks,

Uli.



Peter Ulrich Kruppa
Wuppertal
Germany

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


Re: Future development of xorg port

2007-05-20 Thread Erik Norgaard

P.U.Kruppa wrote:

Hi,

since now we all did/are doing our monster xorg port upgrade, I 
wonder how the future development of xorg is planned.


- Will we permanently receive small upgrades of xorg modules by
   tracking -STABLE ?
- Will there be kind of an xorg-devel port?
- Or do we wait for the next big complete upgrade to 7.3 ?


If you want to know about ports subscribe to the ports list or check the 
archive for that list. The particular question you ask seems to be 
addressed in a very recent discussion subject Ports tree : Xorg-7.2 
release freeze, ETA?


Now for xorg 7.2 the major change is that it has been modularized which 
I suppose means that you won't see such monster upgrades in the future - 
for that port.


Regards, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


xorg meta-port

2007-05-20 Thread Tsu-Fan Cheng

hi,
  just cvsup the new port tree and get ready to upgrade xorg, while reading
the 'UPDATE', it caught my eyes that it mentioned better have xorg meta-port
installed. I checked my installation and these are what i have originally in
terms of xorg6.9:

/var/db/pkg/xorg-clients-6.9.0_3
/var/db/pkg/xorg-fonts-miscbitmaps-6.9.0_1
/var/db/pkg/xorg-nestserver-6.9.0_1
/var/db/pkg/xorg-documents-6.9.0
/var/db/pkg/xorg-fonts-truetype-6.9.0
/var/db/pkg/xorg-printserver-6.9.0_2
/var/db/pkg/xorg-fonts-100dpi-6.9.0_1
/var/db/pkg/xorg-fonts-type1-6.9.0
/var/db/pkg/xorg-server-6.8.99.903_1
/var/db/pkg/xorg-fonts-75dpi-6.9.0_1
/var/db/pkg/xorg-fontserver-6.9.0_1
/var/db/pkg/xorg-vfbserver-6.9.0_2
/var/db/pkg/xorg-fonts-cyrillic-6.9.0_1
/var/db/pkg/xorg-libraries-6.9.0_1
/var/db/pkg/xorg-wrapper-1.0_3
/var/db/pkg/xorg-fonts-encodings-6.9.0_1
/var/db/pkg/xorg-manpages-6.9.0

what to do if I don't see the xorg meta-port registry?? thank you!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xorg meta-port

2007-05-20 Thread Andrew Pantyukhin

On 5/20/07, Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

hi,
   just cvsup the new port tree and get ready to upgrade xorg, while reading
the 'UPDATE', it caught my eyes that it mentioned better have xorg meta-port
installed. I checked my installation and these are what i have originally in
terms of xorg6.9:

/var/db/pkg/xorg-clients-6.9.0_3
/var/db/pkg/xorg-fonts-miscbitmaps-6.9.0_1
/var/db/pkg/xorg-nestserver-6.9.0_1
/var/db/pkg/xorg-documents-6.9.0
/var/db/pkg/xorg-fonts-truetype-6.9.0
/var/db/pkg/xorg-printserver-6.9.0_2
/var/db/pkg/xorg-fonts-100dpi-6.9.0_1
/var/db/pkg/xorg-fonts-type1-6.9.0
/var/db/pkg/xorg-server-6.8.99.903_1
/var/db/pkg/xorg-fonts-75dpi-6.9.0_1
/var/db/pkg/xorg-fontserver-6.9.0_1
/var/db/pkg/xorg-vfbserver-6.9.0_2
/var/db/pkg/xorg-fonts-cyrillic-6.9.0_1
/var/db/pkg/xorg-libraries-6.9.0_1
/var/db/pkg/xorg-wrapper-1.0_3
/var/db/pkg/xorg-fonts-encodings-6.9.0_1
/var/db/pkg/xorg-manpages-6.9.0

what to do if I don't see the xorg meta-port registry?? thank you!!


Install it after the upgrade, it will pull a number of
additional dependencies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Updating all ports

2007-05-20 Thread Robert Huff

Jack Barnett writes:
  
  For /usr/ports I sync to just '.'  (dot).  Is that what I want?  
  (I want just 'stable' ports, nothing bleeding edge).
  
  for /usr/src I sync to: RELENG_6
  
  But my question, is there a way to go though and say let's
  rebuild any port that is newer (via sync) then one I current
  have?

Check out the contents of /usr/ports/ports-mgmt.
(I use portupgrade.  Your mileage may vary.)

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: xorg meta-port

2007-05-20 Thread Erik Norgaard

Andrew Pantyukhin wrote:

On 5/20/07, Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

hi,
   just cvsup the new port tree and get ready to upgrade xorg, while reading
the 'UPDATE', it caught my eyes that it mentioned better have xorg meta-port
installed. I checked my installation and these are what i have originally in
terms of xorg6.9:

/var/db/pkg/xorg-clients-6.9.0_3
/var/db/pkg/xorg-fonts-miscbitmaps-6.9.0_1
/var/db/pkg/xorg-nestserver-6.9.0_1
/var/db/pkg/xorg-documents-6.9.0
/var/db/pkg/xorg-fonts-truetype-6.9.0
/var/db/pkg/xorg-printserver-6.9.0_2
/var/db/pkg/xorg-fonts-100dpi-6.9.0_1
/var/db/pkg/xorg-fonts-type1-6.9.0
/var/db/pkg/xorg-server-6.8.99.903_1
/var/db/pkg/xorg-fonts-75dpi-6.9.0_1
/var/db/pkg/xorg-fontserver-6.9.0_1
/var/db/pkg/xorg-vfbserver-6.9.0_2
/var/db/pkg/xorg-fonts-cyrillic-6.9.0_1
/var/db/pkg/xorg-libraries-6.9.0_1
/var/db/pkg/xorg-wrapper-1.0_3
/var/db/pkg/xorg-fonts-encodings-6.9.0_1
/var/db/pkg/xorg-manpages-6.9.0

what to do if I don't see the xorg meta-port registry?? thank you!!


Install it after the upgrade, it will pull a number of
additional dependencies.


Too late now that the ports tree is updated. Don't worry too much 
though, since most ports need to be rebuild, you can just delete the 
ports pkg_delete -x xorg and install the new.


Cheers, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


RE: Remote login via modem

2007-05-20 Thread Bob
Here is a step by step install guide to do what you asked about.
5.6 Configuring User PPP to accept inbound modem calls
You may be interested in reading the complete FreeBSD  install guide at
www.a1poweruser.com




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ivan Carey
Sent: Friday, May 18, 2007 9:50 PM
To: freebsd-questions@freebsd.org
Subject: Remote login via modem

Hello,
I would like to be able to access my network remotely via modem access.

What I am trying to achieve is this. At the office I have a server, this
server is Not connected to the Internet, I need to be able to Administer
it from my Home office, so I am thinking that I need to access it via a
serial modem.
What do I need to do to achieve this.

Thanks,
Ivan
___
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]


xorg updating observation

2007-05-20 Thread Tsu-Fan Cheng

hi,
  while executing

portupgrade -Rf libXft

i noticed that it starts to build some oxrg7.2 stuff, is this the way it
should be??

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


Re: just general questions about fbsd

2007-05-20 Thread Jerry McAllister
On Sat, May 19, 2007 at 01:54:36PM -0300, Anton Galitch wrote:

 Hi
 Im writing an article about FreeBSD and want to ask some few question:

The questions you ask can easily be answered by some basic searching
of the FreeBSD web site, FAQ and email archives.   Some of these are
also answered in various online publications that I don't have time
to look up for you right now, but you can easily find them.  Onlamp is
one that has covered FreeBSD features and comparisons with several OSen.
Google is your friend.

 - Do the FBSD developers work for free?

Generally yes.   They are not paid by the FreeBSD foundation although
some of them are fortunate enough to work for companies who view their
contributions to FreeBSD as relevant to their company work and so allow
them to consider the portion of their time spent on FreeBSD as part of
their company work.

 - What advanced features it has that for example Windows, or MacOS dont
 have?

It is reliable.   MAC can claim that to a great extent too.  MS cannot.
It is relatively secure.
Networking is fundamental in FreeBSD and a crowbar-ed addon in MS so it
is inherently better in networking.   It is truly multitasking and MS is
not.   There are many others.

 - What well knows companies use FreeBSD as servers? (I know that Hotmails
 used fbsd servers like 5 years ago).

Last I knew Yahoo was using FreeBSD.   THere are others.   Many companies
use FreeBSD for their network and backend service even when they have MS
on people's desktops.  

I hope you will do a more complete job of research before handing in
your paper just based on what I write.  Your teacher is likely to be
reading this list too and will see this.

 
 Thanks for help.

I suggest you find a machine and install FreeBSD and become familiar with
it.   You will slowly begin to understand the advantages with experienve.

jerry

 
 
 
 -- 
 http://feudaltimes.com.ar - Webmaster, designer and programmer
 ___
 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: just general questions about fbsd

2007-05-20 Thread Anton Galitch

Jerry
Thanks for your reply, I will do more research in resources you mentioned.


I suggest you find a machine and install FreeBSD and become familiar with
it.   You will slowly begin to understand the advantages with experienve.


I have been using fbsd for about 3 months =)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vidcontrol: getting active vty: Inappropriate ioctl for device

2007-05-20 Thread Peter Schuller
 vidcontrol: getting active vty: Inappropriate ioctl
 for device
 
 I have this entry in the ~/.bash_profile file:
 
 vidcontrol lightcyan

vidcontrol is trying to affect the system console, and does it by
manipulation file descriptor 0 (stdin). If you are logging in at the
user in question at the console it should work. But in X it won't. You
can make it do what you ask to the system console with:

   vidcontrol  /dev/console

But that will require root privileges.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org




signature.asc
Description: OpenPGP digital signature


Build with debug symbols

2007-05-20 Thread White Hat
If I build a port with debugging information; i.e.
'make -g', is that debugging information stripped out
when the program is installed? If so, is there anyway
to prevent this from happening?

I have been attempting to build 'claws-mail' with
debugging information; however, when I run the program
under 'gdb' that information does not appear to be
present. I heard that there was a 'STRIP' flag I could
set; however, I cannot find any definitive information
regarding it.


-- 
White Hat 
[EMAIL PROTECTED]


   
Building
 a website is a piece of cake. Yahoo! Small Business gives you all the tools to 
get online.
http://smallbusiness.yahoo.com/webhosting 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Remote login via modem

2007-05-20 Thread Bob
Had to resend this post because link got lost
Here is a step by step install guide to do what you asked about.
5.6 Configuring User PPP to accept inbound modem calls

You may be interested in reading the complete FreeBSD  install guide at
www.a1poweruser.com



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ivan Carey
Sent: Friday, May 18, 2007 9:50 PM
To: freebsd-questions@freebsd.org
Subject: Remote login via modem

Hello,
I would like to be able to access my network remotely via modem access.

What I am trying to achieve is this. At the office I have a server, this
server is Not connected to the Internet, I need to be able to Administer
it from my Home office, so I am thinking that I need to access it via a
serial modem.
What do I need to do to achieve this.

Thanks,
Ivan
___
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: Remote login via modem

2007-05-20 Thread Bob
Had to resend this post because link got lost.
Here is a step by step install guide to do what you asked about.


5.6 Configuring User PPP to accept inbound modem calls


You may be interested in reading the complete FreeBSD  install guide at
www.a1poweruser.com





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


Re: vidcontrol: getting active vty: Inappropriate ioctl for device

2007-05-20 Thread Alexey Mikhailov
On Sunday 20 May 2007 18:25:45 Peter Schuller wrote:
  vidcontrol: getting active vty: Inappropriate ioctl
  for device
 
  I have this entry in the ~/.bash_profile file:
 
  vidcontrol lightcyan

 vidcontrol is trying to affect the system console, and does it by
 manipulation file descriptor 0 (stdin). If you are logging in at the
 user in question at the console it should work. But in X it won't.
 You can make it do what you ask to the system console with:

vidcontrol  /dev/console

 But that will require root privileges.

I've something like

if [ $TERM = xterm -o $TERM = xterm-color ]; then
export TERM=xterm-color
elif [ $TERM = cons25 ]; then
vidcontrol -r yellow black green black
fi

in my ~/.zprofile. But you need to change cons25 to terminal type
that corresponds your console (echo $TERM in console).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Remote login via modem

2007-05-20 Thread Bob
Had to resend this post because link got lost.
Here is a step by step install guide to do what you asked about.

http://freebsd.a1poweruser.com:6088/05.06-PPP_accept_incoming_calls.htm


You may be interested in reading the complete FreeBSD  install guide at

www.a1poweruser.com



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ivan Carey
Sent: Friday, May 18, 2007 9:50 PM
To: freebsd-questions@freebsd.org
Subject: Remote login via modem

Hello,
I would like to be able to access my network remotely via modem access.

What I am trying to achieve is this. At the office I have a server, this
server is Not connected to the Internet, I need to be able to Administer
it from my Home office, so I am thinking that I need to access it via a
serial modem.
What do I need to do to achieve this.

Thanks,
Ivan
___
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: Mysqld-server errors starting...

2007-05-20 Thread Bob
Here are the things you have to do to activate MySql after installing the
port.

To autostart mysql at boot add this to /etc/rc.conf
mysql_enable=YES

To start or stop mysql server do this
/usr/local/share/mysql/mysql.server start
/usr/local/share/mysql/mysql.server stop

You have to tell mysql to create its internel control db
by running this command.
mysql_install_db --user=mysql

To verify mysql is operational issue these commands
mysqladmin version
mysqladmin variables

To start command line session with mysql server to
create a DB enter
mysql -u root

The online mysql manual is at
http://dev.mysql.com/doc/refman/5.0/en/index.html

The mysql databases and log files are written here
/var/db/mysql


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Agus
Sent: Friday, May 18, 2007 11:19 PM
To: freebsd-questions
Subject: Mysqld-server errors starting...

Hi all...
I got a problem starting the server

/usr/local/libexec/mysqld: cant read dir or  '/tmp/' (Errcode: 13)

and a few more lines

i read sthg about permitions, but i checked /tmp perms and everybody con
write there...

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


Random Restarts?

2007-05-20 Thread Edward Ruggeri

Hi,

My system randomly reboots, usually in the evening.  It is definitely not  
a soft reboot, since the filesystems don't get properly dismounted.  My  
suspicion is that it is a heat related issue -- I do leave the computer  
running just about all day long, and it has started to get warm.  Then  
again, it's coolest in the evening...


I have looked at /var/log/messages, and there is nothing right before the  
reboot of the system.  Is that proof this is a hardware and not a software  
issue?  Is there any other log file or diagnostic that might confirm my  
suspicions?


I'd rather not reset the heatsink, etc., if the problem is really  
something else :)


Thanks in advance guys!

Sincerely,

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


Re: Random Restarts?

2007-05-20 Thread Roland Smith
On Sun, May 20, 2007 at 11:03:25AM -0500, Edward Ruggeri wrote:
  Hi,
 
  My system randomly reboots, usually in the evening.  It is definitely not a 
  soft reboot, since the filesystems don't get properly dismounted.  My 
  suspicion is that it is a heat related issue -- I do leave the computer 
  running just about all day long, and it has started to get warm.  Then 
  again, it's coolest in the evening...

Try and install the mbmon port, and see if it works on your machine. If
so, start a cron job that appends mbmon output to a file say every 15
minutes. If it's a heat buildup issue in a monitored component, it would show.

I wonder though. My machine usually doesn't need a day to heat up after
a cold start. An hour or so usually suffices.

Other causes could be a spike in the line voltage due to a large device
switching on or off nearby. Or an underrated power supply overloaded
through a cron job.


Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remote login via modem [coda] - PPP

2007-05-20 Thread Lou Katz
On Sun, May 20, 2007 at 05:54:58PM +1000, Ian Smith wrote:
 I'd address this also to [EMAIL PROTECTED], but my prior message evoked:
 
 On Sun, 20 May 2007 16:02:27 +1000 (EST), Mail Delivery Subsystem wrote:
 
   The original message was received at Sun, 20 May 2007 16:02:09 +1000 (EST)
   from [EMAIL PROTECTED]
   
  - The following addresses had permanent fatal errors -
   [EMAIL PROTECTED]
   
  - Transcript of session follows -
   ... while talking to mail.metron.com.:
RCPT To:[EMAIL PROTECTED]
571 5.0.0 Local Policy REFUSAL: Confirmed network-wide opt-out
   554 [EMAIL PROTECTED]... Service unavailable
 
 I've not seen a 'Confirmed network-wide opt-out' SMTP response before. 
 
 Any idea what it indicates, apart from the obvious rejection of mail?
 
 Ian

I set my sendmail to issue that in response to some spammer foolishness about
opt-in and opt-out and their bogus assertion regarding opting-out of their
mailings. What is more to the point is that your message was rejected because
your connecting domain, lnk.telstra.net was entered into my local, private,
set-and-forget blocklist a long time ago for sending spam.

Thank you for attempting to reply to my question, though.
[The telstra.net entry in my blocklist has also been removed].


The pointers sent regarding incoming PPP have veen very useful.
The last time I set this up I was on a BSDI system, and the protocol was 
handled by
pppd, not the ppp client. I kept looking for pppd related info, and didn't look 
at
the (newer) ppp client pages.

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

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


Re: Random Restarts?

2007-05-20 Thread Edward Ruggeri

On Sun, 20 May 2007 11:41:36 -0500, Roland Smith [EMAIL PROTECTED] wrote:


On Sun, May 20, 2007 at 11:03:25AM -0500, Edward Ruggeri wrote:

 Hi,

 My system randomly reboots, usually in the evening.  It is definitely  
not a

 soft reboot, since the filesystems don't get properly dismounted.  My
 suspicion is that it is a heat related issue -- I do leave the computer
 running just about all day long, and it has started to get warm.  Then
 again, it's coolest in the evening...


Try and install the mbmon port, and see if it works on your machine. If
so, start a cron job that appends mbmon output to a file say every 15
minutes. If it's a heat buildup issue in a monitored component, it would  
show.


I wonder though. My machine usually doesn't need a day to heat up after
a cold start. An hour or so usually suffices.

Other causes could be a spike in the line voltage due to a large device
switching on or off nearby. Or an underrated power supply overloaded
through a cron job.


Roland


Thanks for the ideas, Roland (and Tamouh)!  I forgot about the possibility  
of power issues.  I do have an Antec power supply, 500W, which certainly  
doesn't mean it isn't the problem, but it _ought_ to be able handle this  
system...


But here's what I get if I run mbmon.

%mbmon -A -t -r 1
TEMP0 : 39.0
TEMP1 : 34.0
TEMP2 : 25.0
FAN0  :0
FAN1  : 5818
FAN2  :0
VC0   :  +1.28
VC1   :  +1.50
V33   :  +3.30
V50P  :  +4.97
V12P  : +11.13
V12N  : -11.52
V50N  :  -3.76
Sun May 20 12:32:10 CDT 2007

That CPU temp is at about 97% idle -- high, no?  The voltage on the 12V  
lines seems pretty bad, and especially so on the -5V line.  Should I trust  
the sensors and think about a new PSU?  In the meantime, I'll write to a  
file, and see if it records a dip in power before the next reboot.


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


Re: Random Restarts?

2007-05-20 Thread Pieter de Goeje
On Sunday 20 May 2007, Edward Ruggeri wrote:
 On Sun, 20 May 2007 11:41:36 -0500, Roland Smith [EMAIL PROTECTED] wrote:
  On Sun, May 20, 2007 at 11:03:25AM -0500, Edward Ruggeri wrote:
   Hi,
 
   My system randomly reboots, usually in the evening.  It is definitely
  not a
   soft reboot, since the filesystems don't get properly dismounted.  My
   suspicion is that it is a heat related issue -- I do leave the computer
   running just about all day long, and it has started to get warm.  Then
   again, it's coolest in the evening...
 
  Try and install the mbmon port, and see if it works on your machine. If
  so, start a cron job that appends mbmon output to a file say every 15
  minutes. If it's a heat buildup issue in a monitored component, it would
  show.
 
  I wonder though. My machine usually doesn't need a day to heat up after
  a cold start. An hour or so usually suffices.

In my experience this kind of problem can also be caused by bad memory.

 
  Other causes could be a spike in the line voltage due to a large device
  switching on or off nearby. Or an underrated power supply overloaded
  through a cron job.
 
 
  Roland

 Thanks for the ideas, Roland (and Tamouh)!  I forgot about the possibility
 of power issues.  I do have an Antec power supply, 500W, which certainly
 doesn't mean it isn't the problem, but it _ought_ to be able handle this
 system...

 But here's what I get if I run mbmon.

 %mbmon -A -t -r 1
 TEMP0 : 39.0
 TEMP1 : 34.0
 TEMP2 : 25.0
 FAN0  :0
 FAN1  : 5818
 FAN2  :0
 VC0   :  +1.28
 VC1   :  +1.50
 V33   :  +3.30
 V50P  :  +4.97
 V12P  : +11.13
 V12N  : -11.52
 V50N  :  -3.76
 Sun May 20 12:32:10 CDT 2007

 That CPU temp is at about 97% idle -- high, no?  The voltage on the 12V
 lines seems pretty bad, and especially so on the -5V line.  Should I trust
 the sensors and think about a new PSU?  In the meantime, I'll write to a
 file, and see if it records a dip in power before the next reboot.
I wouldn't trust it to report correct (absolute) values. I've seen 
motherboards report values _way_ off.

HTH,
Pieter de Goeje

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


kill won't kill

2007-05-20 Thread Remko Cijffers

Hi,

I'm running a python script which has stopped responding. Killing off 
the process doesn't work:



# ps -ax | grep nzb | grep -v grep
48426  p1  TLs  136:51.62 /usr/local/bin/python /usr/local/bin/hellanzb.py
# kill -SIGKILL 48426
# ps -ax | grep nzb | grep -v grep
48426  p1  TLs  136:51.62 /usr/local/bin/python /usr/local/bin/hellanzb.py


The only tip I could find seems to reference the 'wait for lock' flag 
('L' in ps output). A lock could come from samba but restarting the 
daemon doesn't solve the problem.


Anyone any idea's?

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


Re: Random Restarts?

2007-05-20 Thread Garrett Cooper

Roland Smith wrote:

On Sun, May 20, 2007 at 11:03:25AM -0500, Edward Ruggeri wrote:

 Hi,

 My system randomly reboots, usually in the evening.  It is definitely not a 
 soft reboot, since the filesystems don't get properly dismounted.  My 
 suspicion is that it is a heat related issue -- I do leave the computer 
 running just about all day long, and it has started to get warm.  Then 
 again, it's coolest in the evening...


Try and install the mbmon port, and see if it works on your machine. If
so, start a cron job that appends mbmon output to a file say every 15
minutes. If it's a heat buildup issue in a monitored component, it would show.

I wonder though. My machine usually doesn't need a day to heat up after
a cold start. An hour or so usually suffices.

Other causes could be a spike in the line voltage due to a large device
switching on or off nearby. Or an underrated power supply overloaded
through a cron job.


Roland


Also, check to see if your memory doesn't have any errors. That can 
cause reboots from time to time if either the memory controller is bad, 
or the memory itself is bad.


Also, this heat issue could be true for your hard drives. I've seen some 
of my faster drives get up to 140 degrees F (before I bought fans for 
them), then force the workstation to hard reboot. This was when I was 
doing a lot of disk access with them, too, since normal idling didn't 
head up the drives enough.


Just curious:
a. What's your Processor (speed, vendor)?
b. Who made your motherboard?
c. Who made your RAM?

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


Re: kill won't kill

2007-05-20 Thread Bill Campbell
On Sun, May 20, 2007, Remko Cijffers wrote:
Hi,

I'm running a python script which has stopped responding. Killing off 
the process doesn't work:

# ps -ax | grep nzb | grep -v grep
48426  p1  TLs  136:51.62 /usr/local/bin/python /usr/local/bin/hellanzb.py
# kill -SIGKILL 48426
# ps -ax | grep nzb | grep -v grep
48426  p1  TLs  136:51.62 /usr/local/bin/python /usr/local/bin/hellanzb.py

The only tip I could find seems to reference the 'wait for lock' flag 
('L' in ps output). A lock could come from samba but restarting the 
daemon doesn't solve the problem.

Typically unkillable processes are the result of hanging on some file or
device that's waiting on kernel services which never return.

Using ``lsof -p pid'' to see that the process is using at may give a hint
as to what it's hanging on.

On Linux systems I frequently use ``strace -p pid'' to see what a process
is doing.  I don't know the FreeBSD equivalent of strace.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``We maintain that the very foundation of our way of life is what we call
free enterprise,'' said Cash McCall, but when one of our citizens
show enough free enterprise to pile up a little of that profit, we do
our best to make him feel that he ought to be ashamed of himself.
-- Cameron Hawley
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kill won't kill

2007-05-20 Thread Garrett Cooper

Bill Campbell wrote:

On Sun, May 20, 2007, Remko Cijffers wrote:

Hi,

I'm running a python script which has stopped responding. Killing off 
the process doesn't work:



# ps -ax | grep nzb | grep -v grep
48426  p1  TLs  136:51.62 /usr/local/bin/python /usr/local/bin/hellanzb.py
# kill -SIGKILL 48426
# ps -ax | grep nzb | grep -v grep
48426  p1  TLs  136:51.62 /usr/local/bin/python /usr/local/bin/hellanzb.py
The only tip I could find seems to reference the 'wait for lock' flag 
('L' in ps output). A lock could come from samba but restarting the 
daemon doesn't solve the problem.


Typically unkillable processes are the result of hanging on some file or
device that's waiting on kernel services which never return.

Using ``lsof -p pid'' to see that the process is using at may give a hint
as to what it's hanging on.

On Linux systems I frequently use ``strace -p pid'' to see what a process
is doing.  I don't know the FreeBSD equivalent of strace.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``We maintain that the very foundation of our way of life is what we call
free enterprise,'' said Cash McCall, but when one of our citizens
show enough free enterprise to pile up a little of that profit, we do
our best to make him feel that he ought to be ashamed of himself.
-- Cameron Hawley


That would be truss(1).
strace is also in ports if you prefer to use it.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Random Restarts?

2007-05-20 Thread Edward Ruggeri
On Sun, 20 May 2007 13:23:00 -0500, Garrett Cooper  
[EMAIL PROTECTED] wrote:



Roland Smith wrote:

On Sun, May 20, 2007 at 11:03:25AM -0500, Edward Ruggeri wrote:

 Hi,

 My system randomly reboots, usually in the evening.  It is definitely  
not a  soft reboot, since the filesystems don't get properly  
dismounted.  My  suspicion is that it is a heat related issue -- I do  
leave the computer  running just about all day long, and it has  
started to get warm.  Then  again, it's coolest in the evening...

 Try and install the mbmon port, and see if it works on your machine. If
so, start a cron job that appends mbmon output to a file say every 15
minutes. If it's a heat buildup issue in a monitored component, it  
would show.

 I wonder though. My machine usually doesn't need a day to heat up after
a cold start. An hour or so usually suffices.
 Other causes could be a spike in the line voltage due to a large device
switching on or off nearby. Or an underrated power supply overloaded
through a cron job.
  Roland


Also, check to see if your memory doesn't have any errors. That can  
cause reboots from time to time if either the memory controller is bad,  
or the memory itself is bad.


Also, this heat issue could be true for your hard drives. I've seen some  
of my faster drives get up to 140 degrees F (before I bought fans for  
them), then force the workstation to hard reboot. This was when I was  
doing a lot of disk access with them, too, since normal idling didn't  
head up the drives enough.


Just curious:
a. What's your Processor (speed, vendor)?
b. Who made your motherboard?
c. Who made your RAM?

Thanks,
-Garrett


Thanks everyone!

Athlon X2 4200+ proc (2.2GHz, maybe?)
DFI nF4 infinity SLI motheboard
G.Skill RAM (2GB)
Antec True Power II (550W)

I'll use MemTest or somesuch to test my RAM latter today for errors.

The drives sit right infront of the air-intake fans for the system, so  
there's a breeze that flows by them constantly.  However, additional  
cooling certainly might be necessary.  Perhaps, it is possible that  
rTorrent is doing a lot of reads and writes to the drive, stressing it,  
which may be why the problem seems to have come up around the time I  
started using rTorrent.


I think my plan will be so:
1.) Continue running mbmon until I get a restart, and then check to see if  
there was a voltage drop (or, less likely, a heat spike).

2.) Then, run MemTest86+ for a day or so, checking for RAM problems.

I don't have a probe to measure the hard drive temps, but if 12 fail,  
I'll arrange better cooling for the drives, I guess.  If it's a driver  
issue, is there any way to find it?  I haven't installed any new hardware  
recently, and hadn't had this problem until maybe a week ago.


Sorry to clog up the freeBSD listhost with (likely) a hardware issue.  I  
can move to another listhost if you guys think I should.

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


Re: xorg updating observation

2007-05-20 Thread Kris Kennaway
On Sun, May 20, 2007 at 08:18:22AM -0400, Tsu-Fan Cheng wrote:
 hi,
   while executing
 
 portupgrade -Rf libXft
 
 i noticed that it starts to build some oxrg7.2 stuff, is this the way it
 should be??

Yes.  In fact this is part of the reason it has to be done specially
(portupgrade gets the ordering wrong and will introduce a loop into
the dependency tree if you blindly do 'portupgrade -a' without doing
this first)

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


Re: Future development of xorg port

2007-05-20 Thread Kris Kennaway
On Sun, May 20, 2007 at 12:39:41PM +0200, P.U.Kruppa wrote:
 Hi,
 
 since now we all did/are doing our monster xorg port upgrade, I 
 wonder how the future development of xorg is planned.
 
 - Will we permanently receive small upgrades of xorg modules by
   tracking -STABLE ?
 - Will there be kind of an xorg-devel port?
 - Or do we wait for the next big complete upgrade to 7.3 ?

In general the plan is to do something like option 3.  xorg-devel will
probably be too much work (need to fork an additional ~300 ports) and
frequent small updates will introduce too much churn and introduce too
many dependency problems.

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


Re: Random Restarts?

2007-05-20 Thread Roland Smith
On Sun, May 20, 2007 at 01:49:01PM -0500, Edward Ruggeri wrote:
  Athlon X2 4200+ proc (2.2GHz, maybe?)
  DFI nF4 infinity SLI motheboard
  G.Skill RAM (2GB)
  Antec True Power II (550W)
 
  I'll use MemTest or somesuch to test my RAM latter today for errors.
 
  The drives sit right infront of the air-intake fans for the system, so 
  there's a breeze that flows by them constantly.  However, additional cooling 
  certainly might be necessary.  Perhaps, it is possible that rTorrent is 
  doing a lot of reads and writes to the drive, stressing it, which may be why 
  the problem seems to have come up around the time I started using rTorrent.

If you suspect rTorrent, try switching it off for a couple of days.

If you have the cpufreq(4) driver in your kernel, you can activate
powerd(8) in rc.conf. That will reduce the CPU speed it the system is
idling, keeping everything cooler.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpu8BLNhbtbS.pgp
Description: PGP signature


Re: just general questions about fbsd

2007-05-20 Thread Jerry McAllister
On Sun, May 20, 2007 at 10:09:04AM -0300, Anton Galitch wrote:

 Jerry
 Thanks for your reply, I will do more research in resources you mentioned.

Good.

 
 I suggest you find a machine and install FreeBSD and become familiar with
 it.   You will slowly begin to understand the advantages with experienve.

 
 I have been using fbsd for about 3 months =)

Good.   You will learn many things.   It is not a gimme, but the
eventual product will be worth more than the ones that appear to be.

The list gets lots of posts by students assigned to write a paper
about relative merits of FreeBSD vs some other systems or something
similar.   

Enjoy,

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


Re: Random Restarts?

2007-05-20 Thread Garrett Cooper

Edward Ruggeri wrote:
On Sun, 20 May 2007 13:23:00 -0500, Garrett Cooper 
[EMAIL PROTECTED] wrote:



Roland Smith wrote:

On Sun, May 20, 2007 at 11:03:25AM -0500, Edward Ruggeri wrote:

 Hi,

 My system randomly reboots, usually in the evening.  It is 
definitely not a  soft reboot, since the filesystems don't get 
properly dismounted.  My  suspicion is that it is a heat related 
issue -- I do leave the computer  running just about all day long, 
and it has started to get warm.  Then  again, it's coolest in the 
evening...

 Try and install the mbmon port, and see if it works on your machine. If
so, start a cron job that appends mbmon output to a file say every 15
minutes. If it's a heat buildup issue in a monitored component, it 
would show.

 I wonder though. My machine usually doesn't need a day to heat up after
a cold start. An hour or so usually suffices.
 Other causes could be a spike in the line voltage due to a large device
switching on or off nearby. Or an underrated power supply overloaded
through a cron job.
  Roland


Also, check to see if your memory doesn't have any errors. That can 
cause reboots from time to time if either the memory controller is 
bad, or the memory itself is bad.


Also, this heat issue could be true for your hard drives. I've seen 
some of my faster drives get up to 140 degrees F (before I bought fans 
for them), then force the workstation to hard reboot. This was when I 
was doing a lot of disk access with them, too, since normal idling 
didn't head up the drives enough.


Just curious:
a. What's your Processor (speed, vendor)?
b. Who made your motherboard?
c. Who made your RAM?

Thanks,
-Garrett


Thanks everyone!

Athlon X2 4200+ proc (2.2GHz, maybe?)
DFI nF4 infinity SLI motheboard
G.Skill RAM (2GB)
Antec True Power II (550W)

I'll use MemTest or somesuch to test my RAM latter today for errors.

The drives sit right infront of the air-intake fans for the system, so 
there's a breeze that flows by them constantly.  However, additional 
cooling certainly might be necessary.  Perhaps, it is possible that 
rTorrent is doing a lot of reads and writes to the drive, stressing it, 
which may be why the problem seems to have come up around the time I 
started using rTorrent.


I think my plan will be so:
1.) Continue running mbmon until I get a restart, and then check to see 
if there was a voltage drop (or, less likely, a heat spike).

2.) Then, run MemTest86+ for a day or so, checking for RAM problems.

I don't have a probe to measure the hard drive temps, but if 12 fail, 
I'll arrange better cooling for the drives, I guess.  If it's a driver 
issue, is there any way to find it?  I haven't installed any new 
hardware recently, and hadn't had this problem until maybe a week ago.


Sorry to clog up the freeBSD listhost with (likely) a hardware issue.  I 
can move to another listhost if you guys think I should.


I'm not a big AMD user, but I would guess given the list of features on 
the motherboard's site that you have some sort of hardware supported CPU 
frequency control. I would hunt around your BIOS, see if you can enable 
that functionality, and see if that solves the problem.


I will say that your MB and memory vendors sound like small 3rd party 
groups, and I've faced a lot of issues with those types of vendors; 
that's why I stick with select ASUS MBs, and Corsair or similar memory 
vendors.


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


....

2007-05-20 Thread * **

Hello.
idont know if this is right mail. nut i try anyway. =)
im trying to install freebsd on my computer, but when the installation
is finish and i should login. i type in my account name and password.
byt then i only get to something that looks lika
a terminal (i use linux now and it looks the same like
a terminal there) but ofcourse i would lika it to look like a
regular desktop with gnome ore kde, but i dont know
what im doing wrong. i hope you can helt me.
sorry aboyut my english, but im swedish.  =)

mikael

_
Fräscha middagstips på MSN http://arla.msn.se/

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


X11BASE error on non X11 system… 

2007-05-20 Thread bsd

Hello,

Since today I have a strange error occuring on my system : FreeBSD  
5.5-RELEASE-p9


---  Upgrading 'gettext-0.16.1_1' to 'gettext-0.16.1_3' (devel/ 
gettext)

---  Building '/usr/ports/devel/gettext'
On FreeBSD before 6.2 ports system unfortunately can not set  
default X11BASE by itself so please help it a bit by setting  
X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE,  
please set variable USE_NONDEFAULT_X11BASE.

*** Error code 1

Stop.
---  Skipping 'security/libgpg-error' (libgpg-error-1.4_1) because  
a requisite package 'gettext-0.16.1_1' (devel/gettext) failed  
(specify -k to force)
---  Skipping 'www/neon' (neon-0.26.3) because a requisite package  
'gettext-0.16.1_1' (devel/gettext) failed (specify -k to force)
---  Skipping 'devel/gmake' (gmake-3.81_1) because a requisite  
package 'gettext-0.16.1_1' (devel/gettext) failed (specify -k to  
force)

---  Upgrading 'nmap-4.20' to 'nmap-4.20_1' (security/nmap)
---  Building '/usr/ports/security/nmap'
On FreeBSD before 6.2 ports system unfortunately can not set  
default X11BASE by itself so please help it a bit by setting  
X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE,  
please set variable USE_NONDEFAULT_X11BASE.

*** Error code 1

Stop.
---  Upgrading 'cvsup-without-gui-16.1h_2' to 'cvsup-without- 
gui-16.1h_3' (net/cvsup-without-gui)

---  Building '/usr/ports/net/cvsup-without-gui'
On FreeBSD before 6.2 ports system unfortunately can not set  
default X11BASE by itself so please help it a bit by setting  
X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE,  
please set variable USE_NONDEFAULT_X11BASE.

*** Error code 1

Stop.
---  Skipping 'textproc/aspell' (aspell-0.60.5) because a  
requisite package 'gettext-0.16.1_1' (devel/gettext) failed  
(specify -k to force)
---  Skipping 'security/libgcrypt' (libgcrypt-1.2.4_1) because a  
requisite package 'gettext-0.16.1_1' (devel/gettext) failed  
(specify -k to force)
---  Skipping 'security/libksba' (libksba-1.0.1_1) because a  
requisite package 'gettext-0.16.1_1' (devel/gettext) failed  
(specify -k to force)
---  Skipping 'security/dirmngr' (dirmngr-0.9.7_2) because a  
requisite package 'libksba-1.0.1_1' (security/libksba) failed  
(specify -k to force)
---  Skipping 'shells/bash' (bash-3.1.17) because a requisite  
package 'gettext-0.16.1_1' (devel/gettext) failed (specify -k to  
force)
---  Skipping 'textproc/libxslt' (libxslt-1.1.20) because a  
requisite package 'gettext-0.16.1_1' (devel/gettext) failed  
(specify -k to force)
---  Skipping 'security/gnupg' (gnupg-2.0.3) because a requisite  
package 'libksba-1.0.1_1' (security/libksba) failed (specify -k to  
force)
---  Skipping 'devel/p5-Locale-gettext' (p5-gettext-1.05_1)  
because a requisite package 'gettext-0.16.1_1' (devel/gettext)  
failed (specify -k to force)
---  Skipping 'misc/help2man' (help2man-1.36.4_1) because a  
requisite package 'gettext-0.16.1_1' (devel/gettext) failed  
(specify -k to force)
---  Skipping 'print/texinfo' (texinfo-4.8_3) because a requisite  
package 'gettext-0.16.1_1' (devel/gettext) failed (specify -k to  
force)
---  Upgrading 'automake-1.9.6' to 'automake-1.9.6_1' (devel/ 
automake19)

---  Building '/usr/ports/devel/automake19'
On FreeBSD before 6.2 ports system unfortunately can not set  
default X11BASE by itself so please help it a bit by setting  
X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE,  
please set variable USE_NONDEFAULT_X11BASE.

*** Error code 1

Stop.
---  Upgrading 'automake-1.5_2,1' to 'automake-1.5_3,1' (devel/ 
automake15)

---  Building '/usr/ports/devel/automake15'
On FreeBSD before 6.2 ports system unfortunately can not set  
default X11BASE by itself so please help it a bit by setting  
X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE,  
please set variable USE_NONDEFAULT_X11BASE.

*** Error code 1

Stop.
---  Upgrading 'libungif-nox11-4.1.4_2' to 'libungif- 
nox11-4.1.4_3' (graphics/libungif)

---  Building '/usr/ports/graphics/libungif'
On FreeBSD before 6.2 ports system unfortunately can not set  
default X11BASE by itself so please help it a bit by setting  
X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE,  
please set variable USE_NONDEFAULT_X11BASE.

*** Error code 1

Stop.
---  Upgrading 'emacs-21.3_9' to 'emacs-21.3_10' (editors/emacs)
---  Building '/usr/ports/editors/emacs'
On FreeBSD before 6.2 ports system unfortunately can not set  
default X11BASE by itself so please help it a bit by setting  
X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE,  
please set variable USE_NONDEFAULT_X11BASE.

*** Error code 1

Stop.
---  Skipping 'mail/mutt' (mutt-1.4.2.2) because a requisite  
package 'gettext-0.16.1_1' 

Question about ps display

2007-05-20 Thread Paul Schmehl
I'm trying to figure out why courier imap ssl refuses to display the 
status of the process.  I've tried adding both check_pidfile and 
check_process to the startup script, but neither works.


I think the problem is related to the way ps displays the process.  Even 
though courierlogger (the parent process) is located in 
/usr/local/sbin/courierlogger, ps displays it like this:


21842  p2  S  0:00.00 [courierlogger]

Why does ps display the process like this instead of displaying the full 
path?


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: ....

2007-05-20 Thread David J Brooks
On Sunday 20 May 2007 02:49:49 pm * ** wrote:
 Hello.
 idont know if this is right mail. nut i try anyway. =)
 im trying to install freebsd on my computer, but when the installation
 is finish and i should login. i type in my account name and password.
 byt then i only get to something that looks lika
 a terminal (i use linux now and it looks the same like
 a terminal there) but ofcourse i would lika it to look like a
 regular desktop with gnome ore kde, but i dont know
 what im doing wrong. i hope you can helt me.
 sorry aboyut my english, but im swedish.  =)

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

(Sorry. I didn't find a Swedish version of the handbook)

David
-- 
To be intoxicated is to feel sophisticated but not be able to say it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to start desktop environment (was Re: ....)

2007-05-20 Thread Roland Smith
On Sun, May 20, 2007 at 09:49:49PM +0200, * ** wrote:
  Hello.

First of all, try to make a better subject line next time.

  im trying to install freebsd on my computer, but when the installation
  is finish and i should login. i type in my account name and password.
  byt then i only get to something that looks lika
  a terminal (i use linux now and it looks the same like
  a terminal there) but ofcourse i would lika it to look like a
  regular desktop with gnome ore kde, but i dont know
  what im doing wrong. i hope you can helt me.
  sorry aboyut my english, but im swedish.  =)

You did not do anything wrong. FreeBSD doesn't start with a desktop
environment by default.

You should read § 5.7 of the FreeBSD manual. It's available as
/usr/share/doc/en_US.ISO8859-1/books/handbook/index.html or on the
FreeBSD website http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
That section explains how to boot into a desktop environment by default.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpd9DkN9awxj.pgp
Description: PGP signature


ld can't find -lX11

2007-05-20 Thread Tsu-Fan Cheng

Hi,
  I guess this is really simple, but I am not familiar with ld thing.
During xorg upgrade, graphics/glitz failed, and complained that ld
can't find -lX11, what should I do?? please advise, thanks!!

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


Re: Question about ps display

2007-05-20 Thread Garrett Cooper

Paul Schmehl wrote:
I'm trying to figure out why courier imap ssl refuses to display the 
status of the process.  I've tried adding both check_pidfile and 
check_process to the startup script, but neither works.


I think the problem is related to the way ps displays the process.  Even 
though courierlogger (the parent process) is located in 
/usr/local/sbin/courierlogger, ps displays it like this:


21842  p2  S  0:00.00 [courierlogger]

Why does ps display the process like this instead of displaying the full 
path?


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Because the command was in the search path and was invoked as 
courierlogger :)?


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


Re: ld can't find -lX11

2007-05-20 Thread Garrett Cooper

Tsu-Fan Cheng wrote:

Hi,
  I guess this is really simple, but I am not familiar with ld thing.
During xorg upgrade, graphics/glitz failed, and complained that ld
can't find -lX11, what should I do?? please advise, thanks!!

TFC


Check to make sure that /usr/local (i.e. ${LOCALBASE} = /usr/local) is 
in your lib search path and not the old X11 default (i.e. ${X11BASE} = 
/usr/X11R6).


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


Re: just general questions about fbsd

2007-05-20 Thread Kevin Kinsey
Anton Galitch wrote:
 Hi
 Im writing an article about FreeBSD and want to ask some few question:
 
 - Do the FBSD developers work for free?

Heh, you mean, at what job?  Most of them work somewhere for
money, I'm pretty sure. ;-) Occasionally companies will grant money
to a certain developer to remain unemployed by others and spend more
time on FreeBSD.  IIRC, Poul Henning-Kamp got a good portion of a year's
salary in a fund-raising campaign last year, mostly from some of
the larger companies listed below.

Some companies pay an employee a regular salary, but allow or 
even encourage them to work on FreeBSD as part of their job.

However, the majority of developers work on FreeBSD in their free time,
for the love of the system, without much more compensation than the
satisfaction of a job well done.

At least, that is what I think/hope/sincerely want to believe :-)

 - What advanced features it has that for example Windows, or MacOS 
dont
 have?

advanced features should be defined.  Stability and security are
apparently advanced features, judging by my 10 years experience
with those products from Redmond.  FBSD's got a truckload of stuff
Windows doesn't see the need for that should be standard issue on any
operating system where Real Work needs to be done; starting with cat
and grep and ending who knows where ... Windows uses *BSD code in
their network stack ... IANAE, but maybe ACLs, MAC, software RAID (I 
guess Win has that now?), multiple virtual terminals, real shells are
just a few things that come to mind.

And, Mac OS X uses a non-BSD kernel, but most of the userland programs
were taken from FreeBSD 4.X. some time back.  The GUI stuff is original
Apple, I believe

The real issue, though, is that FreeBSD is about as modern a 
Unix[like] as
you can get, and Windows and Unix like aren't apples and apples.  With
a BSD you get historically sound, useful software, along with other 
stuff.

With other systems, you get sexy GUI apps that do some stuff, but 
doesn't
jive with most of the UNIX paradigm, and, really, was mostly developed 
for
reasons no one knows anymore and marketed in order that some executive 
could buy another house in Tuscany or on the Riviera.  Or, something 
like
that.

 - What well knows companies use FreeBSD as servers? (I know that 
Hotmails
 used fbsd servers like 5 years ago).

Well, you missed Yahoo!, for certain.

Pair Networks, New York Internet, Verio, are big in hosting, also 
serverpath.com, inetu.com, velcom.com, existhosting.com and lots more,
as a Google search would show you.  Check www.netcraft.com for more 
on the hosting business, including some reports on FreeBSD's stature
as a top-notch hosting platform and record-setting high-availability
leader.

Some ISP's are listed at:
http://www.freebsd.org/commercial/isp.html
   --- along
with lots of other companies in software development, systems 
integration,
and lots more underneath the /commercial/ folder.

Then there's a lot of little companies.  And probably some people who
don't want you to know about them, with black helicopters and big white
trucks and hidden laboratories under mountains or cactus or something.

 Thanks for help.

It's not much, but you're welcome to it, of course.  Oh, and
Google is your friend. ;-)

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


Virus Broken.Executable gefunden

2007-05-20 Thread Inode Mailscan
Sehr geehrte Damen und Herren,

in dem E-Mail mit dem Betreff 'Mail System Error - Returned Mail'
(gesendet am Tue, 8 Feb 2000 16:01:32 -0300) mit der angegebenen
Absenderadresse '[EMAIL PROTECTED]' wurde der
Virus 'Broken.Executable' gefunden.
Aus diesem Grund wurde die E-Mail nicht zugestellt!

Ihr Inode-Team
--

Dear Ladies and Gentlemen,

the mail with the Subject 'Mail System Error - Returned Mail'
(sent on Tue, 8 Feb 2000 16:01:32 -0300) with the sender address
specified as '[EMAIL PROTECTED]' contained a virus
known as 'Broken.Executable'.
Due to this reason the Mail has not been delivered!

Your Inode-Team
---


Headers of original mail follow:

Received: from localhost ([127.0.0.1]:37697 helo=smartmx-06.inode.at)
by smartmx-06.inode.at with esmtp (Exim 4.50)
id 1Hol9P-0003iH-Qe
for [EMAIL PROTECTED]; Thu, 17 May 2007 20:56:35 +0200
Received: from [200.225.227.165] (port=15044 helo=freebsd.org)
by smartmx-06.inode.at with esmtp (Exim 4.50)
id 1Hol9N-0003gN-Ea
for [EMAIL PROTECTED]; Thu, 17 May 2007 20:56:35 +0200
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Mail System Error - Returned Mail
Date: Tue, 8 Feb 2000 16:01:32 -0300
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary==_NextPart_000_0002_B1D9EF3C.81180CC6
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.


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


RE: just general questions about fbsd

2007-05-20 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Kevin Kinsey
 Sent: Sunday, May 20, 2007 3:19 PM
 To: Anton Galitch
 Cc: [EMAIL PROTECTED]
 Subject: Re: just general questions about fbsd
 
 
 Anton Galitch wrote:
  Hi
  Im writing an article about FreeBSD and want to ask some few question:
  
  - Do the FBSD developers work for free?
 
 Heh, you mean, at what job?  Most of them work somewhere for
 money, I'm pretty sure. ;-) Occasionally companies will grant money
 to a certain developer to remain unemployed by others and spend more
 time on FreeBSD.  IIRC, Poul Henning-Kamp got a good portion of a year's
 salary in a fund-raising campaign last year, mostly from some of
 the larger companies listed below.
 
 Some companies pay an employee a regular salary, but allow or 
 even encourage them to work on FreeBSD as part of their job.
 
 However, the majority of developers work on FreeBSD in their free time,
 for the love of the system, without much more compensation than the
 satisfaction of a job well done.
 

I think the majority of developers have FreeBSD involved in some manner
in their jobs, and a lot of times they need something put into it, or
they need a tool to run on it.  Not that their job description specifically
lists working on the FreeBSD system but that they are given a lot of
leeway as to how they come up with solutions to their employers problems.

If I was, for example, an employer paying a developer a
salary to write code to keep my business running, I would expect
that whatever OS he preferred to use to run the programs he's writing for
me, he would have source for it.  Microsoft in fact has a specific program
for developers to be able to access Windows source.  Furthermore, I would
also expect that if my developer ran into a problem that was due to
a bug in the OS source, that he would have a channel to get this corrected.
If it was a Windows platform, I would certainly inform my MS sales rep
that continued payment and purchase of MS os licenses was absolutely
contingent on them taking bug corrections from my employee that needed
fixing in their code, bugs that were preventing my developer from building
software that I needed.

 At least, that is what I think/hope/sincerely want to believe :-)
 
  - What advanced features it has that for example Windows, or MacOS 
 dont
  have?
 

Windows, even the server versions of Windows, are fundamentally desktop
software operating systems that are at times pressed into being servers.

FreeBSD and the other UNIXES are fundamentally server operating systems
that are at times pressed into being desktops.

Remember, UNIX came out of the multiuser environment, where you had
a lot of people connected via dumb ASCII terminals to a single mainframe.
From the beginning, concepts like reentrant code, and separation of
user authority, have been ingrained in it.

Consider for example the extreme difficulty that Microsoft has had
with the simple concept of a superuser.  A superuser is, as you may
know, a userID on the system that has authority to do anything, change
anything, and that the normal security mechanisms do not apply to.
Under UNIX this is the root user ID.

Well, with Windows, in the Win 3.1/win95/win98/winME series, anyone
who booted the Windows system was automatically the superuser.  This
causes a lot of problems as you might imagine with programs, as if a
program has a bug or goes out of control somehow, since the user it
is running under has no security, the program can destroy anything on
the system.

With UNIX, normally, programs are not run under the superuser ID,
they are run under a normal user ID.  Thus programs cannot normally
damage the system.   Microsoft observed the value of this paradigm
and so put it into Windows NT - although, under NT, they called
the superuser the administrative user most likely, because they
didn't want anyone to realize they were just copying how UNIX does
things.  But, administrator under Windows, and root under UNIX are
essentially the same thing.

The problem, though, is that because the concept of the superuser
ID was grafted onto Windows, if you setup Windows so that when it
boots, a person logs into it as a regular user, they have a lot of
problems.  They cannot install software, they cannot run a lot of
different network software, they cannot make changes in simple things
like the screen resolution, and so on.  Both Windows NT and Windows 2K
were setup by Microsoft out of the box like this - when you installed
them, you had to tell them a regular userID and an administrator
userID.  But, due to the problems, Microsoft went to a model in
both Windows XP and Windows Vista, where when you install and set
it up, BY DEFAULT, you are put in as a superuser (administrator)

This saves Microsoft a lot of support calls from people calling in
demanding to know why the Windows OS won't let them do simple things
like change screen resolution - but, it completely 

Re: Mysqld-server errors starting...

2007-05-20 Thread Agus

2007/5/20, Bob [EMAIL PROTECTED]:


Here are the things you have to do to activate MySql after installing the
port.

To autostart mysql at boot add this to /etc/rc.conf
mysql_enable=YES

To start or stop mysql server do this
/usr/local/share/mysql/mysql.server start
/usr/local/share/mysql/mysql.server stop

You have to tell mysql to create its internel control db
by running this command.
mysql_install_db --user=mysql

To verify mysql is operational issue these commands
mysqladmin version
mysqladmin variables

To start command line session with mysql server to
create a DB enter
mysql -u root

The online mysql manual is at
http://dev.mysql.com/doc/refman/5.0/en/index.html

The mysql databases and log files are written here
/var/db/mysql


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Agus
Sent: Friday, May 18, 2007 11:19 PM
To: freebsd-questions
Subject: Mysqld-server errors starting...

Hi all...
I got a problem starting the server

/usr/local/libexec/mysqld: cant read dir or  '/tmp/' (Errcode: 13)

and a few more lines

i read sthg about permitions, but i checked /tmp perms and everybody con
write there...

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

Thanks for the answer...i did all that and it was working fine for about a

monthNow suddenly i got this errors

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


Re: FreeBSD Port: ports-mgmt/portmaster

2007-05-20 Thread Dantavious
On Sunday 20 May 2007 18:58:09 you wrote:
 Dantavious wrote:
  Hi,
  I was wondering if you had any specific guidance on the upgradeing of
  Xorg and all the ports that depend on it.  The UPDATING file only
  contains instructions for portupgrade.
  Thanks for assistance in this matter.

 In theory you could just use the equivalent portmaster commands, but
 you'd want to use the new version, which you can find at
 http://dougbarton.us/portmaster. There are a couple new features, like
 -R, --force-config, and -x that you might want to read the 'portmaster
 -h' output about.

 I'll have something more specific after I've more thoroughly tested
 the new version, and have had a chance to test the upgrade myself.

 Doug

Cool, I will hold off until you have tested it and provide feedback. I dont 
want to jack anything up or waste my time doing something wrong.
Thanks for the quick reply.
v/r
Derrick 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: just general questions about fbsd

2007-05-20 Thread Tamouh H.
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of 
 Kevin Kinsey
  Sent: Sunday, May 20, 2007 3:19 PM
  To: Anton Galitch
  Cc: [EMAIL PROTECTED]
  Subject: Re: just general questions about fbsd
  
  
  Anton Galitch wrote:
   Hi
   Im writing an article about FreeBSD and want to ask some 
 few question:
   
   - What advanced features it has that for example Windows, or MacOS
  dont
   have?
  
 
 Windows, even the server versions of Windows, are 
 fundamentally desktop software operating systems that are at 
 times pressed into being servers.
 
 FreeBSD and the other UNIXES are fundamentally server 
 operating systems that are at times pressed into being desktops.
 
 Remember, UNIX came out of the multiuser environment, where 
 you had a lot of people connected via dumb ASCII terminals to 
 a single mainframe.
 From the beginning, concepts like reentrant code, and separation of
 user authority, have been ingrained in it.
 
 Consider for example the extreme difficulty that Microsoft 
 has had with the simple concept of a superuser.  A 
 superuser is, as you may know, a userID on the system that 
 has authority to do anything, change anything, and that the 
 normal security mechanisms do not apply to.
 Under UNIX this is the root user ID.
 
 Well, with Windows, in the Win 3.1/win95/win98/winME series, 
 anyone who booted the Windows system was automatically the 
 superuser.  This causes a lot of problems as you might 
 imagine with programs, as if a program has a bug or goes out 
 of control somehow, since the user it is running under has no 
 security, the program can destroy anything on the system.
 
 With UNIX, normally, programs are not run under the superuser 
 ID, they are run under a normal user ID.  Thus programs 
 cannot normally
 damage the system.   Microsoft observed the value of this paradigm
 and so put it into Windows NT - although, under NT, they 
 called the superuser the administrative user most likely, 
 because they didn't want anyone to realize they were just 
 copying how UNIX does things.  But, administrator under 
 Windows, and root under UNIX are essentially the same thing.
 
 The problem, though, is that because the concept of the 
 superuser ID was grafted onto Windows, if you setup Windows 
 so that when it boots, a person logs into it as a regular 
 user, they have a lot of problems.  They cannot install 
 software, they cannot run a lot of different network 
 software, they cannot make changes in simple things like the 
 screen resolution, and so on.  Both Windows NT and Windows 2K 
 were setup by Microsoft out of the box like this - when you 
 installed them, you had to tell them a regular userID and an 
 administrator userID.  But, due to the problems, Microsoft 
 went to a model in both Windows XP and Windows Vista, where 
 when you install and set it up, BY DEFAULT, you are put in as 
 a superuser (administrator)
 
 This saves Microsoft a lot of support calls from people 
 calling in demanding to know why the Windows OS won't let 
 them do simple things like change screen resolution - but, it 
 completely defeats the security in Windows, and makes even 
 the most modern Windows no better than Windows 3.1 in terms 
 of security.
 
 This I think is one of the best illustrations of the 
 different approaches of Windows and UNIX.  With a server, 
 since a lot of people are affected if an errant program 
 crashes it, the security is never disabled by default, and 
 the installer must deliberately choose to do it.  With a 
 desktop, nobody is really affected if it crashes except for 1 
 person, so since usability is more important than security, 
 by default this is why security in Windows Vista is subverted 
 this way, out of the box.
 
 There are a very great many people out there walking around 
 who have setup Windows systems as servers, and not understood 
 this, and as a result, caused their company to lose hundreds 
 if not thousands of dollars of time and labor due to the 
 Windows server crashing as a result of a virus knocking it 
 down.  A virus, I will say, that IF the Windows security had 
 been properly enabled, would NOT have been able to take the 
 Windows server down.
 
 Ted

Not to change this to Windows vs Unix thread. But I think they are two 
different ball games. I work with both servers and have seen 
advantages/disadvantages in both security and non-security related.

The SYSTEM user is considered to be the superuser on Windows. This is why many 
malicious codes that exploit a high risk vulnerability in OS automatically 
grant their application a service or run it as a system process.

On the other hand, Windows has the ability to change the administrator user or 
completely disable it. Something not available in Unix systems. For example, a 
cracker or hacker targeting UNIX system will automatically try to compromise 
the root user. It is 100% guaranteed to be there. On the other hand in 
Windows, good sys 

disk too big to mount

2007-05-20 Thread Yanko Sanchez

Hello,

I have a 400GB seagate IDE hdd with backed up data that I need to load onto
a machine running freebsd 6.2

The drive is formated for fat32 and when I run the command:

mount -t msdos /dev/ad2s2 /mnt/audio/

I get the following error:

mountmsdosfs(): disk too big, sorry

Is there a solution to this?
Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ksayit or kttsmgr questions...

2007-05-20 Thread Gary Kline

Guys, 

I'm totally wedged this time.  I *did* have the text-to-speech 
stuff working on the KDE desktop) on my antique Kayak.  I don't
know how because the Kayay has been temporarily disconnected.
But now witha newer and blindingly better Dell: no-joy.  I've
installed several of the festival ports, I've installed ksayit
and the ktts stuff.  I had to install the kde3* stuff.   

Below are the errors that have stumped me:

Session management error: Authentication Rejected, reason : None of the
authentication protocols specified are supported and host-based
authentication failed
Session management error: Authentication Rejected, reason : None of the
authentication protocols specified are supported and host-based
authentication failed
kbuildsycoca running...
DCOP Cleaning up dead connections.
QObject::connect: No such signal KTTSDLib::signalCallPreferences()
QObject::connect:  (sender name:   'KTTSD-Library')
QObject::connect:  (receiver name: 'MainWindow')
kio (KMimeType): WARNING: KServiceType::offers : servicetype KSayIt/FXPlugin 
not found
Session management error: Authentication Rejected, reason : None of the
authentication protocols specified are supported and host-based
authentication failed


There are a few KDE apps that just-work--or *used to*.  The 
tts apps and that konqueror has ktts built-in is one reason I
use konqueror now and then.

The Session management error message sounds like I'm missing
something on the ssh side; but ssh should have nothing to do with
this application.  

So:  Can anybody out there clue me in?  If thisis a sound card 
problem,  I have not yet changed my vchan setting

thanks!

gary




-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: disk too big to mount

2007-05-20 Thread Ray
On Sunday 20 May 2007 7:04 pm, Yanko Sanchez wrote:
 Hello,

 I have a 400GB seagate IDE hdd with backed up data that I need to load onto
 a machine running freebsd 6.2

 The drive is formated for fat32 and when I run the command:

 mount -t msdos /dev/ad2s2 /mnt/audio/

 I get the following error:

 mountmsdosfs(): disk too big, sorry

 Is there a solution to this?
 Thanks.
I'm certainly not an expert, but  Google your error message, and you will find 
that you need to work some magic with your kernal to access a fat32 partition 
bigger than 128GB.
Ray


 ___
 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: X11BASE error on non X11 system??

2007-05-20 Thread Kris Kennaway
On Sun, May 20, 2007 at 09:48:47PM +0200, bsd wrote:
 Hello,
 
 Since today I have a strange error occuring on my system : FreeBSD  
 5.5-RELEASE-p9
 
 ---  Upgrading 'gettext-0.16.1_1' to 'gettext-0.16.1_3' (devel/ 
 gettext)
 ---  Building '/usr/ports/devel/gettext'
 On FreeBSD before 6.2 ports system unfortunately can not set  
 default X11BASE by itself so please help it a bit by setting  
 X11BASE=${LOCALBASE} in make.conf.
 On the other hand, if you do wish to use non-default X11BASE,  
 please set variable USE_NONDEFAULT_X11BASE.
 *** Error code 1

OK, so follow the instructions.

 These errors are occuring thaugh I have specified in my make.conf file :
 
 WITHOUT_X11=yes

That will not prevent X from being installed, it is an optional
directive that some ports may use to disable X support if it is an
available alternative.  It is up to you to make sure that you do not
request installation of a port that requires X.

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


Re: disk too big to mount

2007-05-20 Thread Yanko Sanchez

yeah, I found the option I think it is:

MSDOSFS_LARGE

I read that it isn't recommended, so im trying to convert it to
another FS so that I don't have to use that option. The problem is
that I think im gonna need another HDD to move the files too while I
change the FS on the one I have... unless there is a way to convert
from one FS to another..

I'm only using 170GB of the 400GB hdd, I tried to put the hdd on my
windows machine and run Partition Magic on it to resize the partition,
then create a unix partition and move the files. but aparently PM only
supports hdd of 300GB and smaller so I can't resize it.


On 5/20/07, Ray [EMAIL PROTECTED] wrote:

On Sunday 20 May 2007 7:04 pm, Yanko Sanchez wrote:
 Hello,

 I have a 400GB seagate IDE hdd with backed up data that I need to load onto
 a machine running freebsd 6.2

 The drive is formated for fat32 and when I run the command:

 mount -t msdos /dev/ad2s2 /mnt/audio/

 I get the following error:

 mountmsdosfs(): disk too big, sorry

 Is there a solution to this?
 Thanks.
I'm certainly not an expert, but  Google your error message, and you will find
that you need to work some magic with your kernal to access a fat32 partition
bigger than 128GB.
Ray


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

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


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


PPPoE equivalent?

2007-05-20 Thread Brian Walker

Greetings all,

I regularly find my computer is bumped off the net - on the Windows OS I see
a regular notification of re-connection. On My linux box I need to 'sudo
pppoeconf' to reconnect. The FreeBSD handbook deals rather scantily with
PPPoE, and I can find nothing much on googling. Any ideas how best to a)
prevent being kicked off and b) reconnecting. At the moment I simply do
'sudo ppp -ddial internet' to be reassigned and all works well ... for a
while. The best response is to leave FreeBSD and  connect on re-entry into
the OS. There has to be a better way.

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


Re: PPPoE equivalent?

2007-05-20 Thread Nikola Lecic
On Mon, 21 May 2007 10:54:48 +0800
Brian Walker [EMAIL PROTECTED] wrote:

 Greetings all,
 
 I regularly find my computer is bumped off the net - on the Windows
 OS I see a regular notification of re-connection. On My linux box I
 need to 'sudo pppoeconf' to reconnect. The FreeBSD handbook deals
 rather scantily with PPPoE, and I can find nothing much on googling.
 Any ideas how best to a) prevent being kicked off and b)
 reconnecting. At the moment I simply do 'sudo ppp -ddial internet' to
 be reassigned and all works well ... for a while. The best response
 is to leave FreeBSD and  connect on re-entry into the OS. There has
 to be a better way.

Have you checked the ppp FAQ?

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/ppp.html

What does 'regularly' mean? Any special circumstances (for example, a
heavy load)?

Please send your /etc/ppp/ppp.conf, the relevant portion
of /etc/rc.conf (cat /etc/rc.conf | grep ppp) and some logs (see ppp(8)
how to enable it).

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


Re: just general questions about fbsd

2007-05-20 Thread Chad Perrin
On Sun, May 20, 2007 at 08:09:19PM -0400, Tamouh H. wrote:
 
 On the other hand, Windows has the ability to change the administrator user 
 or completely disable it. Something not available in Unix systems. For 
 example, a cracker or hacker targeting UNIX system will automatically try to 
 compromise the root user. It is 100% guaranteed to be there. On the other 
 hand in Windows, good sys admins will rename or complete disable the 
 administrator user hence making it more difficult to know the administrator 
 user.
 

Actually . . . technically, root users can be renamed and can, in many
ways, be disabled.  They can certainly be made inaccessible remotely.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
W. Somerset Maugham: The ability to quote is a serviceable substitute for
wit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PPPoE equivalent?

2007-05-20 Thread Federico Lorenzi

On 5/21/07, Nikola Lecic [EMAIL PROTECTED] wrote:

On Mon, 21 May 2007 10:54:48 +0800
Brian Walker [EMAIL PROTECTED] wrote:

 Greetings all,

 I regularly find my computer is bumped off the net - on the Windows
 OS I see a regular notification of re-connection. On My linux box I
 need to 'sudo pppoeconf' to reconnect. The FreeBSD handbook deals
 rather scantily with PPPoE, and I can find nothing much on googling.
 Any ideas how best to a) prevent being kicked off and b)
 reconnecting. At the moment I simply do 'sudo ppp -ddial internet' to
 be reassigned and all works well ... for a while. The best response
 is to leave FreeBSD and  connect on re-entry into the OS. There has
 to be a better way.


I'm not sure there is, I've had a similar problem like this before,
and I got around
it by writing a simple script that would try and ping a local site 4
times, and if no
responses got back it would killall ppp and delete the default routes
and tell ppp
to reconnect. It worked quite well when put into cron to run at 1
minute intervals.
You could also try Roaring penguin PPPoE and see if you have any success with
that.

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