Re: Power Off with ATX board wont work...

2005-08-16 Thread Christian Tischler
Warren Block wrote:

> On Tue, 16 Aug 2005, Christian Tischler wrote:
>
>> As the Server is back online I checked the configuration and saw that
>> the shutdown script, witch is triggered from a html page did use "halt",
>> but changing this to "shutdown -p now" did not help.
>> "apm" is enabled.
>
>
> apm is enabled where?  In your kernel config *and* in /etc/rc.conf?
>
> -Warren Block * Rapid City, South Dakota USA
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>
Yes it is enabled in both.

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


Re: Power Off with ATX board wont work...

2005-08-16 Thread Christian Tischler
As the Server is back online I checked the configuration and saw that
the shutdown script, witch is triggered from a html page did use "halt",
but changing this to "shutdown -p now" did not help.
"apm" is enabled.

Does anyone have any other ideas how to resolve this, or is it
definitely a hardware problem?

thanks,

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


Re: Power Off with ATX board wont work...

2005-08-15 Thread Christian Tischler
Sorry I did not reply to your questions, but the server is in an remote
location, and currently down due to hollidays.

thx for your help

Christian

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


Power Off with ATX board wont work...

2005-08-10 Thread Christian Tischler
Hi,
my FreeBSD 4.9 box (old, but rock solid, and as there are no security
concerns I do not intend to update it) has to be shut down every night
to reduce energy costs. But after shutdown is complete I get the "hit
any button to reboot" or so screen, but the atx power supply does not
turn off. This is rather anoying. I have compiled in all the relevant
stuff into the kernel but somehow I have missed something and google was
not very helpfull, too.

My question would be what I could have missed, and if this could be a
hardeware problem? It is an old 1.xGhz amd box, so nothing fancy here.

thanks in advance

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


How to test if online?

2005-08-02 Thread Christian Tischler
Hi all,
I am using a FreeBSD box as an DSL router. Sometimes the inet connection
does down and ppp is unable to reconnect. I want to detect via a cron
script if I am online and if not reinitilize the connection. The script
works ok when run manually, but when executed from cron it sometimes
reinitializes the connection even when it is not neccessary.
Now my question would be how I could improve the script, or if there is
a better way. As you can see from the script I am not really a
programmer, but I tried what I could.

#!/bin/sh
if !(/sbin/ping  -c 1 freebsd.org) then
/usr/bin/killall ppp
/bin/sleep 1
/sbin/ifconfig xl1 down
/sbin/ifconfig xl1 up
/bin/sleep 1
/usr/sbin/ppp -quiet -ddial -nat tdsl
fi
-

thanks in advance

Christian Tischler

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


Re: FreeBSD 5.x forgetting passwords.

2005-05-31 Thread Christian Tischler

Bill Moran wrote:


Christian Tischler <[EMAIL PROTECTED]> wrote:

 


Jerry McAllister wrote:

   


Eugene M. Minkovskii wrote:

   


On Mon, May 30, 2005 at 03:53:29PM +0200, Christian Tischler wrote:
" Eugene M. Minkovskii wrote:
" 
" >On Sun, May 29, 2005 at 10:55:41PM +0200, Christian Tischler wrote:

" >" Hi,
" >" I am running a FreeBSD 5.1 system and some time ago it startet to 
" >" "forget" some user passwords.
" >" As the system is now running for over 2 years I cannot imagine any 
" >" reason why this shound be.

" >" Any ideas.
" >
" >root# su user
" >user$ passwd
" >newpasswd
" >newpasswd
" >user$ exit
" >
" >
" >
" >" Thanks in advance
" >" 
" >" Christian

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

" >
" > 
" >

" And how do I do it from remote via ssh?
" 


you$ sudo su user

or, if you in group wheel, perhaps possible following

you$ su user

if you are not sudoer and you have not other way to take a root
privilegies, you can't be other user. And this is right. In other
case anybody can be anybody.

" thx
" 
" Christian
" 
" PS: that was not quite an answer to my question I think, was it?






 

Sorry for the confusion. But the problem is that the server forgets the 
password of the user (in wheel) I want to log in with from remote.
The question was not how to become root or any other user to change the 
password. The question was why the box forgets the passwords in the 
first place, and how to stop this.
  

   


You may have to give more information.
I have never seen a system "forget" a password unless someone or something
intervened and specifically changed them.Or, is it possible that you
put an expiration on the passwords?By default, I believe FreeBSD
sets that at infinite, but you or someone might have changed that while
tinkering around.

jerry



 


thx for the answer.
I gave you all the info there is.
The system is now running since the release of 5.1 (2 years?) and this 
"password forgetting thing" startet about one month or so ago. I am 
quite sure that I did not tinker around with the config.

But I will take a look at the expiration time just to check.
   



If you're _sure_ that nobody authorized has changed the password, then
there are two very scare things possible:
1) Someone has cracked your system and is trying to keep you out by
  changing your password.
2) Your disk is failing and has corrupted your password file.

Considering how old 5.1 is, and how many security issues have been
discovered since 5.1, I would place a high probability on #1.

No guarantees, though.  But I would definately consider and investigate
those two possibilities if I were you.

 



1)  that is what I thought first, too. But the root password and the 
password for another account never changed.
2) this consideration also came to me. that is the reason why the system 
is going to be "upgraded" to raid 5  and a new 5.x.
But as my time is very limited I first tried to fix that problem to keep 
the machine up and running until I have more time.
The fact that 5.1 is old does not matter so much in terms of security, 
as only ssh and some high ports for a crypted vpn are open to the net, 
and the box is behind a firewall/nat/router thing.


thx for your reply

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


Re: FreeBSD 5.x forgetting passwords.

2005-05-31 Thread Christian Tischler

Jerry McAllister wrote:


Eugene M. Minkovskii wrote:

   


On Mon, May 30, 2005 at 03:53:29PM +0200, Christian Tischler wrote:
" Eugene M. Minkovskii wrote:
" 
" >On Sun, May 29, 2005 at 10:55:41PM +0200, Christian Tischler wrote:

" >" Hi,
" >" I am running a FreeBSD 5.1 system and some time ago it startet to 
" >" "forget" some user passwords.
" >" As the system is now running for over 2 years I cannot imagine any 
" >" reason why this shound be.

" >" Any ideas.
" >
" >root# su user
" >user$ passwd
" >newpasswd
" >newpasswd
" >user$ exit
" >
" >
" >
" >" Thanks in advance
" >" 
" >" Christian

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

" >
" > 
" >

" And how do I do it from remote via ssh?
" 


you$ sudo su user

or, if you in group wheel, perhaps possible following

you$ su user

if you are not sudoer and you have not other way to take a root
privilegies, you can't be other user. And this is right. In other
case anybody can be anybody.

" thx
" 
" Christian
" 
" PS: that was not quite an answer to my question I think, was it?




 

Sorry for the confusion. But the problem is that the server forgets the 
password of the user (in wheel) I want to log in with from remote.
The question was not how to become root or any other user to change the 
password. The question was why the box forgets the passwords in the 
first place, and how to stop this.
   



You may have to give more information.
I have never seen a system "forget" a password unless someone or something
intervened and specifically changed them.Or, is it possible that you
put an expiration on the passwords?By default, I believe FreeBSD
sets that at infinite, but you or someone might have changed that while
tinkering around.

jerry

 


thx for the answer.
I gave you all the info there is.
The system is now running since the release of 5.1 (2 years?) and this 
"password forgetting thing" startet about one month or so ago. I am 
quite sure that I did not tinker around with the config.

But I will take a look at the expiration time just to check.

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


Re: FreeBSD 5.x forgetting passwords.

2005-05-31 Thread Christian Tischler

Eugene M. Minkovskii wrote:


On Mon, May 30, 2005 at 03:53:29PM +0200, Christian Tischler wrote:
" Eugene M. Minkovskii wrote:
" 
" >On Sun, May 29, 2005 at 10:55:41PM +0200, Christian Tischler wrote:

" >" Hi,
" >" I am running a FreeBSD 5.1 system and some time ago it startet to 
" >" "forget" some user passwords.
" >" As the system is now running for over 2 years I cannot imagine any 
" >" reason why this shound be.

" >" Any ideas.
" >
" >root# su user
" >user$ passwd
" >newpasswd
" >newpasswd
" >user$ exit
" >
" >
" >
" >" Thanks in advance
" >" 
" >" Christian

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

" >
" > 
" >

" And how do I do it from remote via ssh?
" 


you$ sudo su user

or, if you in group wheel, perhaps possible following

you$ su user

if you are not sudoer and you have not other way to take a root
privilegies, you can't be other user. And this is right. In other
case anybody can be anybody.

" thx
" 
" Christian
" 
" PS: that was not quite an answer to my question I think, was it?


 

Sorry for the confusion. But the problem is that the server forgets the 
password of the user (in wheel) I want to log in with from remote.
The question was not how to become root or any other user to change the 
password. The question was why the box forgets the passwords in the 
first place, and how to stop this.


thx

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


FreeBSD 5.x forgetting passwords.

2005-05-29 Thread Christian Tischler

Hi,
I am running a FreeBSD 5.1 system and some time ago it startet to 
"forget" some user passwords.
As the system is now running for over 2 years I cannot imagine any 
reason why this shound be.

Any ideas.

Thanks in advance

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


Re: MS Exchange server on FreeBSD?

2005-03-20 Thread Christian Tischler
Anthony Atkielski wrote:
Christian Tischler writes:
 

The server side should be managed by BSD, but the client side is most
surely an heterogeneous group.
   

The server side of what?  It all depends on the complete architecture of
your IT infrastructure.  For some situations, sendmail and qpopper are
all you'll ever need.  For other situations, you'll end up buying racks
of servers running Exchange.
However, from what you've said thus far, it doesn't sound like Exchange
would be the right choice.
 

So a solution to somehow emulate/simulate an exchange server on an box
(or cluster of sql horde what ever servers), and import this e.g. 
calendar data into a BSD solution. As I understand the so far mentioned
products, these are quite capable of doing so. Then there would be an 
easy solution to different likes in clients.
   

Do they really need a calendar function?
Remember, once you start building this sort of stuff, it rapidly gets
more and more complicated.  You might end up at some point realizing
that it would have all been easier with Exchange.
If you _must_ have functionality equivalent to Exchange, then run
Exchange.  But if you don't need that functionality, run something
simpler.
For what it's worth, even fancy Outlook clients can access standard
SMTP/POP servers.  You can build a backend using only simple software,
and then consider something more complex only if and when users
absolutely demand it.  If you are forced into implementing a very
complex solution, consider going to Exchange rather than trying to
cobble something together, or you might spend the next ten years trying
to get it all to work.
 

Just to point out what I need, and then you probably will understand why 
I started this in the first place. I need to synchronize peoples (in the 
beginning only a few) calenders. As they all use Outlook I wanted to 
keep things easy on them.
As I really fancy FreeBSD, I started to look for a way to combine both 
"worlds"...

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


Re: MS Exchange server on FreeBSD?

2005-03-20 Thread Christian Tischler
As I follow this discussion an idea/question forms in my head.
The server side should be managed by BSD, but the client side is most 
surely an heterogeneous group.
So a solution to somehow emulate/simulate an exchange server on an box 
(or cluster of sql horde what ever servers), and import this e.g. 
calendar data into a BSD solution. As I understand the so far mentioned 
products, these are quite capable of doing so. Then there would be an 
easy solution to different likes in clients.
As I am not at all a skilled programmer I can not appraise the work that 
would be needed to establish such a thing.

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


Re: HDD idle shutdown.

2005-03-19 Thread Christian Tischler
[EMAIL PROTECTED] wrote:
On Fri, Mar 18, 2005 at 02:22:29PM +0100, Svein Halvor Halvorsen wrote:
 

* [EMAIL PROTECTED] [2005-03-18 11:24 +0100]
   

On Fri, Mar 18, 2005 at 10:21:17AM +0100, Christian Tischler wrote:
> I wondered whether there is an option to shut down an idle HDD until it 
> is needed again?
> I am using FreeBSD 5.x.

/usr/ports/sysutils/ataidle
 

Note that, while this indeed will spin down your hdd, the system will most 
likely spin it up again after a short period of time, unless you modify 
some settings. Especially the cron system may cause your hdd to spin up 
every once in a while.
   

Yes, that's true. Watch out for activity in /var/log etc.
I'm using ataidle on "diskless" workstations with attached
hdd (now if that's not an oxymoron!). Most activities happen
on the NFS mounted system partitions, and the hdd is only there
for backup purposes and for file systems that are not always in
use (like /home and so). Running ataidle on such workstations
proves to be very effective.
 

Svein Halvor
   

-cpghost.
 

Actually this is for my home server which provides nfs/samba shares. The 
idle process is only for the data only drives.

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


Re: MS Exchange server on FreeBSD?

2005-03-19 Thread Christian Tischler
Anthony Atkielski wrote:
Christian Tischler writes:
 

Thanks for all the replies. I will take a look at the, more or less, 
open  solutions. I never intended to use the MS exchange as my primary
mail server. But its functionality for syncinig calenders, documents and
so on, seemed to a "nice" "simple" way of dealing with my situation 
here. I have to admit, that I never used a windows server, and thought
it should be fairly easy. Now by looking at your submissions, and the 
docs, which tend to give me headaches, I realize that an Free BSD 
solution must be found to get the job done.
   

If you are running a large organization and you need the type of
functionality Exchange provides, Exchange is still likely to be the best
choice.  It's expensive, but you get what you pay for.  Conversely,
though, if you aren't going to use all the advanced features it
provides, you're throwing money out the window if you buy it.
The complexity also implies lots and lots of high-performance hardware
and a substantial load on sysadmins, too (actually, if you have
Exchange, you should have one or more dedicated mail administrators--the
workload tends to be too much for sysadmins, once you are using all the
product's features).
Note that Exchange is strongly contraindicated in networked environments
with low-speed connections between nodes (anything less than 1 Mbps
these days, I'd say). Even client connections need to be really fast if
the clients are using the full feature set.
 

Actually the number of users will be quite small, and bandwidth is not 
an consideration.
The first set up will not occur in an productive environment. Currently 
we are trying to find a solution that will fit our future demands.
I am very grateful for every bit of information I can get my hands on.

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


Re: MS Exchange server on FreeBSD?

2005-03-19 Thread Christian Tischler
Thanks for all the replies. I will take a look at the, more or less, 
open  solutions. I never intended to use the MS exchange as my primary 
mail server. But its functionality for syncinig calenders, documents and 
so on, seemed to a "nice" "simple" way of dealing with my situation 
here. I have to admit, that I never used a windows server, and thought 
it should be fairly easy. Now by looking at your submissions, and the 
docs, which tend to give me headaches, I realize that an Free BSD 
solution must be found to get the job done.

thx again for all your advice
Christian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


MS Exchange server on FreeBSD?

2005-03-18 Thread Christian Tischler
Hi,
I would like to run an MS exchange server. But I am not at all willing 
to set up an MS box at all. As I know I could run something like VMware 
virtual server or Wine, but I do not know if such an combination would 
be stable (sopken in terms of windows stability). The next consideration 
would be the performance of the overal setup.

Any hints or suggenstions would be great.
thx
Christian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


HDD idle shutdown.

2005-03-18 Thread Christian Tischler
Hi,
I wondered whether there is an option to shut down an idle HDD until it 
is needed again?
I am using FreeBSD 5.x.

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


freebsd 4.x remote server instable...

2005-03-14 Thread Christian Tischler
Hi,
I take care of an remote 4.x server and everything worked fine for over 
an year, but now the box gets unreachable every now and then, but I have 
no clue why this could be.
My question is what kind of logging facility I could run, I addition to 
the standart out of the box ones, that could tell me what leads to these 
"crashes"?
Sorry for the poor description, but that is all I know, too.

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


kernel message = ?

2005-03-14 Thread Christian Tischler
hi,
on my freebsd 4.x box I get "no matching session" as an kernel log. I 
was wondering what this could mean.

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


Re: Banning ips for some time?

2005-01-26 Thread Christian Tischler
Sandy Rutherford wrote:
Christian,
On Tue, 25 Jan 2005 you wrote:
>  my servers sshd reports 30 to 50 failed 
> root/operator/etc. logins a day. I would like to block the incoming ip 
> for a few days automaticly after e.g failed login requests.
> Currently I am using ipf, but it would be no problem to use any other 
> FreeBSD firewall.

For peace of mind, you can always use the AllowGroups, AllowUsers,
PermitRootLogin,  options in sshd_config to remove ssh access to
root, uucp, operator, and other system accounts.  I only permit ssh
access to user accounts.  The scripts which are making these login
attempts are not typically going to try user accounts for obvious
reasons.  If you need off-site root access you should be using su or
sudo bash anyway.  I would recommend always turning off root access
via ssh.
...Sandy
___
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. You described roughly the way I run sshd by now.
Christian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Banning ips for some time?

2005-01-25 Thread Christian Tischler
Anthony Atkielski wrote:
Christian Tischler writes:
CT> Hi,
CT> as I have an DSL line witch is 24/7 online (coming from an big and 
CT> popular provider)  my servers sshd reports 30 to 50 failed 
CT> root/operator/etc. logins a day. I would like to block the incoming ip
CT> for a few days automaticly after e.g failed login requests.
CT> Currently I am using ipf, but it would be no problem to use any other
CT> FreeBSD firewall.
CT> This is not only for security reasons, but also to shorten the daily
CT> security run output :-)

Do you have a need to access your server from the outside Net?  If not,
you can just block the SSH port entirely at the firewall (which is what
I do).
Almost doesn't count in securityland, so as long as the logins are
failing, they're not a security risk, just a nuisance.
 

I do need the ssh access.
Christian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Banning ips for some time?

2005-01-25 Thread Christian Tischler
Hi,
as I have an DSL line witch is 24/7 online (coming from an big and 
popular provider)  my servers sshd reports 30 to 50 failed 
root/operator/etc. logins a day. I would like to block the incoming ip 
for a few days automaticly after e.g failed login requests.
Currently I am using ipf, but it would be no problem to use any other 
FreeBSD firewall.
This is not only for security reasons, but also to shorten the daily 
security run output :-)

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


Reparing FreeBSD ports tree.

2005-01-25 Thread Christian Tischler
Hi everyone.
My primary question is how to repair a broken ports tree. I did a 
portupgrade to CVS FreeBSD 4.9 RELEASE, and now my ports tree ist all 
screwed up. There are tons of wrong/failed/whatever dependencies and 
some ports wont  work.
How can I repair this problem without an complete reinstall of the 
system? I have a lot of services running for my local net and a huge 
amount of configurations.
For exsample when I do /usr/ports/make index I get:
--
# make index
Generating INDEX - please wait..apsfilter-7.2.5_5: 
"/usr/ports/print/acroread5" non-existent -- dependency list incomplete
===> print/apsfilter failed
*** Error code 1
1 error

The second question is who to reinstall e.g. apache without uninstalling 
all the stuff that depends on it? e.g. When I did the portupgrade I 
obviously did something wrong, and now the xml module is missing, which 
is needed by some of my web aps.

I would be very glad if someone could point me out the nessesary steps 
to clear this mess.

I really thought about an complete reinstallation of the system, but 
everytime I install a new system I rn into dependency problems with the 
ports collection, as one app requires a version of an tool, but another 
dependence stops me from reinstalling the newer version. Is there an 
general guideline to prevent this?

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


Re: portupgrade dialogs...

2005-01-04 Thread Christian Tischler
Thanks for the quick answers.
christian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mounting firewire/USB storate devices

2005-01-04 Thread Christian Tischler
Kevin Smith wrote:
I'm a little new at this, but can some suggest what is the best way to 
mount firewire and usb storage devices ?  I am using both my ipod and 
compact flash devices with freeBSD but I find that I do not have a 
simple setup that allows me to mount them easily without manually 
looking at the /dev directory to figure out which device number 
belongs to which device. (or using camcontrol devlist) and then 
editing the /dev/fstab file each time.  I first used a /etc/fstab 
setup that looks like:

/dev/da0s1  /sandiskmsdosfs rw,noauto   0   0
/dev/da1s2  /ipod   msdos   rw,noauto   0   0
That does work, however, the scsi device numbers change, depending on 
what is plugged in and what order you plugged them in and you end up 
having to fish around with camcontrol to figure out what number is 
assigned to what...Questions.

(1) Is there an easier way to manage these devices.  For example, if 
there is a way to auto mount them when they are plugged in that would 
be nice. Gnome 2.8 is supposed to support this, but I have not found 
any clear way on how to set it up.
Take a look at devfs.
(2) More general but related question...Currently with the setup I 
have above, if I want to use the command "mount   /ipod", I have to be 
superuser. What permissions do I need to set so that a normal user can 
do the mount ? -or- what group would the user have to be in. By 
default users on my system are in operator and wheel groups.

I would suggest sudo as an easy way to do the job. Probably there is a 
better solution.

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


portupgrade dialogs...

2005-01-04 Thread Christian Tischler
Hi,
when I run portupgrade to get my server up to date (CVS of 
4.9-Release),  everything works fine and smooth, until any of the ports 
pops up an dialog and asks me what I want to compile in (e.g. cups 
asking me about what drivers I want to install and so on).

Now my question: Is there a way to work arround this? As my server does 
not have a very decent CPU updating takes quite some time, and I do not 
sit in front of my terminal all the time :-) and due to the dialogs 
waiting for my input the update is running for three days by now...

So any suggestions?
thx in advance
Christian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"