Re: How to achieve E-Mail Notification on root login?

2013-02-12 Thread Frank Staals
Robert Huff roberth...@rcn.com writes:

 Polytropon writes:

   given there is a FreeBSD system with users in the wheel group, 
   what is the best practise to send out a notification
   via E-Mail if one of them becomes root via su? In an ideal
   case the E-Mail would contain the user name and the time.
  
  I'm not sure if there already is a solution (provided in the
  base system) that offers this functionality, but the fact of
  a user having used su to su root is logged by the system.
  The line is appended to /var/log/messages:
  
  Feb 12 14:40:57 r56 su: poly to root on /dev/pts/2
  
  The information you want is in there, and you could either use
  the whole line, or apply some sed, awk or even perl to form a
  message with less information (only date and user).
  
  A scripted solution could monitor /var/log/messages for changes
  and use the system's builtin mailer to deliver the message. Tools
  like tail -f, grep and | mail could be involved. It should
  be quite trivial to implement this and add a custom rc.d-style
  script (or even few lines in ye olde /etc/rc.local).

   Take a look at the -p option of split.
   The bigger question is how quickly do you need to know -
 instantly?  once an hour?  once a day?  


   Robert Huff

I don't think anything other than instantly makes sense. If it would be
a batch thing sent once an hour/day/whatever then an attacker could
simply prevent the mail being sent, and/or remove her entry from the
log. 

Furthermore, one should realize that any setup would only be guaranteed
to report the first breach/login. In other words: after the first notice
that someone logged in as root you can no longer trust that you will get
further notices (assuming that the emails safely arrive once they have
actually left the system in the first place). Unless you can somehow
verify that your notification system/setup was untouched by the person
who logged in (e.g. since you were the one that actually logged in as
root).

Regards, 

-- 

- Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SSH on FreeBSD

2013-01-15 Thread Frank Staals
Volodymyr Kostyrko c.kw...@gmail.com writes:

 snip 
 In FreeBSD there are two ways of enabling sshd: default, fast and easy through
 rc.conf and a bit tricky and secure via inetd.conf. Everyone can select their
 own poison. I personally prefer the latter one.

You seem to imply that enabling sshd through inetd is more secure than
directly through rc.conf. Care to elaborate on that? 

Regards, 

-- 

- Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cloud software ?

2012-05-29 Thread Frank Staals
Ciprian Dorin Craciun ciprian.crac...@gmail.com writes:

 On Fri, May 25, 2012 at 11:11 AM, Frank Bonnet f.bon...@esiee.fr wrote:
 Hello

 I'm searching for a cloud software :-)

 More precisely we would like to offer to our students and professors
 a kind of private cloud to access/manipulate  their personnal data
 from almost anywhere and with almost any devices ...
 ( Personnal PC, Mac, smartphones   and tablets ... etc )

 Anyone could help ?
 Thank you


 Although it's not cloud-labeled, and:
 * if you're interested only in data (as in files) management;
 * and you want to host it your self;
 , you could take a look over OpenAFS. It's quite nice, works over
 WAN, supported on most modern OS's, and has strong authentication and
 authorization. (I don't know about Smartphones, tablets, etc.)

 Ciprian.

Hmm that sounds interesting. Do you know how persistent the local cache
is? If I do something like: open some (large) remote file (hence the
large file is transferred to the client), reboot the client, and reopen
the large file again. Is the large file then transferred again?
(assuming no other clients changed the file in the mean time). The
website is not particularly specific about the caching policy. If the
file is only transferred once it could be useful to sorta kinda fake
something like dropbox. 

Regards, 

-- 

- Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cloud software ?

2012-05-25 Thread Frank Staals
Frank Bonnet f.bon...@esiee.fr writes:

 Hello

 I'm searching for a cloud software :-)

 More precisely we would like to offer to our students and professors
 a kind of private cloud to access/manipulate  their personnal data
 from almost anywhere and with almost any devices ...
 ( Personnal PC, Mac, smartphones   and tablets ... etc )

 Anyone could help ?
 Thank you

As others have also already hinted at, I think you should be more
specific about what you want your ``cloud software'' to do. Without that
you will get K answers suggesting some software system that try to solve
K completely different problems. My part in those K different answers:
maybe OwnCloud[1] does something what you would want? 

Good luck  Regards, 

[1] http://owncloud.org/

-- 

- Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Write only directory.

2012-05-07 Thread Frank Staals
Paul Halliday paul.halli...@gmail.com writes:

 On Mon, May 7, 2012 at 3:49 PM, Randal L. Schwartz
 mer...@stonehenge.com wrote:
 Paul == Paul Halliday paul.halli...@gmail.com writes:

 Paul Is it possible to let a user write to a directory but not access the
 Paul file after they write it?

 Paul The file is being transferred via scp and after the transfer I don't
 Paul want them to be able to re-fetch or even get a directory listing.

 scp is via ssh.  with ssh, they get a complete command line.  how are
 you going to prevent *that*?

 The users shell is /bin/false

 and sshd is setup like:

 Match User a_user
 ChrootDirectory %h
 ForceCommand internal-sftp
 AllowTcpForwarding no

There is also shells/scponly for this kind of thing. As for the file permissions
question: not sure how to tackle that. 

-- 

- Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Synchronising jails

2012-04-27 Thread Frank Staals

Hey Everyone,

I'm looking for a way to synchronise two jails. More specifically, I
would like to keep/maintain an exact copy of a given jail. As an
example: Suppose I build a jail A on some system (in my particular case
build with ezjail) , and I copy the jail
into jail B on some other system (using tar, as is mentioned
here: http://forums.freebsd.org/showthread.php?t=17813). Now stuff
happens in Jail A, e.g. files change, new stuff is installed etc. I
would like to propagate these changes to jail B, but since the transfer
is over WAN I would like not to have to copy the entire jail again, just
the stuff that has changed since the last backup. It is safe to assume
nothing in Jail B changes: I basically want to maintain the exact copy
so if something would happen to the system running Jail A I can
immediately switch to jail B without much hassle. 

Normally I would say this a perfect use case for rsync. But as the
aforementioned thread mentions ``scp or similar wont work to copy a
jail'', and I consider rsync similar to scp, I am under the impression
that rsync would not be usable in this situation. Can anyone shed some
light on this, or suggest an alternative to synchronise the jails?  


Regards, 

-- 

- Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FTP oddness, over SSH session.

2012-04-13 Thread Frank Staals
John McDonnell gorgar...@ymail.com writes:

 All in all, creating an entry in Site Manager makes more sense if it's
 something you connect to from your own hardware. From someone else's
 machine, the quick connect is quite handy though.

Don't forget to clear out the entry from the dropdown list then. Because
I think FileZilla will remember your password as well. Worst ``feature''
ever if you ask me

Regards, 

-- 

- Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FTP oddness, over SSH session.

2012-04-12 Thread Frank Staals
Dave B d...@g8kbv.demon.co.uk writes:

 Hi, ordinarily perhaps yes, if I could only figure out how to set it up 
 on the FreeBSD box.  As always, the Manuals though no doubt correct and 
 complete as a reference, are no good to people who don't already know 
 How To do it.

There is not much to set up. Just make sure you have sshd running. You
can then just sftp (or any other client that supports sftp) to connect
to port 22, or whatever port sshd is listening on. 

Regards,

-- 

- Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portshaker, listing updates and skipping broken/removed ports

2012-02-10 Thread Frank Staals
Antonio Olivares olivares14...@gmail.com writes:

 Dear folks,

 I have a question regarding portshaker.  I have successfully used
 Warren Block's script to make updates.

 http://www.wonkity.com/~wblock/docs/html/portupgrade.html

 #!/bin/sh
 /usr/sbin/portsnap fetch update  \
 /usr/local/sbin/portmaster -L --index-only | egrep '(ew|ort)
 version|total install'

 How can I do the same with portshaker command?

 snip 

Instead of running portsnap you can just use portshaker: something like
`portshaker -UIM' from the top of my head. I don't have access to a
system with portshaker on it atm (man portshaker is your friend). But
the idea is that you can tell portshaker to fetch updates for all trees
(including the official FreeBSD ports), and merge the trees. In any case
`man portshaker' is your friend.

Regards, 

-- 

- Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: acpi problem on dell latitude d830

2011-12-15 Thread Frank Staals
Ouyang Xueyu free...@suiyuan.de writes:

 Hello!

 I`ve just installed freebsd 8.2 i386 stable on a Dell Latitude D830.
 I`m using gnome 2 with HAL and DBUS successfully.

 My notebook is not able to go into sleeping mode, it doesn`t work when I use
 acpiconf -s 3 or acpiconf -s 4. Mode S3 gets it into sleep mode, but it
 freezes
 after wake-up with a distorted screen.
 In mode S4 (suspend-to-disk) it isn`t even able to
 get into sleeping mode. I want to initiate S4 state by closing the lid.

I have a Latitude D630, which is basically the smaller brother of the
D830. When it ran FreeBSD I had success in getting the D630 to sleep
(s3) and resume. This was a while ago on 8-STABLE with amd64. At least
back then, you would need an amd64 install to get this working
(something with acpi being better in amd64 then it was in i386). I am
not sure that is still the case, but I would not be surprised if it
is. However, before you run off and reinstall: (again back then) both
the bge and wpi driver (i.e. LAN and WLAN) did not work properly after
resuming. This basically made sleeping the laptop useless.

I'm not sure this is such good news, but I hope it is informative. If
you manage to get it working let me know.

Regards,

-- 

- Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: TexLive on FreeBSD 8.1

2010-07-24 Thread Frank Staals

On 07/24/10 22:29, Antonio Olivares wrote:

Thank you Roland, I will download 8.1 Release and attempt it.  Thanks
your for your advice and for the howto :)

Regards,

Antonio
   

Take a look at ports-mgmt/portshaker-config :)

Portshaker is basically a tool which allows you to merge multiple 
ports-trees into one. With portshaker-config you can enable the texlive 
part of the portstree. Allthough it mentions it is still experimental I 
have been using this setup for quite some time now and did not encounter 
any problems, allthough portupgrade had some problems updating 
everything correctly from texlive2008 to 2009.


Regards,

--

- Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Suitable laptop for FreeBSD?

2010-03-03 Thread Frank Staals

On 03/03/10 14:48, Andreas Davour wrote:


I am thinking of buying a new laptop, and want one which will work 
fine with FBSD. Anyone have any suggestions?


It must have a connector for a external screen (i.e. a projector when 
doing presentations), wireless, ~15 screen, lots of memory, and 
optical unit, and preferable a long battery time (i.e. CPU speed is 
not that important).


Webpages, own experiences or any other comparisons available?

Please cc me if answering.

/andreas

I am running FreeBSD (8-STABLE) on a Dell Latitude D630, and I'm very 
content with it. The D630 version has a 14.1 display, but I believe 
there is also a 15 version (which was called D830 if I recall 
correctly).  Out of the box support for wireless (wpi) , wired (bge) , 
cpu-throtteling (cpufreq), audio (snd_hda) and the display-dimming 
functionality. When I bought it battery lifetime was over 6 hours (with 
a 9 cell battery) when just using browser/e-mail client/ word-processor 
kind of applications. Now (I have this machine about 2.5 years now) it's 
still about 3 hours, and I use it every day for at least 3 or 4 hours.  
Suspend/Resume almost works; meaning it does actually suspend and 
resume, unfortunately both wired and wireless are dead after resuming.


Since I never use a external monitor I do not know if that works 
correctly or not. My version has an intel card but it is also possible 
to obtain a laptop with a nvidia GPU. For the external monitor stuff I 
guess the best bet would be an nvidia card. Anyway: the conclusion is 
that it may be a good idea to take a look at Dell's range of laptops.


Good luck  Regards,

--

- Frank

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


Re: Packages vs Ports

2009-12-23 Thread Frank Staals

On 12/23/09 18:39, Mel Flynn wrote:

On Wednesday 23 December 2009 08:13:21 Adam Vande More wrote:
   
snip

Or set PACKAGESITE to:
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/

See pkg_add(1) for details.
This will usually work for legacy stable branches, but you may actually need
to update your system to a more recent stable version once in a while.
   


Additionally take a look at the '-P' and '-PP' flags for portupgrade 
(And I guess the other port upgrade tools have similar options); this 
way it will use packages for upgrading your software instead of ports.



--

- Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portsnap fetch update

2009-12-21 Thread Frank Staals

ajtiM wrote:
I did portsnap fetch update and I have in /usr/ports/editors/koffice-kde4 
now. I thought that is version 2.1 but it is 1.6 still...


I did check http://www.freshports.org/ but there are no koffice-kde4 and 
search also didn't find it. Is it something wrong on my system (FreeBSD 8.0) 
or is something other, please?


Thanks.

Mitja

http://redbubble.com
  
It seems the latest version of kofficed that is ported to FreeBSD is 
still 1.6. So there is nothing wrong with your system. You will just 
have to wait a bit longer until a newer version of koffice is ported.




--

- Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


amd64: building lib32 with ccache ?

2009-11-28 Thread Frank Staals

Hey everyone,

Yesterday I wanted to update my system currently running 8.0-RC1 amd64 
to the latest 8-STABLE release. However buildworld failed. I found out 
the problem seems to pop up when trying to build the lib32 libraries. If 
I build lib32 without ccache everything on itself everything seems to go 
fine. However when using ccache, even with a clean cache, the build 
fails. The error seems to start at:


echo libc.so.7: /usr/obj/usr/src/lib32/usr/lib32/libgcc.a  .depend
/usr/local/libexec/ccache/world-cc -O -pipe -I/usr/src/lib/libc/include 
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -DNLS 
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 
-I/usr/obj/lib32/usr/src/lib/libc -I/usr/src/lib/libc/resolv 
-D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES 
-DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING 
-DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers 
-Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c fork.S

fork.S: Assembler messages:
fork.S:3: Error: invalid character '_' in mnemonic

Can anyone point out what could go wrong ? Am I even 'allowed' to build 
lib32 with ccache on ? My current system is running:


fr...@rena# uname -a
FreeBSD Rena.FStaals.LAN 8.0-RC1 FreeBSD 8.0-RC1 #0: Mon Nov  2 13:45:35 
CET 2009 r...@rena.fstaals.lan:/usr/obj/usr/src/sys/RENAKERNEL  amd64


fr...@rena# ccache -V
ccache version 2.4
Copyright Andrew Tridgell 2002
Released under the GNU GPL v2 or later*
*
The full log : http://fstaals.net/junk/build32_clean_cache.log


thanks in advance


--

- Frank

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


NO_PROFILE versus WITHOUT_PROFILING

2009-11-27 Thread Frank Staals
When I was setting up my system for a complete rebuild I came across 
something unclear to me; I always used NO_PROFILE in my make.conf, 
however from what  I've read specific make options to build the 
kernel/base system should be in /etc/src.config. The manpage of src.conf 
specifies the option WITHOUT_PROFILING, which seemed to be the flag that 
I was looking for. Just to be certain I always keep the 'Rebuilding 
World' chapter of the handbook close, however that still specifies to 
use NO_PROFILE in make.conf.


So now my question: What is the desired way of turning of profiling: 
NO_PROFILE in make.conf or WITHOUT_PROFILING in src.conf ?


Thanks in advance

--

- Frank

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


Re: Glassfish v3 server: Admin port in use

2009-11-23 Thread Frank Staals

Pieter de Goeje wrote:

On Saturday 21 November 2009 15:01:55 Frank Staals wrote:
  
snip

Perhaps this is an error specific to glassfish 3.
I used to have Glassfish 2.1.1 working on FreeBSD/head (i386). I don't know 
what your requirements are but maybe that version will suffice? I used 
the Linux installer if I remember correctly.


You can also try asking freebsd-j...@freebsd.org.

Good luck,

Pieter de Goeje
  
Hmm Thanks for the tip, I installed the latest glassfish v2 server, 
which runs fine, however I use some cutting-edge JSF2 stuff which realy 
requires glassfish v3 it seems :(


--

- Frank

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


Re: Glassfish v3 server: Admin port in use

2009-11-23 Thread Frank Staals

Roman Neuhauser wrote:

this from https://glassfish.dev.java.net/downloads/v3-preview.html :
For supported operating systems except MacOS, the minimum required
version is 1.6.0_13.

this from your log:

fr...@rena# java -version
java version 1.6.0_03-p4

that might be related.
  
Hmm I guess that might be it then. So I installed the linux-sun-jdk16 
port, which does match those criteria. Unfortunately glassfish crashes 
whith some scary stack-traces then :(
(Full log at http://fstaals.net/junk/glassfish_linux_sdk.txt ). Anyone 
ideas what else I could try ?


fr...@rena# java -version
java version 1.6.0_15
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) Server VM (build 14.1-b02, mixed mode)

[#|2009-11-23T20:36:01.864+0100|SEVERE|glassfishv3.0|grizzly|_ThreadID=14;_ThreadName=Thread-12;|doSelect 
IOException

java.io.IOException: Function not implemented
at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)
at sun.nio.ch.EPollArrayWrapper.init(EPollArrayWrapper.java:68)
at sun.nio.ch.EPollSelectorImpl.init(EPollSelectorImpl.java:52)
at 
sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:18)

at java.nio.channels.Selector.open(Selector.java:209)
at com.sun.grizzly.util.Utils.openSelector(Utils.java:78)
at 
com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:413)

at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:393)
at 
com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler.preSelect(MonitorableSelectorHandler.java:85)
at 
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:183)

at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:619)
|#]


--

- Frank

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


Glassfish v3 server: Admin port in use

2009-11-21 Thread Frank Staals

Hey everyone,

I'm trying to deploy a Glassfish v3 server on my workstation since I 
need to do some jsf-developement. However when I try to start the server 
it keeps telling me the admin port I'm trying to use is allready in use 
by an other process, no matter what port I use. However I'm 100% certain 
there is nothing running on the port it should use (sockstat confirms 
that). Has anyone seen this type of behaviour and/or knows how to fix it 
? I'm running FreeBSD 8.0-RC1 with jdk16 installed from ports. Full log 
is here: http://fstaals.net/junk/glassfish.txt


--

- Frank

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


FFTW + jna + java

2009-11-11 Thread Frank Staals

Hey everyone,

I'm trying to run a java application which uses JNA to use the native 
FFTW libraries. The application was given as a netbeans project which 
was configured for use in Windows. I changed the paths to the windows 
libraries to the FreeBSD versions. However when I try to start the 
application from within netbeans it crashes with the following error 
message:


/libexec/ld-elf.so.1: /usr/local/lib/librfftw.so: Undefined symbol 
fftwnd_create_plan_aux


Has anyone an idea how to fix this ? I'm running FreeBSD 8.0-RC1 on 
amd64 with jdk16, fftw, and jogl installed from ports. I downloaded the 
jna.jar from the jna website ;


FreeBSD Rena.FStaals.LAN 8.0-RC1 FreeBSD 8.0-RC1 #0: Mon Nov  2 13:45:35 
CET 2009 r...@rena.fstaals.lan:/usr/obj/usr/src/sys/RENAKERNEL  amd64


fr...@rena# uname -a
FreeBSD Rena.FStaals.LAN 8.0-RC1 FreeBSD 8.0-RC1 #0: Mon Nov  2 13:45:35 
CET 2009 r...@rena.fstaals.lan:/usr/obj/usr/src/sys/RENAKERNEL  amd64


fr...@rena# pkg_info -Ex jdk
diablo-jdk-1.6.0.07.02_6
jdk-1.6.0.3p4_12

fr...@rena# pkg_info -Ex fftw
fftw-2.1.5_6
fftw3-3.2.2_1

fr...@rena# pkg_info -Ex jogl
jogl-1.1.1

jna.jar version: 3.2.3 downloaded from https://jna.dev.java.net/

The VM-arguments when starting the application :
-Djna.library.path=/usr/local/lib -Djava.libary.path=/usr/local/lib

Anyone an idea what could be causing this, and/or how to fix it ?

--

- Frank


--

- Frank

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


Re: Aliassing 'svn log' to 'svn log -v'

2009-02-20 Thread Frank Staals

Glen Barber wrote:

On Thu, Feb 19, 2009 at 4:10 PM, Frank Staals franksta...@gmx.net wrote:
  

A bit of an off-topic question, but is there a neat way of aliassing 'svn
log' to 'svn log -v' in zsh ? I chould just write a one line shell script
that does 'svn log -v' and alias something like svnlog to the script but
that is a bit of a hack.



Alias it in $HOME/.zshrc

  
What should be the syntax of that then ? I know you can normally alias 
something with:


alias foo='bar'

Unfortunately using :

alias 'svn log'='svn log -v'
or
alias svn log='svn log -v'

does not seem to do the trick

--

- Frank

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


Re: Aliassing 'svn log' to 'svn log -v'

2009-02-20 Thread Frank Staals

Jon Radel wrote:


Glen Barber wrote:


Try escaping it:
alias svn\ log='svn log-v'


Unfortunately that does not seem to work


Or just use your own command name:

alias svnv='svn log -v'


I kind of wanted to avoid that, but I guess that it can't be avoided then

--Jon Radel




--

- Frank

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


Re: technical drawing program

2009-01-23 Thread Frank Staals

prad wrote:

any recommendations?
i've tried dia and inkscape. the former seems to be good for flowcharts
and general diagrams while the latter is great for all sorts of things,
but i'd like to be able to do accurate geometric diagrams and was
wondering if something more appropriate is available.

  
I'm not sure it fits what you are trying to achieve, but I do all my 
drawing-stuff in ipe (graphics/ipe ). All my documents are typesetted 
using LaTeX, ipe has build in LaTeX support for it's text formatting so 
for me it is an ideal program. It's a relatively simple editor so I'm 
not sure if it suffices your needs but you may give it a try. It's a 
shame the FreeBSD port's version is so old (6.0-pre23 while the current 
version is allready  6.0-pre31 (or even 6.0-pre32 I'm not sure) though.


--

- Frank

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


Re: technical drawing program

2009-01-23 Thread Frank Staals

Boris Samorodov wrote:

On Fri, 23 Jan 2009 11:28:19 +0100 Frank Staals wrote:

  

It's a shame the FreeBSD port's version is so old (6.0-pre23 while the
current version is allready  6.0-pre31 (or even 6.0-pre32 I'm not
sure) though.



Do you know that saying it's a shame... you are actually speaking
about yourself either? The port is maintained by po...@freebsd.org
(it's a public maillist). That means that the port is maintained by
all FreeBSD users uncluding you. Since you use this port you may
consider updating the port and send a PR about it. That's may be
your contribution to the project. You even may become a maintainer
of the port. Thanks for your contribution in advance!


WBR
  
Hehe, to be honest I kind of expected this kind of reply from someone. 
Some time ago I attempted something like a port, however my knowlege at 
that time was not sufficient to get it running. Currently I'm running an 
OS X system as my default platform (since FreeBSD still lacked/lacks 
decent sleep/hybernation support; and for that seriously applies I do 
not have the knowlege to fix it) so maintaining a port is going to be 
difficult. However maybe I'll try again just to prove myself I can 
create a port.


So in short: When I was saying it's a shame.. I was also refering to 
myself indeed ...


Regards,

--

- Frank

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


Re: Do I need to run netif stop/start if IP is changed?

2009-01-21 Thread Frank Staals

Peter Steele wrote:

We have systems that upon initial configuration have no IP addresses
assigned. Their rc.conf entries look like this:

 

  

snip

and also executes explicit ifconfig and route add commands that match
the entries in rc.conf. 

 


The question is, should we also execute a netif stop/start sequence when
this IP/router information is assigned? Are there other services that
should also be stopped/restarted when the IP is set? Ideally, we want to
avoid having to reboot the box to set the IP as we are doing.

  
As far as I know you do not have to, changing interface settings with 
ifconfig should be enough. I used to have a script to switch between LAN 
and WLAN on my laptop which used only ifconfig ip, route flush and 
route add default routerip.  Only thing that comes to mind that could 
go wrong if daemons are configured to listen on a specifc ip instead of  
(default) configs with :port.


Regards,

--

- Frank

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


Re: gname

2009-01-11 Thread Frank Staals

Grant Peel wrote:

Wow,

After a fresh install of FreeBSD 6.4, (with Xorg) I tried installing Gnome, and I get a 
stop during build, Filesystem Full!

Is Gname really that big? or did I miss doing something?

  
Well it is big, but since you are installing from a clean system all the 
gnome dependencies will also have to install their dependencies and so 
on. So basically you have to install a *lot* of ports which may take 
quite some space/time if you do not clean up nicely. Use 'make install 
clean' or 'make install distclean' to install your ports (if you didn't 
allready) that will order the make process to remove the files it uses 
during it's build (and distclean also cleans the downloaded distfiles in 
the distfiles dir )

 Doing a du -h -d1 on /usr shows

...
7.0G ports.
1.8G local

  
Check inside ports what is taking up the most space, most likely your 
distfiles dir is huge as well as the build directories inside a lot of 
ports itself. You can manually remove the distfiles for ports you 
allready installed from /usr/ports/distfiles. If that does not help 
enough also remove some of the work directories for the ports you 
installed allready but are not cleaned by make yet and resume your 
build. (so if for example you see gnome-session is allready installed ( 
pkg_info -Ex gnome ) remove /usr/ports/x11/gnome-session/work/ )


Regards,

--

- Frank

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


Off-topic: Java Reflection/Generics/Collections question

2008-12-26 Thread Frank Staals
Not realy a FreeBSD-specific question but I was not sure where I could 
find what I was looking for elseware (Googling did not manage to dig up 
much info):


The problem:

I want to set the type of objects some Collection object holds on 
runtime. In other wors I have an object C with: C extends 
AbstractCollection, I have the Class object T specifying what type of 
objects C should hold and I have a method M which takes a CT as an 
argument. I made a generic version of C (without the type) and now I 
have to set it so it can only carry objects of type T. Does anyone know 
how to do this ?


Information in programming style:

C extends AbstractCollection myCollection;
Class itemType;


public void myMethod(CitemType myCollectionArgument)

How do I convert myCollection from being a C to a CitemType  on 
runtime so I can call myMethod(myCollection) ?


I hope the explanation of my problem makes sense and someone can help me.

Regards,


--

- Frank

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


Re: Off-topic: Java Reflection/Generics/Collections question

2008-12-26 Thread Frank Staals

Vladimir Tsvetkov wrote:
What you try to do is not a valid operation in type-safe language as 
Java.


You can't convert Coll to CollItemType, 
but you can cast Coll? to CollWhatever.


Don't know if this is OK with the problem you're trying to solve

Merry Christmas!

On Fri, Dec 26, 2008 at 4:20 PM, Frank Staals franksta...@gmx.net 
mailto:franksta...@gmx.net wrote:


Not realy a FreeBSD-specific question but I was not sure where I
could find what I was looking for elseware (Googling did not
manage to dig up much info):

The problem:

I want to set the type of objects some Collection object holds on
runtime. In other wors I have an object C with: C extends
AbstractCollection, I have the Class object T specifying what type
of objects C should hold and I have a method M which takes a CT
as an argument. I made a generic version of C (without the type)
and now I have to set it so it can only carry objects of type T.
Does anyone know how to do this ?

Information in programming style:

C extends AbstractCollection myCollection;
Class itemType;


public void myMethod(CitemType myCollectionArgument)

How do I convert myCollection from being a C to a CitemType  on
runtime so I can call myMethod(myCollection) ?

I hope the explanation of my problem makes sense and someone can
help me.

Regards,


-- 


- Frank

___
freebsd-questions@freebsd.org
mailto:freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org
mailto:freebsd-questions-unsubscr...@freebsd.org


Whell just after I posted my mail to this list I realized that I may 
have fogotten to mention something:


I want to do the 'conversion' because the myCollection Collection is 
still empty. So in other words I want to create a new collection and 
fill it. However I do not know the type
of the items I want to put in beforehand so it has to occur dynamically. 
So an equivalent question may be: How do I create a new  'C extends 
AbstractCollectionitemType' using reflection ?


--

- Frank

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


Re: recommendation word processer for xfce

2008-11-07 Thread Frank Staals

FBSD1 wrote:

Looking for word processer that runs on xfce and can output document in
ms/word format.

Thanks for your help.

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

  
Well not realy solution for the problem you mentioned. But if you have a 
bit of a programming background you may want to take a look at TeX/LaTeX 
for you documents. I know it may be like using a cannon to kill a fly 
but I prefer writing my documents in my basic-text editor using  TeX 
much rather than in a a word-like application. Besides that it looks a 
lot better IMO. Might be something to look into if you are not realy 
satisfied with word-processors.


Good luck,

--

- Frank

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


Re: irc usenet clients for xfce

2008-11-05 Thread Frank Staals

Rada alive wrote:

On Wed, Nov 5, 2008 at 3:38 PM, FBSD1 [EMAIL PROTECTED] wrote:

  

What irc, pop mail, and usenet clients from gmone or kde or x would you
recommend to use on xfce?

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




I suggest irssi or Xchat for IRC, mutt or Thunderbird for mail (The latter
for usenet also, idk if mutt supports usenet).
irssi and mutt if you like CLI, Xchat and Thunderbird if you like GUI's.
  
I have been using irssi (+bitlbee) for my IRC/IM needs for ages now, 
works like a charm for me. And thunderbird has been my mail client ever 
since 0.2. so I'd agree they are nice choises. I haven't used 
thunderbird for usenet stuff though; I only used usenet for downloading 
purposes. Used pan as a desktop-solution. Worked fine in my opinion. For 
a more server-like solution you may want to take a look at SabNZBd.

But best of all to use is whatever _you_ would recommend somebody to use.
___

  
Yep, feel free to try out some stuff but choose whatever *you* think 
works nice


Good luck,

--

- Frank

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


Re: ScreenCapturing tool for FreeBSD-7.0 Release

2008-09-24 Thread Frank Staals

Roland Smith wrote:

On Wed, Sep 24, 2008 at 09:09:23AM +, dhaneshk k wrote:
  

HI all ;

Can anyone recommend a working screencapturing tool such as XvidCap
for FreeBSD-7.0 ,

I installed XvidCap but its not working any other tools OR Solutions
for doing screen Capturing ..

It will be useful for  demo presentations  alot..



If you are using X11, try xwd(1) that comes with it. You'll need a tool
like netpbm or ImageMagick to convert dump files to other formats.

Or you can use the gimp to capture and process window images under X11.

I'm not aware of any screen dump apps on the console. You can of course
run console apps in an X terminal and capture that.

Roland
  
ImageMagick has the 'import' command which can directly capture screen 
to some sensible format such as jpg. You'll get a pointer from which you 
can drag a box on the screen which you want to capture. Alternively you 
can just click an application to take a screenshot of that application 
window. And probably you can make screenshots of the entire screen 
without having to drag a box too



--
-Frank Staals


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


Re: eclipse-3.2.2 issue with diablo-jdk-1.5.0 in FreeBSD-7.0

2008-09-23 Thread Frank Staals

Jonathan Chen wrote:

On Tue, Sep 23, 2008 at 11:57:21AM +, dhaneshk k wrote:
  

 Hi ;

 I installed  eclipse(3.2.2) from  ports , in my FreeBSD-7.0 RELEASE box , where diablo-jdk-15.0 installed 
 
but when I start   eclipsegetting a splash message  as follows ... 



#eclipse  



JVM terminated. Exit code=1



Build a native JVM, java/jdk15 or java/jdk16, and use that instead.
  
If it wasn't allready, it might be just a better idea to update the 
portstree and install eclipse-devel (eclipse-3.4 ) with diablo-jdk16. 
That'll probably take less time then completely building jdk15 or jdk16 
and you have a newer release on top of it.


--
-Frank Staals


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


Re: buildworld releng7 exterme performance loss

2008-02-08 Thread Frank Staals

Frank Staals wrote:
[EMAIL PROTECTED] wrote: 

message snipped


As suggested I turned on all.log and also captured the output from 
vmstat -i and top -S as 2 others suggested. From the all.log output I 
don't seem to see anything out of the ordinary if I compare it to a 
snapshot of all.log on my working environment but maybe I am looking 
for the wrong thing ? The same applies for the output of top -S. 
vmstat's output may be more interesting though. In both cases I the 
information was taken just after boot with a login on tty0 and 1 
remote session. vmstat shows the amount of interrupts for my network 
interfaces are a lot higher with todays build compared to my working 
env from 3 weeks ago. There is one difference though: I did a rm -rf 
/usr/obj/* through ssh on the todays build. Could that be the reason 
for the difference or did I find the source of the problem ?


info :

all.log
todays build : http://fstaals.net/junk/rena/all.log.2008.07.02.1140
working env: http://fstaals.net/junk/rena/all.log.stable

top -S output (links so the output is still properly formatted )
todays build: http://fstaals.net/junk/rena/top
working env: http://fstaals.net/junk/rena/top_stable

vmstat -i on todays build:
[EMAIL PROTECTED] cat /root/vmstat
interrupt total rate
irq1: atkbd0 610 2
irq9: acpi0 1 0
irq12: psm0 6 0
irq14: ata0 58 0
irq17: wpi0 bge0+ 151862 706
irq19: cbb0+ 2 0
irq20: uhci0 uhci+ 1 0
irq21: pcm0 uhci1+ 8 0
irq22: ehci0 uhci4 5 0
cpu0: timer 179565 835
cpu1: timer 169770 789
Total 501888 2334

[EMAIL PROTECTED] cat /root/vmstat_stable
interrupt total rate
irq1: atkbd0 130 1
irq9: acpi0 1 0
irq14: ata0 58 0
irq17: wpi0 bge0+ 3544 44
irq19: cbb0+ 2 0
irq20: uhci0 uhci+ 1 0
irq21: pcm0 uhci1+ 7 0
irq22: ehci0 uhci4 5 0
cpu0: timer 155701 1946
cpu1: timer 145928 1824
Total 305377 3817



to see if the values from vmstat were normal I tried a couple things 
again. I once more recompiled the latest sources and disabled my wpi 
wlan interface (since if the vmstat value was incorrect the most obvious 
reason would have been something with wpi I thought. ). Unfortunately 
that didn't help much. Second I again cleared /usr/obj/ through an ssh 
session. The vmstat value for bge0 (my LAN interface) was 160 000. 
Lastly I recompiled my normal sources again and removed /usr/obj/* again 
through ssh. Allthough the number of interrupts is still quite big it is 
only half of the amount it shows with todays sources. So now I am once 
again lost on what to do to determine the cause of my problem:


[EMAIL PROTECTED] vmstat -i
interrupt total rate
irq1: atkbd0 1898 2
irq9: acpi0 1 0
irq12: psm0 84 0
irq14: ata0 58 0
irq17: wpi0 bge0+ 83570 110
irq19: cbb0+ 2 0
irq20: uhci0 uhci+ 3 0
irq21: pcm0 uhci1+ 2217 2
irq22: ehci0 uhci4 5 0
cpu0: timer 1484618 1956
cpu1: timer 1474830 1943
Total 3047286 4014

Anyone ideas ?

--
-Frank Staals


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


Re: buildworld releng7 exterme performance loss

2008-02-07 Thread Frank Staals

[EMAIL PROTECTED] wrote:

On Wed, 6 Feb 2008, Jerry McAllister wrote:

Sounds like the system is spending a lot of time waiting for some
resource - I don't know which one[s].

Have you perused the system logs? Can you be running out of memory
or swap space? Is the system built with debugging turned on?

I'm not sure what else to suggest.
jerry


if you have not already done so turn on all.log (see etc/syslog.conf)


message snipped

As suggested I turned on all.log and also captured the output from 
vmstat -i and top -S as 2 others suggested. From the all.log output I 
don't seem to see anything out of the ordinary if I compare it to a 
snapshot of all.log on my working environment but maybe I am looking for 
the wrong thing ? The same applies for the output of top -S. vmstat's 
output may be more interesting though. In both cases I the information 
was taken just after boot with a login on tty0 and 1 remote session. 
vmstat shows the amount of interrupts for my network interfaces are a 
lot higher with todays build compared to my working env from 3 weeks 
ago. There is one difference though: I did a rm -rf /usr/obj/* through 
ssh on the todays build. Could that be the reason for the difference or 
did I find the source of the problem ?


info :

all.log
todays build : http://fstaals.net/junk/rena/all.log.2008.07.02.1140
working env: http://fstaals.net/junk/rena/all.log.stable

top -S output (links so the output is still properly formatted )
todays build: http://fstaals.net/junk/rena/top
working env: http://fstaals.net/junk/rena/top_stable

vmstat -i on todays build:
[EMAIL PROTECTED] cat /root/vmstat
interrupt total rate
irq1: atkbd0 610 2
irq9: acpi0 1 0
irq12: psm0 6 0
irq14: ata0 58 0
irq17: wpi0 bge0+ 151862 706
irq19: cbb0+ 2 0
irq20: uhci0 uhci+ 1 0
irq21: pcm0 uhci1+ 8 0
irq22: ehci0 uhci4 5 0
cpu0: timer 179565 835
cpu1: timer 169770 789
Total 501888 2334

[EMAIL PROTECTED] cat /root/vmstat_stable
interrupt total rate
irq1: atkbd0 130 1
irq9: acpi0 1 0
irq14: ata0 58 0
irq17: wpi0 bge0+ 3544 44
irq19: cbb0+ 2 0
irq20: uhci0 uhci+ 1 0
irq21: pcm0 uhci1+ 7 0
irq22: ehci0 uhci4 5 0
cpu0: timer 155701 1946
cpu1: timer 145928 1824
Total 305377 3817



--
-Frank Staals


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


Re: buildworld releng7 exterme performance loss

2008-02-06 Thread Frank Staals

Frank Staals wrote:
Every 2 weeks or so I rebuild my sources on my laptop ( Dell Latitude 
D630 ). Last wednesday I wanted to update my system again since it was 
allready a couple of weeks ago I rebuilded my sources. There were no 
abnormalities during the build/install. But when I restarted my system 
the system performance was absolutely *horrible*. When I try typing 
anything in a terminal window the lag is about 20 seconds before the 
command even shows up. Switching ttys takes at least as long. When 
logging in remotely the performance is better; giving a random command 
through the ssh session sometimes even allows a command run on a 
local-console to run/finish ( or at least thats what the screen shows ).


Even trying to shutdown the system using shutdown -p now doesn't have 
any effect: I get the message System is going down NOW but nothing 
realy happens, I just get my prompt back and I can continue entering 
commands. When I push the power-off button the system actually starts 
shutting down but it stops at Writing entropy file .  leaving my 
only choise to power off the system the hard way. When booting the 
system to single-user mode however it reacts normally and also 
shutting down works as it should


Last 2 days I tried redownloading the sources from a different mirror 
( cvsup2.freebsd.org instead of cvsup.nl.freebsd.org ) to rule out 
outdated/corrupted sources. But I still get the same  behaviour. 
Gladly I still had my previous sources so I managed to restore my 
system in a working state. Those sources are from about 3 weeks ago. 
Does anyone know what could have caused this behaviour and how to fix 
it ? Below is some system information, however I'm not sure what I 
should provide to help out, if I should test something I'll gladly do.


Working system (sources from about 3 weeks ago, rebuilded today  ) :

[EMAIL PROTECTED] uname -a
FreeBSD Rena.FStaals.net 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Fri 
Feb  1 20:23:11 CET 2008 root@:/usr/obj/usr/src/sys/RENAKERNEL  i386


dmesg: http://fstaals.net/junk/rena/dmesg_old.txt

With today's  ( 1 frebruary 2008 ) sources  :

[EMAIL PROTECTED] cat /root/uname
FreeBSD  7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Fri Feb  1 18:32:59 
CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RENAKERNEL  i386


dmesg: http://fstaals.net/junk/rena/dmesg_2008_01_02.txt

Kernel config used for both the builds :

http://fstaals.net/junk/RENAKERNEL.txt

Updated my sources again today. This time even build with a GENERIC 
kernel but still the same result. Is there nobody who can help me with 
this ?


--
-Frank Staals


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


buildworld releng7 exterme performance loss

2008-02-01 Thread Frank Staals
Every 2 weeks or so I rebuild my sources on my laptop ( Dell Latitude 
D630 ). Last wednesday I wanted to update my system again since it was 
allready a couple of weeks ago I rebuilded my sources. There were no 
abnormalities during the build/install. But when I restarted my system 
the system performance was absolutely *horrible*. When I try typing 
anything in a terminal window the lag is about 20 seconds before the 
command even shows up. Switching ttys takes at least as long. When 
logging in remotely the performance is better; giving a random command 
through the ssh session sometimes even allows a command run on a 
local-console to run/finish ( or at least thats what the screen shows ).


Even trying to shutdown the system using shutdown -p now doesn't have 
any effect: I get the message System is going down NOW but nothing 
realy happens, I just get my prompt back and I can continue entering 
commands. When I push the power-off button the system actually starts 
shutting down but it stops at Writing entropy file .  leaving my only 
choise to power off the system the hard way. When booting the system to 
single-user mode however it reacts normally and also shutting down works 
as it should


Last 2 days I tried redownloading the sources from a different mirror ( 
cvsup2.freebsd.org instead of cvsup.nl.freebsd.org ) to rule out 
outdated/corrupted sources. But I still get the same  behaviour. Gladly 
I still had my previous sources so I managed to restore my system in a 
working state. Those sources are from about 3 weeks ago. Does anyone 
know what could have caused this behaviour and how to fix it ? Below is 
some system information, however I'm not sure what I should provide to 
help out, if I should test something I'll gladly do.


Working system (sources from about 3 weeks ago, rebuilded today  ) :

[EMAIL PROTECTED] uname -a
FreeBSD Rena.FStaals.net 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Fri 
Feb  1 20:23:11 CET 2008 root@:/usr/obj/usr/src/sys/RENAKERNEL  i386


dmesg: http://fstaals.net/junk/rena/dmesg_old.txt

With today's  ( 1 frebruary 2008 ) sources  :

[EMAIL PROTECTED] cat /root/uname
FreeBSD  7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Fri Feb  1 18:32:59 
CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RENAKERNEL  i386


dmesg: http://fstaals.net/junk/rena/dmesg_2008_01_02.txt

Kernel config used for both the builds :

http://fstaals.net/junk/RENAKERNEL.txt

--
-Frank Staals


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


Re: FBSD or PCBSD?

2008-01-18 Thread Frank Staals

Zbigniew Szalbot wrote:

Hello,

I have a basic Acer Aspire with Vista on it but I am very unhappy
about the speed of work on it. I do not want to wipe out MS system (at
least not yet) but would like to give FreeBSD or PCBSD a try.

1. Am I safe by installing FreeBSD alongside Vista? Will the
installation not destroy MS system?
  
Just make sure you have free space and go. You probably want to use the 
FreeBSD Bootmanager but I'm not 100% sure about that ( Only running a 
dualboot system with FreeBSD and WinXP for which the FreeBSD bootmanager 
is required )

2. I have installed FreeBSD a few times but only with console access,
never with X windows. Would it be better to install PCBSD on the Acer
machine? I have never configured X windows and not sure how long it
could take with FreeBSD (actually I mean things like Gnome or KDE).
  
Depends on your needs. If you are planning on running an other WM/DE 
than KDE (Or at least I thought PCBSD came with KDE by default ) and you 
are familliar with the ports system you are better off choosing 
FreeBSD.  Setting up X is a piece of cake nowadays. In most cases Xorg 
wil generate it's own configfile at start and you don't realy have to 
worry about it. If something doesn't work or you want to configure it 
somehow you can just run 'Xorg --configure' which wil generate a 
configfile you can edit by hand. On the other hand if you are completely 
new to FreeBSD, the portsystem etc than I guess you're better off 
installing PCBSD.

3. The wi-fi card is probably Acer InviLink 802.11b/g Wi-Fi. Any
chance such wireless card will be supported by FreeBSD or PCBSD?

  
I don't know in what way it is supported. Google will probably give you 
an answer. If it isn't supported natively take a look at ndis

Which is a better solution for a home user?

Thank you very much for your practical recommendations!

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

  

Good Luck,

--
-Frank Staals


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


Re: snd_hda(freebsd 7.0 rc1) doesn't work on dell latitude D630

2008-01-04 Thread Frank Staals

lveax wrote:

hey all:

i can get sound from my d630.


i added the snd_hda support to my kernel configure file.
i can find info about my onboard sound card,but it still didn't work.

pcm0: HDA Codec: Sigmatel (Unknown)
pcm0: HDA Driver Revision: 20071129_0050

the pciconf info about it:
[EMAIL PROTECTED]:0:27:0:   class=0x040300 card=0x01f91028 chip=0x284b8086
rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801H SUBSYS_81EC1043REV_02\3115836590D8'
class  = multimedia

the output from mixer command:
$ mixer

 [Fri 4:32:56pm]
Mixer vol  is currently set to  75:75
Mixer pcm  is currently set to  75:75
Mixer speaker  is currently set to  75:75c
Mixer line is currently set to  75:75
Mixer rec  is currently set to   0:0
Recording source: mic
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  
I have a similar problem (also with a D630 ) ; I only get sound when 
plugging in a headset or similar. Sound won't work over the internal 
speakers. I also tried the oss drivers, without
success though: at the time ( about a month ago ) it even locked up my 
system.


[EMAIL PROTECTED] uname -a
FreeBSD Rena.FStaals.net 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Fri Dec 21 
11:48:15 CET 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/RENAKERNEL  i386





--
-Frank Staals


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


Re: remote x session

2007-12-31 Thread Frank Staals

Jonathan Horne wrote:
well, the part i didnt mention before, was the method behind the 
madness. its
actually a jail-host, with 3 jails running. my intention, is to keep the 
latest of kde, gnome, and xfce built on each, and just remotely attach to (or 
forward) its x session from my main workstation.  i vision it basically 
working just like when i sit down to my workstation, and type 'startx'.


cheers,
  
Hmmm well may I ask why you want such a setup ? The only advantages I 
can see are to keep your main-workstation free of the builds for your 
WMs and the fact that your main system remains somewhat cleaner. But I 
doubt it will weigh up against the time-costs for your X11 forwarding ? 
Or am I missing something ?


Regards,

--
-Frank Staals


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


Re: Low Level Language Suggestions: OT

2007-12-31 Thread Frank Staals

Victor Subervi wrote:

Hi;
Way OT here...but don't know where else to ask ;)
I'm considering starting an open source project for language translation.
Initially, I'll write this in python (with both MySQL and OpenLDAP for
different needs). But the processing will be heavy duty, so I need to look
toward a low-level language. I am not good in any :( I'm thinking Java's
probably my best bet, just because there are more Java programmers out there
than any other language (I think). But what about C++ or C#? Your comments
would be appreciated.
TIA,
Victor
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  
I don't realy concider java to be a low-level language, so I would take 
a look at C or C++ first  (And TBH I think there are at least as many 
C/C++ programmers as Java programmes ).


Good luck with your project,

--
-Frank Staals


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


Buildworld to releng7 fails

2007-12-25 Thread Frank Staals
Last night I started a buildworld to upgrade on one of my FreeBSD 
systems with the latest sources (RELENG_7), unfortunately buildworld 
crashes. What is going wrong ?


System info:

[EMAIL PROTECTED] uname -a
FreeBSD FStaals.net 7.0-BETA3 FreeBSD 7.0-BETA3 #2: Mon Nov 19 19:50:46 
CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PFSERVERKERNEL  amd64



My /etc/make.conf:

[EMAIL PROTECTED] cat /etc/make.conf
## X11 base
X11BASE=${LOCALBASE}

### use a different workdir
WRKDIRPREFIX=/usr/ports/obj

NO_PROFILE=true

# added by use.perl 2006-12-29 03:57:33
PERL_VER=5.8.8
PERL_VERSION=5.8.8


Last X lines of my buildworld output ( I have the complete log but I 
doubt it is interesting )


cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H 
-DPREFIX=\/usr/obj/usr/src/tmp/usr\ 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-modes.c
cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H 
-DPREFIX=\/usr/obj/usr/src/tmp/usr\ 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-extract.c
cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H 
-DPREFIX=\/usr/obj/usr/src/tmp/usr\ 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-opinit.c
cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H 
-DPREFIX=\/usr/obj/usr/src/tmp/usr\ 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-output.c
cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H 
-DPREFIX=\/usr/obj/usr/src/tmp/usr\ 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-peep.c
cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H 
-DPREFIX=\/usr/obj/usr/src/tmp/usr\ 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-recog.c

{standard input}: Assembler messages:
{standard input}:20169: Warning: end of file not at end of a line; 
newline inserted

{standard input}:21608: Error: unknown pseudo-op: `.qu'
cc: Internal error: Killed: 9 (program cc1)
Please submit a full bug report.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error



--
-Frank Staals


___
freebsd-questions

Re: remote x session

2007-12-24 Thread Frank Staals

Jonathan Horne wrote:

On Monday 24 December 2007 01:11:12 pm Jeremy Gransden wrote:
  

On 12/24/07, Jonathan Horne [EMAIL PROTECTED] wrote:


i have been wanting to set up the ability to open an entirely new x
session to
another box, in a window of my currently running session.  xnest is one
way
of doing this, but i was wondering if there are any others (perhaps, a
little
easier to configure and get going) ?

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

Can you forward X through ssh? Or is that not what you are looking for?


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



i did finally get ssh to forwared X, but it only worked with 


ssh -Y [host]

im not sure yet why ssh -X doesnt work, but ive not yet finished reading about 
the ins and outs of what security settings im overriding with the -Y.


i was able to start xclock as a test.  but what i would really like to be able 
to accomplish, would be to get the entire 'startx' to work over an ssh 
session, and have it open as another window on my desktop.


cheers,
  

Is vnc not an option then ?

--
-Frank Staals


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


Distributing directory over multiple discs ?

2007-12-15 Thread Frank Staals
Since one of my discs is filling up rather quickly (Say disc A ) while 
an other one stays quite empty (say disc B ) I would like to distribute 
the content of a directory on disc A over both A and B. I know I can 
simply move some of the files over to a sperate directory on disc B but 
is is possible to somehow merge the 2 ? So for example if I would do an 
ls in discA/dir I would also see the files that are stored on 
discB/an/other/dir ? And off-course if this is possible how can I 
acchieve something like that


Regards,

--
-Frank Staals


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


Re: looking for ideas: triple booting and personal data

2007-12-08 Thread Frank Staals

Aryeh M. Friedman wrote:

I am creating a triple boot machine (FB, Linux, Vista) and want to keep
all non-system files (i.e. any thing I made vs. was installed by the OS
[including 3rd party software]) avaible (r/w) by all three OS's.   I
know I can do this by putting /usr/home on a NTFS partition but am
worried about the slowness of ntfs-3g/ntfsprogs (90% of the time I am in
FreeBSD and have several things going that need decent disk performence
[bit torrents]).  Any ideas? 


BTW an added plus would be some way to automatically have one or all the
OS's maintain archival copies for backup purposes
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  
For my dual-booting laptop ( FreeBSD , WinXP ) I'm using ext2 for my 
data partiton. Works like a charm for me ( Using 
http://www.fs-driver.org/ for WinXP and sysutils/e2fsprogs ) Only thing 
that can be anoying is when FreeBSD crashes and I have to fsck my entire 
data partiton which can take a while. But possibly this can be avoided 
by using ext3 instead of ext2 (But the utilities are the same ).


Good luck,

--
-Frank Staals


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


Re: 7.0 installation, and Xorg in particular

2007-11-29 Thread Frank Staals

Freminlins wrote:

snip

Err, yeah. Look through hundreds of packages to see which dependencies they
have. Helpful. Not.

This way of doing X11 is seriously unhelpful to end users. If having
individual packages for everything is so good, please tell me why everything
in /bin, /usr/bin and so on is not an individual package. It's because the
idea of doing so is dumb.

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

  
Allthough I think the modular approach to Xorg is a good thing, I have 
to agree the xorg-meta port installs A LOT of ports. A xorg-lite port an 
xorg-lite port would be usefull for a user who is planning on installing 
a low-end X windows environment.  I  thought  I read at the 
freebsd-ports list such thing was being worked on some time ago. But I 
haven't heard anything about it anymore for quite some time now. What 
happened to that idea ?


Regards,

--
-Frank Staals


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


Re: snd_ich skipping playback

2007-11-25 Thread Frank Staals

Roland Smith wrote:

On Tue, Nov 20, 2007 at 06:50:05PM +0100, Frank Staals wrote:
  
I updated to RELENG_7 yesterday, but I'm noticing that the snd_ich driver 
quite often skips playback for a short period of time at some points. 
Especially when doing mysql queries. Anyone else having problems with 
snd_ich ?


[EMAIL PROTECTED] uname -a
FreeBSD FStaals.net 7.0-BETA3 FreeBSD 7.0-BETA3 #2: Mon Nov 19 19:50:46 CET 
2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PFSERVERKERNEL  amd64


[EMAIL PROTECTED] pciconf -lv
[EMAIL PROTECTED]:0:4:0:class=0x040100 card=0x71851462 chip=0x005910de 
rev=0xa2 hdr=0x00

   vendor = 'Nvidia Corp'
   device = 'Realtek ALC850 Realtek AC'97 Audio'
   class  = multimedia
   subclass   = audio

[EMAIL PROTECTED] dmesg | grep pcm
pcm0: nVidia nForce4 port 0xea00-0xeaff,0xee00-0xeeff mem 
0xfe02d000-0xfe02dfff irq 23 at device 4.0 on pci0

pcm0: [ITHREAD]
pcm0: Avance Logic ALC850 AC97 Codec



I've had trouble with skipping sound some time ago on machines with
another chipset;
$ cat /dev/sndstat 
FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64)

Installed devices:
pcm0: VIA VT8237 at io 0xd800 irq 22  [MPSAFE] (5p:4v/1r:1v channels 
duplex default)


I put the following in /boot/device.hints

# Larger DMA buffer for the soundcard, for better sound quality.
hint.pcm.0.buffersize=16384

This fixed the problem for me.

Roland
  
Ah thanks for the hint, but I'm guessing that won't work  since 
aparently the buffersice is allready 16K :


[EMAIL PROTECTED] sysctl -a | grep pcm
dev.pcm.0.%desc: nVidia nForce4

dev.pcm.0.%driver: pcm
dev.pcm.0.%location: slot=4 function=0 handle=\_SB_.PCI0.MACI
dev.pcm.0.%pnpinfo: vendor=0x10de device=0x0059 subvendor=0x1462 
subdevice=0x7185 class=0x040100

dev.pcm.0.%parent: pci0
dev.pcm.0.eapd: 1
dev.pcm.0.play.vchans: 1
dev.pcm.0.play.vchanrate: 48000
dev.pcm.0.play.vchanformat: s16le
dev.pcm.0.rec.vchans: 1
dev.pcm.0.rec.vchanrate: 48000
dev.pcm.0.rec.vchanformat: s16le
dev.pcm.0.buffersize: 16384
dev.pcm.0.ac97rate: 48000

Anyone else a hint ?

--
-Frank Staals


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


snd_ich skipping playback

2007-11-20 Thread Frank Staals
I updated to RELENG_7 yesterday, but I'm noticing that the snd_ich 
driver quite often skips playback for a short period of time at some 
points. Especially when doing mysql queries. Anyone else having problems 
with snd_ich ?


[EMAIL PROTECTED] uname -a
FreeBSD FStaals.net 7.0-BETA3 FreeBSD 7.0-BETA3 #2: Mon Nov 19 19:50:46 
CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PFSERVERKERNEL  amd64


[EMAIL PROTECTED] pciconf -lv
[EMAIL PROTECTED]:0:4:0:class=0x040100 card=0x71851462 chip=0x005910de 
rev=0xa2 hdr=0x00

   vendor = 'Nvidia Corp'
   device = 'Realtek ALC850 Realtek AC'97 Audio'
   class  = multimedia
   subclass   = audio

[EMAIL PROTECTED] dmesg | grep pcm
pcm0: nVidia nForce4 port 0xea00-0xeaff,0xee00-0xeeff mem 
0xfe02d000-0xfe02dfff irq 23 at device 4.0 on pci0

pcm0: [ITHREAD]
pcm0: Avance Logic ALC850 AC97 Codec

Regards;

--
-Frank Staals


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


Weird musicpd + tracks problem

2007-11-16 Thread Frank Staals
For about a week nog my computer is running Tracks ( 
http://www.rousette.org.uk/projects/ ); a GTD web-application using ruby 
on rails. To play my music I am running musicpd. The weird thing is that 
reloading my tracks page also orders musicpd to play a new song half of 
the times. I don't have a clue what is causing this but it is getting 
more anoying every minute. Does anyone have an idea what could cause 
this behaviour, or knows what I could do to track down what is causing it ?


Some system information:

output from my mpd log when setting log_level to verbose:  ( As shown 
there are no incoming connections from a client )


Nov 15 19:59 : playlist: play 108:nfs_pro_speed_ost/part1/Year Long
Disaster  Leda Atomica.mp3
Nov 15 19:59 : copyMpdTagToOB: !acceptMetadata || !tag
Nov 15 19:59 : copyMpdTagToOB: !acceptMetadata || !tag
Nov 15 19:59 : oss device /dev/dsp will be playing 16 bit 2 channel audio
at 44100 Hz
Nov 15 19:59 : playlist: queue song 109:nfs_pro_speed_ost/part1/Yelle  A
Cause Des Garcons (Riot In Belgium Remix).mp3



[EMAIL PROTECTED] uname -rs
FreeBSD 6.2-PRERELEASE

[EMAIL PROTECTED] pkg_info -Ex musicpd
musicpd-0.13.0_1

[EMAIL PROTECTED] pkg_info -Ex apache
apache-2.2.6_2

[EMAIL PROTECTED] pkg_info -Ex ruby 
eruby-1.0.5

mod_ruby-1.2.6
ruby-1.8.6.111,1
ruby18-aspectr-0.3.5
ruby18-bdb-0.6.2
ruby18-dbd_mysql-0.1.1
ruby18-dbi-0.1.1
ruby18-gems-0.9.4
ruby18-mysql-2.7.3
rubygem-actionmailer-1.3.3
rubygem-actionpack-1.13.3
rubygem-actionwebservice-1.2.3
rubygem-activerecord-1.15.3
rubygem-activesupport-1.4.2
rubygem-rails-1.2.3
rubygem-rake-0.7.3

[EMAIL PROTECTED] pkg_info -Ex mysql
mrtg-mysql-load-1.02_2
mysql-client-5.0.45_1
mysql-server-5.0.45_1
php5-mysql-5.2.4_1
ruby18-dbd_mysql-0.1.1
ruby18-mysql-2.7.3


running Tracks 1.043 ( manual install )

Thanks in advance,

--
-Frank Staals


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


Re: FreeBSD 6.2 with Xorg 7.3

2007-11-01 Thread Frank Staals

Paul Schmehl wrote:

--On October 31, 2007 12:43:48 PM -0400 John [EMAIL PROTECTED] wrote:


I hope this is an appropriate list for this type of question; please let
me know if another list is more suitable to newbie-type quesions.

I've been using Linux for a long time, and every year or so I have a
crack at *BSD to see what I'm missing.  But it never works out.

So, trying again...

I think I want to start with FreeBSD 6.2 with Xorg upgraded to 7.3.  I
tried to accomplish this over the course of several installs.  In the
end, I decided this should work:

a)  install 6.2, plain User setup (NOT with Xorg, and NOT with ports)

b) portsnap fetch

c) portsnap extract

d) cd to /usr/ports/x11/xorg  and make install clean

When I do pkg_version -v, it SEEMS to have installed the xorg that I
want.

Is this the right procedure to start with?


Yes, with one caveat.  You need to run mergebase.sh or manually create 
the symlink for /usr/X11R6.  /usr/ports/Tools/scripts/mergebase.sh
Isn't the default X11BASE for 6.2 still on /usr/X11R6/  I thought it 
still was, then you will run into trouble again when you are going to 
update Xorg again in the future. So I think you will need a 
X11BASE=${LOCALBASE} in /etc/make.conf


--
-Frank Staals


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


Re: Portupgrade used to be fun!!!

2007-10-27 Thread Frank Staals

Antonio Arredondo wrote:

I used to have issues with portupgrade as well. I traced my problem to
using the wrong portupgrade. I have been using portupgrade for several
months without an issue ( except the Xorg 7 transition ). Make sure to
use

/usr/ports/ports-mgmt/portupgrade

and not

/usr/ports/sysutils/portupgrade


I also follow the following port method, as per the handbook suggestion:

portsnap fetch
portsnap update

method. This has worked without an issue for me. I am running FreeBSD
6.2-RELEASE-p8.


I hope this helps.


-
Antonio Arredondo
PhD Student
NMSU Computer Science Department
http://www.cs.nmsu.edu/~aarredon/
-
  
snip
All ports managment utilities have been moved to ports-mgmt quite some 
time ago. So if you still have a  sysutils/portupgrade you should update 
your portstree.


[EMAIL PROTECTED] ls /usr/ports/sysutils | grep portupgrade
[EMAIL PROTECTED]

--
-Frank Staals


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


mplayer / snd_hda / Xorg; intel driver problem

2007-10-21 Thread Frank Staals
Not so long ago I aquired a new laptop. Appart from some issues which 
were to be expected everything works fine; appart from one thing: When 
playing videos with mplayer it hangs up
my system at random times( Mostly within half an hour of videplayback 
though ) . The video-playback stops, sound blocks and I can't acces my 
laptop anymore; not even switch to tty0 to check for debug messages.


My guess is it has something to do with either the audio or the 
videodriver, respectively snd_hda and the intel driver in Xorg. So I 
did 2 tests, without gaining any additional knowlege however:


I tried unloading the snd_hda module and sound modules and play the 
video to see if there was a problem with the video-part. I let it ran 
for a couple of hours and everything seemed to be fine


The second thing I tried was just using mplayer -vo null and playing the 
video. Same as the above test; it ran fine for a couple of hours straight.


So no I have no Idea anymore what I could do to determine whatever is 
going wrong. I hope someone else has an idea or might have a pointer to 
what I could do to gain more information about this. The relevant system 
data:


[EMAIL PROTECTED] uname -a
FreeBSD Rena.FStaals.net 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Oct 13 
12:59:51 CEST 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


[EMAIL PROTECTED] kldstat
Id Refs AddressSize Name
1   15 0xc040 923830   kernel
21 0xc0d24000 14e24snd_hda.ko
32 0xc0d39000 52a08sound.ko
41 0xc0d8c000 6b270acpi.ko
51 0xc5672000 11000ext2fs.ko
61 0xc592a000 22000linux.ko
71 0xc5a2d000 6000 i915.ko
81 0xc5a33000 f000 drm.ko

[EMAIL PROTECTED] mplayer --version
MPlayer dev-SVN-r24813-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU T7300  @ 2.00GHz (Family: 6, Model: 
15, Stepping: 10)

CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

[EMAIL PROTECTED] dmesg -a | grep pcm
pcm0: Intel 82801H High Definition Audio Controller mem 
0xfe9fc000-0xfe9f irq 21 at device 27.0 on pci0

pcm0: [ITHREAD]
pcm0: HDA Codec: Sigmatel (Unknown)
pcm0: HDA Driver Revision: 20070710_0047

[EMAIL PROTECTED] dmesg -a | grep agp 
agp0: Intel GM965 SVGA controller on vgapci0

agp0: detected 7676k stolen memory
agp0: aperture size is 256M


my xorg config; ( which is just basically what X --configure generated ) 
: http://fstaals.net/junk/xorg.conf


Regards,


--
-Frank Staals


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


Re: best way to run vista inside freebsd

2007-10-19 Thread Frank Staals

Frank Jahnke wrote:

VMs in general are a problem on Free. There is an effort to port the
most recent VMware Workstation by a very good man.  I do hope this
works, because right now things in the VM world on FreeBSD truly are
bleak.

Frank

  
What is the status of that project if I may ask ? I did some research on 
it some time ago but the best I could find was that there was someone 
porting vmware-workstation 4.5.X to FreeBSD allthough there were quite a 
lot problems so there wasn't much progress it seemed.


Anyway; VM's and FreeBSD don't go well indeed :( vmware3 is just 
outdated, it won't work as Xen host (yet;  .. it was on the SoC list, 
but I'm not sure how much has become of it ) and qemu is a nice attempt 
but it's just not good enough ( especially since kqemu locks up my 
system in CURRENT ). It would be great if FreeBSD could be a VM-host.




--
-Frank Staals


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


Re: Installation problems

2007-10-03 Thread Frank Staals

Siraj Shaikh wrote:

I am new to FreeBSD, and am trying to install it. I have tried to
installa on two separate machines, one a shuttlex xpc, and another an
IBM laptop. Both times, I proceed, create the partitions and then get
this message Unable to transfer the ... distribution from acd0
and finally says Unable to transfer all components of the kernels
distribution

I am installing it from a FreebSD 6.2 iso image burnt on a CD. Is
there a problem with the CD?

Any help on this would be great. Thanks

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

  
If you're sure your CD and/or CD-reader isn't somehow damaged you can 
try installing everything through ftp. ( So select ftp with a mirror 
close to you when it asks for an instalation medium ).


--
-Frank Staals


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


Re: [Fwd: Re: Ports forbids me to install compat3x-i386]

2007-05-07 Thread Frank Staals
 vom PC zum PC: http://messenger.yahoo.de

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

  
You might want to send a PR with a patch for mbrolla which just copies 
that library on the target system. That would be the best bet I guess


--
-Frank Staals


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


Re: Ports forbids me to install compat3x-i386

2007-05-06 Thread Frank Staals

Stevan Tiefert wrote:

Am Sonntag, den 06.05.2007, 13:49 +0200 schrieb Stevan Tiefert:
  

Hello list,

I need to install the port misc/compat3x-i386 as a dependency for the
port audio/mbrola. The port misc/compat3x-i386 is marked as IGNORE and
it returns an error after portinstall compat3x-i386:

vagabund# portinstall compat3x-i386
** Port marked as IGNORE: misc/compat3x:
is forbidden: FreeBSD-SA-03:05.xdr, FreeBSD-SA-03:08.realpath
- not fixed / no lib available
vagabund# 


With regards
Stevan Tiefert




Excuse me all, I ' ve forgot the question:

How can I install the port compat3x-i386?

  
Most probably the answer would be you can't. It isn't marked IGNORE 
for no reason ;) Take a look at audio/linux-mbrola if you want mbrola 
though, that way you'll avoid the compat3x problem ( you will need linux 
compatiblity enabled in return though ( but I guess that isn't much of a 
problem )) 


--
-Frank Staals


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


Re: quiet port update

2007-05-06 Thread Frank Staals

Tsu-Fan Cheng wrote:

Hi,
   just these days, I csup tp update ports from cvsup3 and 4 but turns 
out
nothing to update/// it looks a bit unusual to me, it's everything 
alright

or did I do something wrong?? thank you!!

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


The portstree is currently frozen because of the Xorg 7.2 Merge so that 
might be an explanation :)


--
-Frank Staals


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


Re: mspaint-like application?

2007-04-22 Thread Frank Staals

Ghirai wrote:

Hello,

Even though this is not necessarily a pure FreeBSD question,
i'd like to know if there are any mspaint-like applications
in the ports collection?

I don't need anything as complex as gimp,
i just want to make quick edits, adding arrows, etc
on images, then saving in a couple popular formats.

I wanted to install kolourpaint; i found out that it
was included in kdegraphics, which has quite a few rather big
dependencies.

Thanks.

  
You might want to try xpaint, allthough I dislike working with it ( but 
then again I also dislike(d) working in M$ paint  )


--
-Frank Staals


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


GTK filedialog crashes Firefox/Thunderbird

2007-03-23 Thread Frank Staals
It seems that I'm having problems (again) with the GTK filedialog in 
Firefox/Thunderbird. It happens when saving or opening a file in Firefox 
or thunderbird resulting in a crash. What to do:


- Open Firefox
- Save a file, the save-file dialog comes up, Save or cancel it.
- Save a file, when the file dialog comes up, file dialog hangs and 
after a second or something firefox crashes


Same thing happens when trying to open a file using the file dialog a 
second time, and same for thunderbird: The second time the GTK file 
dialog comes up it seems to crash firefox or thunderbird.


When I was running firefox-1.5 there was the exact same problem which 
was fixed in one of the developement releases and when first running 
Fx-2 I didn't have any problems with it either. I checked in the gimp 
and geany if there were problems with the file dialog but it worked fine 
in those programs. Has anyone else problems with this ?


running:

[EMAIL PROTECTED] uname -rs
FreeBSD 6.1-RELEASE

[EMAIL PROTECTED] pkg_info | grep firefox
firefox-2.0.0.2,1   Web browser based on the browser portion of Mozilla
[EMAIL PROTECTED] pkg_info | grep thunderbird
thunderbird-1.5.0.10 Mozilla Thunderbird is standalone mail and news 
that stands


[EMAIL PROTECTED] pkg_info -rx thunderbird | grep gtk
Dependency: gtk-2.10.10
[EMAIL PROTECTED] pkg_info -rx firefox | grep gtk
Dependency: gtk-2.10.10

[EMAIL PROTECTED] pkg_info | grep gtk
snip
gtk-2.10.10 Gimp Toolkit for X11 GUI (current stable version)
snip


--
-Frank Staals


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


Re: GTK filedialog crashes Firefox/Thunderbird

2007-03-23 Thread Frank Staals

John Nielsen wrote:

On Friday 23 March 2007 11:02:46 am Frank Staals wrote:
  

It seems that I'm having problems (again) with the GTK filedialog in
Firefox/Thunderbird. It happens when saving or opening a file in Firefox
or thunderbird resulting in a crash. What to do:

- Open Firefox
- Save a file, the save-file dialog comes up, Save or cancel it.
- Save a file, when the file dialog comes up, file dialog hangs and
after a second or something firefox crashes

Same thing happens when trying to open a file using the file dialog a
second time, and same for thunderbird: The second time the GTK file
dialog comes up it seems to crash firefox or thunderbird.

When I was running firefox-1.5 there was the exact same problem which
was fixed in one of the developement releases and when first running
Fx-2 I didn't have any problems with it either. I checked in the gimp
and geany if there were problems with the file dialog but it worked fine
in those programs. Has anyone else problems with this ?



I'm seeing the same behavior. I searched around on the web a while ago and saw 
a report (on a firefox bug issue or mailinglist I think) from another FreeBSD 
user about this. He later followed up to his own post saying that the problem 
went away after he recompiled ALL of his ports. The thing that was 
interesting is that he only saw the bad behavior under xfce (what WM are you 
using, btw?).  I'm running xfce 4.4.0 and have the problem, but I haven't 
gotten around to recompiling everything yet. I may or may not wait for the 
modularXorg stuff to be committed before I do so...


JN

  
Hmm I wondered if I should have added what WM I was running but I guess 
so: Running xfce-4.4.0 on xorg-7.2rc3.


Fixed by recompiling all my ports seems a lot of work to fix something 
with GTK :S but well I'm planning on reinstalling FreeBSD not that long 
from now ( want to switch disc setup ) hope that will fix the problem 
then. Allthough there ougth to be an better/more specific solution then 
just recompiling everything 


--
-Frank Staals


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


Re: Changing command-line resolution

2007-03-09 Thread Frank Staals

John Nielsen wrote:

On Wednesday 07 March 2007 21:48, frzburn wrote:
  

Hi!
I was wondering if there is a way to change the command-line

snip

FreeBSD 6.2-STABLE amd64.



Build and install a kernel with options VESA and SC_PIXEL_MODE. Reboot. 
Run vidcontrol -i mode. Pick one you like and make a note of its number. 
Then do something similar to vidcontrol -f 8x14 cp437-8x14.fnt MODE_NNN, 
replacing NNN with the mode you noted previously and 8x14 with one of 8x8, 
8x14 or 8x16. The font file should match the font size and codepage you 
want your terminal to be in. Repeat until you find the settings you want, 
then add a line like this to /etc/rc.conf:

allscreens_flags=-f 8x14 cp437-8x14.fnt MODE_NNN
using the same substitutions.

See also man vidcontrol, man sc, and the FreeBSD handbook.

JN
___
  
If I'm correct that's not going to work since VESA module doesn't work 
on an amd64 system, or at least that's what I thought I read some time 
ago. Not sure what your goal is with your machine but if it's not meant 
as a server you can always install Xorg with some lightweight WM.


Good luck,

--
-Frank Staals


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


Re: vmware Questions

2007-02-22 Thread Frank Staals

John Nielsen wrote:

On Wednesday 21 February 2007 20:50, Martin McCormick wrote:
  

If one has a FreeBSD system that has 1 gigabyte of RAM
and a 1-GHZ processor, would it be possible to run a couple of
vmware instances of FreeBSD?  I want to set up a DHCP server on
each virtual machine and configure one to be optimized for DHCP
failover and dynamic leases while the other is dedicated to
static bootp service.  It would be much easier for the 2
instances of dhcpd to run in separate machines, so to speak,
since they normally use the same named files for logging and
configuration.

What sort of a performance hit does one usually see on a
virtual machine?



Depends a lot on the virtual machine. VMware Server runs VM's pretty 
efficiently, but there is a moderate hit. ESX server has almost n 
performance penalty.


  

When we run dhcpd on a normal FreeBSD system of the type
described above, the system is normally loaded around 0.05 or so
so it isn't having to work too hard.

Thanks for any help as to what vmware port is best.  The
platform is FreeBSD and the 2 virtual machines will also be
FreeBSD if that makes any difference.



Modern versions of VMware don't run under FreeBSD. If you really want VMware 
then install a supported Linux distro and run VMware server. (Or go out and 
buy ESX or GSX server or one of the Workstation products). FreeBSD 6.2 
works great as a guest under most VMware products.


  

There will be no X windows involved, just hopefully 2
DHCP servers running as if they were on two separate boxes.

Any information to point me in the right direction or
reasons why this is not a good idea are appreciated.



For what you're talking about, jails make a lot more sense than 
virtualization or emulation. If you really want to run virtual machines 
under FreeBSD, take a look at qemu. qemu (even with the kqemu_kmod port 
(highly recommended) definitely has a noticeable performance impact, but 
DHCP is so lightweight that it probably won't matter.


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

  
If the goal is just to run FreeBSD instances inside your virutal 
machines vmware, qemu, xen etc are all not needed. Use jails instead 
which would be much faster.


--
-Frank Staals


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


Re: Duplicate emails on freebsd-questions

2007-02-19 Thread Frank Staals

Apatewna wrote:
As far as I can tell, the problem with duplicate emails resides on how 
the list software is setup.
I am a member of another list where each email sent out by the list 
software is stripped of all CCs and ReplyTOs. There is only a 
ReplyTo address in the form of [EMAIL PROTECTED].


Now, whenever a subscriber wants to send a new email to the list, all 
he has to do is add [EMAIL PROTECTED] as a recipient (as 
usual on all lists). Whenever he wants to reply to some email he 
received from the list he just uses the Reply command in his email 
program.


The way it is done on this list is confusing when it comes to reply to 
mail I received from the list. Almost always I have to use the Reply 
to all command and strip all irrelevant addresses (CCs TOs and 
ReplyTOs) leaving just the freebsd-questions@freebsd.org as a 
recipient To. Sometimes in a hurry I forget to delete the 
aforementioned recipients and the mail appears to be sent multiple 
times to the subscribers involved. Some other times I recieve email 
directly, skipping the list, because the other fellow just used the 
Reply button.


I have never run a mailing list before so that I can strictly suggest 
proper action, but this is the way I believe thing are running at the 
moment and it ought to be improved by our suggestions.


-
RTFM and STFW before anything bad happens
-
Thanasis Rizoulis
Electronic Computing Systems Engineer
Larissa, Greece
FreeBSD/PCBSD user
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


I think it isn't that bad, it's easy for filtering e-mail so you can let 
your mail client hilight the threads in which you have replied.


Just my 2 cents,

--
-Frank Staals


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


Re: Viewing on remote PC

2007-02-15 Thread Frank Staals

Gerard wrote:

On Wednesday February 14, 2007 at 08:02:38 (AM) Vince wrote:


  
OK, I installed 'tightvnc' from ports. That went OK.


Then, I started the process by entering: 'vncserver' at the command
prompt on the FBSD machine. The first time this ran it asked for
information which I provided. Now when I invoke it, it runs silently.
This is the contents of the log file it creates.

// Contents of: ~/.vnc/scorpio.seibercom.net:1.log //

14/02/07 10:42:32 Xvnc version TightVNC-1.3.8
14/02/07 10:42:32 Copyright (C) 2000-2006 Constantin Kaplinsky
14/02/07 10:42:32 Copyright (C) 1999 ATT Laboratories Cambridge
14/02/07 10:42:32 All Rights Reserved.
14/02/07 10:42:32 See http://www.tightvnc.com/ for information on TightVNC
14/02/07 10:42:32 Desktop name 'X' (scorpio.seibercom.net:1)
14/02/07 10:42:32 Protocol versions supported: 3.7t, 3.7, 3.3
14/02/07 10:42:32 Listening for VNC connections on TCP port 5901
14/02/07 10:42:32 Listening for HTTP connections on TCP port 5801
14/02/07 10:42:32   URL http://scorpio.seibercom.net:5801

// End Log //

I have the following in the 'putty' configuration

Under SSL / X11, I have this:

X Display location: localhost:0
I have tried with both: Enable X forwarding checked and unchecked
without any difference.

Under SSH / Tunnels, I have this:

L5905 192.168.0.2:5901

I am not sure about the port # 5905. I simply copied it from a example I found.
I have tried 5901, 5900 and 5902 all without success.

There is no notification when I actually log onto the remote machine
other than what I normally receive. If I try: 'startx', all I get is a
lot of text output on the screen, although the application does start on
the remote PC.

Now, I can make a connection via HTTP and do get a login box. In fact,
that seems to be the only way I can make a successful connection.
Therefore, I am positive the VNC is working, just not with putty.

Obviously I am doing something really stupid.

Thanks!

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

  
You have to connect to a VNC server with a VNC client ( Windows tightVNC 
client is available from http://www.tightvnc.com/download.html ). Notice 
that by default you won't have encryption so you might want to use putty 
to create an SSH tunnel for your traffic ( See the tunneling section in 
putty )


--
-Frank Staals


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


Automatically detach screen after given amount of time ? / Authpf in background ?

2007-02-01 Thread Frank Staals
A couple days ago I set up authpf on my FreeBSD gateway for 
authentication of my wifi network. Everything works great, the only 
thing that is/was bothering me was that I had to keep open a terminal on 
my laptop for the ssh session. I quickly thought of using screen to fix 
that  problem. The thing is I want to see the confirmation authpf gives 
when starting the ssh transfer ( The 'welcome username you are 
authenticated from ip' message ). After that it should just send the 
ssh session to the background. So I came up with this script :


[EMAIL PROTECTED] cat /home/scripts/root/seescreen
#!/bin/sh

 script to log in to connect to screen for only a set amount of time

## Settings to use:
rtime=3 ## time to wait before calling screen's reatach
dtime=4 ## time to wait before calling screen's detach


# if called with '-reatach'
if [ $1 = -reatach ] ; then
   sleep $rtime

   seescreen -detach 

   screen -r
fi
# if called with '-detach'

if [ $1 = -detach ] ; then
   sleep $dtime

   screen -d
fi


now I could start my authentication session with 'screen -wipe; sudo 
wlan ; seescreen -reatach ; screen -d -m ssh -l wifi wlanserver'. ( 
where wlan is an other script to set up my wlan connection '. I made an 
alias in my bashrc file to prevent typing all this. The weird thing is 
that the first times I ran my script during testruns I could set the 
rtime to 1 but then it seemed that wasn't enouth time so I had to make 2 
of it and everything worked again. But then it didn't work with 2 either 
and I had to set it to 3 and now even 3 doesn't seem enough to reconnect 
to my screen session. It shouldn't take that long to start the 'screen 
-d -m command' does it ?


So my question was: Am I missing something resulting in the need of a 
longer rtime ? If there is nothing wrong with it what would be a good 
value ? Or is there some other way I could run my ssh session in the 
background ?


Regards,

--
-Frank Staals


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


PF and MAC-Filtering ?

2007-01-29 Thread Frank Staals
I'm trying to get my FreeBSD gateway with PF firewall to only allow 
acces to my network and internet from a couple computers through MAC 
filtering. I couldn't realy find out what rules I should use; From the 
information I found on google I tried something like this but it seems 
that PF doesn't see the entrie(s) in my mac-table as a mac adres: ( only 
pasted the related rules ) :


block log

### Only allow WLAN connections from trusted Systems::
table wlanmacs persist file /usr/local/etc/pf/wlanmacs
pass in  on $wlanif from src wlanmacs to any keep state
pass out on $wlanif from any to src wlanmacs keep state

with in /usr/local/etc/pf/wlanmacs one Mac adres on each line; example:

00:0b:7b:23:33:25

As I said it doesn't seem that PF gets that it should treat the entries 
in the table as mac-adresses. How can I do that ? Or is there a better 
way to achieve the same result  ?


Regards,

--
-Frank Staals


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


Re: 6.2 STABLE?

2007-01-26 Thread Frank Staals

Andreas Widerøe Andersen wrote:

I just finished making and installing world and a new kernel yesterday. I
had cvsup'ed the latest src/ports with releng 6_2.

I thought 6.2 STABLE was out, but a uname-a shows 6.2 RELEASE on my 
system.


Am I missing something? :-)

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


From 

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

RELENG_6

   The line of development for FreeBSD-6.X, also known as FreeBSD 6-STABLE

RELENG_6_2

   The release branch for FreeBSD-6.2, used only for security
   advisories and other critical fixes.

in short: use RELENG_6 if you want 6-STABLE


--
-Frank Staals


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


MSI K8N-SLI ( Nforce 4 ) + Musicpd warnings

2007-01-14 Thread Frank Staals
Since not so long I have a MSI K8N-SLI mainbord, I updated to 
6.2-PRERELEASE so I could use the nfe driver for the onboard NIC. Now 
there is only one thing left which bothers me. I am using musicpd to 
play my music, allthough every time I give a command either by 
commanline through mpc or through a webclient I get kernel messages like 
these:


WARNING pid 1661 (mpd): ioctl sign-extension ioctl c0045006
WARNING pid 1661 (mpd): ioctl sign-extension ioctl c0045002
WARNING pid 1661 (mpd): ioctl sign-extension ioctl c0045005
WARNING pid 1661 (mpd): ioctl sign-extension ioctl c0045006
WARNING pid 1661 (mpd): ioctl sign-extension ioctl c0045002
WARNING pid 1661 (mpd): ioctl sign-extension ioctl c0045005

I have to say, everything works just fine but it's anyoing that these 
message keep showing up in my dmesg. When I googled on it I didn't realy 
found a solusion. Does anyone know what the problem is/can be and what I 
can do to fix it ?


Regards,

--
-Frank Staals


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


Re: advice on compiling a new kernel upgrading to the latest sources

2007-01-14 Thread Frank Staals

Dino Vliet wrote:

Hi folks,
from different sources I have written my steps to
compile a new kernel  upgrade to the latest sources.
Can anyone have a look into them and tell me if I
won't run into troubles or if there are better ways to
achieve the same?

Upgrade procedure to the newest freebsd kernel and
userland.

1.Make sure that the cvsup file (src-supfile) is
adjusted in the right way.
2.Cd /usr/src/sys/amd64/conf which contains the file
MYKERNEL
3.MYKERNEL is then adjusted, if necessary and copied
to root/kernels/MYKERNEL
4.Copy everything under /etc to /root/etc
5.cvsup -g -L 2  src-supfile 
6.cd /usr/src
  

so far so good

7.make cleanworld
The handbook suggest: rm -rf /usr/obj/* , the cleanworld might do the 
same you might check that
 
8.make buildworld

9.make buildkernel KERNCONF=MYKERNEL
10.Go into single user mode
  

OK

11.If the new kernel doesn't boot reboot and hit the
space bar at the boot prompt and boot kernel.old If
the new kernel boots OK mount -a 
  
You have to install your kernel first, step 13 is next now. Also when 
allready running in the 'multi'-user mode a 'shutdown now' will bring 
you in single user mode

12.cd /usr/src

13.make installkernel KERNCONF=MYKERNEL
  
asuming you still are in single user mode you now have to do 'make 
installworld' ( your step 17 ), after you've done that run a 
'mergemaster' and you are finished.


Basically everything you have to do is documented perfectly in the 
FreeBSD Handbook: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html


I suggest reading it (again?) and if possible open the page on a 2nd 
computer or something so you can read whatever step is next when 
rebuilding world.


Also you might want to run 'script /path/to/logfile/'  as also 
described in the handbook .

14.Go into single user mode
15.cd /usr/src
16.mergemaster -p
17.make installworld
18.mergemaster -i
19.exit and reboot

Is this ok? Or have I forgot about something?
I'm running a freebsd 6.1 machine on a amd64 system
with an adjusted kernel called MYKERNEL.

Thanks inadvanced,
Dino


 


Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  


--
-Frank Staals


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


FreeBSD 6.1-RELEASE and nfe ?

2007-01-09 Thread Frank Staals

Hey,

I am running a FreeBSD 6.1-RELEASE machine with a MSI K8N SLI-F 
mainboard, it has problems with the nve driver so I searched around on 
the internet and found this site about the nfe driver: 
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html . 
Allthough there were no files for 6.1-RELEASE. Are there specific files 
or instructions for installing on 6.1-RELEASE. I'm not too fond of 
upgrading my system at this point and when I tried using the 
6.2-PRERELEASE files I came upon these errors during the 'make' when 
rebuilding my kernel:



-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000  -mcmodel=kernel -mno-red-zone  -mfpmath=387 
-mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -Werror  
../../../dev/mii/dcphy.c
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I../../.. 
-I../../../contrib/altq -I../../../contrib/ipfilter 
-I../../../contrib/pf -I../../../contrib/dev/ath 
-I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm 
-I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000  
-mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx 
-mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding 
-Werror  ../../../dev/mii/e1000phy.c

../../../dev/mii/e1000phy.c: In function `e1000phy_attach':
../../../dev/mii/e1000phy.c:133: error: `MII_ANEGTICKS_GIGE' undeclared 
(first use in this function)
../../../dev/mii/e1000phy.c:133: error: (Each undeclared identifier is 
reported only once

../../../dev/mii/e1000phy.c:133: error: for each function it appears in.)
../../../dev/mii/e1000phy.c:136: error: `fast_ether' undeclared (first 
use in this function)
../../../dev/mii/e1000phy.c:137: error: `esc' undeclared (first use in 
this function)
../../../dev/mii/e1000phy.c:146: error: `MII_ANEGTICKS' undeclared 
(first use in this function)

../../../dev/mii/e1000phy.c:119: warning: unused variable `id'
../../../dev/mii/e1000phy.c: In function `e1000phy_service':
../../../dev/mii/e1000phy.c:298: warning: passing arg 1 of 
`e1000phy_mii_phy_auto' from incompatible pointer type
../../../dev/mii/e1000phy.c:398: warning: passing arg 1 of 
`e1000phy_mii_phy_auto' from incompatible pointer type

../../../dev/mii/e1000phy.c: At top level:
../../../dev/mii/e1000phy.c:484: error: conflicting types for 
'e1000phy_mii_phy_auto'
../../../dev/mii/e1000phy.c:91: error: previous declaration of 
'e1000phy_mii_phy_auto' was here
../../../dev/mii/e1000phy.c:484: error: conflicting types for 
'e1000phy_mii_phy_auto'
../../../dev/mii/e1000phy.c:91: error: previous declaration of 
'e1000phy_mii_phy_auto' was here
../../../dev/mii/e1000phy.c:91: warning: 'e1000phy_mii_phy_auto' 
declared `static' but never defined
../../../dev/mii/e1000phy.c:484: warning: 'e1000phy_mii_phy_auto' 
defined but not used

*** Error code 1

Stop in /usr/src/sys/amd64/compile/PFSERVERKERNEL.
[EMAIL PROTECTED]

I hope anyone can help me. If it is not possible to install nfe on 
6.1-RELEASE would upgrading to 6-STABLE allow me to install the driver ?


Regards,
--

-Frank Staals


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


Getting a list of dependencies which have to be installed ?

2006-12-14 Thread Frank Staals

Hey...,

Is there a utility to display the dependencies of a port which have yet 
to be installed ? I know you can get a complete dependency list on 
freebsd.org/ports , pkg_info -r or just looking in the files in the 
ports dir. But is there a command to display only the dependencies which 
haven't been installed on your system yet ? I also looked at pkg_add -n 
but it immediately starts fetching the packages needed. I don't want to 
start downloading the complete package just because I want a list of 
ports I haven't installed yet.


Or is the only way making a diff between the pkg_info -r output and your 
pkg_info -a ? If so : Is there a way to tell pkg_info when using the -r 
flag on a not-yet-installed-port to only get a list of the dependencies 
instead of downloading the complete package ? Or is there just an other 
utility which can display this information which I'm not aware of ?


Thanks in advance,

--
-Frank Staals


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


nfs_client_enable=YES usage

2006-12-14 Thread Frank Staals
I am running a nfs-client and nfs-server here for quite some time and 
I'm very happy about it. The client is my laptop ( running 6.1-RELEASE ) 
and the server a 6.0-STABLE machine. I have enabled nfs_client with 
nfs_client_enable=YES on my FreeBSD laptop as stated in the handbook: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html 
allthough when I'm not at home I notice FreeBSD halting during boot 
after NFS access cache time=2 , when I hit ctrl+c it continues fine. 
Since I always mount my NFS dirs manually I started wondering about how 
usefull the entry in /etc/rc.conf was. So I quoted out 
nfs_client_enable=YES in /etc/rc.conf and I still could mount my nfs 
dirs perfectly


So my question was: Is the entry in rc.conf only needed when mounting a 
nfs dir at boot ? or is it not needed at all ( since my test proved it 
isn't needed when you mount the dirs manually after boot )


.. now I have yet to figure out why my ndis NIC won't work when 
disableing nfs_client :S 



--
-Frank Staals


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


Re: Getting a list of dependencies which have to be installed ?

2006-12-14 Thread Frank Staals

Chad Gross wrote:



On 12/14/06, *Frank Staals* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hey...,

Is there a utility to display the dependencies of a port which
have yet




utility which can display this information which I'm not aware of ?

Thanks in advance,

--
-Frank Staals


___



Yes, read man ports before asking : 
http://www.freebsd.org/cgi/man.cgi?query=portsapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html 
http://www.freebsd.org/cgi/man.cgi?query=portsapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html


cd to the dir of the port you wish to know the dependencies of and 
issue one or both of these commands:


*pretty-print-run-depends-list*, *pretty-print-build-depends-list*
  Print a list of all the compile and run dependencies,
  and dependencies of those dependencies.

Chad

By running those commands you just get the complete dependency list of 
the port, that was not what I was asking for: I only wanted it to 
display the dependencies I don't have yet ..


--
-Frank Staals


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


Qemu Kqemu on FreeBSD 6.1

2006-12-11 Thread Frank Staals
Unfortunately I need some stupid windows programs so I decided to 
install win2k in qemu on my laptop. It works well but I have a small 
question: when running qemu it gives an message it couldn't load kqemu. 
Allthough I did load the kernel module:


[EMAIL PROTECTED] kldstat
Id Refs AddressSize Name
snip
251 0xc3d78000 7000 aio.ko
261 0xc3e75000 1b000kqemu.ko


[EMAIL PROTECTED] qemu -hda ~/qemu/win2k.qcom2 -localtime -net nic,vlan=0 -net 
user,vlan=0

Could not open '/dev/kqemu' - QEMU acceleration layer not activated

[EMAIL PROTECTED] ls /dev/ | grep kqemu
kqemu0

As shown in the output from the last command, I do have a /dev/kqemu0 
when starting qemu, when running it again I get a kqemu1 etc. But for 
some reason it seems the qemu expects a /dev/kqemu . What can I do about 
it ?


--
-Frank Staals


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


Re: Working at Console

2006-11-25 Thread Frank Staals

Graham Bentley wrote:

Hi All,

I am interested in setting up a text based / console system.

So far I have learnt how to recompile the kernel and get
1024x768 console. I have 'mc' loaded because I am
familiar with that. And of course sendmail is already sending 
mail. Then there is elinks for web ...


What other apps are people using / recommend for other
tasks on this type of system for ;

Email (mutt, pine, other?)
Word Processing
Music CD
MP3
CD Writing
Screen ?

and any other usefull programs that replace their X equivs ?

Thanks !

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

  
To play mp3's from commandline I usually just use mplayer, but you might 
also want to check out musicpd allthough that might be a little to 
drastic for what you want. For cd-writing I use the burncd command, it 
comes with the cdrecord port. If you allready had some (gui) progam to 
burn cd's you can count on it you allready have cdrecord installed :)


For IM-programs  ( don't know if you use them ) you might want to check 
out irssi + bitlbee


--
-Frank Staals


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


Re: Help... Installing from Port

2006-11-23 Thread Frank Staals

VeeJay wrote:

Hi

If I will install Apache2 from the Port, how can I configure to add 
module

or disable modules?
Like if I want to enable following modules, how can I do them VIA Ports?
Please find below the text from this Step-by-Step guide I am using. 
But that
procedure is for manually downloading the archive, checking signatures 
and

then configuring

But how can I use Port system to get the same results?


snip

make install

chown -R root:sys /usr/local/apache2


-

If we can configure in Port, so where it could be done and how? and if 
its

in a file, where it would be placed?



go to the apache2 dir in your portstree ( generally 
/usr/ports/www/apache2/ ) run 'make config' to set options, if the 
specific options aren't there: copy the Makefile to Makefile.orig and 
add the '--enable-OPTION'  and '--disable-OPTION' with the other compile 
options.


Not sure though: but aren't a lot of those options also settable in the 
apache config file ? it might be a better idea to check that out first, 
so if you ever change your mind about a setting you don't have to 
recompile your intire apache2 port.


--
-Frank Staals


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


Something wrong with the files in /usr/local/include/subversion-1/ ?

2006-11-19 Thread Frank Staals

Hey,

Today I tried manually building anjuta2, after getting rid of some 
errors by fixing FreeBSD specific includes in the anjuta-source files At 
some point I got this kind of errors:


/usr/local/include/subversion-1/svn_io.h:28:17: apr.h: No such file or 
directory
/usr/local/include/subversion-1/svn_io.h:30:25: apr_file_io.h: No such 
file or directory
/usr/local/include/subversion-1/svn_io.h:31:29: apr_thread_proc.h: No 
such file or directory

In file included from /usr/local/include/subversion-1/svn_delta.h:36,
from /usr/local/include/subversion-1/svn_wc.h:44,
from /usr/local/include/subversion-1/svn_client.h:39,
from svn-backend.h:25,
from svn-backend.c:19:

So I checked the files in /usr/local/include/subversion-1/ , allmost all 
of them need some apr files which are included. Allthough none of them 
can by found when compiling the sources. When I ran a locate I found out 
the apr files are all in /usr/local/include/apr-1/ . I fixed the 
compiling errors by just symlinking the files in 
/usr/local/include/apr-1/ to /usr/local/include but this is just a dirty 
trick to fool the svn header files. Is there just an include to the 
apr-1 dir missing in the svn*.h files or am I missing something on my 
system ?


Thanks in advance,

--
-Frank Staals


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


Re: net-snmp and 6.1

2006-11-14 Thread Frank Staals

gahn wrote:

hi:

is a generic snmp running with 6.1? i installed
net-snmp on 6.1 and it seems to have conflict with
some another snmp process:

[init_smux] bind failed: Address already in use
Error opening specified endpoint udp:161
Server Exiting with code 1

i have no anothe snmp application running except the
net-snmp.

any ideas?




 


Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  
I believe there is no smnp daemon running by default. Maybe you 
accidentally allready started it ? You might check it with sockstat -4  
| grep 161


--
-Frank Staals


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


Re: net-snmp and 6.1

2006-11-14 Thread Frank Staals

gahn wrote:

thanks.

i didn't recall that i activated any snmp but there is
a bsnmpd running though:

root snmpd  414   13 tcp4   *:199 
   *:*
root snmpd  414   14 udp4   *:161 
   *:*
root snmptrapd  408   10 udp4   *:162 
   *:*


how could i remove it? in rc.conf? or else?

thanks



--- Frank Staals [EMAIL PROTECTED] wrote:

  

gahn wrote:


hi:

is a generic snmp running with 6.1? i installed
net-snmp on 6.1 and it seems to have conflict with
some another snmp process:

[init_smux] bind failed: Address already in use
Error opening specified endpoint udp:161
Server Exiting with code 1

i have no anothe snmp application running except
  

the


net-snmp.

any ideas?




 

  


  

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call
  

rates.


http://voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list

  

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

To unsubscribe, send any mail to
  

[EMAIL PROTECTED]

  
  

I believe there is no smnp daemon running by
default. Maybe you 
accidentally allready started it ? You might check
it with sockstat -4  
| grep 161


--
-Frank Staals








 


Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com


  
Hmm apparantly there IS a bsndmp running. Didn't see that one on my 
server, anyway on my laptop it wasn't running as I apparantly disabled it:


[EMAIL PROTECTED] cat /etc/rc.conf | grep snmpd
bsnmpd_enable=NO

that might help I guess

--
-Frank Staals


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


Re: Blocking SSH Brute-Force Attacks: What Am I Doing Wrong?

2006-11-13 Thread Frank Staals

Leo L. Schwab wrote:

I recently installed FreeBSD 6.1 on my gateway.  It replaced an
installation of FreeBSD 4.6.8 (fresh install, not an upgrade) on which I had
disabled the SSH server.  Since all the bugs in SSH are fixed now ( :-) ), I
thought I'd leave the server on, and am somewhat dismayed to discover that I
now get occasional brute-force/dictionary attacks on the port.

A little Googling revealed a couple of potentially useful tools:
'sshit' and 'bruteblock', both of which notice repeated login attempts from
a given IP address and blackhole it in the firewall.  I first tried 'sshit',
but after a couple days, I noticed in my daily reports that I was still
getting lengthy bruteforce attempts, suggesting the 'sshit' was not working.

So I uninstalled 'sshit' and installed 'bruteblock'.  But again a
couple days later, the logs showed lengthy bruteforce attempts going
unblocked.

The relevant lines from my /etc/syslog.conf file are:


auth.info;authpriv.info /var/log/auth.log
auth.info;authpriv.info | exec /usr/local/sbin/bruteblock -f 
/usr/local/etc/bruteblock/ssh.conf


Any hints as to what I might be doing wrong?

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


  
I had the same 'problem'. As said it's not realy a problem since FreeBSD 
will hold just fine if you don't have any rather stupid user + pass 
combinations. ( test test or something like that ) Allthough I thought 
it was annoying that my intire log was clouded with those brute force 
attacks so I just set sshd to listen at an other port then 22. Maybe 
that's a acceptable solusion for you ? You can change the ssd port in 
/etc/ssh/sshd_config


Good luck,

--
-Frank Staals


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


Re: Blocking SSH Brute-Force Attacks: What Am I Doing Wrong?

2006-11-13 Thread Frank Staals

Gerard Seibert wrote:

On Monday November 13, 2006 at 04:10:58 (AM) Frank Staals wrote:


  
I had the same 'problem'. As said it's not realy a problem since FreeBSD 
will hold just fine if you don't have any rather stupid user + pass 
combinations. ( test test or something like that ) Allthough I thought 
it was annoying that my intire log was clouded with those brute force 
attacks so I just set sshd to listen at an other port then 22. Maybe 
that's a acceptable solusion for you ? You can change the ssd port in 
/etc/ssh/sshd_config



Security through obscurity is a bad idea. Rather, use SSH key based
authentication exclusively.  Turn off all of the password stuff in
sshd_config.  Laugh at the poor fools trying to break in.


  
The point is it isn't security through obscurity: as allready pointed 
out, FreeBSD  sshd can withstand those brute force attacks without much 
of a problem so there is no security problem, the only thing is those 
brute force attacks are anoying since they cloud authd.log If those 
attacks WERE a problem, or if there was a system which you could log in 
without user  pass if you would find out the correct port then, but 
only then, it is a bad idea 


--
-Frank Staals


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


Re: Trouble with setting up Netgear WG311v3

2006-09-30 Thread Frank Staals

Sunjae Park wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi, I've installed FreeBSD 6.1 and am trying to get my wireless adapter
working. It's a Netgear WG311v3, so unfortunately ath(4) will not work
(It uses a Marvell chipset). I've tried various options (honest!).

1. The Yukon driver from Marvell. They have one for 6, and I've tried
loading it with kldload, and it loads alright, but the adapter won't
come up. The driver says it's for Yukon and I have a Ethernet
controller: Marvell Technology Group Ltd. 88w8335 [Libertas] (output
from Linux). Maybe it's for a different chipset?

Their Readme says I should remove module sk from the kernel, so I
rebuilt it; still no luck.

2. ndis-gen with the Netgear drivers. The adapter comes up now, but I
cannot associate with any AP.

  ifconfig ndis0 up scan
  ifconfig ndis0 ssid ssid_of_ap
  ifconfig ndis0 ssid ssid_of_ap bssid 00:00:...

all exit with a

  ndis0: bssid_list failed

Thanks

- --
Sunjae Park.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFHej9F5GVw6qpYDcRApA6AJ9vnYrh8ZR/V8SjcZVh4qCie9M0zgCcCTz8
l/x02ayNp2EN4eikse1P5Q0=
=/4C+
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  
I have the same NIC here and I had it working ( allthough there were 
some issues ...  :  after some uptime, say a week, the NIC didn't react 
anymore so you had to unload the kernelmodule most of the time resulting 
in a system-hang :S ). I used it for adhoc-connections only so I'm not 
sure if it would have the same problems, but at least I could scan. 
Anyway, you're free to use the kernel-module I build if you want to : 
http://fstaals.net/junk/wg311v3xp/


Good luck,

--
-Frank Staals


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


aterm + Xfce + Composite / Transparency

2006-09-29 Thread Frank Staals
I have a question regarding to aterm and 'true-transparency'. I'm 
running Xfce 4.4 BETA2 and I have enabled the composite manager. 
Everything runs fine alltough I have one wish left: I would like to 
start new aterms by default at 70% transparency:  I allready enabled the 
'fake'-transparency in aterm itself ( -tr -sh value ) but when you move 
a aterm over an other one it doesn't display the border of the first 
aterm and it looks just wrong. So I want to start all aterms at 70% 
transparency ( or a value like that ). I installed transset but I'm not 
sure how to configure it to set the transparency of a program 
automatically. Anyone an idea ?


Thanks in advance,

--
-Frank Staals


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


Re: Xfce 4.3.90.2 + Xorg 6.9.0 with Compositor == SUPER buggy ?

2006-09-08 Thread Frank Staals

Jud wrote:

On Thu, 07 Sep 2006 18:58:49 +0200, Frank Staals [EMAIL PROTECTED]
said:
  
I recently decided to have some fun with the latest Xfce release ( or 
well; when I installed it it was, at the moment there is an RC1 ) and 
composite stuff. Allthough what I found out was that xfwm4 crashed when 
I enabled transparency for inactive windows and moved some aterms 
around. So my question was if someone else is running Xfce 4.4 beta and 
has the same problems ? And if someone has a solusion for it. I guess 
that the xorg port is the weakest link ATM. I can't imagine people 
actually using such composite settings when the wm crashes every 15 
minutes ... so I asume it runs better with xorg7.  So a sort of second 
question would be: is there an easy way of installing, but as important 
deinstalling, Xorg7 ?



IIANM, Xorg 6.9 is exactly the same as 7.0, just packaged all together
(6.9) rather than in separate modules (7.0).  Thus I believe the
assumption that installing 7.0 would improve matters is incorrect.

FYI, RC1 without compositing enabled works flawlessly so far for me on
-CURRENT.  I'm running Xorg 6.9, portupgraded less than a week ago.

Jud
  
Hmm then I realy think the compositor needs a lot of work. When I enable 
the fancy effects xfce slows down to about 50% of it's speed. And indeed 
; without compositor it runs flawlessly here too.


--
-Frank Staals


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


Xfce 4.3.90.2 + Xorg 6.9.0 with Compositor == SUPER buggy ?

2006-09-07 Thread Frank Staals
I recently decided to have some fun with the latest Xfce release ( or 
well; when I installed it it was, at the moment there is an RC1 ) and 
composite stuff. Allthough what I found out was that xfwm4 crashed when 
I enabled transparency for inactive windows and moved some aterms 
around. So my question was if someone else is running Xfce 4.4 beta and 
has the same problems ? And if someone has a solusion for it. I guess 
that the xorg port is the weakest link ATM. I can't imagine people 
actually using such composite settings when the wm crashes every 15 
minutes ... so I asume it runs better with xorg7.  So a sort of second 
question would be: is there an easy way of installing, but as important 
deinstalling, Xorg7 ?


Thanks in advance,

--
-Frank Staals


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


Re: where is my adduser.conf file ?

2006-09-04 Thread Frank Staals

azhar freebsd wrote:

hi all
i am new abt freebsd .
it may be very simple problem but i am lost . help me !



[EMAIL PROTECTED]/etc# uname -a
FreeBSD mine.freebsd.org 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Wed Aug 30
13:08:32 JST 2006
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYGENRIC-001
i386

[EMAIL PROTECTED]/etc# whereis adduser.conf
adduser.conf:
[EMAIL PROTECTED]/etc#

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



'whereis' only looks in the ports or the location of the executable's. 
If you want to find a file you should use 'find' or locate. :


find / -name whatever-you-re-looking-for

or use locate, but before you can use locate you have to create the 
locate database. When you search frequently it's advisable to use locate 
since it's faster. Though wheter the results are acurate depends on the 
last time you updated your locate database so:


/usr/libexec/locate.updatedb

locate whateveryourelookingfore
locate somethingelse
locate another thing

GL and HF in FreeBSD

--
-Frank Staals


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


Re: Reinstalling Sendmail?

2006-08-14 Thread Frank Staals

Andreas Widerøe Andersen wrote:
On 8/10/06, *Frank Staals* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


You can recompile sendmail, you'll have to have the kernel sources
installed though:

# cd /usr/src/lib/libsm; make clean; make obj; make depend; make
# cd /usr/src/lib/libsmutil; make clean; make obj; make depend; make
# cd /usr/src/usr.sbin/sendmail; make clean; make obj; make
depend; make; make install

you might want to read Jonathan Horne's page about configuring
sendmail ( among other services ) :

http://dfwlpiki.dfwlp.org/index.php/Deploying_a_FreeBSD_Server#Configuring_Mail_Services


Thanks!
Nice tutorial.

I have dowloaded all sources from cvs to my system. Should I delete 
some old sources/working dirs/etc from when I've installed software 
before or from when I built world and kernel?


I guess they're under /usr/src somewhere.

Just worried about some old files with wrong config that might screw 
this up.


Thanks,
Andreas
The only things comming to mind are cleaning /usr/src/obj and ( at least 
that is what I did ) backupping your HOSTNAME.* files in /etc/mail. 
Then I removed the HOSTNAME.* files and when I recompiled sendmail 
made new configs ( run 'make all' in /etc/mail ). You can copy 
particular settings from your old HOSTNAME.mc file. This way you have 
a clean start :)


Good luck,

--
-Frank Staals


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


6.1-Stable + named ndis + nfsd == System crash ?

2006-08-14 Thread Frank Staals
About a week ago I rebuilded world and updated from 5.4-STABLE to 
6.1-STABLE and I'm using a Netgear WG311v3 with ndiswrapper as WLAN 
card. My computer acts as a gateway for my LAN and WLAN. Saturdaynight I 
found out my server crashed while copying data from my server to my 
laptop through WLAN ( using ndis0 ), when I looked in the logfiles I 
couldn't find anything strange ( or at leat at the places I looked ) and 
decided to let it be. But today I had the same problem; I have a couple 
directories mounted using NFS ( Server: the 6.1-STABLE computer ; host : 
My laptop ), when I tried to copy data from one of those directies to my 
local drive suddenly my server crash again. The only strange thing I 
found were these messages in /var/log/messages from the time my server 
crashed:


Aug 14 15:52:22 FStaals named[541]: could not listen on UDP socket: 
permission denied
Aug 14 15:52:22 FStaals named[541]: creating IPv4 interface ndis0 
failed; interface ignored
Aug 14 16:52:22 FStaals named[541]: could not listen on UDP socket: 
permission denied
Aug 14 16:52:22 FStaals named[541]: creating IPv4 interface ndis0 
failed; interface ignored
Aug 14 17:52:22 FStaals named[541]: could not listen on UDP socket: 
permission denied
Aug 14 17:52:22 FStaals named[541]: creating IPv4 interface ndis0 
failed; interface ignored


I'm not sure if it has anything to do with my system crash. Or what else 
I should look at to find out what is causing my system to crash ? I 
looked in /var/log/messages and my dmesg, but nothing realy weird turns 
up. How can I find out what went wrong and fix it ? Also what's up with 
my named ? I don't notice anything wrong with trafficing etc on my wlan.


Regards,

--
-Frank Staals


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


Re: Reinstalling Sendmail?

2006-08-10 Thread Frank Staals

Andreas Widerøe Andersen wrote:

I have some problems with Sendmail (ref an older thread I posted):

pid 72284 (sendmail), uid 0: exited on signal 11
pid 72505 (sendmail), uid 0: exited on signal 11
pid 72672 (sendmail), uid 0: exited on signal 11

This happens every 30 minutes. It started after I upgraded from 4.7 to 
4.11p19.



Is there some easy way I can reinstall sendmail completely getting it 
back
to the way it is when installing a fresh system? I don't want to tweak 
and

dig too much with this anymore so I rather start from scratch.

I know it's part of the base system, but is there some way to do this?

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



You can recompile sendmail, you'll have to have the kernel sources 
installed though:


# cd /usr/src/lib/libsm; make clean; make obj; make depend; make
# cd /usr/src/lib/libsmutil; make clean; make obj; make depend; make
# cd /usr/src/usr.sbin/sendmail; make clean; make obj; make depend; make; make 
install

you might want to read Jonathan Horne's page about configuring sendmail ( among other services ) : 
http://dfwlpiki.dfwlp.org/index.php/Deploying_a_FreeBSD_Server#Configuring_Mail_Services





--
-Frank Staals


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


Re: pkg_add question

2006-08-09 Thread Frank Staals

V.I.Victor wrote:

Generally -- is it OK to do a 'pkg_add' from
'packages-6-stable' to a 5.4 system?

Specifically, I think I need to update 'fetchmail.'

What I've read *seems* to indicate it's OK, but...

Thanks



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


  
Well I guess it works, but why not just cvsup your ports ( or use 
portsnap ) and use portupgrade to update your ports ? In general that 
would be the best Idea


--
-Frank Staals


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


Ndis + Netgear WG311v3 ; Won't attach device correctly

2006-08-09 Thread Frank Staals

Hey,

Today I got my hands on a Netgear WG311v3 and since there is no propper 
support for that card I decided to use nids, so I installed the ndis and 
if_ndis kernel modules, generated a new Kernel Module by using the 
WG311v3.INF and WG311v3XP.sys files; according to this thread:  
http://linuxcompatible.org/Netgear_WG311v3_WLAN_PCI_Card_with_Debian_Linux_Testing_t33271.html 
I should use those files. So far it worked, I loaded the module 
correctly and I had a ndis0. Allthough I had problems configuring the 
card correctly ( it wouldn't assosiate ). So I reloaded the module but 
this time it wouldn't attach my device correctly. This is what keeps 
happening:


[EMAIL PROTECTED] kldstat
Id Refs AddressSize Name
1   12 0xc040 5cfe2c   kernel
21 0xc09d 7794 snd_emu10k1.ko
32 0xc09d8000 22b88sound.ko
81 0xc0a76000 59b90acpi.ko
92 0xc2cfd000 16000linux.ko
101 0xc2ea7000 3000 daemon_saver.ko
111 0xc2ef8000 2000 rtc.ko
[EMAIL PROTECTED] kldload /boot/kernel/WG311v3XP_sys.ko

My dmesg shows this:

ndis0: NETGEAR WG311v3 802.11g Wireless PCI Adapter mem 
0xfe1e-0xfe1e,0xfe1d-0xfe1d irq 19 at device 10.0 on pci2

ndis0: NDIS API version: 5.1
ndis0: init handler failed
device_attach: ndis0 attach returned 6

these are the kernel modules loaded after loading WG311v3XP_sys :


[EMAIL PROTECTED] kldstat
Id Refs AddressSize Name
1   20 0xc040 5cfe2c   kernel
21 0xc09d 7794 snd_emu10k1.ko
32 0xc09d8000 22b88sound.ko
81 0xc0a76000 59b90acpi.ko
92 0xc2cfd000 16000linux.ko
101 0xc2ea7000 3000 daemon_saver.ko
111 0xc2ef8000 2000 rtc.ko
151 0xc310c000 47000WG311v3XP_sys.ko
161 0xc30e8000 b000 if_ndis.ko
172 0xc376a000 13000ndis.ko
181 0xc377d000 c000 pccard.ko
[EMAIL PROTECTED]


The only thing changed since the first time I loaded the module was I 
copied it to /boot/kernel and I added WG311v3XP_sys_load=YES to 
/boot/loader.conf but those changes shouldn't have effect on not 
correctly loading it I think.


I also tried to use the WG311v3.sys file, but I get the same output in 
my dmesg as above.


Can anyone tell me why it won't load my module correctly anymore ? And 
what I should do to get it working again


Regards,


--
-Frank Staals


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


Re: Ndis + Netgear WG311v3 ; Won't attach device correctly

2006-08-09 Thread Frank Staals

John Nielsen wrote:

On Wednesday 09 August 2006 11:40, Frank Staals wrote:
  

The only thing changed since the first time I loaded the module was I
copied it to /boot/kernel and I added WG311v3XP_sys_load=YES to
/boot/loader.conf but those changes shouldn't have effect on not
correctly loading it I think.



This is the key. I can't remember where I read it but this is a documented 
caveat of the ndis driver. Windows doesn't typically invoke network drivers 
until after the system is loaded, so some drivers won't work in FreeBSD 
unless they're loaded after the system is up. So take the line out 
of /boot/loader.conf, test that the driver works correctly if you reboot and 
kldload it manually, then make an rc script or something to automatically 
load the driver later in the boot process.


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


  

Ah thanks a lot, that did the trick

--
-Frank Staals


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


Re: Sendmail Question; unable to send mail as normal user

2006-08-08 Thread Frank Staals
-address ) but still I wans't able to send e-mail from a remote 
host; so I googled and added the 'mech_list: login plain' to 
/usr/local/lib/sasl2/Sendmail.conf . Now I was able to send e-mail from 
a remote box to a user on my server but not to other people.


That would be my situation. Last: these are the references I used during 
my install:


http://www.puresimplicity.net/~hemi/freebsd/sendmail.html  For the 
part I did a long time ago
http://dfwlpiki.dfwlp.org/index.php/Deploying_a_FreeBSD_Server#Configuring_Mail_Services 
 Mainly for the Spamassasin thing, the basic sendmail install and 
config was the same as on the first guide I used to install sendmail


I'm not sure what would be best; maybe I should completely reinstall 
sendmail, but if other daemons like apache etc. cause sendmail not to 
work correctly I would have to reinstall my intire server, what I would 
dislike.


Anyway, thanks for your help so far allready :)

Regards,

--
-Frank Staals


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


Re: Sendmail Question; unable to send mail as normal user

2006-08-07 Thread Frank Staals

Frank Staals wrote:
I tried to setup my own mail and smtp-server with help from this 
webpage:  http://www.puresimplicity.net/~hemi/freebsd/sendmail.html . 
I sucessfully installed imap-uw and I got it up successfully. 
Allthough the stmp-part doesn't work for 100% yet: I can send mail as 
root :

snip

Thanks in advance

Jonathan Horne wrote:

greetings frank, this reply is out of the list.

you need to at a minimum take a look at the file /etc/mail/access, or, as an 
even better alternative, consider installing/configuring sasl2-saslauthd and 
have people who send thru authenticate via plain.


if you would like to see an article i wrote on this, if you follow it line by 
line, you should have no problems getting it to work.


http://dfwlpiki.dfwlp.org/index.php/Deploying_a_FreeBSD_Server#Configuring_Mail_Services

if i can be of any assistance with my article, feel free to drop me a line.  i 
can be reached via this email address, or on aim/yahoo as LoudRedZ71.


cheers and good luck,
jonathan

On Friday 04 August 2006 17:08, you wrote:
  

I tried to setup my own mail and smtp-server with help from this

snip




  
I've gotten a bit further this weekend but I'm not 'there' yet. I could 
sucessfully send a e-mail by using 'mail' as normal user at my server. 
Allthough when I tried to send an e-mail from my laptop with my server 
as smtp server it kept prompting for my password and this is what was 
displayed in /var/log/maillog :


Aug  5 11:40:36 FStaals sm-mta[101]: k759eEva000101: Riza.FStaals.LAN 
[192.168.2.5] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4


When I googled if I could find a solution I came to this page :  
http://www.issociate.de/board/post/246978/did_not_issue_MAIL/EXPN/VRFY/ETRN_during_connection_to_MTA.html 
The solution oppered there was to add ' mech_list: login plain' to 
/usr/local/lib/sasl2/Sendmail.conf . So I did and it kind of worked, 
allthough now I can only send e-mail to other users at my server ( for 
example root ), when I try to mail to an external adress my log 'says' 
my message is rejected:


Aug  5 13:10:30 FStaals sm-mta[1495]: k75BATko001495: 
ruleset=check_rcpt, arg1=
[EMAIL PROTECTED], relay=Riza.FStaals.LAN [192.168.2.5], reject=550 
5.7.1 fr

[EMAIL PROTECTED]... Relaying denied
Aug  5 13:10:34 FStaals sm-mta[1495]: k75BATko001495: lost input channel 
from Ri

za.FStaals.LAN [192.168.2.5] to IPv4 after rcpt
Aug  5 13:10:34 FStaals sm-mta[1495]: k75BATko001495: 
from=[EMAIL PROTECTED],
size=373, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4, 
relay=Riza.FStaals.LAN [1

92.168.2.5]


I'm not sure what I have to do to get working correctly and I was hoping 
someone could give me some hints what I'm doing wrong. Also I'm not sure 
if it's a good idea to add the 'mech_list: login plain' to sasl2's 
Sendmail.conf ? Last but not least : I want sendmail to use SSL and 
listen to port 465. sockstat shows It isn't listening to that port, but 
I think it should, does anyone happen to know what it is I'm doing wrong 
at that point:


[EMAIL PROTECTED] sockstat -4 | grep sendmail
root sendmail   1410  3  tcp4   *:25  *:*
root sendmail   1410  5  tcp4   *:587 *:*

[EMAIL PROTECTED] cat /etc/mail/FStaals.net.cf | grep smtps
O DaemonPortOptions=Port=smtps, Name=TLSMTA, M=s

Many thanks,

--
-Frank Staals




--
-Frank Staals


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


Re: Sendmail Question; unable to send mail as normal user

2006-08-07 Thread Frank Staals

Greg Groth wrote:
I've gotten a bit further this weekend but I'm not 'there' yet. I 
could sucessfully send a e-mail by using 'mail' as normal user at my 
server. Allthough when I tried to send an e-mail from my laptop with 
my server as smtp server it kept prompting for my password and this 
is what was displayed in /var/log/maillog :



snip


Many thanks,



Telnet to port 25 on the mail server.  Once connected, issue an EHLO 
command and look for the AUTH line - for example:


# telnet localhost 25
Trying ::1...
Connected to localhost.servername.com.
Escape character is '^]'.
220 mail.servername.com ESMTP Sendmail 8.13.4/8.13.4; Mon, 7 Aug 2006 
13:11:37 -0500 (CDT)


EHLO localhost

250-mail.servername.com Hello localhost.servername.com [127.0.0.1], 
pleased to meet you

250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH PLAIN LOGIN
250-DELIVERBY
250 HELP

If you don't see PLAIN LOGIN, you have a problem in how Sendmail was 
compiled.

Hmm I guess that sould be the problem then:

[EMAIL PROTECTED] telnet localhost 25
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.eu.org
Escape character is '^]'.
220 Fstaals.net ESMTP Sendmail 8.13.3/8.13.3; Mon, 7 Aug 2006 20:31:30 
+0200 (CE

ST)
EHLO localhost
250-Fstaals.net Hello localhost.eu.org [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP

I compiled sendmail with the following options:

[EMAIL PROTECTED] cat /etc/make.conf
# SASL (cyrus-sasl v2) sendmail build flags...
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL
# added by use.perl 2006-03-02 22:35:07
PERL_VER=5.8.8
PERL_VERSION=5.8.8

What should I do fix this ? Appart from those lines in /etc/make.conf I 
didn't change anything regarding to the build of sendmail


Regards,

--
-Frank Staals


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


Sendmail Question; unable to send mail as normal user

2006-08-04 Thread Frank Staals
I tried to setup my own mail and smtp-server with help from this 
webpage:  http://www.puresimplicity.net/~hemi/freebsd/sendmail.html . I 
sucessfully installed imap-uw and I got it up successfully. Allthough 
the stmp-part doesn't work for 100% yet: I can send mail as root :


# mail [EMAIL PROTECTED]
Subject: test
test
.
EOT

This works perfectly, allthough when I try to mail as user it doesn't work:

$ mail [EMAIL PROTECTED]
Subject: test
usertest
.
EOT
$ /etc/mail/submit.cf: line 0: cannot open: Permission denied

The same is visible in /var/log/maillog :

Aug  5 00:01:39 FStaals sendmail[12047]: NOQUEUE: SYSERR(frank): 
/etc/mail/submit.cf: line 0: cannot open: Permission denied


I'm not sure what I should do to get it working properly, but I don't 
think it's something big. I tried googling but that didn't turn up 
anything usefull. Can someone point out what I'm doing wrong ?


Thanks in advance


--
-Frank Staals


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


Re: Problem upgrading mplayer

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



Probbly just something wrong with the lirc port, try to run a make clean 
in comms/lirc and rebuild it.


By the way: I would reccomend manually compiling the CVS version of 
mplayer ( ah wel they are using subversion ATM but hence it's about the 
idea ) Then you have an up to date mplayer + ffmpeg. New official 
releases of mplayer are rare 


--
-Frank Staals


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


Re: AVI to MPEG conversion

2006-07-14 Thread Frank Staals

Naim wrote:

Hi

I am looking for a tool to convert an AVI file into MPEG.

I have looked at both mplayer and ffmpeg, but I can't quite seem to figure this 
out.

If anyone has the patience and knowledge of how to do this I would appreciate 
it a lot.

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


  
I'm sure it shoudl be possible with mencoder ( the video-encoder from 
mplayer ) you might want to check avidemux2, I'm prety sure it can 
recode avi files. It's in the multimedia section of teh portstree if you 
want to try and here is the official site: http://fixounet.free.fr/avidemux/


Good Luck,

--
-Frank Staals


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


PF and VPN/Hamachi

2006-03-17 Thread Frank Staals

Hey,

I'm having some trouble with my FreeBSD PF firewall and hamachi ( 
http://www.hamachi.cc ) , a simple program to set up a vpn. I asked my 
question on the hamachi forums but nobody seems to reply. Currently I 
have these rules in my pf.conf:


# For Hamachi:
rdr pass on $extif inet proto udp from any to $extaddr port 12975 - 
192.168.2.11 port 12975


and I just allow all outgoing traffic:

#Allow everyting outwards
pass out all keep state

I tried about every rule stated in this topic ( 
http://forums.hamachi.cc/viewtopic.php?t=1079 ) on the hamachi forums 
but none seem to work; either they have an invalid syntax or I just 
can't use that port ( someone redirected the traffic to port 25 which 
I'm allready using ). I also tried this rule, but it doesn't seem to help:


nat on $extif from $intif:network port 12975 to any - $extif static-port

I hope someone can tell me what to do because they are either also use 
hamachi through a PF firewall or know what the correct syntax should be.


Thanks,

--
-Frank Staals


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


Problem regarding Bash 3.1.10

2006-03-04 Thread Frank Staals

\[Hey,

I ran a portupgrade yesterday, and noticed that bash got updated, 
allthough I dislike the way it is visible in my shells. Normally I 
whould have


[EMAIL PROTECTED]

but this seems to have changed when I ran portupgrade, currently it is 
like this:


[EMAIL PROTECTED] ~]$ when I'm in my homedir. The problem is when entering 
a long path, or a directory which hasn't been renamed properly yet, for 
example when I'm in ~/tmp/\[Nipponsei\]\ Shakugan\ no\ Shana\ Original\ 
Sound\ Track my shell becomes:


[EMAIL PROTECTED] ~/tmp/\[Nipponsei\]\ Shakugan\ no\ Shana\ Original\ Sound\ 
Track]$


which leaves absolutely no place on the line for my commands, which I 
think is very anoying. I read the man and looked up if I could find 
something in .bashrc but I didn't realy know what to look for. So my 
question is; how can I set bash so it will be visible in the old way ( 
[EMAIL PROTECTED] ) ?


I'm running 5-Stable with bash-3.1.10 ( the old view was with 3.0.16_1 )

Thanks in advance

--
-Frank Staals


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


Re: Problem regarding Bash 3.1.10

2006-03-04 Thread Frank Staals

Pietro Cerutti wrote:

On 3/4/06, Frank Staals [EMAIL PROTECTED] wrote:
  

\[Hey,



Hallo

  

So my question is; how can I set bash so it will be visible in the old way (
[EMAIL PROTECTED] ) ?



put PS1=[EMAIL PROTECTED]  in your ~/.bashrc file

here's some interesting stuff about bash prompt:
http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/

  

Thanks in advance



Hope this helps,

  

--
-Frank Staals




--
Pietro Cerutti
[EMAIL PROTECTED]

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

   NO al Trusted Computing!
   Say NO to Trusted Computing!

   www.no1984.org
   www.againsttcpa.com


  

Thanks, that fixed it

--
-Frank Staals


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


  1   2   >