Re: freebsd-questions Digest, Vol 65, Issue 7 Question 10

2004-06-15 Thread Frank Staals
[EMAIL PROTECTED] wrote:
Message: 10
Date: Tue, 15 Jun 2004 22:26:05 +0900
From: Rob [EMAIL PROTECTED]
Subject: 160 Gb Harddisk: needs extra tweeking?
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi,
I never had such a monster of a big harddisk; hence my question.
I've got a 160 Gb Western Digital Harddisk (WD 1600 JB).
It comes with a tiny CD-rom, about 8cm in diameter, entitled
Data Lifeguard Tools. I don't know what to do with this CDrom.
I am planning to use this harddisk as the only harddisk in
my PC and install FreeBSD (preferably version 5-Current) on it.
Will I encounter problems? Does it need extra tweeking?
The Western Digital homepage says somewhere: Hard drives larger than
137 GB require a controller card to utilize full drive capacity.
What does that mean?
Another question. The Western Digital homepage lists this about the harddisk:
  Data Transfer Rate (Buffer to Host)
100 MB/s (Mode 5 Ultra ATA)
66.6 MB/s (Mode 4 Ultra ATA)
33.3 MB/s (Mode 2 Ultra ATA)
16.6 MB/s (Mode 4 PIO)
16.6 MB/s (Mode 2 multi-word DMA)
Do I have to tell this to the kernel somehow, or is this a BIOS thing?
Are there good reasons not to choose the fastest option Mode 5 here?
Thanks for help and advice.
Rob.
 

What kind of computer are you planning to insert the harddisk? Here I 
have a 80 Gb Hard-disk in a Pentium 2. I had to update the BIOS settings 
so the computer would reconigze the Hard-drive. If you have a relative 
old computer I think you have to update the BIOS.

good luck
--
Frank Staals
-
The Greatest pleasure in life is doing things people say you cannot do  - Walter 
Bagehot
-
With questions or comment mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software mirgration from Windows for my friend

2005-01-15 Thread Frank Staals
Karol Kwiatkowski wrote:
 

- Virtual CD
   

don't know this software
 

Virtual CD is a program to mount iso images if I'm correct ( just like 
alcohol or deamontools ) you can just mount .iso files with FreeBSD : 
man mount_cd9660

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


Re: how to install samba with outdated port

2005-01-15 Thread Frank Staals
Marty Landman wrote:
I'm running a fresh install of 4.8 from the mini-iso and would like to 
install samba. Have d/l'd samba-3.0.10
which is the uncompressed samba-latest.tar.gz and copied this into my 
/usr/ports/distfiles.

When I go to /usr/ports/net/samba and make build I get:
# make build
 samba-2.2.8.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
 Attempting to fetch from http://us3.samba.org/samba/ftp/./.
fetch: http://us3.samba.org/samba/ftp/./samba-2.2.8.tar.bz2: Operation 
timed out
 Attempting to fetch from http://us3.samba.org/samba/ftp/old-versions/.
fetch: 
http://us3.samba.org/samba/ftp/old-versions/samba-2.2.8.tar.bz2: 
Operation timed out

I gather that my samba port is too old. How can I do the make build  
make install using the latest version.

Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
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 use cvsup to get the latest ports, therefor you need 
/net/cvsup then you need to use a cvsup file to download the ports 
here's mine:
/
*default tag=.
*default host=cvsup.nl.freebsd.org
*default prefix=/usr
*default base=/var/db
*default release=cvs delete use-rel-suffix compress

ports-all release=cv/
than just run: cvsup -l 2 -g path_to_supfile
for more info: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

and when it's done just run a make install clean again.
An other option is using net/portupgrade but I'm not a fan of that ...
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: how to install a different sub-release from the port

2005-01-15 Thread Frank Staals
Marty Landman wrote:
Want to install Apache and already have a copy on my LAN of 
apache_1.3.29.tar.gz; when going to /usr/ports/

# cd www/apache13
# make install
 apache_1.3.27.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
How can I get make to look for apache_1.3.29 instead of 1.3.27? Or is 
it possible for me to install manually instead of going through the 
ports collection?

Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

You can install a newer release of apache by upgrading your portstree 
and than compiling it again ( use cvsup for the upgrading part: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html )

if you want to compile the exact version without the ports ( the linux 
way ) than you have to download the sourcecode from www.apache.org 
extract it, run a ./configure  make  make install to install ( see 
docs apache for exact install )

btw. why don't you use apache-2 ?
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 compiling OpenOffice-2.0

2005-01-15 Thread Frank Staals
I tried compiling openoffice 2.0, everything is going fine until this 
point:

=
Building project cli_ure
=
deliver -- version: 1.77
Statistics:
Files copied: 0
Files unchanged/not matching: 7
=
Building project bridges
=
/home/oo.o/work/bridges/unotypes
-
/home/oo.o/work/bridges/source/cpp_uno/gcc3_freebsd_intel
dmake:  Error -- `../../../unxfbsd.pro/slb/cpp_uno_shared.lib' not 
found, and can't be made
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making 
/home/oo.o/work/bridges/source/cpp_uno/gcc3_freebsd_intel
dmake:  Error code 1, while making 'instsetoo_native/prj/build_all'
*** Error code 255

Stop in /home/oo.o.
PC1# '---* tg_merge.mk *---'
I copied /usr/ports/editors/openoffice-2.0-devel/ to /home because of a 
lack of free hard disk space on / by the way.

anyone an Idea what I should do to fix 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]


Re: openoffice 2.0

2005-01-26 Thread Frank Staals
T.F. Cheng wrote:

hi, 
  i was trying to compile oo 2.0-devel on fbsd5.3 but
failed, here is what i got: 
Making: ../../unxfbsd.pro/bin/xhp_shared_en-US.zip
rebuilding zipfiles
--
cd  ../../unxfbsd.pro/misc/en-US ; zip -u -r
/tmp/mkMAiFMI.__en-US.zip  text/shared/* -x *.dphh*
-x *.hzip -x delzip  -x *CVS*
../../unxfbsd.pro/misc/en-US: No such file or
directory.
cp -f /tmp/mkMAiFMI.__en-US.zip 
../../unxfbsd.pro/bin/xhp_shared_en-US.zip 
cp: /tmp/mkMAiFMI.__en-US.zip: No such file or
directory
dmake:  Error code 1, while making
'../../unxfbsd.pro/bin/xhp_shared_en-US.zip'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/usr/ports/editors/openoffice-2.0-devel/work/helpcontent2/util/shared
dmake:  Error code 1, while making
'instsetoo_native/prj/build_all'
'---* tg_merge.mk *---'
*** Error code 255

looks like some spelling/dictionary/whatever is not
there? isn't it supposed to download together with the
entire package? 

thanks!

=
Best Regards,

Tsu-Fan Cheng

_
Do You Yahoo!?
 @yahoo.com  @ http://chinese.mail.yahoo.com
Get your free @yahoo.com address at http://chinese.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]


I tried to compile OO.o 2 too, and I got the exact same error so I
extracted the .zip file, that seems to solve the problem, but when
continue compiling I get other errors I posted them here and on the
freebsd-openoffice mailinglists but nobody seems to reply, this is the
mail I sent:

I am running FreeBSD 5.3-stable and updated my portstree yesterday then
I tried compiling openoffice 2.0, everything is going fine until this
point:

/=
Building project cli_ure
=
deliver -- version: 1.77
Statistics:
Files copied: 0
Files unchanged/not matching: 7

=
Building project bridges
=
/home/oo.o/work/bridges/unotypes
-
/home/oo.o/work/bridges/source/cpp_uno/gcc3_freebsd_intel
dmake: Error -- `../../../unxfbsd.pro/slb/cpp_uno_shared.lib' not found,
and can't be made
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/home/oo.o/work/bridges/source/cpp_uno/gcc3_freebsd_intel
dmake: Error code 1, while making 'instsetoo_native/prj/build_all'
*** Error code 255

Stop in /home/oo.o.
PC1# '---* tg_merge.mk *---' /

it also gave an error about not being able to extract
'registry_en-US.zip' but I solved that by :

bash-3.00# cd /home/oo.o/work/solver/680/unxfbsd.pro/xml/registry/spool/
bash-3.00# unzip
/home/oo.o/work/officecfg/unxfbsd.pro/bin/registry_en-US.zip



I copied /usr/ports/editors/openoffice-2.0-devel/ to /home because of a
lack of free hard disk space on / by the way.

I ran a locate on cpp_uno_shared but it couldn't find anything. Anyone
an Idea what I should do to fix this ?

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]


Acer Aspire 1356 LCi + WLAN

2005-02-08 Thread Frank Staals
In august last year I bought an Acer Aspire 1356 LCi laptop. WLAN was 
built in but I knew it wouldn't work in FreeBSD yet, so I used a 
SMC2662W USB WLAN adapter. Now half a year later I was wondering Maybe I 
can setup the internal WLAN connector than I can use the USB adapter on 
a different computer. By google'ing on the laptop name + WLAN didn't 
bring up much of a help. So my question was does anyone have a Acers 
Aspire 1350 series ( or similar ) with internal WLAN working with FreeBSD ?

Currently I am running FreeBSD 5.3-stable, for the SMC I use the atuwi 
drivers: www.vitsch.net/bsd/atuwi/

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: How can I cut and paste from xterm _into_ another program ?

2005-02-27 Thread Frank Staals
Adam McMaster wrote:
On 27 Feb 2005, at 20:16, Joe Schmoe wrote:
Hi,
I am using a very vanilla XFree86 installation on fbsd
5.3. I am using ratpoison as my window manager.
If I highlight text in an xterm, it is immediately in
my buffer, and I can paste it into that xterm, or any
other xterm. Further, if I copy text in my web
browser, I can paste it into all my xterms.
However, I cannot take text that I copied in my xterm
and paste it into my browser (opera). Why is this ?
Why can I go in one direction (paste from opera into
xterm) but not the other (paste from xterm into opera)
?
thanks.

What're you doing to paste? Middle-click should work fine.
--
- Adam McMaster [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

Copy: select the text:
Paste: middle mouseclick. If you got a 2 button mouse it you most 
probably have to do this: left and right click at the same time.

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


ftp monitoring and limiting transfer rates

2005-03-04 Thread Frank Staals
Hey everyone, I have a question:
I am running FreeBSD 5.3 with the default ftp-server ( ftpd ) as ftp 
deamon, everything works fine but I'd like to see what files peolpe are 
trying to download and when people log in. I would like I can get a html 
file which I can access on my httpd server. I know I can see who is 
loggin in by : tail -f /var/log/xferlog but that doesn't show what files 
are being transfered.

My second question is about bandwith managing. How can I limit the 
ftp-transfer speeds that are used for downloading when people connect 
over rl1, my NIC which is connected to my modem and the internet. I am 
running pf for my firewalling and allready tried this in /etc/pf.conf:

# assign packets to a queue.
pass  out on $ext_if from localhost to any port { 20, 21 } keep state 
queue ftp

##altq on $ext_if bandwidth 2Mb cbq queue { dflt, developers, marketing }
##queue dflt bandwidth 5% cbq(default)
##queue developers bandwidth 80%
##queue marketing  bandwidth 15%
altq on $ext_if bandwith 60Kb cbq queue { dflt, ftp }
queue dflt   bandwith 70%
queue ftpbandwith 30%
but this doesn't seem to work.
Thanks in advance for checking this e-mail
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: OpenBSD's pf and traffic

2005-03-20 Thread Frank Staals
Eugene M. Minkovskii wrote:
Hello!
Does any body know, how can I use OpenBSD's pf (packet filter) for
determine total traffic volume on network interface? If it's
impossible, what facility you recommend me to do this?
 

I don't realy know if it is impossible to use PF for monitoring the 
total traffic. But you can ( just as I do  ) use MRTG ( Multi Router 
Traffic ) to keep track of the amount of data which you are using. It 
renders html-documents. By default MRTG only keeps track of the current 
bandwith-usage with a script which is known as 'mrtg-totals' you can 
also get graphs of the total amount of traffic.

See www.mrtg.org and 
http://freebsd.munk.nu/archives/157-MRTG-Totals-Perl-Script.html

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: looking for a shell editor

2005-03-24 Thread Frank Staals
Dan Nelson wrote:
In the last episode (Mar 24), Gert Cuykens said:
 

Looking for a shell editor that can open two files at the same time
on the same screen splitting the screen horizontal ?
Please dont answer emac or vi they are not made for teletubies :( I
like the ee or mc editor but i dont think mc editor can open two
files at the same time/
   

Try editors/joe-devel (which should probably be renamed to plain
editors/joe)
 

Jep joe is realy cool, its my default text-editor and it can be used in 
a split-screen mode.

you should probably get used to the commands you can use, first ctrl+ k 
seems a litle weird but when you get used to it it realy rules ( in fact 
when I'm working at school in word or notepad and I want to save my 
stuff I automatically do ctrl + k + d ) :D

ctrl + k rules after you get used to it
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: FreeBSD wireless difficulty

2004-07-10 Thread Frank Staals
[EMAIL PROTECTED] wrote:
Message: 34
Date: Sat, 10 Jul 2004 06:34:55 -0500
From: Douglas Korinke [EMAIL PROTECTED]
Subject: FreeBSD wireless difficulty
To: FreeBSD Help [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=iso-8859-1
Hello,
I had been having difficulty recently with getting my fbsd 4.9 machine to 
connect to my linksys home wireless router and because of the problem, had 
to upgrade to fbsd 5.2.1 and noticed more activity out of my wireless card.

The computer is a Toshiba Satellite 2405-S221 with a Avaya Wireless PCMCIA 
card using the wi drivers to run it. I'm able to associate with the router 
at home and am able to ping it without a problem but I can not browse 
webpages and the like. I also have bsd-airtools installed and have used 
dstumbler, the only problem being is that the program doesn't see my 
wireless card.

Any tips or suggestions?
Doug
ICQ : 26096369
AIM : itss0lidstate
-
I don't know if the atuwi driver supports your WLAN card, but you might 
want to check it. You schould check it at www.vitsch.net/bsd/atuwi/

I hope you will be able to fix it
--
Frank Staals
-
The Greatest pleasure in life is doing things people say you cannot do  - Walter 
Bagehot
-
With questions or comment mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SNMP in FreeBSD server

2005-10-22 Thread Frank Staals

Edwin D. Vinas wrote:


Hi,
I'm running a FreeBSD server on a DSL and I wan't to monitor the link
utilization of it using MRTG and NET-SNMP. I installed net-snmp using ports
but when I tried running snmpd and querying simple snmpwalk and cfgmaker, I
got an error as shown below. I also tried installing net-snmp from source
from sourceforge but still snmp is not responding. Please help me on this.
Thanks in advance.
-Edwin
 NOTE:
-
My snmpd.conf is in /etc/snmp/snmpd.conf
I am running snmpd as plain 'snmpd'. I also tried 'snmpd -c snmpd.conf' but
no effect.
-
ERROR IN CFGMAKER:

--base: Get Device Info on [EMAIL PROTECTED]:
SNMP Error:
no response received
SNMPv1_Session (remote host: 192.168.1.1 http://192.168.1.1
[192.168.1.1http://192.168.1.1
].161)
community: public
request ID: -1724402833
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/lib/perl5/site_perl/5.005/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on [EMAIL PROTECTED]::v4only
at /usr/local/bin/cfgmaker line 858
WARNING: Skipping [EMAIL PROTECTED]: as no info could be retrieved

# Created by
# /usr/local/bin/cfgmaker [EMAIL PROTECTED]


--
--
Edwin D. Viñas
http://www.geocities.com/edwin_vinas/
IN THE WORLD OF SCIENCE,
NOTHING IS IMPOSSIBLE.
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


 

I'm running mrtg myself, and I remember having some problem with snmpd 
when I installed it. you should have a config file in /usr/local/etc/ 
named snmpd.conf and it should look something like this: 
http://fstaals.net/junk/snmpd.conf . I can't remember anymore if I had 
to change anything else, but I think that should be it.


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: Editor for C C++ language

2005-10-23 Thread Frank Staals

vittorio wrote:

Working usually under kde I'm looking for something similar to the llc-win32 
program under ms-windows - that is a development environment where you can 
edit your c++ program, compile it, debug it step by step, and finally run it 
in a suitable window.
I tried the nice editor kate which allows to compile the file only. No 
debugging, no running.

Is  there anything of the kind of llc-win32?
Ciao
Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


 

If you have an up to date system with at least 512MB ram I reccommend 
Eclipse with CDT as someone else allready mentioned. But a bit less 
system-resources-draining is anjuta, which works pretty nice. 
http://anjuta.sourceforge.net/ The anjuta 1 ( stable ) port is available 
in the portstree devel/anjuta . Their developement release ( 2.X ) isn't 
available in the portstree and should be manually installed.




--
-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: KDE Konqueror:Can i have konqueror without KDEstuff port

2005-11-09 Thread Frank Staals

George Katsanos wrote:



KDE is a huge package , and if you're trying to portupgrade to p3 550 that's
a hard thing to do.3 days now! :-(
I just want konqueror , is there any way [or do you know the exact port]
that will save me from installing kde base , kde , kdelibs and zillions of
kde stuff [which I hate] at my computer?

Also , when I start konqueror 'kdeinit' is run also ! 3 instances of it.any
way of avoiding that?


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


 

I sometimes use Konqueror when as 'explorer-clone'. And as well as you I 
didn't realy like the hell of KDE pakages on my system, so I deinstalled 
the useless KDE stuff.I think this will be the least possible packages 
running Konqueror without stripping the packages itself:


[EMAIL PROTECTED] pkg_info | grep kde
kdebase-3.4.2_2 Basic applications for the KDE system
kdebase-kompmgr-3.4.2 Utility needed to enable XComposite support in KDE
kdehier-1.0_8 Utility port which installs a hierarchy of shared KDE direc
kdelibs-3.4.2_1 Base set of libraries needed by KDE programs

That's all you need for Konqueror and the Graphical Editor I frequently 
use: KATE


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]


Printing problem with CUPS LPD

2005-11-12 Thread Frank Staals

Hey,

I have a HP LaserJet 1010 and I was trying to get it working with 
FreeBSD, so I installed CUPS and configured it to recoginize the printer 
and it does, I can successfully print a testpage using the webinterface. 
So I was trying to print a file from commandline with lpr, but there is 
something weird. This is the ouput of lpstat:


[EMAIL PROTECTED] lpstat -p -v -d
printer HP1010 is idle.  enabled since Jan 01 00:00
   CUPS v1.1.23 is ready to print.
device for HP1010: usb:/dev/ulpt0
system default destination: HP1010

but when I try printing a file using the command:

[EMAIL PROTECTED] lpr -PHP1010 /etc/motd

this shows up at my dmesg :

Nov 12 12:05:16 Print lpd[1905]: /dev/lp: No such file or directory

LPD is trying to print to /dev/lp instead of /dev/ulpt0, but I don't 
know how to fix it. I tried symlinking /dev/lp to /dev/ulpt0 but that 
wouldn't do the trick. I hope someone has an idea of what I'm doing wrong?


Here some additional information:

[EMAIL PROTECTED] uname -a
FreeBSD Print.FStaals.LAN 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 
09:36:13 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  
i386


[EMAIL PROTECTED] cat /etc/printcap
# This file was automatically generated by cupsd(8) from the
# /usr/local/etc/cups/printers.conf file.  All changes to this file
# will be lost.
HP1010|HP1010:rm=Print.FStaals.LAN:rp=HP1010:

[EMAIL PROTECTED] ps -aux | grep cups
root   1941  1.0  0.5  1436   584  p0  DL+  12:15PM   0:00.01 grep cups
root586  0.0  1.0  4704  1208  ??  Ss   11:11AM   0:00.98 cupsd

[EMAIL PROTECTED] ps -aux | grep lpd
root566  0.0  0.6  1260   716  ??  Is   11:09AM   0:00.04 lpd
root   1943  0.0  0.0   128 8  p0  R+   12:15PM   0:00.00 grep lpd 
(bash)


-

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: USB mice

2005-12-24 Thread Frank Staals

Teilhard Knight wrote:

It seems to me that the way FreeBSD is catching up with new hardware 
leaves you unsatisfied. One has to choose, upon boot, the option to 
use an USB keyboard by hand, and I have found no way to make a USB 
mouse to work. The OS broadly supports serial mice and hardly PS/2 
mice, both almost out of the market nowadays. Are USB mice supported 
by FreeBSD?


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



Currently all three systems which run FreeBSD have USB mice, two of them 
just plain Logitech optical mouses, the third is a Logitech MX 300, but 
every other mouse should work when you have enabled moused. Try plugin 
in the mouse when FreeBSD is up and running, it should detect it 
automatically


--
-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: DVD burning GUI

2005-12-26 Thread Frank Staals

[EMAIL PROTECTED] wrote:


Hi Nicolas,

I forget to say that I'm using Gnome, does k3b work with it?

On Mon, 26 Dec 2005, Nicolas Blais wrote:

|On December 26, 2005 01:05 pm, [EMAIL PROTECTED] wrote:
| Hi all,
|
|   Can you point me to some good GUI to CD/DVD burning tools.
|
|   Thank you,
|
| - Marcelo Souza
|
|See /ports/sysutils/k3b
|
|Nicolas.
|-- 
|FreeBSD 7.0-CURRENT #7: Mon Dec 26 12:43:20 EST 2005 
|[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
|PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc

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


 


Why don't you try it ;)

It will work if you install the needed libaries, when installing k3b 
using the portstree or 'pkg add -r' it will automatically install 
everything needed for k3b. So the answer is yes, it will work :)


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]


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]


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 burning/mounting cd-rom

2006-01-05 Thread Frank Staals

Hey,

I have an Acer Aspire 1356 LCi laptop with a CD-RW/DVD-drive in it so I 
can burn cds and read DVD's and cd's. But when I tried to burn and mount 
a datadisk this happend:


[EMAIL PROTECTED] mkisofs -o tmp1.iso VirtualDub-1.6.11.zip totaal.wmv
24.61% done, estimate finish Thu Jan  5 13:37:10 2006
49.25% done, estimate finish Thu Jan  5 13:37:10 2006
73.82% done, estimate finish Thu Jan  5 13:37:10 2006
98.49% done, estimate finish Thu Jan  5 13:37:10 2006
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 8724
20320 extents written (39 MB)
[EMAIL PROTECTED]

[EMAIL PROTECTED] burncd -f /dev/acd0 -s 12 data tmp1.iso fixate
next writeable LBA 0
writing from file tmp1.iso size 40640 KB
written this track 40640 KB (100%) total 40640 KB
fixating CD, please wait..



[EMAIL PROTECTED] mount_cd9660 -v /dev/acd0 /mnt/dvd/
could not determine starting sector, using very first session
mount_cd9660: /dev/acd0: Input/output error
[EMAIL PROTECTED]

I'm using a Philips CD-RW which I cleaned before use with:

[EMAIL PROTECTED] burncd -f /dev/acd0 erase
erasing CD - 99 % done

I tried searching what I could do about it, but I couldn't realy find 
something usefull. It seems that something goes wrong with burning the 
CD I guess ( looking at the output when trying to mount it ) but I'm not 
sure what I do wrong. Everything worked fine up until today. I hope 
someone can point out what I can do about it.


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 burning/mounting cd-rom

2006-01-05 Thread Frank Staals

Leonidas Tsampros wrote:


On Thu, Jan 05, 2006 at 01:46:40PM +0100, Frank Staals wrote:
 


Hey,

I have an Acer Aspire 1356 LCi laptop with a CD-RW/DVD-drive in it so I 
can burn cds and read DVD's and cd's. But when I tried to burn and mount 
a datadisk this happend:


[EMAIL PROTECTED] mkisofs -o tmp1.iso VirtualDub-1.6.11.zip totaal.wmv
24.61% done, estimate finish Thu Jan  5 13:37:10 2006
49.25% done, estimate finish Thu Jan  5 13:37:10 2006
73.82% done, estimate finish Thu Jan  5 13:37:10 2006
98.49% done, estimate finish Thu Jan  5 13:37:10 2006
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 8724
20320 extents written (39 MB)
[EMAIL PROTECTED]

[EMAIL PROTECTED] burncd -f /dev/acd0 -s 12 data tmp1.iso fixate
next writeable LBA 0
writing from file tmp1.iso size 40640 KB
written this track 40640 KB (100%) total 40640 KB
fixating CD, please wait..


[EMAIL PROTECTED] mount_cd9660 -v /dev/acd0 /mnt/dvd/
could not determine starting sector, using very first session
mount_cd9660: /dev/acd0: Input/output error
[EMAIL PROTECTED]

I'm using a Philips CD-RW which I cleaned before use with:

[EMAIL PROTECTED] burncd -f /dev/acd0 erase
erasing CD - 99 % done

I tried searching what I could do about it, but I couldn't realy find 
something usefull. It seems that something goes wrong with burning the 
CD I guess ( looking at the output when trying to mount it ) but I'm not 
sure what I do wrong. Everything worked fine up until today. I hope 
someone can point out what I can do about it.


Thanks in advance,

   



The overall process seems to ended quite succesfully. Just try to
eject the cd before mounting the fresh cd that you burned. I had
similar issues very recently and this was the solution for me. 


If you are bored to death, try these:

# burncd -f /dev/acd0 (blabla)
(wait to finish)

# cdcontrol -f /dev/acd0 eject
# cdcontrol -f /dev/acd0 close
# mount_cd9660 -v /dev/acd0 /mnt/dvd


 


Hmm I got a little bit further indeed, but it still won't mount

burned the cd

[EMAIL PROTECTED] cdcontrol -f /dev/acd0 eject

manually pushed the cd-drive back ( since it is a laptop ) 

[EMAIL PROTECTED] mount_cd9660 -v /dev/acd0 /mnt/dvd/
using starting sector 0
mount_cd9660: /dev/acd0: Input/output error
[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]


Re: Problem burning/mounting cd-rom

2006-01-05 Thread Frank Staals

Leonidas Tsampros wrote:


On Thu, Jan 05, 2006 at 04:05:23PM +0100, Frank Staals wrote:
 


Leonidas Tsampros wrote:

   


On Thu, Jan 05, 2006 at 01:46:40PM +0100, Frank Staals wrote:


 


Hey,

I have an Acer Aspire 1356 LCi laptop with a CD-RW/DVD-drive in it so I 
can burn cds and read DVD's and cd's. But when I tried to burn and mount 
a datadisk this happend:


[EMAIL PROTECTED] mkisofs -o tmp1.iso VirtualDub-1.6.11.zip totaal.wmv
24.61% done, estimate finish Thu Jan  5 13:37:10 2006
49.25% done, estimate finish Thu Jan  5 13:37:10 2006
73.82% done, estimate finish Thu Jan  5 13:37:10 2006
98.49% done, estimate finish Thu Jan  5 13:37:10 2006
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 8724
20320 extents written (39 MB)
[EMAIL PROTECTED]

[EMAIL PROTECTED] burncd -f /dev/acd0 -s 12 data tmp1.iso fixate
next writeable LBA 0
writing from file tmp1.iso size 40640 KB
written this track 40640 KB (100%) total 40640 KB
fixating CD, please wait..


[EMAIL PROTECTED] mount_cd9660 -v /dev/acd0 /mnt/dvd/
could not determine starting sector, using very first session
mount_cd9660: /dev/acd0: Input/output error
[EMAIL PROTECTED]

I'm using a Philips CD-RW which I cleaned before use with:

[EMAIL PROTECTED] burncd -f /dev/acd0 erase
erasing CD - 99 % done

I tried searching what I could do about it, but I couldn't realy find 
something usefull. It seems that something goes wrong with burning the 
CD I guess ( looking at the output when trying to mount it ) but I'm not 
sure what I do wrong. Everything worked fine up until today. I hope 
someone can point out what I can do about it.


Thanks in advance,

 

   


The overall process seems to ended quite succesfully. Just try to
eject the cd before mounting the fresh cd that you burned. I had
similar issues very recently and this was the solution for me. 


If you are bored to death, try these:

# burncd -f /dev/acd0 (blabla)
(wait to finish)

# cdcontrol -f /dev/acd0 eject
# cdcontrol -f /dev/acd0 close
# mount_cd9660 -v /dev/acd0 /mnt/dvd




 


Hmm I got a little bit further indeed, but it still won't mount

burned the cd

[EMAIL PROTECTED] cdcontrol -f /dev/acd0 eject

manually pushed the cd-drive back ( since it is a laptop ) 

[EMAIL PROTECTED] mount_cd9660 -v /dev/acd0 /mnt/dvd/
using starting sector 0
mount_cd9660: /dev/acd0: Input/output error
[EMAIL PROTECTED]


   



Have you checked dmesg for any useful messages ? If there are any, post
them in case they shed some light on your scenario. 



 


Oh good-one I looked over it since portupgrade was running. When I do a :

[EMAIL PROTECTED] mount_cd9660 -v /dev/acd0 /mnt/dvd/
using starting sector 0
mount_cd9660: /dev/acd0: Input/output error

this is in dmesg:

acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x02 ascq=0x00 error=0
g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5



--
-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: Which is the best open source C/C++ IDE out there?

2006-01-08 Thread Frank Staals

Kiffin Gish wrote:


I've played around with Anjuta and Code::Blocks and was wondering what
is the preferred open source C/C++ IDE available for advanced users.

Pros and cons etc. would be greatly appreciated.

 

What would be the best IDE can I nor anybody else on this list tell you, 
it's a matter of taste. Anyway: I think anjuta is a realy nice IDE, it 
has a lot of features and it runs pretty fast, so that would be my tip. 
You can also try Eclipse + CDT plugin, which also seems to be a great 
developement tool, I haven't used the CDT plugin, but I'm using eclipse 
for java and it works realy great, allthough Eclipse does require a fast 
computer.


Good luck finding an IDE which YOU like,

--
-Frank Staals


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


Shellscript syntax question

2006-01-09 Thread Frank Staals

Hey,

I'm trying to write a ( simple ) shellscript to move files arround, for 
this reason I wanted to check wether 'episode_last' has a higher value 
than 'episode_first' ( so that last can't be 3 if first is 60 ). So I 
tried :


*if** [* ${episode_last}  ${episode_first}* ]*; *then
code
fi

*As I thought what would have been the correct syntax, but I got this error when running the script : 


./massmove: line 136: 05: No such file or directory

'05' was the value of $episode_first and '01' was the value of $episode_last 

Can someone tell me what I'm doing wrong/ what it should be and where I could find such info. I tried searching in google about this, but I wasn't able to find anything usefull. 

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: Shellscript syntax question

2006-01-09 Thread Frank Staals

Frank Staals wrote:


Hey,

I'm trying to write a ( simple ) shellscript to move files arround, 
for this reason I wanted to check wether 'episode_last' has a higher 
value than 'episode_first' ( so that last can't be 3 if first is 60 ). 
So I tried :


*if** [* ${episode_last}  ${episode_first}* ]*; *then
code
fi

*As I thought what would have been the correct syntax, but I got this 
error when running the script :

./massmove: line 136: 05: No such file or directory

'05' was the value of $episode_first and '01' was the value of 
$episode_last
Can someone tell me what I'm doing wrong/ what it should be and where 
I could find such info. I tried searching in google about this, but I 
wasn't able to find anything usefull.

Thanks in advance

damn The copied collors in the syntax-hilighting in KATE screwed up my 
code: it should be:


if [ ${episode_last}  ${episode_first} ]; then
   code
fi



--
-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: Shellscript syntax question

2006-01-09 Thread Frank Staals

Dan Nelson wrote:


In the last episode (Jan 09), Frank Staals said:
 


I'm trying to write a ( simple ) shellscript to move files arround,
for this reason I wanted to check wether 'episode_last' has a higher
value than 'episode_first' ( so that last can't be 3 if first is 60
). So I tried :

*if** [* ${episode_last}  ${episode_first}* ]*; *then
code
fi

*As I thought what would have been the correct syntax, but I got this error 
when running the script : 
./massmove: line 136: 05: No such file or directory



'05' was the value of $episode_first and '01' was the value of 
$episode_last 
   



You want -lt not .   is a file redirect, which is why the shell
complained that it couldn't find a file named 05.  I also assume all
those asterisks aren't in your script.

 

About the asteriks : No they weren't but for some reason Thunderbird had 
problems with the color remaining from the KATE Syntax-hilighting. 
Anyway: thanks for the solusion, but what would be the expressions for 
 less or equal and greater or equal ?


--
-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: httpd could not be started

2006-01-13 Thread Frank Staals

Greg Barniskis wrote:


Steven Narmontas wrote:


I'm entirely new to FreeBSD, but have a fair amount of Linux experience.

I installed FreeBSD 6.0 (Production Release) on an oldish i386 
system.  During the install, I asked to install ALL.  The install 
went flawlessly.


I need Apache on this system for some software development, so I 
followed these instructions I found at:  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html 
:


# pkg_add -r cvsup-without-gui
# cvsup -L 2 -h cvsup.FreeBSD.org 
/usr/share/examples/cvsup/ports-supfile

# cd /usr/ports/www/apache13
# make
# make install

Everything to this point went smoothly!  



As well it should have, since you followed correct procedure. =)

 I edited

/usr/local/etc/apache/httpd.conf ONLY to set the ServerName to the IP 
address of the machine. However, when I try to start apache I get:


#/usr/local/sbin/apachectl start
/usr/local/sbin/apachectl start: httpd could not be started



[snip]

Does anyone have any suggestions on how to get ANY version of Apache 
running on a new install of FreeBSD 6?



Apache and most other add-on daemons on FreeBSD require that you 
explicitly enable them to run in /etc/rc.conf. Have you got a line


apache2_enable=YES

in your rc.conf?

The need for this as well as the proper syntax should be noted in the 
file /usr/ports/www/apache2/pkg-msg. For any other port you install 
there's probably gold nuggets of info in its pkg-msg file. This stuff 
displays during the make install, but then so does several K of other 
info so it's not hard to miss these things.


In fact, it doesn't realy matter if you add apache_enable=YES to 
rc.conf ( since het installed apache13 adding apache2_enable=YES would 
be quite useless ... ) when you start it manually from commandline, 
adding it to rc.conf is only usefull when you want to start apache from 
boot, which can be quite usefull, but it can't be the reason why apache 
wouldn't start.


Try adding '127.0.0.1   full name machine localhost' to 
/etc/hosts that might help. You should also check your apache log ( 
probably in /var/log/  when at default settings ) for a more detailed 
message of what went wrong


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: httpd could not be started

2006-01-13 Thread Frank Staals

Greg Barniskis wrote:


Frank Staals wrote:


Greg Barniskis wrote:


apache2_enable=YES

in your rc.conf?

The need for this as well as the proper syntax should be noted in 
the file /usr/ports/www/apache2/pkg-msg. For any other port you 
install there's probably gold nuggets of info in its pkg-msg file. 
This stuff displays during the make install, but then so does 
several K of other info so it's not hard to miss these things.


In fact, it doesn't realy matter if you add apache_enable=YES to 
rc.conf ( since het installed apache13 adding apache2_enable=YES 
would be quite useless ... ) 



Duh. Sorry, the later line about him trying apache22 got stuck in my 
mind.


when you start it manually from commandline, adding it to rc.conf is 
only usefull when you want to start apache from boot, which can be 
quite usefull, but it can't be the reason why apache wouldn't start.



Oh. I was sure that I'd read in a previous thread that the lack of an 
enable flag would stop it from being started at all, but that must 
have been for a different port or in a different context. Anyway, 
thanks for the correction, always glad to have my misconceptions 
destroyed.



If I recall correctly you can only start the services in /etc/rc.d/ if 
you have them in /etc/rc.conf with '/etc/rc.d/service-name start'.  ( 
But off-course there is a way to start them without adding them to 
rc.conf : '/etc/rc.d/service-name forcestart' ). You must have mixed 
up the two ( /etc/rc.d/ and /usr/local/etc/rc.d/ )


--
-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.ko and if_ndis.ko not compiled during buildkernel

2006-01-14 Thread Frank Staals

Przemysław Szczygielski wrote:


Hello,

I am setting up a wiereless network at home, using D-Link DWL-G520+ and
ndis wrapper (project Evil) on FreeBSD machine. It works great with
default FreeBSD 6.0 installation - no problems here, but I have to
compile IPSEC into kernel to get proper encryption. Unfortunately, new
kernel doesn't have ndis.ko and if_ndis.ko in /boot/kernel directory
(and old modules don't work with new kernel).

Yesterday I emailed Project Evil author and he claims ndis.ko and
if_ndis.ko should be rebuilt automatically by:

 


Would it kill you do just do a regular kernel build?

# cd /sys/i386/conf
# config MYKERNEL
# cd /sys/i386/compile/MYKERNEL
# make
# make install

Notice how all the kernel modules get compiled for you, including ndis.ko and
if_ndis.ko. If you'd really read and understood that article, you would have
realized that you don't need to rebuild them for each driver anymore. You
just need to convert the .sys and .inf files with ndisgen. That's it.
   



Well - they don't get built (at least for me). Is anyone able to tell me how to
get these? (note: ndisgen generates only card driver, NOT ndis.ko and
if_ndis.ko!, also the old way won't work!)

TIA,

Przemek


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


 

You can most probably just copy the files back from /boot/kernel.old/  ( 
or run locate ndis.ko to see where they can be find ) that should work


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]


Mail filtering at server

2006-01-14 Thread Frank Staals

Hey,

I'm running FreeBSD 5-stable and I'm using the system as mailserver, so 
I set up sendmail using this guide: 
http://www.puresimplicity.net/~hemi/freebsd/sendmail.html as imap server 
I'm using imap-uw. Now I would like to do the following:


1) I would like to get all mail from [EMAIL PROTECTED] in a seperate 
directory. Currently I do this by filtering my mail in the mailclient ( 
Thunderbird ). The directory it uses for this is currently 
~/mail/Questions/ so I would like to keep that, how can I do this ? Can 
I add this to /etc/mail/access ? what would then be the syntax ?


2) I would also like to filter my mail for spam, again: currently I set 
up thunderbird to do this: the mail marked as spam/junk dissapears into 
the junk folder: ( ~/mail/junk ) What is the best way to set this up ? 
can this be done by sendmail itself or should I install an other program 
from the portstree


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: Firefox 1.5

2006-01-27 Thread Frank Staals
Hmm I got a question regarding to Fx 1.5. Has anyone else noticed a 
tremendous slowdown when using 1.5 ? I especially mean when the 
popup-window opens to ask what you want to do with a download ( save it 
or open it ) then Fx hangs for about 15 seconds ( while the 'ok' button 
is not clickable ) then It continues again. Also Firefox crashed when I 
tried using an upload function ( to attach a file to a post in a forum ).


Anyone else had problems with this ? ( Using Xfce4.2.3.1 with gtk2.8.9 
here )


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]


Weird behaviour 'umount' on NFS disk

2006-01-31 Thread Frank Staals

Hey,

Usually I work at my laptop, if I'm at home I can mount some directories 
from my server so I can also access those files and I don't have to ftp 
them. For the mounting I use this script :


[EMAIL PROTECTED] cat /usr/local/bin/nfsmount
#!/bin/sh

srv=192.168.2.1

if [ $1 = -wlan ]; then
   srv=192.168.5.1
fi

echo Mounting home/net/var-/mnt/var , home-/mnt/server and
home/net/server-/mnt/series from $srv
mount $srv:/home/net/var/ /mnt/var/
mount $srv:/home/ /mnt/server/
mount $srv:/home/net/series/ /mnt/series/
[EMAIL PROTECTED]

The IP adres of my server is 192.168.2.1 when using LAN and it is 
accessable at 192.168.5.1 using WLAN. It is set up allowing mounts from 
my laptop using LAN as well as WLAN. This works perfectly.


For unmounting the three NFS-mounts I use an other script which is just 
three times an 'umount' :


#!/bin/sh

umount /mnt/server
umount /mnt/series
umount /mnt/var

df -m
echo /mnt/server , /mnt/series and /mnt/var unmounted


[EMAIL PROTECTED]

Up until a week ago this worked fine. I could mount and unmount the 
directories without any problems. But then a weird error occured. When I 
tried unmounting them. The umount command hangs when trying to unmount a 
disk but when I cancel the umount ( with Ctrl  + c ) df shows that the 
disk is unmounted. It just won't give me a prompt again. The same thing 
happens when I try to unmount them manually. I can unmount a disk, but 
it just stops. To clear things up:


[EMAIL PROTECTED] df  
Filesystem   1K-blocks  UsedAvail Capacity  
Mounted on

/dev/ad0s1a4058062   3450302   28311692%/
devfs1 10   100%/dev
/dev/ad0s1d   33524236  23047782  779451675%/home
192.168.2.1:/home/net/var 75685352  57816262 1181426283%/mnt/var
192.168.2.1:/home 52195402  29726280 1829349062%
/mnt/server
192.168.2.1:/home/net/series 151368706 128022780 1123643092%
/mnt/series

[EMAIL PROTECTED] umount /mnt/server/
^C
[EMAIL PROTECTED] df
Filesystem   1K-blocks  UsedAvail Capacity  
Mounted on

/dev/ad0s1a4058062   3450302   28311692%/
devfs1 10   100%/dev
/dev/ad0s1d   33524236  23047782  779451675%/home
192.168.2.1:/home/net/var 75685352  57816262 1181426283%/mnt/var
192.168.2.1:/home/net/series 151368706 128022780 1123643092%
/mnt/series

[EMAIL PROTECTED]

This is quite annoying since I can't use my script to unmount the disks 
anymore. I didnt' change anything to my mounts ( /etc/fstab ) and 
unmounting a DVD doesn't give any problems. The only thing I can see has 
changed is that at boot the system hangs at:


Mounting NFS file systems:
NFS access cache time=2

and I have to ctrl + c it to continue booting, this only happend before 
when I hadn't any network connection. But mounting the nfs-disks using 
my script did work.


Anyone an Idea what I can do to fix this ? Running FreeBSD 7.0-Current 
by the way.


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: remote x-window

2006-02-03 Thread Frank Staals

Michael Fleming wrote:


On Thu, Feb 02, 2006 at 09:48:56PM -0900, Beech Rintoul wrote:
 

I have sort of a newbie question. How do I connect to a remote machine with 
x-windows and get a desktop? Could someone point me in the right direction as 
I've never had a need to to do it before. I do have ssh to the machine.


Beech
--

   


You'll have to export $DISPLAY=x.x.x.x:0.0 so that the display on the
remote machine is displayed on the local. You'll also have to forward
X11 packets, check your ssh_conf so that forward X11 yes.
I use cygwin on my work laptop ( XP ) and a openvpn connection to my BSD
machine then fire up the display on the XP machine.
I did use just ssh and allowed only ssh from the outside to the BSD
machine, but found that someone was trying to brute force the username
and password so set up the openvpn. I feel a lot more comfortable with
that, even though it's just my own private network.
There's plenty of info on google to point you in the right direction.
 

I also noticed a lot of brute force username and password attempts, an 
easier solution is to just change the default SSH-port ( 
/etc/ssh/sshd_conf ) as I did



Mike
 



   





 




--
-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: firefox

2006-02-06 Thread Frank Staals

Peter Marshall wrote:

Is there a way to get things like flash, mpg, etc to work in firefox 
1.5 with freeBSD ?


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



Flash I'm not sure, there is a flashplayer-port allthough, but I believe 
it only works with linux-firefox ( but again: I'm not sure so don't hold 
me for it if I'm wrong ). For playing videos ( Quicktime etc ) you can 
use the mplayer-plugin in the www category. I haven't used it myself ( 
on 1.5 ) but It worked on 1.0.X so I think it is updated to work with Fx 
1.5


Hope this helps you

--
-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: un- link command

2006-02-07 Thread Frank Staals

fbsd_user wrote:


what command is used to remove a directory ln?

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


 


Just the default 'rm' command

--
-Frank Staals


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


Redirecting Traffic with PF

2006-02-24 Thread Frank Staals

Hey,

I have an FreeBSD server/firewall running 5-Stable with PF. I want to 
redirect all udp traffic on port 27902 from the internet to a computer 
in my network. I used this rule but I have some problem with it: 
sometimes connections on that port are refused and I can't connect with 
other players ( it's for a online game ) :


rdr on $extif inet proto udp from any port 27902 - 192.168.2.11 port 27902

I think the problem might have something to do with the different 
network interfaces since the traffic is comming in on $extif and has to 
go to an computer connected to $intif ? And how can I do that ? Can I 
change it to:


rdr on $extif inet proto udp from any port 27902 - $intif 192.168.2.11 
port 27902


? Or what do I have to do to fix it.

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: Redirecting Traffic with PF

2006-02-24 Thread Frank Staals

Eric Schultz wrote:


Frank Staals wrote:


Hey,


Good afternoon...

I'm just stabbing in the dark here since I use neither 5-Stable nor PF.

I have an FreeBSD server/firewall running 5-Stable with PF. I want to 
redirect all udp traffic on port 27902 from the internet to a 
computer in my network. I used this rule but I have some problem with 
it: sometimes connections on that port are refused and I can't 
connect with other players ( it's for a online game ) :


What do you mean by sometimes ???  sometimes problems are the 
worst kind.


Sometimes: about 90% of all attempts to connect



rdr on $extif inet proto udp from any port 27902 - 192.168.2.11 port 
27902


I think the problem might have something to do with the different 
network interfaces since the traffic is comming in on $extif and has 
to go to an computer connected to $intif ? And how can I do that ? 
Can I change it to:


rdr on $extif inet proto udp from any port 27902 - $intif 
192.168.2.11 port 27902


How are your two interfaces configured and what does your routing 
table look like?  If you do a traceroute to 192.168.2.11 from the 
firewall when you're having trouble connecting what is the result?


The Firewall is the default gateway for my localnetwork, so 192.168.2.11 
is directly connected to the server/firewall


--
-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: Redirecting Traffic with PF

2006-02-25 Thread Frank Staals

Noel Jones wrote:


On 2/24/06, Frank Staals [EMAIL PROTECTED] wrote:
 


Hey,

I have an FreeBSD server/firewall running 5-Stable with PF. I want to
redirect all udp traffic on port 27902 from the internet to a computer
in my network. I used this rule but I have some problem with it:
sometimes connections on that port are refused and I can't connect with
other players ( it's for a online game ) :

rdr on $extif inet proto udp from any port 27902 - 192.168.2.11 port 27902

I think the problem might have something to do with the different
network interfaces since the traffic is comming in on $extif and has to
go to an computer connected to $intif ? And how can I do that ? Can I
change it to:

rdr on $extif inet proto udp from any port 27902 - $intif 192.168.2.11
port 27902

? Or what do I have to do to fix it.

Thanks in advance,

--
-Frank Staals


   



I think you want something like
rdr on $extif inet proto udp from any to self port 27902 -
192.168.2.11 port 27902

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


 

Hmm that doesn't realy seem to work, allthough I ran tcpdump on both 
network-interfaces ( on $intif and $extif ) this is what the logs said:


[EMAIL PROTECTED] cat server/zh2_extif.log | grep 27902
21:01:53.784189 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:53.846934 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.202084 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.359296 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.393664 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.459930 IP 80.127.89.1.16660  10.0.0.1.27902: UDP, length: 13
21:01:54.543990 IP 80.127.89.1.16660  10.0.0.1.27902: UDP, length: 13
21:01:54.871197 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:55.266638 IP 80.127.89.1.16660  10.0.0.1.27902: UDP, length: 13
21:01:55.416378 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:55.458319 IP 80.127.89.1.16660  10.0.0.1.27902: UDP, length: 13
21:01:55.929734 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:56.476575 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:56.986877 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:57.532158 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:58.042995 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:58.587091 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:59.097693 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13

[EMAIL PROTECTED] cat server/zh2_intif.log | grep 27902
21:01:53.784062 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:53.846829 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.202050 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.359182 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.393597 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.871080 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:55.416259 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:55.929615 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:56.476459 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:56.986756 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:57.532041 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:58.042885 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:58.586980 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:59.097572 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13

So the packets aren't forwarded, I used this rule to get that done but 
it won't work:



rdr on $extif inet proto udp from any to 10.0.0.1 port 27902 - 
192.168.2.11 port 27902


I also tried:

rdr on $extif inet proto udp from any to any port 27902 - 192.168.2.11 
port 27902


but that wouldn't work either.

I hope this will help ?



--
-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 MP3 Player's

2005-06-11 Thread Frank Staals

anon wrote:


Hi everyone,
  I am looking to get an mp3 player that I can use 
with my FreeBSD laptop.  If  anyone out there uses a mp3 player with 
thier BSD system, *ptrs and suggestions would be great :). Basically I 
am look for something with 5G or more capacity and 12 hr + batery 
time, FM radio capability would also be good. I have both firewire and 
USB on the laptop so connection is not a problem, I am also tracking 
STABLE.


Cheers,

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



Almost all mp3-players will work fine with *BSD systems, the basic 
filesystem used on them is dos, so you can simply mount them using 
'mount -t msdos'. I can't realy say what mp3 player is best, but check 
out the Iriver products, most of their mp3 players also support ogg 
vorbis, you are probably looking for an player with HD so check for the 
H300 series, www.iriver.com for more info


--
-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: Making a custom FreeBSD iso

2005-06-17 Thread Frank Staals

Chris Huff wrote:



Hi:

Im trying to get a couple of scripts of mine onto a bootable FreeBSD 
5.4 install cd. Im going about this as follows.


Im ripping the iso image from the cd with dd

dd if=/dev/acd0 of=file.iso bs=2048

Then, Im mounting the iso image

mdconfig -a -t vnode -f /usr/iso-orig/file.iso -u 0

mount -t cd9660 /dev/md0 /iso

..and copying its contents to disk with cp -R


Now, all of the sudden, the /rescue dir grows from 3.5M to 455M so 
after i copy my scripts to the extracted iso filesystem on my hard 
disk and try to make an iso I cannot burn the ISO because its way too 
big. Can anyone help me with this?


Im trying to get some kind of autoinstall going ( above just 
install.cfg with sysinstall ).




Thanks
--CH



___
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 try 'live-cd' its the same program which is used to 
create the FreeBSD livecd's ( FreeSBIE ) you should check in 
sysutils/livecd and then just follow the 'wizzard' http://liveucd.sf.net 
for more info


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]


Showing transfer rates with cp

2005-06-22 Thread Frank Staals

Hey,

I have a rather small and maybe silly question but I it will provide me 
a lot info. I would like to see transfer rates when I use 'cp'. At home 
I have a FreeBSD server with a couple harddiscs in them. I work on my 
laptop and mount the discs from the server using NFS. But when copying 
files from server to laptop or vice versa I have no idea how long it 
will take before it is finished. Is there a way to show those speeds ? I 
also checked with scp but when mounted it kind of act like 'cp' and 
doesn't show anything


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: Help Me Please!!!

2005-07-26 Thread Frank Staals

Joseph Lynch wrote:


cd .  /usr/local/bin/bash
/usr/ports/textproc/intltool/work/intltool-0.34/missing --run
automake-1.9 --gnu
/usr/ports/textproc/intltool/work/intltool-0.34/missing: line 52:
automake-1.9: command not found
WARNING: `automake-1.9' is missing on your system.  You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd .  /usr/local/bin/bash
/usr/ports/textproc/intltool/work/intltool-0.34/missing --run autoconf
/usr/ports/textproc/intltool/work/intltool-0.34/missing: line 52:
autoconf: command not found
WARNING: `autoconf' is missing on your system.  You should only need it if
you modified `configure.in'.  You might want to install the
`Autoconf' and `GNU m4' packages.  Grab them from any GNU
archive site.
/usr/local/bin/bash ./config.status --recheck
running /usr/local/bin/bash ./configure  --libdir=/usr/local/libdata
--prefix=/usr/local --build=i386-portbld-freebsd4.11
build_alias=i386-portbld-freebsd4.11  --no-create --no-recursion


Hello, I keep getting this error while install application on freebsd.
I have freebsd 4.11 stable I just reformatted and reinstalled it
because I kept getting errors on the last install I did. I have
cvsup'ed ports nermous times and also I did a portupgrade upgrade..
Could anybody please help me with this problem?? Thankss

P.S.
  I have those packages installed already, I did rehash and make
install clean after install. Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


 

You just want to install intltool ? then why not just 'cd 
/usr/ports/textproc/intltool/  make install distclean' ?


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]


Graphical C programming with GTK 2.0

2004-12-10 Thread Frank Staals
I would like to build graphical C programs, therefor I wanted to use 
GTK. I tried to build the first program in the GTK Tutorial: 
http://www.gtk.org/tutorial/ch-gettingstarted.html and I tried to 
compile it as it was explained there: gcc mainwindow.c -o mainwindow 
`pkg-config --cflags --libs gtk+-2.0`  I couldn't compile it because of 
it couldn't find gtk.h, so I used this: gcc mainwindow.c -o mainwindow 
-I/usr/X11R6/incluse/gtk-2.0/ `pkg-config --cflags --libs gtk+-2.0` but 
it still doesn't work, the first lines of the error are inlcuded with 
this e-mail.

I hope someone can tell me what to do so I can compile my program
Frank Staals

bash-3.00$ gcc mainwindow.c -o mainwindow -I/usr/X11R6/include/gtk-2.0/ 
'pkg-config --cflags --libs gtk+-2.0'
gcc: pkg-config --cflags --libs gtk+-2.0: No such file or directory
In file included from /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:4,
 from /usr/X11R6/include/gtk-2.0/gdk/gdk.h:30,
 from /usr/X11R6/include/gtk-2.0/gtk/gtk.h:31,
 from mainwindow.c:1:
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:32:18: glib.h: No such file or 
directory
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:33:25: pango/pango.h: No such file or 
directory
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:34:25: glib-object.h: No such file or 
directory
In file included from /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:4,
 from /usr/X11R6/include/gtk-2.0/gdk/gdk.h:30,
 from /usr/X11R6/include/gtk-2.0/gtk/gtk.h:31,
 from mainwindow.c:1:
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:76: error: syntax error before 
GdkWChar
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:76: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:89: error: syntax error before 
GdkNativeWindow
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:89: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:170: error: syntax error before data
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:174: error: syntax error before data
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:178: error: syntax error before gint
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:184: error: syntax error before gint
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:192: error: syntax error before gint
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:200: error: syntax error before gint
In file included from /usr/X11R6/include/gtk-2.0/gdk/gdk.h:30,
 from /usr/X11R6/include/gtk-2.0/gtk/gtk.h:31,
 from mainwindow.c:1:
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:19: error: syntax error before 
guint32
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:41: error: syntax error before 
GObject
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:50: error: syntax error before 
gpointer
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:55: error: syntax error before 
GObjectClass
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:59: error: syntax error before 
gdk_colormap_get_type
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:59: error: syntax error before 
G_GNUC_CONST
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:59: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:62: error: syntax error before 
gboolean
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:76: error: syntax error before 
gdk_colormap_get_system_size
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:76: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:82: error: syntax error before gint
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:85: error: syntax error before 
gdk_colormap_alloc_colors
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:87: error: syntax error before gint
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:90: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:91: error: syntax error before 
gdk_colormap_alloc_color
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:93: error: syntax error before 
gboolean
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:94: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:97: error: syntax error before gint
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:99: error: syntax error before 
gulong
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:106: error: syntax error before 
gdk_color_parse
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:106: error: syntax error before '*' 
token
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:107: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:108: error: syntax error before 
gdk_color_hash
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:108: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:109: error: syntax error before 
gdk_color_equal
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:110: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:112: error

Re: Graphical C programming with GTK 2.0

2004-12-10 Thread Frank Staals
Bob Van Zant wrote:
The output you pasted below used single quotes instead of backticks for
the pkg_config portion of the argument. Single quote: ', backtick `.
I'm not sure why you used single quotes there, because your examples in
your email used backticks.
Also, it looks like you're missing some of the glib and pango libraries.
However, once you get your pkg_config part working right the include
directories might get set right and it might actually compile. Good
luck.
-Bob
 

Hmm I copied the examples into this e-mail, but when I use ` statements 
I get error_gtk2.txt (attachment ) then I tried to compile it like this: 
gcc mainwindow.c -o mainwindow -I/usr/X11R6/include/gtk-2.0/ `pkg-config 
--cflags --libs /usr/X11R6/libdata/pkgconfig/gtk+-2.0.pc` That gave 
error_gtk3.txt ( attachment )

What do I have to do to compile it correct ?
bash-3.00$ gcc mainwindow.c -o mainwindow -I/usr/X11R6/include/gtk-2.0/ 
`pkg-config --cflags --libs gtk+2.0`
gnome-config: not found
Package gtk+2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+2.0' found
In file included from /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:4,
 from /usr/X11R6/include/gtk-2.0/gdk/gdk.h:30,
 from /usr/X11R6/include/gtk-2.0/gtk/gtk.h:31,
 from mainwindow.c:1:
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:32:18: glib.h: No such file or 
directory
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:33:25: pango/pango.h: No such file or 
directory
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:34:25: glib-object.h: No such file or 
directory
In file included from /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:4,
 from /usr/X11R6/include/gtk-2.0/gdk/gdk.h:30,
 from /usr/X11R6/include/gtk-2.0/gtk/gtk.h:31,
 from mainwindow.c:1:
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:76: error: syntax error before 
GdkWChar
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:76: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:89: error: syntax error before 
GdkNativeWindow
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:89: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:170: error: syntax error before data
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:174: error: syntax error before data
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:178: error: syntax error before gint
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:184: error: syntax error before gint
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:192: error: syntax error before gint
/usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:200: error: syntax error before gint
In file included from /usr/X11R6/include/gtk-2.0/gdk/gdk.h:30,
 from /usr/X11R6/include/gtk-2.0/gtk/gtk.h:31,
 from mainwindow.c:1:
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:19: error: syntax error before 
guint32
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:41: error: syntax error before 
GObject
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:50: error: syntax error before 
gpointer
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:55: error: syntax error before 
GObjectClass
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:59: error: syntax error before 
gdk_colormap_get_type
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:59: error: syntax error before 
G_GNUC_CONST
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:59: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:62: error: syntax error before 
gboolean
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:76: error: syntax error before 
gdk_colormap_get_system_size
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:76: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:82: error: syntax error before gint
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:85: error: syntax error before 
gdk_colormap_alloc_colors
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:87: error: syntax error before gint
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:90: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:91: error: syntax error before 
gdk_colormap_alloc_color
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:93: error: syntax error before 
gboolean
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:94: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:97: error: syntax error before gint
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:99: error: syntax error before 
gulong
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:106: error: syntax error before 
gdk_color_parse
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:106: error: syntax error before '*' 
token
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:107: warning: data definition has no 
type or storage class
/usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:108: error: syntax error before 
gdk_color_hash

Re: what can i delete from /usr

2004-12-22 Thread Frank Staals
goose bla wrote:
hello,,
please. i have not big hdd,, and i need to make free place. what can i
remove from /usr  and system will be OK ? 

example:
/usr/ports/distfiles/   - i can remove all files.
in /usr/ports i can do 
rm -rf \*/work/

 

I bet you install your ports by doing a 'make install', if you do, you 
can probably better make an 'make install distclean' with the distclean 
option turned on, it automatically removes the ~/work/ directory's and 
the distfiles in /usr/ports/distfiles/. If you want to keep your 
distfiles you can just do 'make install distclean'

i can remove 
/usr/src/sys/i386/compile/*after reboot with new kernel.

can i remove /usr/src/sys/amd64 or /alpha  if a have i386 platform ?
--- reklama -
Nerozumiete niektorm slovkam?
http://slovnik.zoznam.sk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

About the part of /usr/src/sys/ it seems reasonable to me to remove 
amd64 or alpha but I wouldn't know, you might try it but backup the dirs 
first

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


mkfifo: No such file or directory

2004-12-24 Thread Frank Staals
I want to use my printer which is on a windoze computer to use on my 
intire network ( most FreeBSD computers ) so I read this 
http://www.freebsddiary.org/samba.php . As it is explained I did: mkfifo 
/dev/smbprint but I got this :

bash-3.00# cd /dev/
bash-3.00# mkfifo smbprint
mkfifo: smbprint: No such file or directory
bash-3.00#
Why can't I make an extra fifo ?
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: mkfifo: No such file or directory

2004-12-24 Thread Frank Staals
Kris Kennaway wrote:
On Fri, Dec 24, 2004 at 06:16:06PM +, Frank Staals wrote:
 

I want to use my printer which is on a windoze computer to use on my 
intire network ( most FreeBSD computers ) so I read this 
http://www.freebsddiary.org/samba.php . As it is explained I did: mkfifo 
/dev/smbprint but I got this :

bash-3.00# cd /dev/
bash-3.00# mkfifo smbprint
mkfifo: smbprint: No such file or directory
bash-3.00#
Why can't I make an extra fifo ?
   

You forgot to mention what version of FreeBSD you're running; if it's
5.x, you can't create random files in /dev because it's not a
general-purpose filesystem (i.e. the documentation you're reading is
out of date).
Kris
 

I am running 5.3 Stable, how can I configure FreeBSD that I can use the 
printer on the windows pc

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


Re: portupgrade time, xorg ports

2004-12-25 Thread Frank Staals
Jay O'Brien wrote:
albi wrote:
 

Jay O'Brien wrote:
hi,
   

Running FreeBSD 5.3-RELEASE-p2 #0, i386 P3-667MHz, 512MB RAM.
 

- cut for brevity 
   

-I didn't install xorg. Why are the 16 xorg ports present?
 

a fresh FreeBSD 5.3 has xorg by default instead of XFree86
   

So X is installed by default whether or not I wish to use X?
Jay
 

No, FreeBSD prior to 5.3 had XFree86 as X-server, but since XFree86 
changed their licenses FreeBSD switched to X.org. If you installed X.org 
depends on what install you choose. If you choose 'minimal install' you 
don't have X.org installed ( if you didn't do it yourself later ) but if 
you choose 'X-user' or anything like that you do have X.org. You can 
check it by running 'pkg_info | grep xorg. If you get something like 
this you have installed X.org:

bash-3.00$ pkg_info | grep xorg
xorg-clients-6.7.0_4 X client programs and related files from X.Org
xorg-documents-6.7.0 Documentation of X11 protocol and libraries from X.Org
xorg-fonts-100dpi-6.7.0 X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-6.7.0 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-6.7.0 X.Org Cyrillic bitmap fonts
xorg-fonts-encodings-6.7.0 X.Org font encoding files
xorg-fonts-miscbitmaps-6.7.0 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-6.7.0 X.Org TrueType fonts
xorg-fonts-type1-6.7.0 X.Org Type1 fonts
xorg-fontserver-6.7.0 X font server from X.Org
xorg-libraries-6.7.0_2 X11 libraries and headers from X.Org
xorg-manpages-6.7.0 X.Org library manual pages
xorg-server-6.7.0_9 X.Org X server and related programs
xorg-vfbserver-6.7.0 X virtual framebuffer server from X.Org
Merry X-mas btw :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: POP3 IMAP

2004-12-28 Thread Frank Staals
Adam wrote:
Which IMAP and POP3 ports are stable and good?  Any reccomendations?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

You want to run a IMAP and pop3 server ? for pop3 you could/should use 
qpopper ( net/qpopper ), for Imap I can't recomend you anything because 
I haven't ran it.

As a client you should use Mozilla Thunderbird ( mail/thunderbird )
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: Printing

2004-12-30 Thread Frank Staals
Leon wrote:
Hi All,
I have an Windows XP pro. as my main O/S.
I have installed VMWare station.
On the VMWare station I have installed FreeBSD as a virtual machine.
I have installed CUPS and SAMBA on BSD.
But I can not make printer work.
I use a printer, which does not supported by BSD.
But it works good under the XP.
So the question is:
Is it possible to use my windows printer from BSD via VMWare ?
If yes( I hope) what can I do else to make it work?
Thanks to All,
Leon.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

That is possible, you can share your windows printer and print to it 
over the network ( in your case virtual network ) I tried this recently 
and I got it working, nog for 100% yet, but you might want to read this:

http://forums.bsdnexus.com/viewtopic.php?t=16
and try googling on FreeBSD printing to windows
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: 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: 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]


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: 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


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: 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: 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: 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: 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: 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: 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: Italics not shown properly in OpenOffice

2005-04-09 Thread Frank Staals
Andreas Davour wrote:
Hi!
I have a strange problem in OpenOffice 1.1.4 with italics. Text 
formatted as italics doesn't show up in italics on screen. If I cut 
and paste som text from an old document it hows up properly. This is 
very strange, and a quite severe bug - if that's what it is.

I searched the list and found no mentioning of it. Google found a 
bugrapport for some debianthingie, but that was from 2003.

Is it my system that's misbehaving, or OO? Is there something I can do 
to fix this? Anyone?

/andreas
Hm I found out there was a bug in OO.o 2 BETA when opening .xml files 
where bold and italic text were used, maybe its the same sort of problem 
? this is the reported issue:

http://www.openoffice.org/issues/show_bug.cgi?id=45111
If it is like that I tink it is a problem in OO.o itself
Frank Staals
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error starting opera 8.00

2005-04-19 Thread Frank Staals
Hey,
I downloaded opera 8.00, extracted the .tar.gz and ran the install.sh 
script, all the files were copied to the right places. When I tried to 
run opera I first had to symlink 2 libs ( libm.so.2 and libc_r.so.4 ) 
that wasn't much of a problem but when I try to run it now I get this 
error:

[EMAIL PROTECTED] opera
/usr/libexec/ld-elf.so.1: /usr/X11R6/lib/libX11.so.6: Undefined symbol 
__stderrp

I am running FreeBSD 5.3.
Anyone an Idea what I am doing wrong ?
Thanks Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [freebsd-questions] Error starting opera 8.00

2005-04-20 Thread Frank Staals
Lowell Gilbert wrote:
Frank Staals [EMAIL PROTECTED] writes:
 

I downloaded opera 8.00, extracted the .tar.gz and ran the install.sh
script, all the files were copied to the right places. When I tried to
run opera I first had to symlink 2 libs ( libm.so.2 and libc_r.so.4 )
that wasn't much of a problem but when I try to run it now I get this
error:
[EMAIL PROTECTED] opera
/usr/libexec/ld-elf.so.1: /usr/X11R6/lib/libX11.so.6: Undefined symbol
__stderrp
I am running FreeBSD 5.3.
Anyone an Idea what I am doing wrong ?
   

Not offhand (although it might just be a library inconsistency;
symlinking like you did is not generally a good idea:  version 
numbers get changed for a *reason*).  Try using the port; this 
is exactly why we have them.

[/usr/ports/www/opera-devel]
 

With the port I got the same error so that didn't do the job. I 
installed the new Opera by hand because the port wasn't updated yet.

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


Blocking traffic with PF

2005-04-24 Thread Frank Staals
Hey everyone,
I would like to bock all traffic from one host, the problem is the data 
isn't comming from that host anymore, it is redirected from my router, I 
am using PF as firewall, this is te ruleset I wanted to use for it:

block in from { example.host.com , example2.secondhost.com } to any
but when I enable tcpdump when starting the application which triggers 
the comming data from the hosts I want to block this is a piece of  what 
it shows ( with the -v option ) :

15:54:45.944499 IP Riza.FStaals.LAN.63681  
SpeedTouch.FStaals.Lan.domain:  57330+ ? example.host.com. (35)
15:54:45.974083 IP SpeedTouch.FStaals.Lan.domain  
Riza.FStaals.LAN.63681:  57330 1/0/0 CNAME example2.secondhost.com. (54)
15:54:45.974301 IP Riza.FStaals.LAN.65038  
SpeedTouch.FStaals.Lan.domain:  57331+ A? example.host.com. (35)
15:54:45.986375 IP SpeedTouch.FStaals.Lan.domain  
Riza.FStaals.LAN.65038:  57331 2/0/0 CNAME example2.secondhost.com.[|domain]
15:54:45.986740 IP Riza.FStaals.LAN.63345  
SpeedTouch.FStaals.Lan.domain:  57332+ ? example2.secondhost.com. (32)
15:54:45.999378 IP SpeedTouch.FStaals.Lan.domain  
Riza.FStaals.LAN.63345:  57332 0/0/0 (32)
15:54:45.999509 IP Riza.FStaals.LAN.58187  
SpeedTouch.FStaals.Lan.domain:  57333+ A? example2.secondhost.com. (32)
15:54:46.014454 IP SpeedTouch.FStaals.Lan.domain  
Riza.FStaals.LAN.58187:  57333 1/0/0 A 193.69.116.13 (48)
15:54:46.867432 IP Riza.FStaals.LAN.50980  
SpeedTouch.FStaals.Lan.domain:  36113+ PTR? 138.0.0.10.in-addr.arpa. (41)
15:54:46.868404 IP SpeedTouch.FStaals.Lan.domain  
Riza.FStaals.LAN.50980:  36113* 1/0/0 PTR[|domain]
15:54:46.869032 IP Riza.FStaals.LAN.54487  
SpeedTouch.FStaals.Lan.domain:  36114+ PTR? 13.116.69.193.in-addr.arpa. (44)
15:54:46.905268 IP SpeedTouch.FStaals.Lan.domain  
Riza.FStaals.LAN.54487:  36114 NXDomain* 0/0/0 (44 )

So the problem is that the data is redirected at my router ( 
SpeedTouch.FStaals.LAN ) to my laptop ( Riza.FStaals.LAN ) but I can't 
block all the traffic from my router since all other data I do want to 
receive. My router doesn't have an option to block specified URLs so I 
can't do it there eighter.

Has anyone an Idea how I can block all the data from the 'bad-hosts' ( 
which I changed here in example.host.com and example2.secondhost.com )

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: Which is the best PDF utility ?

2005-04-26 Thread Frank Staals
edward wrote:
Hi all,
Just wanted to know which is, according to you, the best utility to 
read PDF files. I notice the Acrobat7 port is mentioned as broken in 
the notes. Which program (not necessarily Adobe) would be the best 
alternative for everyday PDF reading ? Oh, almost forgot, I use KDE.
Thanks for your insight on this.
Edward

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

What the 'best' is I wouldn't know, I ussually use xpfd works simple and 
effective, has no useless functions etc but works fine. So for what I do 
with it I would say xpdf is good, at least good enough for me. If you 
want to see it just use the command 'xpdf' its default supplied with 
Xorg If I'm correct

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: Which is the best PDF utility ?

2005-04-26 Thread Frank Staals
Chuck Robey wrote:
Frank Staals wrote:
edward wrote:
Hi all,
Just wanted to know which is, according to you, the best utility to 
read PDF files. I notice the Acrobat7 port is mentioned as broken 
in the notes. Which program (not necessarily Adobe) would be the 
best alternative for everyday PDF reading ? Oh, almost forgot, I use 
KDE.
Thanks for your insight on this.
Edward

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

What the 'best' is I wouldn't know, I ussually use xpfd works simple 
and effective, has no useless functions etc but works fine. So for 
what I do with it I would say xpdf is good, at least good enough for 
me. If you want to see it just use the command 'xpdf' its default 
supplied with Xorg If I'm correct

Xorg is not a package that includes other packages, such as some 
operating systems.  By that I mean, if you get Xorg as such by that 
name, it's not going to include other tools (such as the excellent 
xpdf).  The only way you'g get xpdf with Xorg is if you got Xorg in a 
package of something like KDE, where packaging in other tools IS very 
likely.
Hmm my mistake, I installed xpdf a long time ago and I didn't recall I 
had to install it manually but indeed it is a seperate package:

[EMAIL PROTECTED] pkg_info | grep xpdf
xpdf-3.00_6 Display PDF files, and convert them to other formats
But in any case xpdf works fine :)
Frank Staals
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Looking for a KATE replacement

2005-04-30 Thread Frank Staals
Hey everyone,
When I started using FreeBSD for desktop usage ( about a year ago ) I 
used KDE as desktop manager, but now I am using XFCE4.2.1 for that 
purpose. But when writing html pages, scripts, programs etc I still use 
KATE ( KDE Advanced Text Editor ), the thing is that it starts up realy 
slow ( probably because it has to load a lot of basic kde stuff ).

So the question was does anyone know a good graphical replacement for 
Kate, I esspecially like the bar on the left which lets you easily 
switch between multiple files, and the build in terminalclient on the 
bottom. I tried looking in the ports/editors section but there are that 
many editors I realy don't know what to use. I am looking for a 
graphical editor, not commandline ( therefor I allready use joe ).

So anyone ideas ?
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]


GimpShop and FreeBSD

2005-05-17 Thread Frank Staals
Hey,
I'm tring to install GimpShop on my FreeBSD laptop ( 5.3 ) but when I 
run configure this happens:

[EMAIL PROTECTED]/configure --prefix=/usr/local
snip
checking fd_set and sys/select... yes
checking for XmuClientWindow in -lXmu... yes
checking for X11/Xmu/WinUtil.h... yes
checking for TIFFReadScanline in -ltiff... no
checking for TIFFWriteScanline in -ltiff... no
checking for TIFFFlushData in -ltiff34... no
configure_tmp: WARNING: *** TIFF plug-in will not be built (TIFF library 
not found) ***
configure_tmp: error:
*** Checks for TIFF libary failed. You can build without it by passing
*** --without-libtiff to configure but you won't be able to use TIFFs then.
[EMAIL PROTECTED]

It don't seem to find libtiff, allthough I did install it:
[EMAIL PROTECTED] pkg_info | grep tiff
linux-tiff-3.6.1_1  TIFF library, Linux/i386 binary
tiff-3.7.2  Tools and library routines for working with TIFF images
[EMAIL PROTECTED]
Because I rarely use .tiff files I used the without-libtiff option, but 
I get the same error for libjpeg, libpng, libmng and libexif. The fact 
that I wouldn't be able to use .jpeg and .png worries me, so my question 
is, does anyone know what to do to fix this problem, what should the 
location of those libaries be ?

I hope someone has an answer because I don't seem to get the logic in 
the UI in the Gimp ( maybe it is because I am used to PhotoShop )

Thanks in advance
--
Frank Staals
-
The Greatest pleasure in life is doing things people say you cannot do  - 
Walter Bagehot
-
With questions or comment mail to [EMAIL PROTECTED] or visit FStaals.nl.eu.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: virtual desktop

2005-05-23 Thread Frank Staals

Warren Block wrote:


On Mon, 4 Jan 1999, paul klatt wrote:

Could anyone please help me get my virtual desktop configured, I am 
having
problems wheere the desktop is to large for the monitor . I have 
tried ctrl

alt + and htis has no effect. When I go into /stand/sysinstall configure
xfree86 server and than xfree86 graphical configuration ctrl alt + 
seems to
be working in this part of the system. I woold appreciate the help in 
getting

my system configured



[ Unless it is really 1999 where you are, please set your system clock 
to the correct date. ]


Please post your xorg.conf file and details on your video card and 
monitor.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



since he is talking about xfree86 and sysinstall -- configure --- 
xfree86 I take it that he isn't running Xorg .


What FreeBSD release you are running, it must be prior to 5.3, you might 
want to upgrade to 5.3 which uses by default Xorg where there isn't 
realy a need to config the X server manually ( unless you got two 
monitors or you just want the best of the best ). Although I have been 
told xfree86 can configure itself to, but how to I'm not sure. I used 
the commandline option to config Xfree ( sysinstall --  configure --- 
xfree86 -- xfconf , it was I believe ).


Good luck

--
Frank Staals

-
The Greatest pleasure in life is doing things people say you cannot do  - 
Walter Bagehot
-

With questions or comment mail to [EMAIL PROTECTED] or visit FStaals.nl.eu.org

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


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: 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


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: 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


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: 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


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


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


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


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


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]


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]


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]


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]


  1   2   >