Re: eclipse install

2009-08-06 Thread Roger Olofsson



Coert Waagmeester skrev:

Hello all,

What is the best way to install eclipse on FreeBSD 7.2?

On Linux I installed java, and downloaded the newest eclipse.

Regards,
Coert

___
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




Hi Coert,

I had an issue some time back and I posted this to the list. I don't 
know if it'll help you.


--
Dear mailing list,

I don't know if anyone has noticed or if it's my machine having stale 
ports but it seems that to make eclipse 3.4.1 working on FreeBSD 7.1 
STABLE with diablo-jdk-1.6.0.07.02_4 you need to do the following:


Do _not_ make clean until you have made:
 cp 
/usr/ports/java/eclipse/work/plugins/org.eclipse.swt.gtk.freebsd.x86/gtk/library/libswt* 
/usr/local/diablo-jdk1.6.0/jre/lib/i386/client/


It seems like make install builds the swt-gtk:s but that the .jar 
somehow 'misses' adding them in.


/Roger
--
___
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: ipnat port-range

2009-05-17 Thread Roger Olofsson



alexus skrev:

2009/5/16 Roger Olofsson 240olofs...@telia.com:


Odhiambo ワシントン skrev:

On Wed, May 13, 2009 at 9:09 PM, alexus ale...@gmail.com wrote:


On Wed, May 13, 2009 at 12:58 PM, alexus ale...@gmail.com wrote:

i need to redirect bunch of ports, or port-range from outside to my jail

# /etc/rc.d/ipnat reload
/etc/rc.d/ipnat: DEBUG: checkyesno: ipnat_enable is set to YES.
/etc/rc.d/ipnat: DEBUG: run_rc_command: doit: /sbin/ipnat -F -C -f
/etc/ipnat.rules
0 entries flushed from NAT table
2 entries flushed from NAT list
syntax error error at port-range, line 8
# grep port-range /etc/ipnat.rules
rdr bce0 0/0 port-range 49152:65534 - lama port-range 49152:65534 tcp
#



--
http://alexus.org/


that rule is wrong to begin with as rdr doesn't work with ranges, i
guess I need to use something else..

anyone done something like that? use ipnat to map range of ports? this
is for ftp PASV


Looks like it's time to convert your rules into PF then start using PF.



Dear Mailing List,

Since this answer quite obviously isn't helping anyone - why can't everyone
just be happy with software that actually works well on FreeBSD  and
disregard petty licensing differences - let us try and help instead. And if
you can't help - please keep the 'noise' out of the lists.

Sorry for possibly starting a flame here - what's important is to use
FreeBSD and try to help to improve it. Give wise answers to people that ask
- try not to tell someone to buy another car if that person wants to know
how to open the door to the current one.

Ipnat and FTP PASV is covered extensively in the ipfilter howto on
http://www.obfuscation.org/ipf/ - this might give some pointers around using
the FTP proxy in ipnat. You will need to combine this with ports allowed in
ipfilter rules and also, the FTP daemon that you use will have to have the
ability to control what ports to use for the data transfer. For instance, if
you use pure-ftpd you will need to set the following parameter to be able to
use the ports 1024-2024 for PASV data:
PassivePortRange  1024 2024

The ipnat rule would be something like:
rdr external_interface 0.0.0.0/0 port 1024-2024 - internal.ftp.ip port 1024
tcp

And the ipfilter rule would be
pass in quick on external_interface proto tcp from any to any port 1023 
2025 flags S keep state keep frags
pass out quick on external_interface proto tcp from any port 1023  2025 to
any keep state

With of course the ftp server port opened as well
pass in quick on external_interface proto tcp from any to any port =
ftp_server_port flags S keep state keep frags

Good luck!

/R




i dont see how things are obvious for you as they not so obvious for me.
first of all my ipf default policy to allow everything.

so the original question is for ipnat and not for ipf

now for non-passive (active) i put in these rules

rdr bce0 0/0 port ftp-data - lama port ftp-data tcp
rdr bce0 0/0 port ftp - lama port ftp tcp

and for pasv i still dont know what to do

i've tried

rdr bce0 0/0 port 49152-65534 - lama port 65534

and in my ftp i said that this is range for pasv connections

yet i'm able to make a connection (but that goes through ftp/tcp(21))
and whenever i enter into pasv it stops working...





Hi Alexus,

You need to RDR the ports that the ftp protocol use for the DATA 
transfer in PASV mode. You can find information about this at wikipedia 
- http://en.wikipedia.org/wiki/File_Transfer_Protocol or by reading the 
FTP RFC.


RDR is ipnat - the line goes into the ipnat configuration file.

Good luck!

/R

___
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: ipnat port-range

2009-05-16 Thread Roger Olofsson



Odhiambo ワシントン skrev:

On Wed, May 13, 2009 at 9:09 PM, alexus ale...@gmail.com wrote:


On Wed, May 13, 2009 at 12:58 PM, alexus ale...@gmail.com wrote:

i need to redirect bunch of ports, or port-range from outside to my jail

# /etc/rc.d/ipnat reload
/etc/rc.d/ipnat: DEBUG: checkyesno: ipnat_enable is set to YES.
/etc/rc.d/ipnat: DEBUG: run_rc_command: doit: /sbin/ipnat -F -C -f
/etc/ipnat.rules
0 entries flushed from NAT table
2 entries flushed from NAT list
syntax error error at port-range, line 8
# grep port-range /etc/ipnat.rules
rdr bce0 0/0 port-range 49152:65534 - lama port-range 49152:65534 tcp
#



--
http://alexus.org/


that rule is wrong to begin with as rdr doesn't work with ranges, i
guess I need to use something else..

anyone done something like that? use ipnat to map range of ports? this
is for ftp PASV



Looks like it's time to convert your rules into PF then start using PF.




Dear Mailing List,

Since this answer quite obviously isn't helping anyone - why can't 
everyone just be happy with software that actually works well on FreeBSD 
 and disregard petty licensing differences - let us try and help 
instead. And if you can't help - please keep the 'noise' out of the lists.


Sorry for possibly starting a flame here - what's important is to use 
FreeBSD and try to help to improve it. Give wise answers to people that 
ask - try not to tell someone to buy another car if that person wants to 
know how to open the door to the current one.


Ipnat and FTP PASV is covered extensively in the ipfilter howto on 
http://www.obfuscation.org/ipf/ - this might give some pointers around 
using the FTP proxy in ipnat. You will need to combine this with ports 
allowed in ipfilter rules and also, the FTP daemon that you use will 
have to have the ability to control what ports to use for the data 
transfer. For instance, if you use pure-ftpd you will need to set the 
following parameter to be able to use the ports 1024-2024 for PASV data:

PassivePortRange  1024 2024

The ipnat rule would be something like:
rdr external_interface 0.0.0.0/0 port 1024-2024 - internal.ftp.ip port 
1024 tcp


And the ipfilter rule would be
pass in quick on external_interface proto tcp from any to any port 1023 
 2025 flags S keep state keep frags
pass out quick on external_interface proto tcp from any port 1023  
2025 to any keep state


With of course the ftp server port opened as well
pass in quick on external_interface proto tcp from any to any port = 
ftp_server_port flags S keep state keep frags


Good luck!

/R

___
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


Tips Trix: Eclipse on 7.1 STABLE and swt-gtk issue

2009-05-09 Thread Roger Olofsson

Dear mailing list,

I don't know if anyone has noticed or if it's my machine having stale 
ports but it seems that to make eclipse 3.4.1 working on FreeBSD 7.1 
STABLE with diablo-jdk-1.6.0.07.02_4 you need to do the following:


Do _not_ make clean until you have made:
 cp 
/usr/ports/java/eclipse/work/plugins/org.eclipse.swt.gtk.freebsd.x86/gtk/library/libswt* 
/usr/local/diablo-jdk1.6.0/jre/lib/i386/client/


It seems like make install builds the swt-gtk:s but that the .jar 
somehow 'misses' adding them in.


/Roger
___
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: problem redirecting with ipnat

2009-04-02 Thread Roger Olofsson



David Banning skrev:

I am attempting to route local and external traffic to a second machine
on port 85 to apache. 


The redirection works for external traffic coming in but I cannot seem
to redirect local traffic to the secondary machine.

Here are my ipnat rules;

rdr fxp0 0/0 port 85 - 192.168.1.10 port 85
rdr tun0 0/0 port 85 - 192.168.1.10 port 85
rdr dc0 0/0 port 80 - 192.168.1.1 port 8180

where 192.168.1.1 is the local machine and 192.168.1.10 is the 
secondary machine


the third ipnat entry simply redirects all outgoing browser traffic to 
squid/dansguardian


Here is my ifconfig;

[r...@3s1 /etc]# ifconfig
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet 209.161.205.12 netmask 0xff00 broadcast 209.161.205.255
ether 00:0d:60:09:fc:6e
media: Ethernet autoselect (10baseT/UTP)
status: active
dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
ether 00:20:78:0e:13:d6
media: Ethernet autoselect (10baseT/UTP)
status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
inet6 ::1 prefixlen 128 
inet 127.0.0.1 netmask 0xff00 
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
inet 209.161.205.12 -- 207.136.64.7 netmask 0x 
Opened by PID 356

[r...@3s1 /etc]#

Externally, simply http://3s1.com:85

works but will not work locally - wondering if anyone could provide direction
here.
___
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




Hello David,

It looks like you are trying to port forward using a NAT tool(?) May I 
suggest that you use a port forward tool instead? Try portfwd-0.29 from 
ports.


/R

___
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: analyzing httpd-error.log

2009-03-31 Thread Roger Olofsson



Charles Howse skrev:


On Mar 28, 2009, at 11:51 PM, Olivier Nicole wrote:


Hi,


Webalizer is doing what it's supposed to with httpd-access.log, but
when I give it the error log to process is coughs, spits and spills
out errors with no data processed.  My research hasn't turned up a
good solution for webalizer and -error.log.


The format of error log is pretty much different from the format of
transfer log. No wonder webalizer is not liking it. You may have to
write your own format for th error log.


Well, can anyone suggest a port that will parse the error.log and output 
it to a web page that's easy to read?


Also, in httpd.conf what level of detail should I set in the error.log 
to get the most information.  It's currently set to 'warn', which I 
understand to be 'warn' and everything more critical than that.  I don't 
care about the size of the log, or the amount of garbage per line.

___
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




Hi Charles,

I don't know if this will help you but try looking at Lire (logreport.org).

For just collecting and web-based viewing phplogcon from 
www.phplogcon.org can be used.


/R
___
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: Newsyslog mode on /var/log/security?

2009-03-30 Thread Roger Olofsson



Garance A Drosehn skrev:

At 10:48 PM +0200 3/29/09, Roger Olofsson wrote:

Dear mailing list,

I seem to have forgotten something about /var/log/security and 
newsyslog.conf. I get wrong mode after the trim.


Excerpt from /etc/newsyslog.conf:
/var/log/security   644  7 5000 * JC



Are you sure that's the only line you have for /var/log/security in
your /etc/newsyslog.conf file?  The distributed config file has:

/var/log/security600  10   100* JC

Obviously you have a different entry from that, but did you remove
the original entry?


Output from newsyslog -vn:
chmod 600 /var/log/security.0.bz2

Why is the mode not 644?

/etc/rc.d/syslogd restart and newsyslog restart have been performed.


I tried changing the permissions-field in my newsyslog.conf from 600
to 644, and newsyslog worked correctly for me.



Hi Garance,

You are correct! I missed the original line. Silly me :^D

Thank you very much!

/R

___
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: [OT] - Best Practices(TM) for Configuration File Changes

2009-03-29 Thread Roger Olofsson



Glen Barber skrev:

Hello, list.

Before I pose my question, I am not intending to start a flame-war of
any sort -- I'm just searching for different ways of doing things.

With so many different version control systems available (aside from
the traditional keep current backups solution), I am curious:

Q:  What is *your* favorite/suggestion solution to keep (working)
versions of configuration files, in case something goes awry?

I am specifically targeting configuration files because they are what
I change the most, in avoidance of It worked 10 minutes ago...
situations.

Cheers,



Hi Glen,

For local configuration files there's a tool called rcs that can be used 
for tracking changes and rollback.


It's a part of the FreeBSD base system. Check the man pages for rcs(1) 
ci(1) co(1) rcsdiff(1) and rcsintro(1) - rcsintro(1) is probably where 
you want to start.


It's also available on other *nix systems like AIX, Red Hat, Solaris etc.

/R
___
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


Newsyslog mode on /var/log/security?

2009-03-29 Thread Roger Olofsson

Dear mailing list,

I seem to have forgotten something about /var/log/security and 
newsyslog.conf. I get wrong mode after the trim.


Excerpt from /etc/newsyslog.conf:
/var/log/security   644  7 5000 * JC

Output from newsyslog -vn:
chmod 600 /var/log/security.0.bz2

Why is the mode not 644?

/etc/rc.d/syslogd restart and newsyslog restart have been performed.

/R

___
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


Unlimited storage?

2009-03-14 Thread Roger Olofsson

Dear Mailing List,

What would this look like for FreeBSD?

---
Many servers with local HDs
One (1) storage for all servers using local HDs on all servers (RAID)
File system that allows growth (also negative growth)
---

What components and software would be required?


/R

___
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: freebsd 7.1 and high avalalibity

2009-02-12 Thread Roger Olofsson



gahn skrev:

Hi all:

What kind of options do I have for HA software in terms of Freebsd 7.1? I have 
two servers that need to work in symphony so that in case one down then we have 
another replica to work with.

Thanks in advance


  
___

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





No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.234 / Virus Database: 270.10.23/1947 - Release Date: 02/10/09 17:44:00




Hello gahn,

CARP or freevrrpd.

http://www.freebsd.org/doc/en/books/handbook/carp.html
http://www.freshports.org/net/freevrrpd/

/R
___
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: having trouble with OpenOffice

2009-02-07 Thread Roger Olofsson



af300...@gmail.com skrev:

Hi,

Tonight I finally took the bull by the horns and got OpenOffice 
installed. However, I'm not having a problem that I haven't found an 
answer to yet but seems to be related to the X server (from searches on 
the net). So, I do this:


[a...@sniper /usr/home/andy]$ /usr/local/bin/openoffice.org-2.4.2-scalc
I18N: Operating system doesn't support locale en_US
The application cannot be started.
The component manager is not available.
Segmentation fault (core dumped)


As you can tell, OpenOffice failed because my OS doesn't support locale 
en_US. Huh!?! I'm using the English version. In fact, the only way to 
consider me as being bilingual is something of a matter of mental 
gymnastics because English is spoken in England and to me, England is a 
foreign country. Thus, I'm bilingual, or at the least, I speak a foreign 
language.


Never the less, how would this be fixed?

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





No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.233 / Virus Database: 270.10.18/1936 - Release Date: 02/02/09 19:21:00




Hello Andy,

I seem to recall that this is a make option, like for instance:

make LOCALIZED_LANG=sv

I would suppose that sv in your case would be en.

Good Luck.

/R


___
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: xdm doesn't run as daemon

2009-02-06 Thread Roger Olofsson



Anton Shterenlikht skrev:

After upgrades of 23-24 Jan 2009 xdm is not working:

# xdm
# ps ax|grep xdm
75632  p1  S+ 0:00.01 grep xdm
# cat /var/log/xdm.log
#

So no xdm daemon.

My system: FreeBSD 6.4-STABLE alpha, xdm-1.1.8_1.

Any ideas?






No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.233 / Virus Database: 270.10.18/1935 - Release Date: 02/02/09 19:21:00




Hi Anton,

Tried detaching it?

xdm 

/R

___
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: Keeping FreeBSD updated (the binary way)

2009-01-23 Thread Roger Olofsson



Svein Halvor Halvorsen skrev:

Hi, list!


I have just acquired a new computer to replace an old server. This older 
server has been running FreeBSD 5.3 since 2004 and most of its packages 
are way out of date. I've been scared of changing something in fear of 
rendering the machine unbootable, or some core applications unrunnable.


I want to make sure I have better routines this time around, when I'm 
starting a-fresh. I'd like to keep my system and packages fairly up to 
date, and still keep the compiling to a minimum.


Is it possible to pkg_add -r packages from -STABLE on the latest 
-RELEASE? That is, will the following work, or slowly render my system 
to an incoherent state:


1) Regularly run freebsd-update
2) Regularly run portsnap
3) Set my PACKAGESITE to the -STABLE location
4) Regularly run portupgrade -P


Will the postsnap'ed index always be in sync with what's available as 
precompiled packages for -STABLE? Will these -STABLE packages always run 
on my freebsd-update'd -RELEASE system? If some ports have the 
NO_PACKAGE bit set, will compiling them against dependencies from 
-STABLE work, as long as I've run portsnap?




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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.12/1909 - Release Date: 2009-01-22 07:08




Hello Svein,

When I recently went from 6 to 7 I realized that it is less 
time-consuming to wipe the machine clean and install fresh from the cd.


The pre-condition for this is separated disks for system and data.

/R



___
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: looking for a fail over system

2009-01-22 Thread Roger Olofsson



Buck Jones skrev:
MY web server just died and It's taking some time to get back up . I 
want to find a fail over device so when one computer dies another 
automatically takes over. of course letting me know this happened would 
be a good thing too.

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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.10/1906 - Release Date: 2009-01-21 07:07




Hello Buck,

I have been using some approaches over the years.

One is a hot/cold failover like carp only I used freevrrpd 
(/usr/ports/net/freevrrpd).


The second one is a simple loadbalancer called pen (/usr/ports/net/pen 
(http://siag.nu hit the 'More stuff' link).


The third approach would be using dns - providing you run your own dns, 
you could do simple round-robin 
(http://en.wikipedia.org/wiki/Round_robin_DNS).


The easiest one, providing you have a mirror of your web server would 
probably be pen.


/R



___
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: Memory Usage

2009-01-03 Thread Roger Olofsson



Grant Peel skrev:

Hi all,

Does anyone have scripts they may be willing to share the parses any FreeBSD 
utility (top, w, etc) suitable for using the output to use mrtg to show memory 
and disk usage?

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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.2/1871 - Release Date: 2009-01-01 17:01




I used to use mrtg but ever since Cacti came along I've been using that 
instead. Cacti is excellent. It's in ports.


/R

___
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: Nice web interface or music?

2009-01-01 Thread Roger Olofsson



stan skrev:

I's like to set up my MP3's so that I can access them from the web server
on my Free-BSD 7.1 machine. Is there a port, that provides a nice interface
to this? I'd like something better than just letting Apache display the
directories.

Sugestins?






No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.1/1870 - Release Date: 2008-12-31 08:44




Hello Stan,

Saw something called subsonic over at 
http://subsonic.sourceforge.net/changelog.php that looks interesting.


Unfortunately I can't find it in ports and I haven't had time to try 
installing it yet. Looks like it needs Jetty or Tomcat as a base.


/R
___
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: Wireless router?

2008-12-27 Thread Roger Olofsson



Corey Chandler skrev:

Roger Olofsson wrote:



Corey Chandler skrev:

Nerius Landys wrote:

Thank you all for your suggestions.  This will be a project for me
over the holidays.  I decided to go the standalone wireless router
approach.  

Good man!

I will need to figure out how to configure my standalone
wireless router to pass everything through to the internal LAN that
I already have.  
It's called Bridge mode on most APs-- it does exactly what you 
describe.  Just make sure things like DHCP server are turned off or 
you'll see some... odd breakages.

Also I don't know too much about security, like how
to prevent eavesdroppers from connecting to my internal network.  One
of you mentioned access lists, and I assume that means I tell the
wireless router which MAC addresses it accepts, and nothing else.  
Ugh.  MAC addresses are trivial to spoof-- I usually don't bother 
with using them for security, although I do use 'em to ensure that 
particular machines always inherit particular addresses.



Is there any other way to provide security?  Like a password-protected
network?  What are the buzzwords for these security schemes?  Which
security scheme do you recommend for preventing random people within
proximity from connecting to my internal netowrk?
  


Absolutely.  Google for WPA or WPA2; WEP has been broken and is 
trivial to bruteforce, so I'd not bother with that.


Once you get the unit in, feel free to email me off list for 
configuration questions; it sounds like a fun project!


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






No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus 
Database: 270.10.0/1861 - Release Date: 2008-12-22 11:23




Hello Corey,

I don't use 'bridge mode'. I set a normal LAN ip for the wifi router - 
as well as ips to the FreeBSD gateway and dns. This is for the LAN 
part of the router - then another internal LAN ip for the wifi part.


To examplify.

Wifi router LAN part - ip 192.168.0.20, gateway 192.168.0.1, dns 
192.168.0.10 and 192.168.0.11.


Wifi wifi part - network 10.0.0.1 - 10.0.0.10.
The problem with doing that is a lot of systems start throwing weird 
errors in a double NAT environment.   I'd probably avoid that step and 
restrict wireless to its own VLAN if I were to go that route...

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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.0/1865 - Release Date: 2008-12-26 13:01





Hello Corey,

There is no double NAT involved.

/Roger

___
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: Wireless router?

2008-12-23 Thread Roger Olofsson



Nerius Landys skrev:

Thank you all for your suggestions.  This will be a project for me
over the holidays.  I decided to go the standalone wireless router
approach.  I will need to figure out how to configure my standalone
wireless router to pass everything through to the internal LAN that
I already have.  Also I don't know too much about security, like how
to prevent eavesdroppers from connecting to my internal network.  One
of you mentioned access lists, and I assume that means I tell the
wireless router which MAC addresses it accepts, and nothing else.  Is
there any other way to provide security?  Like a password-protected
network?  What are the buzzwords for these security schemes?  Which
security scheme do you recommend for preventing random people within
proximity from connecting to my internal netowrk?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.0/1861 - Release Date: 2008-12-22 11:23




Hello again Nerius,

You have understood the MAC filtering correctly. You should also encrypt 
the wifi traffic by using at least WPA encryption. For most wifi routers 
this is a checkbox and a key or a passphrase that you enter. All clients 
that wants access and have their MAC address in the access list will 
have to enter the passphrase/key on the first connect.


This means that you control the MAC address list - all new wifi devices 
that wants to connect to your wifi LAN needs to get added to the MAC 
access list - manually by you. You also control the encryption 
passphrase - all wifi clients that wants to connect to your wifi LAN 
need to know the encryption passphrase. If you use WPA for encryption 
you will have a higher degree of security than using the old and 
hackable WEP.


Of course both the MAC list and the encryption key/passphrase are stored 
in the wifi router - so if you don't set a proper password for admin 
access to this one - all is lost. You should disable wireless access for 
admin (remote management) to it - only allow cabled access and use a 
good strong password.


Buzzwords? I dunno - I hope people on the mailing list help me out 
here... Is there a better/simpler way of doing this?


Greetings

/Roger

For a good laugh ... Enjoy Jason Dixons presentations from the BSDcon on 
http://www.youtube.com/watch?v=g7tvI6JCXD0feature=channel_page or 
http://www.youtube.com/watch?v=mMmbjJI5su0feature=channel_page





___
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: Wireless router?

2008-12-23 Thread Roger Olofsson



Corey Chandler skrev:

Nerius Landys wrote:

Thank you all for your suggestions.  This will be a project for me
over the holidays.  I decided to go the standalone wireless router
approach.  

Good man!

I will need to figure out how to configure my standalone
wireless router to pass everything through to the internal LAN that
I already have.  
It's called Bridge mode on most APs-- it does exactly what you 
describe.  Just make sure things like DHCP server are turned off or 
you'll see some... odd breakages.

Also I don't know too much about security, like how
to prevent eavesdroppers from connecting to my internal network.  One
of you mentioned access lists, and I assume that means I tell the
wireless router which MAC addresses it accepts, and nothing else.  
Ugh.  MAC addresses are trivial to spoof-- I usually don't bother with 
using them for security, although I do use 'em to ensure that particular 
machines always inherit particular addresses.



Is there any other way to provide security?  Like a password-protected
network?  What are the buzzwords for these security schemes?  Which
security scheme do you recommend for preventing random people within
proximity from connecting to my internal netowrk?
  


Absolutely.  Google for WPA or WPA2; WEP has been broken and is trivial 
to bruteforce, so I'd not bother with that.


Once you get the unit in, feel free to email me off list for 
configuration questions; it sounds like a fun project!


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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.0/1861 - Release Date: 2008-12-22 11:23




Hello Corey,

I don't use 'bridge mode'. I set a normal LAN ip for the wifi router - 
as well as ips to the FreeBSD gateway and dns. This is for the LAN part 
of the router - then another internal LAN ip for the wifi part.


To examplify.

Wifi router LAN part - ip 192.168.0.20, gateway 192.168.0.1, dns 
192.168.0.10 and 192.168.0.11.


Wifi wifi part - network 10.0.0.1 - 10.0.0.10.

MAC addresses are indeed trivial to spoof - but if combined with a wifi 
encryption key/passphrase it adds to security.


Greetings

/Roger
___
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: Wireless router?

2008-12-22 Thread Roger Olofsson



Nerius Landys skrev:

I have a PC with FreeBSD set up as a router (NAT). The PC has several
network cards and I'm grouping the internal-facing network cards as a
bridge (promiscuous mode for the interfaces).  Everything works well.

Now I'd like to extend my wired network to include wireless.  I really
have no experience with wireless networks.  I have a couple of
computers that are wireless-ready (a laptop and a Playstation 3 that I
won in a raffle).  Is it possible to somehow add some hardware to my
FreeBSD router PC to make it into a wireless router?  What kind of
hardware would I install?  What is it called?  The PC only has PCI
slots, can you recommend a brand and model of wireless server
equiptment if such a thing exists?  Would a normal wireless card
suffice?  What model should I get?  I would prefer to set up static
internal IPs for my wireless network at home, would this be possible?
Or is DHCP the way to go (I hesitate at the thought of configuring a
DHCP server).

Another way to go is to hook up a standalone wireless router appliance
to my FreeBSD machine's network interface (one of the interfaces).  I
already have such a device, I think it's made by Linksys.  But then, I
would be NAT'ing both through the FreeBSD machine and through the
wireless router.  So it would be a double-NAT so to speak.  Is there
anything wrong with that approach?

So in a nutshell, I have a wired FreeBSD router with multiple ethernet
jacks at home, and I want to extend it to include wireless network.
Any suggestions would be appreciated.  Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.0/1861 - Release Date: 2008-12-22 11:23




Hello Nerius,

I simply bought a standard wireless router, turned off all services in 
it except the access list and plugged it in the LAN. The access list 
filters on mac addresses and that level of security is fine where I live.


The wireless router does have firewall, dhcp, port triggering and such 
but I disabled all of those since my FreeBSDs do all of that already.


The wireless router has one port for internet and four ports as a normal 
switch, I don't use the internet port. I just plug in the ethernet cable 
in the switch part as uplink.


I considered having a wifi nic as accesspoint in the FreeBSD main 
router, however, it was better for me to be able to place the wifi 
router for optimal range of the wifi. Turned out that the centre point 
for wifi is not the same as where the main router is


Greetings

/Roger




___
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: general question about setting up gateway

2008-12-20 Thread Roger Olofsson



Richard Yang skrev:

hi,
i am trying to use freebsd as my home network gateway to the internet.
any good reference i should know besides what's in the handbook?
thanks

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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.19/1857 - Release Date: 2008-12-19 10:09




Hello Richard,

The first step is really easy - assuming you have a FreeBSD with two 
nics in it - edit /etc/rc.conf and comment out the line that starts with 
'defaultrouter=' and then add a line saying 'gateway_enable=YES.


The second step is a bit more complicated - you will have to decide on a 
firewall and a NAT mechanism. Depending on your choice here you will 
have to do various things to implement it.


The handbook is a good start when chosing firewall  - 
http://www.freebsd.org/doc/en/books/handbook/firewalls.html .


There are alot of other additional information spread out on the 
(w)internet - here's a couple:


ipfilter
http://freebsd.peon.net/tutorials/21/

ipfilter and pf resources
http://www.obfuscation.org/ipf/

pf
http://web.irtnog.org/howtos-orig/freebsd-firewall

I hope this will help you get started.

Greetings
/Roger


___
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: Snow in my Server

2008-12-19 Thread Roger Olofsson



Gary Hartl skrev:

Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
7-release server.

IT seems to be causeing some http outages.

My FBSD 6-.0 doesn't seem to be affected thou.


Any suggestions,


Cheers,

Gary 



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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.19/1857 - Release Date: 2008-12-19 10:09




Locate roof in ports and build roof!

/R

___
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: Canonical way for DHCP-IP-/etc/hosts

2008-12-16 Thread Roger Olofsson



Greg Larkin skrev:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Roger Olofsson wrote:


Jeff Laine skrev:

On Sun, Dec 14, 2008 at 02:00:12PM +0100, Roger Olofsson wrote:

Dear mailing list,

I am sorry if this question has been asked over and over again -
however the htdig search interface for the lists is somewhat shaky
and gives referrer errors for me.

Pre-conditions.
Dualhomed firewalled FreeBSD7.1. One nic is LAN and the other
dynamical IP from ISP.

Question: What is the canonical way for catching the IP address from
a DHCP assigned nic (from ISP that doesn't set hostname) and put the
IP into /etc/hosts with a hostname?

Reason for asking
Firewall rules needs refreshing after new IP

Possible answers:
Create dhcp-exit-hooks (undocumented?) in /etc like so:

#!/bin/sh

if [ ! -z $new_ip_address ]; then
IP=`ifconfig WAN | grep 'inet' | grep -v 'inet6' | cut -f 2 -d ' '`
if [ ! -z $IP ]; then
echo $IPwan.local.domain wan  /etc/hosts

refresh firewall rules here

fi
fi


Hello. I think pf can handle with dhcp updates on interfaces pretty well.
If only I get your question right.





Hi Jeff and thank you for your reply,

Yes, I know that pf will handle interfaces just fine, the question was
not specific to pf though but more around dhclient, dhclient-script and
the part of dhclient-script that calls the undocumented
dhclient-exit-hooks.

It might be handy to have the external IP assigned to a hostname - not
only for pf.

/R



Hi Roger,

I wrote a blog post about automatically configuring /etc/hosts with a
DHCP dynamic IP address earlier this year:
http://blog.sourcehosting.net/tag/dhcp/.  You can download a ZIP file
with the dhclient-exit-hook script in it near the bottom of the page.

In my case, I also wrote some commands to update the Apache httpd.conf
file with the correct ServerName directive.  You can easily remove that
from the script if you don't need it.

If you need any assistance, let me know.

Regards,
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklG1FEACgkQ0sRouByUApB1SACgmfJ4EtiyKdhyPgILZyc77Fxc
gHMAnRGGBWIya0Fg314LyrJZq9tTZvbj
=jHL5
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.18/1849 - Release Date: 2008-12-15 09:01




Hello Greg,

Thank you very much. I guess this is the canonical way of doing it.

/R

___
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: Canonical way for DHCP-IP-/etc/hosts

2008-12-14 Thread Roger Olofsson



Roger Olofsson skrev:

Dear mailing list,

I am sorry if this question has been asked over and over again - however 
the htdig search interface for the lists is somewhat shaky and gives 
referrer errors for me.


Pre-conditions.
Dualhomed firewalled FreeBSD7.1. One nic is LAN and the other dynamical 
IP from ISP.


Question: What is the canonical way for catching the IP address from a 
DHCP assigned nic (from ISP that doesn't set hostname) and put the IP 
into /etc/hosts with a hostname?


Reason for asking
Firewall rules needs refreshing after new IP

Possible answers:
Create dhcp-exit-hooks (undocumented?) in /etc like so:

#!/bin/sh

if [ ! -z $new_ip_address ]; then
IP=`ifconfig WAN | grep 'inet' | grep -v 'inet6' | cut -f 2 -d ' '`
if [ ! -z $IP ]; then
echo $IPwan.local.domain wan  /etc/hosts

refresh firewall rules here

fi
fi

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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.17/1847 - Release Date: 2008-12-13 16:56





Sorry I mean dhclient-exit-hooks not dhcp-exit-hooks

/R

___
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


Canonical way for DHCP-IP-/etc/hosts

2008-12-14 Thread Roger Olofsson

Dear mailing list,

I am sorry if this question has been asked over and over again - however 
the htdig search interface for the lists is somewhat shaky and gives 
referrer errors for me.


Pre-conditions.
Dualhomed firewalled FreeBSD7.1. One nic is LAN and the other dynamical 
IP from ISP.


Question: What is the canonical way for catching the IP address from a 
DHCP assigned nic (from ISP that doesn't set hostname) and put the IP 
into /etc/hosts with a hostname?


Reason for asking
Firewall rules needs refreshing after new IP

Possible answers:
Create dhcp-exit-hooks (undocumented?) in /etc like so:

#!/bin/sh

if [ ! -z $new_ip_address ]; then
IP=`ifconfig WAN | grep 'inet' | grep -v 'inet6' | cut -f 2 -d ' '`
if [ ! -z $IP ]; then
echo $IP  wan.local.domain wan  /etc/hosts

refresh firewall rules here

fi
fi

___
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: Canonical way for DHCP-IP-/etc/hosts

2008-12-14 Thread Roger Olofsson



Jeff Laine skrev:

On Sun, Dec 14, 2008 at 02:00:12PM +0100, Roger Olofsson wrote:

Dear mailing list,

I am sorry if this question has been asked over and over again - however 
the htdig search interface for the lists is somewhat shaky and gives 
referrer errors for me.


Pre-conditions.
Dualhomed firewalled FreeBSD7.1. One nic is LAN and the other dynamical 
IP from ISP.


Question: What is the canonical way for catching the IP address from a 
DHCP assigned nic (from ISP that doesn't set hostname) and put the IP 
into /etc/hosts with a hostname?


Reason for asking
Firewall rules needs refreshing after new IP

Possible answers:
Create dhcp-exit-hooks (undocumented?) in /etc like so:

#!/bin/sh

if [ ! -z $new_ip_address ]; then
IP=`ifconfig WAN | grep 'inet' | grep -v 'inet6' | cut -f 2 -d ' '`
if [ ! -z $IP ]; then
echo $IP  wan.local.domain wan  /etc/hosts

refresh firewall rules here

fi
fi



Hello. I think pf can handle with dhcp updates on interfaces pretty well.
If only I get your question right.







No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.17/1847 - Release Date: 2008-12-13 16:56




Hi Jeff and thank you for your reply,

Yes, I know that pf will handle interfaces just fine, the question was 
not specific to pf though but more around dhclient, dhclient-script and 
the part of dhclient-script that calls the undocumented dhclient-exit-hooks.


It might be handy to have the external IP assigned to a hostname - not 
only for pf.


/R
___
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: Quite Stumped here, need suggestions

2008-12-14 Thread Roger Olofsson



Robert Richards skrev:

Hi All:

I am running: FreeBSD 6.3-RELEASE-p5 #3: Sun Oct  5 15:31:05 EDT 2008
On a Sager 8800 Laptop. I have had FreeBSD installed for about a year,
and all is working perfectly. I can bring up KDE, run many apps, all
without a problem, except for ONE recent development. Every so often
FreeBSD initiates a clean shutdown on it's own. Xwindows goes down
cleanly,  kernel modules are unloaded, processes are stopped, drives
are cleanly dismounted, and the system is powered down. It's exactly
what you would expect if you issued a shutdown -h now command.  No
core files are generated, and messages, even when the OS is brought up
with verbose logging shows nothing.

After trying many things, including running with a previous kernel, a
GENERIC kernel, running in single-user mode, running minimalist,
etc I decided to buildworld and buildkernel and essentially
reinstall everything.

While updating sources via cvsup, there was a shutdown. A subsequent
attempt completed successfully. I then cleared out /usr/obj and did a
make buildworld. After 39 minutes a shutdown. Repeated this, and a
shutdown happened after 7 minutes.  I repeated this in single user
mode, with older kernels, with GENERIC kernel, same results, the
system shuts down cleanly at some point. Never at the same point or
doing the same task (Yes I used script  as well; script simply exits
as if make said all done! ).  It's as if a ghost-root issued a
shutdown -h command.

One additional clue. If I bring the system up without acpi the
shutdown is instant, and unclean. No scripts are run, drives are left
dirty, but still no clue in the logs.

I am now stumped! What could cause the system to shut down in this
fashion? With acpi active, the init scripts are executed in shutdown
mode. What could cause the kernel to believe it has received a command
to shutdown like this?

I am not new to this stuff, but I have never seen anything like this.
I AM new to FreeBSD, I had been running Linux for years until
recently, and absolutely love the order, consistency, layout, and
clean architecture of this OS. But this is weird!

Where to look? What to try? I am truly stumped here.

Bob






No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.18/1848 - Release Date: 2008-12-14 12:28




Hi Bob,

Do the shutdowns appear after using the lap for some time? If that is 
the case then I'd guess it's a heat problem or a disk failing.


Have you booted to single user and done fsck?

/R


___
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


mount_nfs from fstab with -L option?

2008-12-03 Thread Roger Olofsson

Dear mailing list,

What would be the correct way to do the following:

mount_nfs -L server:/path mnt

when using the /etc/fstab file?

Greetings from Sweden

/Roger


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


Re: mount_nfs from fstab with -L option?

2008-12-03 Thread Roger Olofsson



Steve Polyack skrev:

Roger Olofsson wrote:

Dear mailing list,

What would be the correct way to do the following:

mount_nfs -L server:/path mnt

when using the /etc/fstab file?

Greetings from Sweden

/Roger



Any options passed to mount(8)may be added (comma separated) to the 
Options section in /etc/fstab.


For example:

# Device   Mountpoint   FSType   Options   Dump   Pass#
server:/path   /mnt  nfs   rw,-L  00
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.13/1826 - Release Date: 2008-12-03 09:34




Thank you Steve!

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


please confirm - possible bug in isc-dhcpd?

2008-12-01 Thread Roger Olofsson

Dear mailing list,

7.1-PRERELEASE
isc-dhcp30-server-3.0.7_3

When configuring failover and using FQDN instead of ip address, 
isc-dhcpd says failover peer can't find address. It does however start 
and will not, of course, work properly.


The behaviour is that the very first client might get address but none 
after that one - causing alot of confusion.


The workaround - use ip addresses in dhcpd.conf when configuring 
failover peer.


Can anyone confirm this behaviour? Is it a bug? The man page shows an 
example where FQDNs are being used


If it is a bug, where do I report it?

Greetings

/Roger

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


Re: CUPS: cannot see printer from various program

2008-11-28 Thread Roger Olofsson



Laszlo Nagy skrev:
The printer is Epson Stylus Photo R265. I'm using gutenprint 5 and CUPS. 
The test page prints well from CUPS. I can also print images and web 
pages from firefox, because the CUPS/R265 printer can be selected in 
the print dialog of firefox.


However, when I open an image from eog (eye of gnome), the only printer 
destination I can choose is LPR. Which is bad, because this is a 
printer server with diskless clients, and the users must be able to 
select print options from the GUI.


The system is FreeBSD 7.0. My girlfriend had the same problem with 
Ubuntu before, but not with kiwi, so it might not be related to FreeBSD.


Thanks,

  Laci

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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.9.10/1812 - Release Date: 2008-11-25 19:53




Hello Laszlo,

You might want to add the following lines to /etc/make.conf

CUPS_OVERWRITE_BASE=yes
NO_LPR=yes
WITH_CUPS=yes

And rebuild the application you want to print from.

(The above was found on the excellent guide at 
http://www.math.colostate.edu/~reinholz/freebsd/)


Greetings

/Roger

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


Re: XMing and FreeBSD

2008-11-28 Thread Roger Olofsson



Pieter Donche skrev:

I have - in the same subnet - a WinXP PC and a multi-boot PC with
a) OpenSuse10.3, b) FreeBSD-7.0 (and c) WinXP)

I installed the free X-Windows server Xming on the WinXP PC,
and I can connect to the other PC when it is booted in OpenSUSE 10.3:
Xming is configured for 'open session via XDMCP', I specify fully 
qualified hostname and I get the openSUSE username/password login

screen, etc...

(I didn't need to change anything in the OpenSuSE)

But when that PC is booted into FreeBSD - XMing only gives me a screen 
with a grey background and a black X - connection seems not established.


The FreeBSD runs KDM as window manager and KDE as desktop.

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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.11/1817 - Release Date: 2008-11-28 08:17




Hello Pieter,

You might want to look over your settings in the following:

/usr/local/lib/X11/wdm/Xclients

Make sure that paths/names etc are ok for the section about kde

startkde*|kde*|KDE*)
# startup kde
STARTKDE_PATH=startkde
if ! test -x $STARTKDE_PATH ; then
FindInPath $STARTKDE_PATH
if test -n $result -a -x $result; then
STARTKDE_PATH=$result;
fi
fi
if [ -x $STARTKDE_PATH ] ; then
echo Starting kde $HOME/.xwm.msgs
exec $STARTKDE_PATH -console $HOME/.xwm.msgs 21
fi
;;


You should look for eventual settings for displaymanagers for KDM - I am 
sorry but I don not know where/how/if KDM has a setting for this. WDM 
has this in the wdm-config file - maybe KDM has something similar?


(The wdm setting is like this:
  DisplayManager*wdmWm:  WindowMaker:FluxBox)

You should also check your Xorg log files for any messages - they should 
be in /var/log.


Greetings

/Roger

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


Re: what is your programming language on freebsd?

2008-11-07 Thread Roger Olofsson



Wojciech Puchar skrev:

may be asking in the wrong mailing list, but my impression is that mono
on FreeBSD is generally not a popular idea.

To pose my questions to the developers in the FreeBSD community:
1. What programming language(s) do you deploy on FreeBSD?


whatever i need. i personally use mostly C.


2. Is FreeBSD more optimised in performance for any particular language?


i don't think so.


3. Is FreeBSD even a popular choice as a development platform, or is it
better suited as a special-purpose OS (eg. mail server, DNS server)?


i don't know how popular it is for what tasks. but it works excellent 
for all you specified. it's unix anyway.

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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.9.0/1771 - Release Date: 2008-11-06 07:58




IMHO there are only three alternatives left these days when creativity 
seems to be fading C - the prince among languages and Eclipse + Java 
 - the future already today.


And - For learning purposes - the highly underrated Pascal by Niklaus Wirth.

In my mind C was created as a tool needed to create UNIXWhere did 
creativity like this vanish?


(does anyone still use the word homepage?) (cm.bell-labs.com/~dmr)


/Roger

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


Re: CUPS wont print inside GNOME

2008-10-31 Thread Roger Olofsson



Sean Cavanaugh skrev:

I have the latest GNOME installed from ports and have the odd issue of CUPS not 
wanting to work with it right.

If i access the CUPS web configuration page, i can print test pages just fine 
and not a single issue, but if i try and print a test page from inside GNOME, 
including trying with the gnome-cups-manager port, it will stop and present the 
following error
/usr/local/libexec/cups/filter/pstoraster failedthis error will carry over to 
the web interface and those jobs are pretty much hosed, yet i can create a test print 
from web interface even when this error is present.

I do notice that test pages from web interface come from user anonymous 
whereas test pages from gnome-cups-manager are from the respected user that ran it.
even root is unable to print from inside gnome.

-Sean

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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.8.5/1757 - Release Date: 2008-10-30 14:35




Hi Sean,

I assume you have cups-pstoraster installed? It should be installed when 
installing CUPS itself.


If you built Gnome from source you should have this in /etc/make.conf

CUPS_OVERWRITE_BASE=yes
NO_LPR=yes
WITH_CUPS=yes

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


Re: CUPS wont print inside GNOME

2008-10-31 Thread Roger Olofsson



Sean Cavanaugh skrev:

Date: Fri, 31 Oct 2008 17:58:06 +0100
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: CUPS wont print inside GNOME



Sean Cavanaugh skrev:

I have the latest GNOME installed from ports and have the odd issue of CUPS not 
wanting to work with it right.

If i access the CUPS web configuration page, i can print test pages just fine 
and not a single issue, but if i try and print a test page from inside GNOME, 
including trying with the gnome-cups-manager port, it will stop and present the 
following error
/usr/local/libexec/cups/filter/pstoraster failedthis error will carry over to 
the web interface and those jobs are pretty much hosed, yet i can create a test print 
from web interface even when this error is present.

I do notice that test pages from web interface come from user anonymous 
whereas test pages from gnome-cups-manager are from the respected user that ran it.
even root is unable to print from inside gnome.

-Sean

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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.8.5/1757 - Release Date: 2008-10-30 14:35



Hi Sean,

I assume you have cups-pstoraster installed? It should be installed when 
installing CUPS itself.


If you built Gnome from source you should have this in /etc/make.conf

CUPS_OVERWRITE_BASE=yes
NO_LPR=yes
WITH_CUPS=yes

/Roger



i have cups-pstoraster installed. like i said, i can get a test page to print fine from 
the CUPS web page, just not if it was initialized inside gnome even though i do see the 
print jobs sitting in the queue for the printer with status Stopped. 
Restarting the jobs doesnt help them any either.

i installed everything from ports but my make.conf file is a little bare

UnKnown# less /etc/make.conf 
# added by use.perl 2008-10-23 14:57:35

PERL_VER=5.8.8
PERL_VERSION=5.8.8


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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.8.5/1757 - Release Date: 2008-10-30 14:35




Hi again Sean,

Add the lines, make reinstall and see if Gnome picks it up..

There's an excellent site at 
http://www.math.colostate.edu/~reinholz/freebsd/ that has CUPS related 
information.


Please let the list know if it helps!

/Roger


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


Re: gconcat question

2008-10-19 Thread Roger Olofsson
-Ursprungligt Meddelande- 
From: John Nielsen [EMAIL PROTECTED]
Sent: 19/10/2008 3:39:00 AM
To: freebsd-questions@freebsd.org
Cc: [EMAIL PROTECTED]
Subject: Re: gconcat question

On Saturday 18 October 2008, Roger Olofsson wrote:
 What are the steps to bring back gconcatenated disks if doing an
upgrade
 from FreeBSD6 to FreeBSD7 like this?

 As-is situation:
 FreeBSD 6.2-STABLE ad0 has FreeBSD ad1, ad2 and ad3 are gconcatenated
 using 'gconcat label -v data /dev/ad1 /dev/ad2 /dev/ad3'.

The concat device should just appear automatically after the upgrade as
long 
as you (continue to) load the geom_concat kernel module. Be aware that
if 
the on-disk metadata format has changed then it will automatically be 
upgraded. This is usually a good thing but if you need to roll back to
6.x 
for some reason it's something to take into consideration.

 Planned upgrade:
 Reboot from cdrom, install FreeBSD7 from cd to ad0

Just curious, is there a reason you're going this route instead of
upgrading 
from source?

JN
.


Hello John and thank you for your reply!

Follow-up question - /dev contains a /dev/concat/label entry - is this
entry created when loader.conf invokes the kernel module?

The machine won't be rollbacked so that's not an issue. 

The reason for following this route is that it's faster than doing it
from source (it's an old machine). The machine has been a playground and
has alot of ports installed that aren't being used anymore. The
concatenated drives contain data only hence the need to preserve those.

/Roger

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


Re: gconcat question SOLVED

2008-10-19 Thread Roger Olofsson

-Ursprungligt Meddelande- 
From: John Nielsen [EMAIL PROTECTED]
Sent: 19/10/2008 5:52:51 PM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: gconcat question

On Sunday 19 October 2008, Roger Olofsson wrote:
 -Ursprungligt Meddelande-

 From: John Nielsen [EMAIL PROTECTED]
 Sent: 19/10/2008 3:39:00 AM
 To: freebsd-questions@freebsd.org
 Cc: [EMAIL PROTECTED]
 Subject: Re: gconcat question
 
 On Saturday 18 October 2008, Roger Olofsson wrote:
  What are the steps to bring back gconcatenated disks if doing an
  upgrade from FreeBSD6 to FreeBSD7 like this?
 
  As-is situation:
  FreeBSD 6.2-STABLE ad0 has FreeBSD ad1, ad2 and ad3 are 
gconcatenated
  using 'gconcat label -v data /dev/ad1 /dev/ad2 /dev/ad3'.
 
 The concat device should just appear automatically after the upgrade
as
 long as you (continue to) load the geom_concat kernel module. Be
aware
 that if
 the on-disk metadata format has changed then it will automatically
be
 upgraded. This is usually a good thing but if you need to roll back
to
 6.x for some reason it's something to take into consideration.
 
  Planned upgrade:
  Reboot from cdrom, install FreeBSD7 from cd to ad0
 
 Just curious, is there a reason you're going this route instead of
 upgrading from source?

 Hello John and thank you for your reply!

 Follow-up question - /dev contains a /dev/concat/label entry - is
this
 entry created when loader.conf invokes the kernel module?

Yes. Many of the GEOM modules (label, mirror, concat, stripe, etc)
create 
nodes in the relevant subdirectories in /dev as soon as they taste
the 
drives (or other providers) and discover metadata belonging to them.
This 
is generally when they are loaded (if modules) or at boot time (if
compiled 
into the kernel or preloaded by loader.conf). Any time you insert a
device 
(such as a USB stick) the loaded modules also have an opportunity 
to taste it and create nodes as appropriate.

 The machine won't be rollbacked so that's not an issue.

 The reason for following this route is that it's faster than doing it
 from source (it's an old machine). The machine has been a playground
and
 has alot of ports installed that aren't being used anymore. The
 concatenated drives contain data only hence the need to preserve
those.

Makes sense. :)

JN
.


Thank you John, it worked excellent!

/Roger


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


gconcat question

2008-10-18 Thread Roger Olofsson
Dear mailing list, 

What are the steps to bring back gconcatenated disks if doing an upgrade
from FreeBSD6 to FreeBSD7 like this?

As-is situation:
FreeBSD 6.2-STABLE ad0 has FreeBSD ad1, ad2 and ad3 are gconcatenated
using 'gconcat label -v data /dev/ad1 /dev/ad2 /dev/ad3'.

Planned upgrade:
Reboot from cdrom, install FreeBSD7 from cd to ad0

/Roger





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


Re: Video streaming with freeBSD

2008-08-11 Thread Roger Olofsson



Sam Fourman Jr. skrev:

If the main purpose of your box is to be a PVR, I suggest going with a Linux
distribution and using MythTV (http://www.mythtv.org).  While I am a fan of
FreeBSD as a web/mail/etc. server, it did not meet my needs when attempting
to build a PVR.  I found the Gentoo Linux distribution most comfortable for
me because it uses a portage system similar to the ports system of
FreeBSD.  Others I tried were package based and didn't always support my
hardware.


I would like to try and put together the most functional FreeBSD based PVR
system possible, even if it does have less functionality than it's
Linux counterpart.

does anyone have a recipe for a working FreeBSD based PVR?
if not post Ideas for software / configurations / Hardware, and I will
l make a web page
out of it.

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

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.6.0/1602 - Release Date: 2008-08-09 13:22






Some year back I was meddling around with VLC (videolan) that does a 
pretty good job of the streaming part. There was issues with threads at 
the time so I let it rest though.


Xmltv to grab the channels listings should also work.

TV cards supported should be in the handbook

Please let us know the uri for the webpage!

/R



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


Re: High Availability FreeBSD www cluster

2008-08-06 Thread Roger Olofsson



Michael Christie skrev:

Hi all ,

I want to cluster some freeBSD servers, The purpose of this is to 
learn.  I would like to  run some basic services like www and mail on a 
test network. I would like to set up the servers so if one server falls 
over the other will take over the services automatically, load 
balanceing would be good as well. I have googled, I could be looking in 
the wrong place , there seems not to be much in regard to seting up 
freebsd in a cluster, lots on linux. I have looked at the High 
Availability Linux project , I see on the front page that it will run on 
freebsd.


So I am a bit lost and i am wanting to learn how to cluster freebsd web 
and mail servers, I have looked at  Beowulf clusters, which seem to give 
computers more grunt, Can some on on the list please advise me on what 
clustering softwhere i need to get started and if the High Availability 
Linux project softwhere will do the job.



web links any thing to help me get started would be good. No I do not 
want to change over to linux.



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


No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 
270.5.12/1595 - Release Date: 2008-08-06 08:23






Hello,

I have been running freevrrpd and pen (http://siag.nu/pen/ or in ports) 
for HA web services.


My setup was a firewall/gateway consisting of more than 1 machine using 
freevrrpd thus enabling failover for the firewall/gateway. I write 
firewall and not firewalls since freevrrpd creates a virtual ip that is 
failover'ed between the machines.


On the firewall/gateway pen were running and pointed towards the web 
servers. Pen can point at as many web servers as you like and balances 
the load between them in a very simple way. If the web servers are 
identical in setup they become redundant. DNS loadbalancing is very 
similar.


Good luck!

/Roger

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


Re: freebsd and fluxbox locales

2008-07-31 Thread Roger Olofsson

Hello Kenneth,

I think you need to run xorgconfig and set the appropriate keyboard when 
creating xorg.conf.


For fluxbox there is however a file called keys in the .fluxbox 
directory if there is any special character you would want mapped


(For FreeBSD you set it with sysinstall but that is not the issue here)

/Roger



kenneth hatteland skrev:
I have read all I can google and the handbook trying to make my 
norwegian special keys working along with @ amongst others. so something 
is wrong with my locales.

I have been given many things to try but no luck whatsoever.

this is my.login.conf
:charset=ISO-8859-1:\
:lang=nb_NO.ISO8859-1:

this is .bashrc
export LANG=nb_NO.ISO-8859-1
export LC_ALL=nb.NO.ISO-8859-1

anyone who` s got something else for me to try is very apprecheated :)

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


No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 
270.5.9/1583 - Release Date: 2008-07-31 06:17





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


Re: Locate command

2008-07-10 Thread Roger Olofsson



Rem P Roberti skrev:

Whenever I do a locate command on a new installation I get this
message:

locate: database too small: /var/db/locate.database

Can someone give me a heads up on how to fix this?

Thanks,

Rem

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

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.4.7/1542 - Release Date: 2008-07-09 06:50






Actually, the very first thing I always do after installing a FreeBSD is 
add this line to crontab:


00 02 * * * /usr/libexec/locate.updatedb

I guess I'm a locate-freak ;^D

/Roger

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


Re: Load balance for POP3

2008-06-27 Thread Roger Olofsson



[EMAIL PROTECTED] skrev:

Hi All,

I need to switch the users connections between two POP3 servers 
based on login information.
Since the login is part of the pop3 handshake, I'm stuck on how to 
transfer the connection and pass the info already sent.
I'm trying to script something with socat 
(http://www.dest-unreach.org/socat/doc/socat.html).


I'll appreciate any clue.

TIA,

- Marcelo

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





No virus found in this incoming message.
Checked by AVG. 
Version: 8.0.101 / Virus Database: 270.4.1/1522 - Release Date: 2008-06-27 08:27


You might want to take a look at Pen /usr/ports/net/pen.

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


Off topic: Online article DIY - kernel module

2008-06-19 Thread Roger Olofsson

Dear newsgroup,

I accidentally stumbled over an article that allegedly describes how to 
make your own kernel module for FreeBSD7 and felt an urge to share this.


The article can be found and downloaded at www.freesoftwaremagazine.com.

/Roger

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


Re: Off topic: Online article DIY - kernel module

2008-06-19 Thread Roger Olofsson



Zbigniew Szalbot skrev:

Hi there,

Roger Olofsson:


Dear newsgroup,

I accidentally stumbled over an article that allegedly describes how 
to make your own kernel module for FreeBSD7 and felt an urge to share 
this.


The article talks about ULE scheduler. Would you recommend using it 
against SCHED_4BSD in this context:


CPU: Intel(R) Core(TM)2 Quad CPUQ6600  @ 2.40GHz (2400.01-MHz 
686-class CPU)
Jun 17 17:22:38 relay kernel: FreeBSD/SMP: Multiprocessor System 
Detected: 4 CPUs


Many thanks!

Zbigniew Szalbot


Dear Zbigniew,

May I suggest that you direct your question to the author of the article?

/Roger

___
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 fix this error?

2008-05-24 Thread Roger Olofsson

Hello Moshiur,

1. Fetch the file php-5.2.6.tar.bz2 from (for instance)

http://karakurty.odessa.ua/ftp/pub/FreeBSD/ports/distfiles/

2. Put the file in /usr/ports/distfiles


3. Run the portmanager command again.

Good luck!

/Roger



Moshiur Rahman Khan skrev:

Dear all,

I need to update some ports and portmanager could not succeed. Please help me 
and suggest me which activities should I apply to fix. Tell me detail because I 
am new in FreeBSD.

Best Regards,

Moshiur Rahman Khan


# portmanager -u -l

I found updated error for the following package: 


skipping php5-5.2.5_1 /lang/php5 marked IGNORE reason: failed during make
skipping php5-sockets-5.2.5_1 /net/php5-sockets until dependency php5-5.2.6 
updated
skipping php5-snmp-5.2.5_1 /net-mgmt/php5-snmp until dependency php5-5.2.6 
updated
skipping php5-gd-5.2.5_1 /graphics/php5-gd until dependency php5-5.2.6 updated
skipping jffnms-0.8.3_1 /net-mgmt/jffnms until dependency php5-5.2.6 updated
skipping php5-ctype-5.2.5_1 /textproc/php5-ctype until dependency php5-5.2.6 
updated
skipping php5-mysql-5.2.5_1 /databases/php5-mysql until dependency php5-5.2.6 
updated
skipping php5-pcre-5.2.5_1 /devel/php5-pcre until dependency php5-5.2.6 updated
skipping php5-session-5.2.5_1 /www/php5-session until dependency php5-5.2.6 
updated
skipping php5-bz2-5.2.5_1 /archivers/php5-bz2 until dependency php5-5.2.6 
updated
skipping php5-openssl-5.2.5_1 /security/php5-openssl until dependency 
php5-5.2.6 updated
skipping pecl-pdflib-2.1.4 /print/pecl-pdflib until dependency php5-5.2.6 
updated
skipping php5-zlib-5.2.5_1 /archivers/php5-zlib until dependency php5-5.2.6 
updated
skipping php5-mcrypt-5.2.5_1 /security/php5-mcrypt until dependency php5-5.2.6 
updated
skipping php5-mbstring-5.2.5_1 /converters/php5-mbstring until dependency 
php5-5.2.6 updated
skipping phpMyAdmin-2.11.4_1 /databases/phpmyadmin until dependency php5-5.2.6 
updated

portmanager 0.4.1_9 INFO: finished with some ports not updated  if --log was 
used see /var/log/portmanager.log

[b][u]Detail Given here in below:[/u][/b]

|--- /usr/ports/Mk/bsd.port.mk  Tue Nov  8 01:02:51 2005
|+++ bsd.port.mkWed Nov 16 02:16:57 2005
--
Patching file bsd.port.mk using Plan A...
Hunk #1 failed at 2049.
1 out of 1 hunks failed--saving rejects to bsd.port.mk.rej
done

MGPMrUpdate 0.4.1_9 command: #1 of 14  cd /usr/ports/lang/php5  make -V 
OPTIONS


checking for conflicts before building php5-5.2.5_1
MGPMrUpdate 0.4.1_9 command: #3 of 14  cd /usr/ports/lang/php5  make 
check-conflicts


intitial clean of work directories
MGPMrUpdate 0.4.1_9 command: #7 of 14:

===  Cleaning for /devel/autoconf261
===  Cleaning for /devel/autoconf261
===  Cleaning for /devel/pkg-config
===  Cleaning for /devel/pkg-config
===  Cleaning for /textproc/libxml2
===  Cleaning for /lang/php5

fetch php5-5.2.5_1
MGPMrUpdate 0.4.1_9 command: #8 of 14  cd /usr/ports/lang/php5  make fetch

===  Vulnerability check disabled, database not found
===  Found saved configuration for php5-5.2.5_1

update php5-5.2.5_1
MGPMrUpdate 0.4.1_9 command: #9 of 14  cd /usr/ports/lang/php5  make

===  Vulnerability check disabled, database not found
===  Found saved configuration for php5-5.2.5_1
===  Extracting for php5-5.2.6
= MD5 Checksum mismatch for php-5.2.6.tar.bz2.
= SHA256 Checksum mismatch for php-5.2.6.tar.bz2.
= MD5 Checksum OK for suhosin-patch-5.2.6-0.9.6.2.patch.gz.
= SHA256 Checksum OK for suhosin-patch-5.2.6-0.9.6.2.patch.gz.
===  Refetch for 1 more times files: php-5.2.6.tar.bz2 php-5.2.6.tar.bz2
===  Vulnerability check disabled, database not found
===  Found saved configuration for php5-5.2.5_1
= php-5.2.6.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from http://br.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
= Attempting to fetch from http://cn.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
= Attempting to fetch from http://dk.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
= Attempting to fetch from 

Re: simple network traffic query tool

2008-04-25 Thread Roger Olofsson



Tobias Kirschstein skrev:

hi,

i'm looking for a small tool to query the current network traffic (kb
IN and OUT) per interface. is there any sysctl or tool which gives me a
similar output to systat -ifstat:

/0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
 Load Average    
 
  Interface   Traffic   PeakTotal

lo0  in  0.000 KB/s  0.000 KB/s  226.079 KB
 out 0.000 KB/s  0.000 KB/s  226.079 KB

   wpi0  in  0.000 KB/s  0.000 KB/s  164.577 MB
 out 0.000 KB/s  0.000 KB/s6.205 MB

the background:
unfortunately the network monitor build into superkaramba does not work
for freebsd, os i want to write a widget which uses sysctl or any other
tool if available got get this information. systat is not appropriate
to be used because it does not terminate on its own as i see.




Hello,

If you want something more of a web service you could install SNMP from 
ports and use Cacti (also from ports). See http://www.cacti.net/ for a 
quick glance at what you'll get.


Just my nickels worth.

/Roger

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


Re: Quick+easy port redirect

2008-03-29 Thread Roger Olofsson



Tuc at T-B-O-H.NET skrev:

Hi,

Is there a quick/easy (cookbook?) way to do port
redirects. Basically I want that anything that leaves 
a specific interface to any ip on port 80 go to 
192.168.0.1 port 87.


I'm using ipfw for some other things so it has to
work and play well with that.

Thanks, Tuc


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




That leaves.

You mean only outgoing traffic from the interface and not incoming?

If you mean all traffic to and from, you could try bounce.

/usr/ports/net/bounce

Just my nickels worth.

/Roger








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


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread Roger Olofsson



Donald Laniohan skrev:

My task is to build a BSD server and do something with it. That is all the
information he gave me, that, and any questions I have to make Google my
best friend, which I have. i remember building my first whitebox, it was a
386 with windows 3.1. I remember when I built my 486 and stole a copy of
windows 95. I thought I was a savage. BSD, however, has showed me how
juvenile I have been. If I do not master BSD my brother is going to keep me
as a desktop support for his windows clients and I want to progress past
this. So he's giving me a 1u, and said to put BSD on it and make it do
something, im just so stuck in my windows comfort zone I can't think of what
I would need a unix server to that I couldn't make windows do for me. I know
this is trivial but if somebody could offer any suggestion or resource I,
and my career, would greatly appreciate it

 


Donald Laniohan

MLAN Consulting

San Diego, CA

[EMAIL PROTECTED]

 


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




 what I would need a unix server to that I couldn't make windows do 
for me.


The answer is - nothing. Both are operating systems for computers and 
have unlimited possibilities.


It's a matter of time and curiosity. Look at it like this:

Windows:
Easy things - short time to learn and do
Hard things - proprietary stuff - long time to learn and do

FreeBSD
Easy things - longer time than above to learn and do
Hard things - if you get through the easy stuff - it's a doodle

If you're curious enough, you'll find time to master both. And then the 
next thing you get curious of and so on.


On my behalf I started by trying FreeBSD some 10 odd years ago and 
noticed that it then vastly outperformed Windows for some of the things 
I used it for.


Another thing was the incredible stability. Been hooked ever since.

These days I've heard that Mac OSX is built on part of *BSD - must be a 
reason somewhere


As for resources the starting point was in the thread - that'd be 
www.freebsd.org of course and here's some more:


http://www.oreillynet.com/pub/au/73 - All hail Dru Lavigne!
http://www.freebsd.org/ports/
http://freebsdhowtos.com/
http://www.freebsd.org/projects/index.html
http://tomclegg.net/examples
http://freebsd.peon.net/
http://www.freshports.org/
http://freebsd.teekoo.com/
http://sourceforge.net/projects/mpd/
http://www.freebsddiary.org/
http://www.bsd.org/

...and of course www.google.com.

Just my nickels worth.

/Roger

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


Re: faster booting

2008-03-05 Thread Roger Olofsson



Martin McCormick skrev:

I second the statement about BIOS checks taking a long
time. After working with many FreeBSD boxes, mostly Dells and a
few IBM servers, they can take forever (2 to 3 minutes) which
seems like forever when one is trying to get back on line quickly.
If one is using a serial console, the \|/-\|/- of the
kernel loading doesn't start until most of that time is gone. I
am guessing the actual FreeBSD kernel bootup is maybe 30 seconds
or so. If you have a SCSI bus, be sure the settling time built
in to the boot process is as short as will still work correctly.
Earlier versions of FreeBSD waited 15 seconds default. I safely
got it down to 1.5 seconds and might have even gotten it shorter
if I really knew how long it took the bus to settle.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer

OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




I tend to not reboot machines...FreeBSD somehow makes that possible. But 
If I do a shutdown there's the CTRL-D to get it back up fast


Just my nickels worth.

/R

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


Re: rsync

2008-03-01 Thread Roger Olofsson



Gary Kline skrev:

On Friday 29 February 2008 19:25:50 Girish Venkatachalam wrote:

On 18:18:06 Feb 29, Gary Kline wrote:

Is there a flag I can set to use with rsync to backup every file of
/usr/home/* [here on my FBSD desktop] to my Ubuntu desktop that has
only /home/*??

Of course, I could always create /usr/home on my other computers. ...

Your question is not clear to me.

I use

$ rsync -avzp --delete /usr/home/* /home

if that is what you are looking for.


What does the --delete do?!  I want to make a complete copy of, say,
/usr/home/kline/* from here [tao] to my Ubuntu server, ethos, which has
a /home mountpoint--- in otheer words: /home/kline/*.   If the 
--delete /usr/home* /home  syntax will let rsync rewrite /usr/home to /home,
then fine. 


gary


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






--delete makes sure that if you delete a file on the source, it's also 
deleted on the mirror.


(Tip for those that use rsync to backup Windows machines to FreeBSD - 
You will most likely have to use --ignore-errors if you are syncing 
to/from windows machines with --delete.)


Just my nickels worth.

/R

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


Re: Mirroring / Cloning FreeBSD System

2008-02-28 Thread Roger Olofsson



FreeBSD-Utah skrev:

I have a question on how to mirror a FreeBSD
installation / system.

This environment will have two identical / separate
systems referred to as “System A” and “System B”

-   I want to install FreeBSD on to “System A”
-   Once that installation is complete with selected
ports and custom applications, I want to make an exact
duplicate of “System A” on “System B”

I don’t want to do this with drives in the same
system, rather I would like to “clone” “System A”

Also, it would be nice to be able to do this as a
“mirroring” solution to keep a clone over time of the
system in the case of failure of either “System A” or
“System B”

Is this possible to do? If so, any direction on how I
would do this would be welcome.

Is there a port / application that enables this?

Thank you in advance!



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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




I use rsync to mirror and freevrrpd for failover via heartbeat.

Freevrrpd should be in ports. Freevrrpd gives both systems the same 
virtual ip so you will need to avoid rsyncing the configuration file for 
it. There is a nice feature that makes you trigger a script when one 
system goes down to initialize configurations on the system taking over.


Mind you, if you are using firewall as part of the system you will need 
to alias the interfaces and use dns names in configuration files.


Just my nickels worth

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


Re: Setting Variables in expect Scripts From Shell Output

2008-02-25 Thread Roger Olofsson



Martin McCormick skrev:

While running an expect script, is it possible to set an
expect script variable to the string kept in a shell variable?

I can generate the shell variable just fine but when I
try to export it to the expect script for later use with something like:

set LOGFILENAME [exec echo \$TMPFILE]

something happens without error, but a later attempt to see the
contents of it such as

send_user $LOGFILENAME\n

proves that it never got set. It just echoes the literal string
LOGFILENAME.

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




If you're not too worried about speed my old trick to circumvent this 
was to simply write the variable to a temporary file then read in that 
file for the send_user thing later on...Providing the send_user is a 
script, mind you.


Just my nickels worth...remember to delete the tempfile though.

/R


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


Re: remote x session

2007-12-26 Thread Roger Olofsson



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


cheers,


You might want to look at WDM and Fluxbox. There are alot of other 
window managwers of course but these 2 have small overhead and run very 
nice. Read more at http://fluxbox-wiki.org/index.php/WDM . There are 
some tips in the mailing list archive for these to get you started as well.


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


Re: Difficulties establishing VPN tunnel with IPNAT

2007-11-25 Thread Roger Olofsson

Jerahmy Pocott skrev:
The Sonic Wall client doesn't trigger ANY firewall rules, which is why I 
thought
there must be something going wrong with the NAT. It actually 
establishes the

tunnel okay but never gets an IP address, from my understanding this client
uses some sort of dhcp over ipsec to provision the client address..

What I am getting using the standard PPTP method are a bunch of hits:

fxp1 @0:25 b x.x.x.x - 10.0.0.3 PR gre len 20 (93) IN NAT

(rule @0:25 is the final 'block all' rule)

What is protocol 'gre'? Why is a NAT'd packet getting blocked?!

Thanks!
J.

On 25/11/2007, at 9:09 AM, Roger Olofsson wrote:


Hello again Jerahmy,

I would suggest that you verify what port(s) and protocol(s) 'Sonic 
Wall Global VPN Client' needs to work.


I would also suggest that you look in the logfile from ipf to see what 
it's blocking and when.


My guess is that the VPN client is using a protocol like IPSEC (IP 
protocol 50) and possibly port 500 (IKE) for which you will have to 
activate the ipnat proxy.


map WAN internal_ip/24 - 0.0.0.0/32 proxy port 500 ipsec/udp

You might also try to disable the blocking of fragged packets. For 
some VPN clients this can cause problems.


Good luck!

/Roger



Jerahmy Pocott skrev:

Sorry let me clarify..
There are two issues, one is connecting to any external VPN, with no 
filter I
can establish a connection to PPTP VPN, but the 'Sonic Wall Global 
VPN Client'

still fails to connect even with no filter rules.
The redirect for the CVS server has an ipf rule to allow traffic on 
that port, but

users are getting connection refused messages.
I will include my ipf rules, I clearly need some sort of rule to 
allow inbound for
the VPN to work, though I think the ipnat is breaking the Sonic Wall 
client. Which

is strange because everything worked fine with ipfw/natd.
Here are my ipf rules:
# Allow all in/out on internel interface
pass in  quick on fxp0 all
pass out quick on fxp0 all
# Allow all in/out on loopback interface
pass in  quick on lo0 all
pass out quick on lo0 all
# Allow all out-going on public interface and keep state
pass out quick on fxp1 proto tcp  from any to any flags S keep state
pass out quick on fxp1 proto udp  from any to any keep state
pass out quick on fxp1 proto icmp from any to any keep state
# Block all inbound traffic from non-routable or reserved address spaces
block in quick on fxp1 from 192.168.0.0/16 to any#RFC 1918 
private IP
block in quick on fxp1 from 172.16.0.0/12 to any #RFC 1918 
private IP
block in quick on fxp1 from 10.0.0.0/8 to any#RFC 1918 
private IP

block in quick on fxp1 from 127.0.0.0/8 to any   #loopback
block in quick on fxp1 from 0.0.0.0/8 to any #loopback
block in quick on fxp1 from 169.254.0.0/16 to any#DHCP auto-config
block in quick on fxp1 from 192.0.2.0/24 to any  #reserved for docs
block in quick on fxp1 from 204.152.64.0/23 to any   #Sun cluster 
interconnect
block in quick on fxp1 from 224.0.0.0/3 to any   #Class D  E 
multicast

# Block frags
block in quick on fxp1 all with frags
# Block short tcp packets
block in quick on fxp1 proto tcp all with short
# block source routed packets
block in quick on fxp1 all with opt lsrr
block in quick on fxp1 all with opt ssrr
# Block anything with special options
block in quick on fxp1 all with ipopts
# Block public pings
block in quick on fxp1 proto icmp all icmp-type 8
# Block ident
block in quick on fxp1 proto tcp from any to any port = 113
# Block all Netbios service. 137=name, 138=datagram, 139=session
# Block MS/Windows hosts2 name server requests 81
block in quick on fxp1 proto tcp/udp from any to any port = 137
block in quick on fxp1 proto tcp/udp from any to any port = 138
block in quick on fxp1 proto tcp/udp from any to any port = 139
block in quick on fxp1 proto tcp/udp from any to any port = 81
# Allow CVS access
pass in quick on fxp1 proto tcp/udp from any to any port = 2401
# Logged Blocking Rules #
# Block nmap OS fingerprint attempts
block in log first quick on fxp1 proto tcp from any to any flags FUP
# Block all other in coming traffic
block in log first quick on fxp1 all
Thanks for the help!
J.
On 25/11/2007, at 12:50 AM, Roger Olofsson wrote:

Hello Jerahmy,

Assuming you want to connect from the outside to your VPN.

Have you made sure that port 2401 is open for inbound traffic in 
your ipf.rules?


You might also want to do 'ipnat -C -f path to ipnat.rules'. Man 
ipnat ;^)


Greeting from Sweden
/Roger



Jerahmy Pocott skrev:

Hello,
I recently decided to give ipf and ipnat a try, previously I had 
always been using
ipfw and natd. Since switching over I can no longer establish a VPN 
tunnel from

any system behind the gateway.
I did 'ipf -F a' to flush all rules but I was still unable to 
connect so I think it's a problem

with ipnat? Also my redirect from ipnat doesn't seem to work either.
These are the only ipnat rules I have:
(fxp1 is the external interface)
# ipnat built in ftp proxy rules
map fxp1

Re: Difficulties establishing VPN tunnel with IPNAT

2007-11-25 Thread Roger Olofsson



Jerahmy Pocott skrev:


On 26/11/2007, at 1:00 AM, Roger Olofsson wrote:


Hello Jerahmy, (sorry for top-posting, btw).

Gre is protocol 47. In your firewall rules you only allow/block 
protocols tcp/udp/icmp. If you want to use PPTP you will need to allow 
both the port and the protocol for it.


I put:

pass out quick on fxp1 proto gre from any to any keep state

This allowed the PPTP connection to establish, how ever trying to use apps
over that connection resulted in:

fxp1 (block all rule) b x.x.x.x - 10.0.0.3 PR gre len 20 (53) (frag 
57516:[EMAIL PROTECTED]) IN bad NAT


By placing to rule:

pass in quick on fxp1 proto gre from any to any

and allowing frags everything started working properly, but allowing all 
gre traffic in doesn't seem
like a good idea.. Is there any way to make this work without putting 
static ip address rules or allowing

all traffic?


In your original question you mentioned having problems with CVS. From 
the looks of it, you redirect CVS to 10.0.0.2, meaning that all users 
on that machine can use CVS.


The redirect rule is supposed to redirect connections to CVS on the 
external interface to

10.0.0.2 on the internal lan, where the CVS server is actually running.

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




Hello Jerahmy,

Some progress it seems? Why not set it to allow gre from VPN server 
only? Ie pass in quick on fxp1 proto gre from vpn server ip to any?


The way you ask your question, 'make it work without static ip or 
allowing all traffic', isn't that contradictory?


As for the frag part, I'd say that if gre needs frag, then you will have 
to enable it.


About the CVS, I seem to have misunderstood your question. I assumed 
10.0.0.2 wanted to recieve CVS inbound and not serve it outbound, or am 
I mistaking again?


/Roger

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


Re: Difficulties establishing VPN tunnel with IPNAT

2007-11-25 Thread Roger Olofsson



Jerahmy Pocott skrev:


On 26/11/2007, at 4:47 AM, Roger Olofsson wrote:

Hello Jerahmy,

Some progress it seems? Why not set it to allow gre from VPN server 
only? Ie pass in quick on fxp1 proto gre from vpn server ip to any?


The way you ask your question, 'make it work without static ip or 
allowing all traffic', isn't that contradictory?


As for the frag part, I'd say that if gre needs frag, then you will 
have to enable it.


About the CVS, I seem to have misunderstood your question. I assumed 
10.0.0.2 wanted to recieve CVS inbound and not serve it outbound, or 
am I mistaking again?


/Roger


Yes, that is what I meant by 'static ip' I could allow all gre from the 
specific ip address
but I would prefer that gre traffic be allowed from a host only when an 
existing connection

has been opened to it..

10.0.0.2 is a CVS server.

It seems to me that natd works better with ipsec
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





Hello again Jerahmy,

It would seem that there is a PPTP proxy in ipf that you might want to 
try as well. The syntax would be:


map fxp1 10.0.0.0/0 - 0/32 proxy port 1723 pptp/tcp

Good luck!

/Roger

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


Re: Difficulties establishing VPN tunnel with IPNAT

2007-11-24 Thread Roger Olofsson

Hello Jerahmy,

Assuming you want to connect from the outside to your VPN.

Have you made sure that port 2401 is open for inbound traffic in your 
ipf.rules?


You might also want to do 'ipnat -C -f path to ipnat.rules'. Man ipnat ;^)

Greeting from Sweden
/Roger



Jerahmy Pocott skrev:

Hello,

I recently decided to give ipf and ipnat a try, previously I had always 
been using
ipfw and natd. Since switching over I can no longer establish a VPN 
tunnel from

any system behind the gateway.

I did 'ipf -F a' to flush all rules but I was still unable to connect so 
I think it's a problem

with ipnat? Also my redirect from ipnat doesn't seem to work either.

These are the only ipnat rules I have:

(fxp1 is the external interface)

# ipnat built in ftp proxy rules
map fxp1 10.0.0.0/24 - 0/32 proxy port 21 ftp/tcp
map fxp1 0.0.0.0/0   - 0/32 proxy port 21 ftp/tcp

# CVS Server on Fileserv
rdr fxp1 0/32 port 2401 - 10.0.0.2 port 2401 tcp/udp

# nat all out going traffic on fxp1 from internal lan
map fxp1 10.0.0.0/24 - 0/32


I can post my firewall rules too if that would help, however with NO 
rules set it
still didn't work so I don't think that would help.. (I'm using the klm 
which is default

to accept?)

Thanks!
J.
___
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: Difficulties establishing VPN tunnel with IPNAT

2007-11-24 Thread Roger Olofsson

Hello again Jerahmy,

I would suggest that you verify what port(s) and protocol(s) 'Sonic Wall 
Global VPN Client' needs to work.


I would also suggest that you look in the logfile from ipf to see what 
it's blocking and when.


My guess is that the VPN client is using a protocol like IPSEC (IP 
protocol 50) and possibly port 500 (IKE) for which you will have to 
activate the ipnat proxy.


map WAN internal_ip/24 - 0.0.0.0/32 proxy port 500 ipsec/udp

You might also try to disable the blocking of fragged packets. For some 
VPN clients this can cause problems.


Good luck!

/Roger



Jerahmy Pocott skrev:

Sorry let me clarify..

There are two issues, one is connecting to any external VPN, with no 
filter I
can establish a connection to PPTP VPN, but the 'Sonic Wall Global VPN 
Client'

still fails to connect even with no filter rules.

The redirect for the CVS server has an ipf rule to allow traffic on that 
port, but

users are getting connection refused messages.

I will include my ipf rules, I clearly need some sort of rule to allow 
inbound for
the VPN to work, though I think the ipnat is breaking the Sonic Wall 
client. Which

is strange because everything worked fine with ipfw/natd.

Here are my ipf rules:

# Allow all in/out on internel interface
pass in  quick on fxp0 all
pass out quick on fxp0 all

# Allow all in/out on loopback interface
pass in  quick on lo0 all
pass out quick on lo0 all

# Allow all out-going on public interface and keep state
pass out quick on fxp1 proto tcp  from any to any flags S keep state
pass out quick on fxp1 proto udp  from any to any keep state
pass out quick on fxp1 proto icmp from any to any keep state

# Block all inbound traffic from non-routable or reserved address spaces
block in quick on fxp1 from 192.168.0.0/16 to any#RFC 1918 private IP
block in quick on fxp1 from 172.16.0.0/12 to any #RFC 1918 private IP
block in quick on fxp1 from 10.0.0.0/8 to any#RFC 1918 private IP
block in quick on fxp1 from 127.0.0.0/8 to any   #loopback
block in quick on fxp1 from 0.0.0.0/8 to any #loopback
block in quick on fxp1 from 169.254.0.0/16 to any#DHCP auto-config
block in quick on fxp1 from 192.0.2.0/24 to any  #reserved for docs
block in quick on fxp1 from 204.152.64.0/23 to any   #Sun cluster 
interconnect

block in quick on fxp1 from 224.0.0.0/3 to any   #Class D  E multicast
# Block frags
block in quick on fxp1 all with frags
# Block short tcp packets
block in quick on fxp1 proto tcp all with short
# block source routed packets
block in quick on fxp1 all with opt lsrr
block in quick on fxp1 all with opt ssrr
# Block anything with special options
block in quick on fxp1 all with ipopts
# Block public pings
block in quick on fxp1 proto icmp all icmp-type 8
# Block ident
block in quick on fxp1 proto tcp from any to any port = 113
# Block all Netbios service. 137=name, 138=datagram, 139=session
# Block MS/Windows hosts2 name server requests 81
block in quick on fxp1 proto tcp/udp from any to any port = 137
block in quick on fxp1 proto tcp/udp from any to any port = 138
block in quick on fxp1 proto tcp/udp from any to any port = 139
block in quick on fxp1 proto tcp/udp from any to any port = 81

# Allow CVS access
pass in quick on fxp1 proto tcp/udp from any to any port = 2401

# Logged Blocking Rules #

# Block nmap OS fingerprint attempts
block in log first quick on fxp1 proto tcp from any to any flags FUP

# Block all other in coming traffic
block in log first quick on fxp1 all

Thanks for the help!
J.

On 25/11/2007, at 12:50 AM, Roger Olofsson wrote:


Hello Jerahmy,

Assuming you want to connect from the outside to your VPN.

Have you made sure that port 2401 is open for inbound traffic in your 
ipf.rules?


You might also want to do 'ipnat -C -f path to ipnat.rules'. Man 
ipnat ;^)


Greeting from Sweden
/Roger



Jerahmy Pocott skrev:

Hello,
I recently decided to give ipf and ipnat a try, previously I had 
always been using
ipfw and natd. Since switching over I can no longer establish a VPN 
tunnel from

any system behind the gateway.
I did 'ipf -F a' to flush all rules but I was still unable to connect 
so I think it's a problem

with ipnat? Also my redirect from ipnat doesn't seem to work either.
These are the only ipnat rules I have:
(fxp1 is the external interface)
# ipnat built in ftp proxy rules
map fxp1 10.0.0.0/24 - 0/32 proxy port 21 ftp/tcp
map fxp1 0.0.0.0/0   - 0/32 proxy port 21 ftp/tcp
# CVS Server on Fileserv
rdr fxp1 0/32 port 2401 - 10.0.0.2 port 2401 tcp/udp
# nat all out going traffic on fxp1 from internal lan
map fxp1 10.0.0.0/24 - 0/32
I can post my firewall rules too if that would help, however with NO 
rules set it
still didn't work so I don't think that would help.. (I'm using the 
klm which is default

to accept?)
Thanks!
J.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any

Re: system admin question...

2007-10-12 Thread Roger Olofsson



Gary Kline skrev:
	This is for the system admins out there; I brought up this question 
	last weekend, (re xsysstats, an *old* app), but got no answers,

so again:

	What are the best tools, graphical or otherwise, that I can use 
	on  a dedicated Gnome [or CWTM, KDE, Whatever] workspace that
	will help me track each of my four or five computers?  
	(((Is xosview broken?  I have it running here on this pre xorg-7.2

system.)))  xsysstats seems reasonable; are there any others?
I'd like to be able to spot any overloads of file system snafus
	before they go critical... .   


thanks for any|all insights,

gary





Nagios and Cacti are your friends ;^)



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


FreeBSD and ImageMagick crashes OS?

2007-08-24 Thread Roger Olofsson

Dear mailing list,

The other day I encountered a strange phenomena. Having run FreeBSD 
since 3.x I have never had a server crash on me until now. I completely 
blame the FreeBSD developers for spoiling me like that.


Now, when I get spoiled, it's hard to go back so when my webserver tried 
to handle a 7Mb JPG using ImageMagick and managed to crash the server I 
naturally got curious.


Turns out ImageMagick was called through php to resize the .JPG and most 
likely, the server runs out of memory/disk space. /var/tmp fills up and 
console spews as follows:


Aug 22 19:29:49 rutilus kernel: vnode_pager_putpages: I/O error 28
Aug 22 19:29:49 rutilus kernel: vnode_pager_putpages: residual I/O 32768 
at 62620
Aug 22 19:29:49 rutilus kernel: pid 29 (syncer), uid 0 inumber 49382 on 
/var: filesystem full


Server drops net and does not respond to keyboard input, not even on 
console.


Now, I realize that changing settings for ImageMagick and having a 
bigger /var disk and using a smaller .JPG of course would avoid the crash.


But, I still am somewhat kerfuffled about the fact that it brings my 
favourite operating system to its knees I'd want FreeBSD to 
intercept and log the error, the application should in my world be 
contained by the operating system and never ever be allowed to crash it. 
As the old saying was once - an operating system should emulate 
crashes, not crash while emulating.


I know, I know, you can't stop applications from doing whatever crazy 
stuff they do and some might even crash the OS as it appears. Luckily 
there's 3 versions of the OS inbetween the crashes though ;^)


Just thought I'd share this with the list.

Greetings from Sweden
/Roger


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


Re: Gnome FreeBSD

2007-08-22 Thread Roger Olofsson

Michael S skrev:

Good day all,

I decided to add GUI to my GUI-less FreeBSD machine. I
am  considering installing Gnome, which I haven't used
for long while and the last time was on Linux anyway.
The reason is that most of my favorite applications
use gtk libraries, like Firefox, GAIM (can't get used
to the new name),wxPython and others. In short I
wanted to avoid 2 huge sets of libraries (gtk and qt)
by not installing KDE.
I wanted to know how Gnome feels on FreeBSD, is it
polished enough? Are there crashes? Any caveats at
all?

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




A while back on this list I read about fluxbox so I decided to try it 
out. I like it very much, it's very lightweight and very flexible. It's 
in the ports tree if you want to have a look.



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


Re: LAN failover redundandcy?

2007-08-03 Thread Roger Olofsson



Ewald Jenisch skrev:

Hi,

I'm looking for a way to configure failover redundancy for one of my
servers. To be specific:

The server in question has one IP-address but two LAN interfaces each
of them connecting to a different switch. 


Traffic normally runs only through one of the two interfaces; the
other is for redundandy only. In case the active LAN-interface goes
down (e.g. because of a link and/or switch failure) the second
LAN-interface should take over in the sense that traffic should run
through the second interface (again the server has only one
IP-address, so binding a different IP-address to the interface is not
an option here)

Is there any way how this can be configured under FreeBSD 6.2?

Thanks much in advance for your help,
-ewald

___
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 look at freevrrpd. It should be in ports.

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


Cleartype-similar?

2007-08-01 Thread Roger Olofsson

Dear Mailing List,

Is there something similar to cleartype for FreeBSD?

Grateful for any replies!

Greetings

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


Re: Drive concatenation...Which tool to use?

2007-07-26 Thread Roger Olofsson



John Nielsen skrev:

On Wednesday 25 July 2007, Josh Tolbert wrote:

I've got a friend that wants to use a FreeBSD box for a file server. He
has a huge pile of drives of different sizes, but he wants them all as
one big file system. What's the appropriate tool for this? gstripe
doesn't seem like it'd be smart to use with differently-sized drives. Is
gvinum up to snuff and stable enough to use? Is ccd still supported? What
would be your tool of choice?


gconcat, perhaps?

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




Gconcat looks mighty cool, will it be able to concat two devices that
already have existing filesystems on them and retain these? Say that ad0
has /usr and ad1 has /home will gconcat preserve these after concat:ing
ad0 with ad1?

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


Re: Remote Desktop tool for FreeBSD

2007-07-19 Thread Roger Olofsson



Ivan Carey skrev:

simon butsana wrote:

Hi,
 Does anyone know of a remote X client that can be used to 
establish a remote X session with a FreeBSD box.   As an example, I 
would greatly like to test a tool with features similar to Microsoft's 
Remote Desktop.

 Thanks,
 Simon

Roger Olofsson [EMAIL PROTECTED] a écrit :
 
Steve Franks skrev:
 

I just had this problem this week - drives are fine until you access
one and then disappears.

Checked my bios monitor page and 12V was only 11.8V. Changing from a
300W to a 500W power supply magically fixed the problem...

I don't claim that this is necessarily your problem, but it caught me
off-guard and it's worth looking at.

Steve

On 7/16/07, Roger Olofsson wrote:
   

Dear mailing list,

I have 2 IBM HDs and one WD HD (ata) in an old pc and for some reason
FBSD 6.2 can't find the IBMs on a warm-boot. Cold-boot is fine and, the
WD is fine.

The motherboard is an old Aopen AX34 and all settings are default 
except

for ACPI that's off.

The first thought that came to mind was that one of the IBMs are going
bad, but, I find it very unlikely that both HDs are doing it. One is a
120 and one is an 80gigger but both 'vanish' on warm-boot.

Some other setting in bios than ACPI?

Grateful for any answer,

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


  



Thank you for your answer. I'll check the PSU and if necessary replace 
it.


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




Simon-Pierre Butsana
  [EMAIL PROTECTED]
 I do not fear computers. I fear the lack of them.  —Isaac 
Asimov   
   -
 Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, 
conseils.. et vos réactions !

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


.

  

Simon,
I use x11vnc and kdm on the server and tightvnc on the client.

This setup works very well.

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





Dera Mailing List,

I am hijacking my thread back!

I use Xming on Windows as X client to connect remotely. It's on
Sourceforge - http://sourceforge.net/projects/xming .

Good luck!

To close the original thread, it turned out one HD of the two on same
IDE channel was dying, replaced it and issue is gone. For some strange
reason the dying HD locked up the IDE channel making both HDs vanish.

Thank you to all that responded!

/Roger

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


Re: IBM HDs vanish on warm-boot?

2007-07-17 Thread Roger Olofsson



Norberto Meijome skrev:

On Mon, 16 Jul 2007 23:54:19 +0200
Roger Olofsson [EMAIL PROTECTED] wrote:

The first thought that came to mind was that one of the IBMs are going 
bad, but, I find it very unlikely that both HDs are doing it. One is a 
120 and one is an 80gigger but both 'vanish' on warm-boot.


are they both attached to the same IDE Channel? could it (IDE channel) be dying? 


_
{Beto|Norberto|Numard} Meijome

I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Yes, they're on same channel. I'll move one to the other channel and see 
if there's a difference.


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


Re: IBM HDs vanish on warm-boot?

2007-07-17 Thread Roger Olofsson



Steve Franks skrev:

I just had this problem this week - drives are fine until you access
one and then disappears.

Checked my bios monitor page and 12V was only 11.8V.  Changing from a
300W to a 500W power supply magically fixed the problem...

I don't claim that this is necessarily your problem, but it caught me
off-guard and it's worth looking at.

Steve

On 7/16/07, Roger Olofsson [EMAIL PROTECTED] wrote:

Dear mailing list,

I have 2 IBM HDs and one WD HD (ata) in an old pc and for some reason
FBSD 6.2 can't find the IBMs on a warm-boot. Cold-boot is fine and, the
WD is fine.

The motherboard is an old Aopen AX34 and all settings are default except
for ACPI that's off.

The first thought that came to mind was that one of the IBMs are going
bad, but, I find it very unlikely that both HDs are doing it. One is a
120 and one is an 80gigger but both 'vanish' on warm-boot.

Some other setting in bios than ACPI?

Grateful for any answer,

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







Thank you for your answer. I'll check the PSU and if necessary replace it.

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


IBM HDs vanish on warm-boot?

2007-07-16 Thread Roger Olofsson

Dear mailing list,

I have 2 IBM HDs and one WD HD (ata) in an old pc and for some reason 
FBSD 6.2 can't find the IBMs on a warm-boot. Cold-boot is fine and, the 
WD is fine.


The motherboard is an old Aopen AX34 and all settings are default except 
for ACPI that's off.


The first thought that came to mind was that one of the IBMs are going 
bad, but, I find it very unlikely that both HDs are doing it. One is a 
120 and one is an 80gigger but both 'vanish' on warm-boot.


Some other setting in bios than ACPI?

Grateful for any answer,

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


What's the #-number from uname -a?

2007-04-15 Thread Roger Olofsson

Dear Mailing List,

Yesterday I csup:ed 2 machines to latest using same cvsup-server for 
both. After the standard procedure of doing:


make buildworld
make buildkernel
make installkernel
reboot
make installworld

..on both machines, one says 'FreeBSD 6.2-STABLE #2' and the other says 
'FreeBSD 6.2-STABLE #6'.


What does the number after the #-sign mean?


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


Re: Copy/move files between Windows and FreeBSD

2007-03-26 Thread Roger Olofsson

Hello Laszlo,

Going off on a tangent here, may I suggest that you try rsync (FreeBSD) 
with cwRsync (Windows) for this? It can use ssh and be fully automated. 
You will need rsync as client on both machines and to create the 
appropriate keys on respective machines.


Rsync is in ports and cwRsync is at http://itefix.no/cwrsync/ .

Good luck!





Nagy László Zsolt skrev:


 Hi,

I need to copy,move and delete files across two machines. They are 
located far away from each other. I have other FreeBSD machines and we 
were using SSH2 for this kind of task. Under windows, I could not find 
the right software. This is an automated task, and it is not 
complicated: copy/move all files from one computer to another. I was 
using putty and plink/pscp but it is not reliable. I could not start 
them from a win32 service. I could run them from a scheduled program but 
sometimes they freeze and then I have to kill and restart the whole 
thing. I'm looking for a more reliable tool that can do SCP in batch 
mode. Do you have any suggestions?


Thanks,

  Laszlo


___
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: log rotation recommendations

2007-03-24 Thread Roger Olofsson

Hello Jeffrey,

I am not familiar with logrotate but my newsyslog.conf rotates whatever 
I want just fine. As an example I have this for a small almost unused 
apache:


/var/log/httpd-access.log   644  7 1000 24B 
/var/run/httpd.pid 30
/var/log/httpd-error.log644  7 1000 24B 
/var/run/httpd.pid 30


You might want to adjust size settings etc and this can be found in the 
man page for newsyslog.conf.


Good luck!



Jeffrey Goldberg skrev:

Hello,

Having recently moved from Linux (SuSE) to FreeBSD (6.2-p3) I'm 
wondering what the recommended way of rotating logs (principally postfix 
and apache).  I see that logrotate, with which I'm familiar, is in 
ports.  I also see that there is a file /etc/newsyslog.conf, but it 
looks like newsyslog(8) only knows about HUPping syslogd.


If there is no conventional BSD way of doing this, I'll just install 
logrotate and go with what I know, but I thought I would check here first.


Thanks,

-j


--Jeffrey Goldberghttp://www.goldmark.org/jeff/

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



--No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.17/731 - Release Date: 
2007-03-23 15:27




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


Re: Tracking down memory leaks

2007-03-21 Thread Roger Olofsson

Hello Don,

I got the following tips when I asked the same question a while back:

Consider something like the valgrind port or dlmalloc.

---Chuck 

I ran them and gdb and I'm still hunting that memory leak. In my case I 
first suspected threads (software) to be the cause however as the chase 
has gone further it's narrowing down to the playing of ogg files.


I might be biased though. In my opinion memory leaks are always caused 
by software.


Good luck!



Don O'Neil skrev:

My setup seems to have a memory leak of some kind and I'm not sure how to
track it down

When I first start up the system and all the processes start the machine has

1GB in free memory... After running for 20-30 minutes the free memory drops

to somewhere around 20MB... The longer it runs, the more it chews up free
memory until it eventually kernel panics and then reboots and the process
starts all over again.

I originally thought the reboot was from bad RAM, so I swapped it out, but
that didn't help. I ran a memory check and everything checks out ok.

Any ideas where to look (Hardware? Bad CPU? Software?). Temperature is ok,
lots of fans in the box and round cables so there is good air flow. I'm
stumpted.

Thanks!

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



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


Re: Corrupted OS

2007-03-16 Thread Roger Olofsson

Hello Drew,

The procedure is described in the handbook chapter 21. May I suggest 
that you look at:


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

In your case, if you don't want to upgrade your source code, you could 
probably skip to chapter 21.4 and also skip the buildkernel and 
mergemaster steps.


I am assuming you have the source code to buildworld in /usr/src/?

Good luck!



Drew Jenkins skrev:

23Hi;
Is it possible to rebuild an OS without reformatting the hard drive? I have 
FBSD6.2, so I can't upgrade.
TIA,
Drew




 

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.

http://tools.search.yahoo.com/shortcuts/#news
___
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: DNS configuration at FreeBSD

2007-03-16 Thread Roger Olofsson

Hello there hiding behind an anonymous email account whoever you are,

Not knowing what you really ask for, since you don't provide much 
information I assume that you want to setup a small dns for LAN with 
forwarding to your ISP?


If this is correct may I suggest that you have look at djbdns from the 
ports tree and follow the guides at http://cr.yp.to/djbdns.html . The 
examples are plentiful and it's a fairly easy dns to setup and run.


Good luck!



neo neo skrev:

could u please tell me detail how to configure DNS ip ?
___
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: Rsync w/ Windows

2007-03-16 Thread Roger Olofsson

Hello Chris,

May I suggest that you take a peek at 
http://www.itefix.no/phpws/index.php?module=pagemasterPAGE_user_op=view_pagePAGE_id=6MMN_position=23:23


As example I have the following syntax in my cwrsync.cmd

(In this example I backup documents and settings from pc to FreeBSD by 
using the script cwrsync.cmd included in the cwrsync distribution. The 
script can be run with the windows scheduler)


rsync --exclude-from=excludefiles.txt -avz --delete -e ssh -i 
bin/.ssh/identify /cygdrive/c/documents and settings/username 
[EMAIL PROTECTED]:/path/on/freebsd/server


You will need to create a folder named .ssh in the bin folder of cwrsync 
and in that folder create the necessary ssh keys.


Good luck!



Chris Maness skrev:
I need to sync a directory with my freebsd box.  In linux/bsd I use the 
command  rsync -vaur [EMAIL PROTECTED]:/home/chris/beer /home/chris/beer and 
this works perfectly for me.  However, using the cwrsync package in 
windows with this syntax does not work.


Pleas help!
Thanks...


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


Re: Need a good Unix script that..

2007-03-14 Thread Roger Olofsson

Hello Bruce,

Without knowing more, may I suggest that you take a look at awk for 
doing this? You can combine awk and sed if you like. There's a good 
starting point at 
http://www.linuxfocus.org/English/September1999/article103.html


Good luck!



[EMAIL PROTECTED] skrev:

Hello,

I'm trying to write a script to delete all line that include a certain 
pattern in an output file. I sending information to one of our Security 
people and they take this data and create a spreadsheet on the 
information, I have a constant reoccurring lines within the output file 
that they do not need. I'm trying to use the sed command to remove lines 
that fits a certain pattern but it does not appear to remove anything.


Any helpful ideas or any useful links to scripts.

Thanks so much..

Bruce Stitt
TSYS Hosting Services
Voice 706-644-0965

-
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed. The information may also constitute a legally
privileged confidential communication. If the reader of this
message is not the intended recipient or an agent responsible for
delivering it to the intended recipient, you are hereby notified
that you have received this communication in error and that any
review, dissemination, copying, or unauthorized use of this
information, or the taking of any action in reliance on the
contents of this information is strictly prohibited. If you have
received this communication in error, please notify us immediately
by e-mail, and delete the original message. Thank you
___
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: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Roger Olofsson

Hello Pieter,

I hope this might be helpful for you. It's a forum for FreeBSD using 
nvidia. You can also find it from www.nvidia.com.


http://www.nvnews.net/vbulletin/forumdisplay.php?f=47

I found alot of helpful information there when setting up my OpenGL 
programming environment.


Good luck!



[EMAIL PROTECTED] skrev:

Pieter de Goeje wrote:


You really need to delete 'device AGP' from your kernel config and 
rebuild your kernel.


When everything is working OK, the hw.nvidia sysctl will look like this:
[EMAIL PROTECTED]:~ sysctl hw.nvidia
hw.nvidia.agp.card.rates: 8x 4x
hw.nvidia.agp.card.fw: supported
hw.nvidia.agp.card.sba: supported
hw.nvidia.agp.card.registers: 0xff000e1b:0x1f000302
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: nvidia
hw.nvidia.agp.status.rate: 8x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: enabled
[ ... ]
hw.nvidia.cards.0.model: GeForce 7600 GT
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.73.22.25.70
hw.nvidia.cards.0.type: AGP

Regards,
Pieter de Goeje
  


Do you have a link where I can more (newbie friendly) information on how 
to do this?


___
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: Recover Make ARG's from a ports Install

2007-03-12 Thread Roger Olofsson

Hello Alexander,

There's /var/db/ports/name of port for the result of make configure, 
if that is what you mean? Otherwise most ports should have their .conf 
and other settings in /usr/local/etc.


Good luck!



Alexander Schlichting skrev:
 


On a server I have a package installed using ports and now I have to install
the package with exactly the same make arguments on another server. I just
don't find a way to see what arguments where used to install it the first
time. With Linux I would look into config.status is there something similar
with FreeBSD? Sorry for having to ask but I am using FreeBSD for the first
days now after 5 years using Linux only :)

 


-Alex

 


___
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: polling my FreeBSD compariots...

2007-03-12 Thread Roger Olofsson

Hello Wojciech,

...If you should need to connect with a Windows box...(to a FreeBSD 
machine running X).


A part of Xming is a remote desktop client for Windows. You will find 
more information at - http://sourceforge.net/projects/xming.


Good luck!



Wojciech Puchar skrev:
They're minimalistic and slick to use. If you should need to connect 
with a windows box there's Xming. Look in the archives!


what is Xming?

with grep -i xming /usr/ports/INDEX
nothing found




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


Re: polling my FreeBSD compariots...

2007-03-12 Thread Roger Olofsson

Hello Wojciech,

May I suggest that you redirect these questions to the Xming forum? The 
link to the forum is at - http://sourceforge.net/projects/xming.





Wojciech Puchar skrev:

the one i was looking for very long!

as i don't have windoze anywhere close now could you tell me if:

1) this X server can use font server or Xorg format fontsets (.pcf.gz or 
.pcf)


2) does it work with xdm on server (just for sure, as naturally it should)

3) what keybinding will be blocked because it's used by windows alone? 
can it be used fullscreen with just one or two key combinations 
reserved to minimizing/iconizing it's display in windows.



i tried cygwin's X server (mostly doesn't work) some time ago. i tried 
others, and only vnc works but it's not X server/client but bitmap 
differentiation. and vnc X server wasn't able to accept -fp right. at 
least when i tried. no polish fonts etc...




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


Re: How Do I Find Find?

2007-03-12 Thread Roger Olofsson

Hello Drew,

As an alternative may I suggest using locate? You update the database by 
issuing /usr/libexec/locate.updatedb from shell.


Then just locate what you want.

Good luck!



Drew Jenkins skrev:

I built a home server to prepare  to build a new production server. Well, the latter is built out, but when I 
went back to the former, it said there was a problem with my last shutdown (which I don't remember) and went 
into single user mode. I went to run a find and it complained it couldn't find the 
find command! I thought, what the heck, no great loss, I'll just rebuild this machine. But after 
re-installing FBSD, it *still* can't find the find command! Now I'm worried!  It wasn't in 
/usr/bin/ What happened to this installation??
TIA,
Drew3
 
-

Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
___
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: polling my FreeBSD compariots...

2007-03-11 Thread Roger Olofsson

Hello Jonathan,

I had great help from this mailing list setting up wdm+fluxbox recently. 
They're minimalistic and slick to use. If you should need to connect 
with a windows box there's Xming. Look in the archives!


Good luck!



Jonathan Horne skrev:
ive been a KDE user for as long as i can remember.  this week, im off from 
work, and want to spend some time trying something new with my laptop.  so 
far i have it built with 6.2-RELEASE-p2, and xorg up to the minimal desktop.


id like to try to try something thats not gnome, or basically id like to try 
some of the lesser known, but still just as functional desktops.


can i get some recommendations, as well as what graphical mail reader and web 
browser works best with your recommendation?


thanks,
jonathan
___
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: Advice on IDS co.

2007-03-10 Thread Roger Olofsson

Hello David,

I've been using chkrootkit and it's fairly simple. Aide is a more free 
version of Tripwire and you might want to look at Snort. Both are in the 
ports tree. I suppose you have a firewall like IPFilter or PF already?


I've been keeping an eye out for a really slick syslogfile analyzer, I'd 
be grateful for any tips on something in that direction.


Good luck!




David Schulz skrev:

Hello all,

I would like to know what you guys think about chkrootkit, rkhunter and 
tripwire.


I am considering adding them on my Server for some added Security. I am 
aware, the holy grail would be to really dive into Jails, and the 
macframework, but still i would like to have some opinions on those 
mentioned Tools. Also, if you have other neat tricks to add some 
security to a Server, do tell.


Thank you very much and best regards,
David


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



--No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.8/716 - Release Date: 
2007-03-09 18:53




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


Re: Starting MySQL with different database directory

2007-03-05 Thread Roger Olofsson

Hello Dr. Nussbaum,

I do this quite alot but I prefer to do it like this:

1. stop mysqld.
2. copy the /var/db/mysql to where I want it to be
3. rename /var/db/mysql to keep the original (just in case)
4. create a symlink in /var/db that points to where I want it to be

You create a symlink by issuing the following command (in /var/db)

ln -s where I want it to be mysql

replace where I want it to be with the correct path to where you want 
your database files.


Good luck!



Dr. Jennifer Nussbaum skrev:

I hope this is the right place--i looked over the MySQL docs but they talk 
about a different startup practice than what FreeBSD uses.

I have a new install of MySQL 5.1 on a FreeBSD 6.2 system. I want to have my
MySQL data directory in a place other than /var/db/mysql. I thought i do this by
copying the appropriate my.cnf into /etc/my.conf and adding a line like 
datadir =
/usr/local/mysql/var/ and making it readable to mysql user. But this doesnt 
work;
 when i restart MySQL its still using /var/db/mysql.

So i looked at the mysql-server startup script in /usr/local/etc/rc.d and added 
to
rc.conf mysql_dbdir=/usr/local/mysql/var. (I DON'T want to do it this way,
because i really want my MySQL related configuration things in my MySQL
configuration file, not split between there and my FreeBSD startup file. What if
i need to start mysql in some other way? But for now im just trying to see what
i can get to work.) This seemed to change something--mysqld had been running
when i made this change and when I ran mysql-server stop it couldnt stop, 
because it was looking in /usr/local/mysql/var/foo.pid--i think this means it did

register the change to the new directory. But i couldnt then start it, because 
when
I run mysql-server start i get a Can't connect to local MySQL server through 
socket '/tmp/mysql.sock' error.


What's the right way to do this? Again id really prefer to do this all through 
the
my.cnf file, but this seems not to be getting read, at least for this reason.

Thank you.

Jen

 
-

Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food  Drink QA.
___
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: Starting MySQL with different database directory

2007-03-05 Thread Roger Olofsson

Dear Dr. Nussbaum,

On behalf of all the symlinks in the world I hereby state that 
symlinking is a highly underrated art  blah blah..


Just kidding ;^) You should of course do whatever you feel best.

Good luck!

/Roger


Dr. Jennifer Nussbaum skrev:
Kalashnikov Ilya [EMAIL PROTECTED] wrote:   On Mon, 2007-03-05 at 07:05 -0800, Dr. Jennifer Nussbaum wrote:  
I hope this is the right place--i looked over the MySQL docs but they talk about a different startup practice than what FreeBSD uses.  I have a new install of MySQL 5.1 on a FreeBSD 6.2 system. I want to have my MySQL data directory in a place other than /var/db/mysql. I thought i do this by copying the appropriate my.cnf into /etc/my.conf and adding a line like datadir = /usr/local/mysql/var/ and making it readable to mysql user. But this doesnt work;  when i restart MySQL its still using /var/db/mysql.  So i looked at the mysql-server startup script in /usr/local/etc/rc.d and added to rc.conf mysql_dbdir=/usr/local/mysql/var. (I DON'T want to do it this way, because i really want my MySQL related configuration things in my MySQL configuration file, not split between there and my FreeBSD startup file. What if i need to start mysql in some other way? But for now im just trying to see what i can get to work.) This seemed to change something--mysqld had been running
 when i made this change and when I ran mysql-server stop it couldnt stop,  because it was looking in /usr/local/mysql/var/foo.pid--i think this means it did register the change to the new directory. But i couldnt then start it, because when I run mysql-server start i get a Can't connect to local MySQL server through  socket '/tmp/mysql.sock' error.  What's the right way to do this? Again id really prefer to do this all through the my.cnf file, but this seems not to be getting read, at least for this reason.  Thank you.  Jen- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food  Drink QA. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]  
  
 Hi Dr. Jennifer Nussbaum.

 Need append to /etc/rc.conf follow line:
 mysql_dbdir=/mysql/db/location
 
 See please /usr/local/etc/rc.d/mysql-server.sh 
   Thats exactly what i did, if you look at what i wrote above. But when i do that i

cant start the server. (And as i said i also would like to have this in my MySQL
configuration file, not in a FreeBSD configuration file.)

Also, replying to a separate email from Roger Olofsson about just symlinking
/var/db/mysql to somewhere else: sure, i can do that, and i once had to do
that quickly when i accidently filled up my /var partition :-(. But here i have 
a
new install and i KNOW i want the data directory to go somwhere else, so id
like to do it by specifying it in the conf file and not by symlinking which has 
always felt like a kluge to me.


Jen

 
-

Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
___
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: Backup procedure question / theory

2007-03-01 Thread Roger Olofsson

Hello Dave,

May I suggest that you try rsync for this? For windows cwrsync works 
fine as client for Windows XP. It's rather easy to setup and can be 
triggered by the windows machine since it runs as a .bat or .cmd. For 
FreeBSD rsync is in ports.


With some nifty scripting you can setup the FreeBSD side to rotate the 
backups. There is a very good starting point for this at 
http://www.mikerubel.org/computers/rsync_snapshots/ .


Good luck!




Dave Carrera skrev:

HI All,

I need to automatically once a day backup some files on my Win 2003 
serve to my remote FreeBSD box running v6.


What i need specifically is to compress the win files as small as they 
can be then either set my FreeBSD box to go a get the file or tell win 
to send it to my FreeBSD box.


The stumbling block here is me, i have absolutely no idea what i need to 
do on each box to achieve this, having never done it before.


So i ask if any kind persons on the list can advise or even help me with 
this.


Many kind regards

Dave
___
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: sshd attempting to start twice?

2007-02-26 Thread Roger Olofsson

Hello,

Without knowing more, could sshd be listening to more than one interface 
 in your machine? If so, try setting 'ListenAddress 
your.ip.adress.here' in /etc/ssh/sshd_config.


Greetings
/Roger

Noah skrev:

Hi there,

any clues why sshd is attempting to start twice?


sshd[836]: error: Bind to port 22 on :: failed: Address already in use.
sshd[836]: error: Bind to port 22 on 0.0.0.0 failed: Address already in 
use.



here is the /etc/rc.conf of the server:

-- sysinstall generated deltas -- # Fri Jan 26 05:42:42 2007
# Created: Fri Jan 26 05:42:42 2007
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
linux_enable=YES
named_enable=YES
moused_enable=YES
nfs_client_enable=YES
nfs_server_enable=YES
rpcbind_enable=YES
sshd_enable=YES
sshd_program=/usr/local/sbin/sshd
sshd_flags=-f /etc/ssh/sshd_config
usbd_enable=YES
ntpd_enable=YES
ntpd_flags=-c /etc/ntp/ntp.conf
ntupdate=YES
ntpdate_config=/etc/ntp/ntp.conf
nfs_client_enable=YES
nfs_client_flags=-n 4
inetd_enable=YES
syslog_ng_enable=YES
syslog_ng_pid=/var/run/syslog-ng.pid



cheers,

Noah

___
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: Best partitioning scheme for my HDD? Please advise.

2007-02-20 Thread Roger Olofsson

Hello Joe,

May I suggest a small trick that really makes your life alot easier. Go 
with the default values when you install the FreeBSD, ie accept the 
sysinstall generated autos. (Make sure to make / and swap the first 
partitions though).


Now, whenever a partition gets filled up, just do a symlink to another 
partition. The command is ln -s and is a real lifesaver. Whenever all 
partitions are full, just stick another HD in the machine and ln -s to 
that drive.


Say f'rinstance that your /var/log gets filled up. Just symlink it to 
another partition with more space. (Of course when it comes to logs, you 
should always set these to rotate and newsyslog.conf is your friend.)


This works for everything, you can of course change stuff like the 
mysql-server.sh script to point database folders to different places 
than default but why bother when a simple symlink does the trick?


Now, the next trick I'd recommend is a bit more complicated to setup but 
it's basically the natural evolution of a symlink on a local machine. If 
you have another FreeBSD machine in your network, make one a NFS daemon 
and the other a NFS client and NFS-mount a drive from one machine to the 
other over the network. You could also use Samba to do this if your 
other machines aren't FreeBSD.


Good luck!

Greetings
/Roger

Joe Vender skrev:
I have a 6120MB HDD which will be dedicated to FreeBSD 6.2. I intend to 
install the ports collection and also KDE. I will operate from the KDE 
environment using FreeBSD as a standalone desktop machine connected to the 
net via a dialup internet connection. What would be the best sizes for the 
disk partitions so that I don't run out of space on any of them while also 
leaving the maximum amount of space possible for the future software to be 
installed?

My partitions will be:
/
swap
/var
/tmp
/usr

as suggested using the auto option during slice creation.

I've found that if I use the default sizes that are chosen by the installer 
using the auto option, the /usr partition fills up before everything is 
installed and the installation fails. If I remember correctly, the auto 
feature sets the sizes around the following sizes for my HDD:

/   ~500MB
swap~600MB
/var~1300MB
/tmp~ 500MB
/usr~3GB


I've played around with the sizes, reducing /var to around 350Mb, / to around 
256Mb, and /tmp to around 256Mb leaving the space gained to /usr. In this 
way, I got FreeBSD installed OK, but I'm considering installing it for a 
final time and using it exclusively for my desktop after testing various 
linuxes and FreeBSD and comparing them. So, I would like to get the sizes of 
FreeBSD's slices optimized. I'm sure there are plenty of people in the user 
community with a similar usage/size situation who can advise me.


Thanks,
Joe
___
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: Best partitioning scheme for my HDD? Please advise.

2007-02-20 Thread Roger Olofsson

Hello again Joe,

Maybe it depends on what packages you add when running sysinstall? I 
have 6.2 on a 6Gb Fujitsu drive and it fits nicely. I only pick kernel 
sources from the packages though. Only problem I've noticed is /usr/obj 
filling up when making buildworld but a symlink to another drive takes 
care of that.




Joe Vender skrev:

On Tuesday 20 February 2007 13:50, Roger Olofsson wrote:

Hello Joe,

May I suggest a small trick that really makes your life alot easier. Go
with the default values when you install the FreeBSD, ie accept the
sysinstall generated autos. (Make sure to make / and swap the first
partitions though).

Now, whenever a partition gets filled up, just do a symlink to another
partition. The command is ln -s and is a real lifesaver. Whenever all
partitions are full, just stick another HD in the machine and ln -s to
that drive.

I can't do this. When using the auto defaults, /usr fills up even before the 
installation is complete. But the suggestion is interesting for handling 
other slices for an already installed system. Thanks for the suggestion, 
Roger. Right now, I'm checking into just adding a PCI ATA/100 controller - my 
system is a 1999 model and uses ATA/33 :-( 
and upgrading my HDD to a more modern 40 or 80 Mb drive, possibly a Western 
Digital Caviar SE WD800JB 80GB IDE Ultra ATA100 Hard Drive. I can get the 
drive for around $45 at newegg.com, and it seems to be well received by 
customer reviews.


Joe

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


How to display .png?

2007-02-16 Thread Roger Olofsson

Dear Mailing List,

As usual, thanks alot for all answers to my previous questions! I will 
try and step up and answer the ones I can.


I'm still fiddling around with a machine that's upgraded to 6.2 and have 
encountered a small thing. Apache refuses to display .png pictures. This 
is probably some setting somewhere and I have looked in the following:


httpd.conf of course
php.ini

I have reinstalled and checked options for php5, I have checked options 
and reinstalled gd and I have compared httpd.conf and php.ini with a 
FreeBSD 5.5, I have run phpinfo on both machines and compared the 
results, they look very much alike. The 5.5 displays .pngs fine though.


I have also checked file permissions for the pictures, they all look 
fine. The output of httpd-error.log has no pointers.


What could be the magic trick? Probably something really simple?

___
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 display .png?

2007-02-16 Thread Roger Olofsson



Roger Olofsson skrev:

Christian Walther skrev:

On 16/02/07, Roger Olofsson [EMAIL PROTECTED] wrote:

Dear Mailing List,

As usual, thanks alot for all answers to my previous questions! I will
try and step up and answer the ones I can.

I'm still fiddling around with a machine that's upgraded to 6.2 and have
encountered a small thing. Apache refuses to display .png pictures. This
is probably some setting somewhere and I have looked in the following:

httpd.conf of course
php.ini

I have reinstalled and checked options for php5, I have checked options
and reinstalled gd and I have compared httpd.conf and php.ini with a
FreeBSD 5.5, I have run phpinfo on both machines and compared the
results, they look very much alike. The 5.5 displays .pngs fine though.

I have also checked file permissions for the pictures, they all look
fine. The output of httpd-error.log has no pointers.

What could be the magic trick? Probably something really simple?



Apache doesn't display images, it just serves them. That is to say
they are downloaded to the browser like any other file is, and the
browser displays them.
So, what configuration are you using? From what you've given so far
you obviously have to different machines.
What about the ./htdocs tree, is it the same on both machines, e.g.
did you copy it from the 5.5 machine to the new one? Where is the
browser running? Is it running locally on the 6.2 machine, or do you
have a third machine from which you access both servers?
How do you access the png-Images? Are they embedded in a web page,
e.g.  by a img src= alt= / tag, or do you follow a link?

How does it look like in your web browser? Is the image missing
entirely, or do you have a broken image icon where you expect the
image to be? If there is such an icon, what are its properties? (If
you're using firefox you can right click on the image icon and select
properties.)
If there is no icon, does anything strange happen, e.g. does your
browser display weird lines of text, or does it open a save as-dialog?

What I think is possible is that there is a difference in the
mime-type definition of both servers. If a file is requested from a
web server the server sends a header that hopefully contains the right
mime type. Depending on the mime-type the browser decides what it can
do with it. So if there is no definition for png on your server, it
might either be sent as a text- or binary file, resulting in strange
behaviour in your web browser.

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




Hello, and thank you for your reply,

It appears as if this is an application thing. I put the old version of 
b2evolution there and that one displays the .pngs fine, the new one 
(0.9.2) does not. Thanks for your input!


Greetings
/Roger


Hello, and thank you for your reply,

It appears as if this is an application thing. I put the old version of 
b2evolution there and that one displays the .pngs fine, the new one 
(0.9.2) does not. Thanks for your input!


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


Re: [SOLVED] php5-mysql? (with added bonus for snort)

2007-02-14 Thread Roger Olofsson



Roger Olofsson skrev:

Dear Mailing List,

As usual I would like to thank the replies I go to my earlier questions 
and I will try and step up and answer the ones I can.


Now for my question,

After a recent buildworld/portupgrade everything seems to be up to date 
except a few and among those are php5-extensions and to be more precise 
php5-mysql.


php5-mysql and php5-extensions reports
configure: error: mysql configure failed. Please check config.log for 
more information.

===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED]

The requisites are met, all the following are ok:

Requires: autoconf-2.59_2, libiconv-1.9.2_2, libxml2-2.6.27, m4-1.4.8_1, 
mysql-client-5.0.33, perl-5.8.8, php5-5.2.1, pkg-config-0.21


autoconf reports autoconf-2.13.000227_5 as well as 2.59_2, could this be 
the problem?


I tried make deinstall ; make install of php5 and of mysql (both client 
and server) but no luck so far.


What can I do?

Grateful for any answers!

Greetings

/Roger




This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --with-mysql=/usr/local --with-zlib-dir=/usr 
--with-php-config=/usr/local/bin/php-config --prefix=/usr/local 
i386-portbld-freebsd6.2

## - ##
## Platform. ##
## - ##

hostname = scomber.salt.sea
uname -m = i386
uname -r = 6.2-STABLE
uname -s = FreeBSD
uname -v = FreeBSD 6.2-STABLE #0: Sat Feb 10 10:48:02 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SCOMBER 


/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/local/libexec/autoconf259
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## --- ##
## Core tests. ##
## --- ##

configure:1500: checking for egrep
configure:1510: result: grep -E
configure:1515: checking for a sed that does not truncate output
configure:1569: result: /usr/bin/sed
configure:1640: checking for i386-portbld-freebsd6.2-gcc
configure:1666: result: cc
configure:1948: checking for C compiler version
configure:1951: cc --version /dev/null 5
cc (GCC) 3.4.6 [FreeBSD] 20060305
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1954: $? = 0
configure:1956: cc -v /dev/null 5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
configure:1959: $? = 0
configure:1961: cc -V /dev/null 5
cc: `-V' option must have argument
configure:1964: $? = 1
configure:1987: checking for C compiler default output file name
configure:1990: cc -O2 -fno-strict-aliasing -pipeconftest.c  5
configure:1993: $? = 0
configure:2039: result: a.out
configure:2044: checking whether the C compiler works
configure:2050: ./a.out
configure:2053: $? = 0
configure:2070: result: yes
configure:2077: checking whether we are cross compiling
configure:2079: result: no
configure:2082: checking for suffix of executables
configure:2084: cc -o conftest -O2 -fno-strict-aliasing -pipeconftest.c  5
configure:2087: $? = 0
configure:2112: result: 
configure:2118: checking for suffix of object files

configure:2139: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
configure:2142: $? = 0
configure:2164: result: o
configure:2168: checking whether we are using the GNU C compiler
configure:2192: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
configure:2198: $? = 0
configure:2202: test -z 
			 || test ! -s conftest.err

configure:2205: $? = 0
configure:2208: test -s conftest.o
configure:2211: $? = 0
configure:2224: result: yes
configure:2230: checking whether cc accepts -g
configure:2251: cc -c -g  conftest.c 5
configure:2257: $? = 0
configure:2261: test -z 
			 || test ! -s conftest.err

configure:2264: $? = 0
configure:2267: test -s conftest.o
configure:2270: $? = 0
configure:2281: result: yes
configure:2298: checking for cc option to accept ANSI C
configure:2368: cc  -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
configure:2374: $? = 0
configure:2378: test -z 
			 || test ! -s conftest.err

configure:2381: $? = 0
configure:2384: test -s conftest.o
configure:2387: $? = 0
configure:2405: result: none needed
configure:2423: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
conftest.c:2: error: syntax error before me
configure:2429: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me

Re: DJBDNS missing from ports?

2007-02-13 Thread Roger Olofsson

RW skrev:

On Sun, 11 Feb 2007 11:43:43 +0100
Roger Olofsson [EMAIL PROTECTED] wrote:


Dear Mailing List,

After a recent buildworld (6.2-STABLE FreeBSD) and portsnap fetch 
portversion reported djbdns as being in need of an upgrade, however 
portupgrade just exits like so:


# portupgrade -Rr djbdns-ipv6
#

ie, nothing happens.

A quick locate djbdns | grep ports gave the results that it might be
on the move from ports/dns to ports/net but there are no files for it
in net and the one in dns looks to be the one I have installed.


pkg_info -o *djbdns* 


will tell you the full package name and origin

However a similar thing recently happened to me, after the move of
portupgrade to a new category. I tried to run portupgrade on a port
and nothing happened. I'm not sure why it worked, because I didn't get
Command not found, but typing rehash fixed it.  


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



Hello,

I am sorry, below happens:

pkg_info -o *djbdns*
pkg_info: No match.

portversion -l 
djbdns-ipv6 

I am having problems with ports and specifically djbdns and php5-mysql 
after a buildworld and then a portsnap fetch/update. I have tried 
portmanager and more portsnaps but these two remain stubborn.


Rehash has been done.

Thanks for your input!

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


php5-mysql?

2007-02-12 Thread Roger Olofsson

Dear Mailing List,

As usual I would like to thank the replies I go to my earlier questions 
and I will try and step up and answer the ones I can.


Now for my question,

After a recent buildworld/portupgrade everything seems to be up to date 
except a few and among those are php5-extensions and to be more precise 
php5-mysql.


php5-mysql and php5-extensions reports
configure: error: mysql configure failed. Please check config.log for 
more information.

===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED]

The requisites are met, all the following are ok:

Requires: autoconf-2.59_2, libiconv-1.9.2_2, libxml2-2.6.27, m4-1.4.8_1, 
mysql-client-5.0.33, perl-5.8.8, php5-5.2.1, pkg-config-0.21


autoconf reports autoconf-2.13.000227_5 as well as 2.59_2, could this be 
the problem?


I tried make deinstall ; make install of php5 and of mysql (both client 
and server) but no luck so far.


What can I do?

Grateful for any answers!

Greetings

/Roger

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --with-mysql=/usr/local --with-zlib-dir=/usr 
--with-php-config=/usr/local/bin/php-config --prefix=/usr/local 
i386-portbld-freebsd6.2

## - ##
## Platform. ##
## - ##

hostname = scomber.salt.sea
uname -m = i386
uname -r = 6.2-STABLE
uname -s = FreeBSD
uname -v = FreeBSD 6.2-STABLE #0: Sat Feb 10 10:48:02 CET 2007 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/SCOMBER 

/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/local/libexec/autoconf259
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## --- ##
## Core tests. ##
## --- ##

configure:1500: checking for egrep
configure:1510: result: grep -E
configure:1515: checking for a sed that does not truncate output
configure:1569: result: /usr/bin/sed
configure:1640: checking for i386-portbld-freebsd6.2-gcc
configure:1666: result: cc
configure:1948: checking for C compiler version
configure:1951: cc --version /dev/null 5
cc (GCC) 3.4.6 [FreeBSD] 20060305
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1954: $? = 0
configure:1956: cc -v /dev/null 5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
configure:1959: $? = 0
configure:1961: cc -V /dev/null 5
cc: `-V' option must have argument
configure:1964: $? = 1
configure:1987: checking for C compiler default output file name
configure:1990: cc -O2 -fno-strict-aliasing -pipeconftest.c  5
configure:1993: $? = 0
configure:2039: result: a.out
configure:2044: checking whether the C compiler works
configure:2050: ./a.out
configure:2053: $? = 0
configure:2070: result: yes
configure:2077: checking whether we are cross compiling
configure:2079: result: no
configure:2082: checking for suffix of executables
configure:2084: cc -o conftest -O2 -fno-strict-aliasing -pipeconftest.c  5
configure:2087: $? = 0
configure:2112: result: 
configure:2118: checking for suffix of object files
configure:2139: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
configure:2142: $? = 0
configure:2164: result: o
configure:2168: checking whether we are using the GNU C compiler
configure:2192: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
configure:2198: $? = 0
configure:2202: test -z 
 || test ! -s conftest.err
configure:2205: $? = 0
configure:2208: test -s conftest.o
configure:2211: $? = 0
configure:2224: result: yes
configure:2230: checking whether cc accepts -g
configure:2251: cc -c -g  conftest.c 5
configure:2257: $? = 0
configure:2261: test -z 
 || test ! -s conftest.err
configure:2264: $? = 0
configure:2267: test -s conftest.o
configure:2270: $? = 0
configure:2281: result: yes
configure:2298: checking for cc option to accept ANSI C
configure:2368: cc  -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
configure:2374: $? = 0
configure:2378: test -z 
 || test ! -s conftest.err
configure:2381: $? = 0
configure:2384: test -s conftest.o
configure:2387: $? = 0
configure:2405: result: none needed
configure:2423: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
conftest.c:2: error: syntax error before me
configure:2429: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2566: checking whether 

Re: php5-mysql?

2007-02-12 Thread Roger Olofsson



Alain Wolf skrev:

On 12.02.2007 11:52, * Roger Olofsson wrote:

Dear Mailing List,

As usual I would like to thank the replies I go to my earlier questions
and I will try and step up and answer the ones I can.

Now for my question,

After a recent buildworld/portupgrade everything seems to be up to date
except a few and among those are php5-extensions and to be more precise
php5-mysql.

php5-mysql and php5-extensions reports
configure: error: mysql configure failed. Please check config.log for
more information.
===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED]

The requisites are met, all the following are ok:

Requires: autoconf-2.59_2, libiconv-1.9.2_2, libxml2-2.6.27, m4-1.4.8_1,
mysql-client-5.0.33, perl-5.8.8, php5-5.2.1, pkg-config-0.21

autoconf reports autoconf-2.13.000227_5 as well as 2.59_2, could this be
the problem?

I tried make deinstall ; make install of php5 and of mysql (both client
and server) but no luck so far.

What can I do?

Grateful for any answers!

Greetings

/Roger


I am not really sure if its the same issue, but I had the same problems
on two of my systems.
After I deinstalled and reinstalled mysql-client-5.0.33 it went fine again.
# cd /usr/ports/databases/mysql50-client/  make deinstall  make
reinstall

Hope this helps
Alain




I am sorry but this has been tried to no avail. I also (off the list) 
was encouraged to try portmanager but that also failed.


As I stated in my original mail, buildworld, portsnap fetch all are 
recent and php and mysql (both server and client) have been deinstalled 
and reinstalled but php5-mysql won't budgestill gives me this:


checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for 
more information.

===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
/usr/ports/databases/php5-mysql/work/php-5.2.1/ext/mysql/config.log 
including
the output of the failure of your make command. Also, it might be a good 
idea

to provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

A bit above I see this as well:

configure: WARNING: You will need re2c 0.9.11 or later if you want to 
regenerate PHP parsers.


Grateful for any more ideas!

Greetings!

/Roger



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


Re: php5-mysql?

2007-02-12 Thread Roger Olofsson

Hello,

Config.log was attached to the originating mail and that mail was cc:ed 
to the maintaner.


/Roger

Greg 'groggy' Lehey skrev:

On Monday, 12 February 2007 at 20:45:16 +0100, Roger Olofsson wrote:

Alain Wolf skrev:

On 12.02.2007 11:52, * Roger Olofsson wrote:

After a recent buildworld/portupgrade everything seems to be up to date
except a few and among those are php5-extensions and to be more precise
php5-mysql.

I am not really sure if its the same issue, but I had the same problems
on two of my systems.
After I deinstalled and reinstalled mysql-client-5.0.33 it went fine again.
# cd /usr/ports/databases/mysql50-client/  make deinstall  make
reinstall


I am sorry but this has been tried to no avail. I also (off the list)
was encouraged to try portmanager but that also failed.

As I stated in my original mail, buildworld, portsnap fetch all are
recent and php and mysql (both server and client) have been deinstalled
and reinstalled but php5-mysql won't budgestill gives me this:

checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for
more information.


And what does config.log say?

You might also check what files you have in /var/db/ports; there are
several option files there in subdirectories named after their port.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.

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


DJBDNS missing from ports?

2007-02-11 Thread Roger Olofsson

Dear Mailing List,

After a recent buildworld (6.2-STABLE FreeBSD) and portsnap fetch 
portversion reported djbdns as being in need of an upgrade, however 
portupgrade just exits like so:


# portupgrade -Rr djbdns-ipv6
#

ie, nothing happens.

A quick locate djbdns | grep ports gave the results that it might be on 
the move from ports/dns to ports/net but there are no files for it in 
net and the one in dns looks to be the one I have installed.


Then I fired up www.freebsd.org and did a port search for it and it's 
not there at all? Has it been removed from the ports tree?


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


Re: DJBDNS missing from ports?

2007-02-11 Thread Roger Olofsson
Sorry, it's found in the search at freebsd.org, don't know why it show 
up at first. However, portupgrade is treating it as if it's not there. 
I'll try another portsnap fetch.


Roger Olofsson skrev:

Dear Mailing List,

After a recent buildworld (6.2-STABLE FreeBSD) and portsnap fetch 
portversion reported djbdns as being in need of an upgrade, however 
portupgrade just exits like so:


# portupgrade -Rr djbdns-ipv6
#

ie, nothing happens.

A quick locate djbdns | grep ports gave the results that it might be on 
the move from ports/dns to ports/net but there are no files for it in 
net and the one in dns looks to be the one I have installed.


Then I fired up www.freebsd.org and did a port search for it and it's 
not there at all? Has it been removed from the ports tree?




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


  1   2   >