Re: natd not starting on boot-up

2006-06-07 Thread Björn König

Hello Roger,

what happens if you type

  /etc/rc.d/natd start

after boot-up?

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


Re: Openoffice compilation failure

2006-06-07 Thread Andrea Venturoli

Stephen Montgomery-Smith wrote:

I saw an email that suggested that the problem is that the epm that 
comes bundled with the openoffice source has a problem with argument 
lines that are too long.


Changing the name of the ports directory to /usr/p fixed it for me.


Thanks, Thanks, Thanks and Thanks again
Changing my WRKDIRPREFIX (which was very long) to "/t", let me finally 
compile the latest OpenOffice-2.0.


This is obviously a bug in the sources themselves, but it's something we 
can live with. However, I think at least it should be mentioned 
somewhere, maybe some ECHO_MSG in a pre-everything: in the Makefile. It 
would have saved me several months and compilation retries.


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


Re: natd not starting on boot-up

2006-06-07 Thread Roger Merritt

At 08:46 AM 6/7/2006 +0200, you wrote:

Hello Roger,

what happens if you type

  /etc/rc.d/natd start

after boot-up?


The script prints out the string " natd", leading space but no newline, and 
a process is started for natd.



--
Roger


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


quota printing ?

2006-06-07 Thread Frank Bonnet

Hello

I'm searching for a centralized quota printing solution that would run
over CUPS or LPRNG , I've reviewed pyquota but it doesn't fit our needings.

Ideally it could use a SYBASE database system as backend as we have a SYBASE
server ...

Thanks a lot.
--
Cordialement
Frank Bonnet

 To be or not to be  -- Shakespeare
 To do is to be  -- Nietzsche
 To be is to do  -- Kant
 Do be do be do  -- Sinatra
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: natd not starting on boot-up

2006-06-07 Thread Roger Merritt

At 04:35 PM 6/7/2006 +1000, you wrote:

On Wed, 07 Jun 2006 12:13:29 +0700
Roger Merritt <[EMAIL PROTECTED]> wrote:

> I'm thoroughly puzzled. Over the weekend I transferred my FreeBSD 
system to
> a new hard drive. Through laziness I didn't follow the instructions and 
had

> to make a completely new install. Everything now seems to be working the
> way it should, Apache, MySQL, PHP, syslog, Samba -- except natd. 
Everything
> starts on boot-up as it should -- except natd. I can start it manually 
from

> the command line after booting up and logging in and it works fine, but I
> can't tell what's going on that it's failing to start.
>
> My /etc/rc.conf contains the following:
>
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> defaultrouter="203.151.134.1"
> gateway_enable="YES"
> hostname="poppy.international.stjohn.ac.th"
> ifconfig_ed0="inet 10.3.16.125 netmask 255.255.255.0"
> ifconfig_ed1="inet 203.151.134.104  netmask 255.255.255.0"
> router_enable="YES"
> firewall_enable="YES"
> firewall_type="OPEN"
> firewall_quiet="YES"
> natd_enable="YES"
> natd_interface="ed1"
> ipv6_enable="YES"
> linux_enable="YES"
> moused_enable="YES"
> moused_port="/dev/sysmouse"
> moused_type="auto"
> screen="daemon"
> nfs_client_enable="YES"
> sshd_enable="YES"

That looks alright to me...

> What can I do to get some indication of where the problem is?

Are there any error messages relating to IPFW / natd on boot?


No, or at least none I could see. That's why I've asked for help.


What version of FreeBSD are you running?


6.1-STABLE


What's the command
you're running that _does_ launch natd successfully?


"/sbin/natd -n ed1". I hadn't thought about "/etc/rc.d/natd start" until 
someone suggested it, but that works too and reads the interface from 
/etc/rc.conf.



 What's the
output of "ls -l /etc/rc.d/natd"?


[poppy] ~# ls -l /etc/rc.d/natd
-r-xr-xr-x  1 root  wheel  978 May 31 09:52 /etc/rc.d/natd



--
Roger


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


Re: natd not starting on boot-up

2006-06-07 Thread Nick Withers
On Wed, 07 Jun 2006 15:23:18 +0700
Roger Merritt <[EMAIL PROTECTED]> wrote:

> At 04:35 PM 6/7/2006 +1000, you wrote:
> >On Wed, 07 Jun 2006 12:13:29 +0700
> >Roger Merritt <[EMAIL PROTECTED]> wrote:
> >
> > > I'm thoroughly puzzled. Over the weekend I transferred my FreeBSD 
> > system to
> > > a new hard drive. Through laziness I didn't follow the instructions and 
> > had
> > > to make a completely new install. Everything now seems to be working the
> > > way it should, Apache, MySQL, PHP, syslog, Samba -- except natd. 
> > Everything
> > > starts on boot-up as it should -- except natd. I can start it manually 
> > from
> > > the command line after booting up and logging in and it works fine, but I
> > > can't tell what's going on that it's failing to start.
> > >
> > > My /etc/rc.conf contains the following:
> > >
> > > # This file now contains just the overrides from /etc/defaults/rc.conf.
> > > defaultrouter="203.151.134.1"
> > > gateway_enable="YES"
> > > hostname="poppy.international.stjohn.ac.th"
> > > ifconfig_ed0="inet 10.3.16.125 netmask 255.255.255.0"
> > > ifconfig_ed1="inet 203.151.134.104  netmask 255.255.255.0"
> > > router_enable="YES"
> > > firewall_enable="YES"
> > > firewall_type="OPEN"
> > > firewall_quiet="YES"
> > > natd_enable="YES"
> > > natd_interface="ed1"
> > > ipv6_enable="YES"
> > > linux_enable="YES"
> > > moused_enable="YES"
> > > moused_port="/dev/sysmouse"
> > > moused_type="auto"
> > > screen="daemon"
> > > nfs_client_enable="YES"
> > > sshd_enable="YES"
> >
> >That looks alright to me...
> >
> > > What can I do to get some indication of where the problem is?
> >
> >Are there any error messages relating to IPFW / natd on boot?
> 
> No, or at least none I could see. That's why I've asked for help.
> 
> >What version of FreeBSD are you running?
> 
> 6.1-STABLE

Perhaps there's something wrong in the branch at present...?
Doubtful, I guess.

> >What's the command
> >you're running that _does_ launch natd successfully?
> 
> "/sbin/natd -n ed1". I hadn't thought about "/etc/rc.d/natd start" until 
> someone suggested it, but that works too and reads the interface from 
> /etc/rc.conf.
> 
> >  What's the
> >output of "ls -l /etc/rc.d/natd"?
> 
> [poppy] ~# ls -l /etc/rc.d/natd
> -r-xr-xr-x  1 root  wheel  978 May 31 09:52 /etc/rc.d/natd

Hmmm... Well that all seems OK, then.

The only other thing I can think of is that the
'router_enable'="YES"' line's creating dramas.

As I understand it, this'll cause /etc/rc.d/routed to attempt to
launch the routing daemon specified by a 'router="..."' line,
which you don't appear to have. I don't think this'd interfere
with natd anyway, but I don't really understand what the hell's
going on in /etc/rc.d/routed.

Sorry I can't be more helpful!
-- 
Nick Withers
email: [EMAIL PROTECTED]
Web: http://www.nickwithers.com
Mobile: +61 414 397 446
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


(no subject)

2006-06-07 Thread Dan Mahoney

Hey all.

Background: I build my sendmail from scratch, and have the sendmail build 
disabled in /etc/make.conf


I recently tried to build a sendmail milter that needed a very recent 
version of libmilter, and I found that FreeBSD has forever been including 
a libmilter.so file that's very old and butting heads with it (the 
libmilter.so file is dated somewhere around 2002, it was probably 
installed with the system).


I've found some instructions from weldon whipple here: 
http://www.technoids.org/libmilter.so.html


But since the shared milter doesn't seem to be common practice outside of 
BSD, and I build everything sendmail related (all other milters) from 
source, is it safe to just kill this file off?


Alternatively, if can someone can tell me the standard voodoo to make a 
sendmail milter (I'm trying to build dk-milter) use the static library 
rather than the shared, I'd love to know.


-Dan



--

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: natd not starting on boot-up

2006-06-07 Thread Derrick Ryalls

On 6/7/06, Nick Withers <[EMAIL PROTECTED]> wrote:

On Wed, 07 Jun 2006 15:23:18 +0700
Roger Merritt <[EMAIL PROTECTED]> wrote:

> At 04:35 PM 6/7/2006 +1000, you wrote:
> >On Wed, 07 Jun 2006 12:13:29 +0700
> >Roger Merritt <[EMAIL PROTECTED]> wrote:
> >
> > > I'm thoroughly puzzled. Over the weekend I transferred my FreeBSD
> > system to
> > > a new hard drive. Through laziness I didn't follow the instructions and
> > had
> > > to make a completely new install. Everything now seems to be working the
> > > way it should, Apache, MySQL, PHP, syslog, Samba -- except natd.
> > Everything
> > > starts on boot-up as it should -- except natd. I can start it manually
> > from
> > > the command line after booting up and logging in and it works fine, but I
> > > can't tell what's going on that it's failing to start.
> > >
> > > My /etc/rc.conf contains the following:
> > >
> > > # This file now contains just the overrides from /etc/defaults/rc.conf.
> > > defaultrouter="203.151.134.1"
> > > gateway_enable="YES"
> > > hostname="poppy.international.stjohn.ac.th"
> > > ifconfig_ed0="inet 10.3.16.125 netmask 255.255.255.0"
> > > ifconfig_ed1="inet 203.151.134.104  netmask 255.255.255.0"
> > > router_enable="YES"
> > > firewall_enable="YES"
> > > firewall_type="OPEN"
> > > firewall_quiet="YES"
> > > natd_enable="YES"
> > > natd_interface="ed1"
> > > ipv6_enable="YES"
> > > linux_enable="YES"
> > > moused_enable="YES"
> > > moused_port="/dev/sysmouse"
> > > moused_type="auto"
> > > screen="daemon"
> > > nfs_client_enable="YES"
> > > sshd_enable="YES"
> >
> >That looks alright to me...
> >
> > > What can I do to get some indication of where the problem is?
> >
> >Are there any error messages relating to IPFW / natd on boot?
>
> No, or at least none I could see. That's why I've asked for help.
>
> >What version of FreeBSD are you running?
>
> 6.1-STABLE

Perhaps there's something wrong in the branch at present...?
Doubtful, I guess.

> >What's the command
> >you're running that _does_ launch natd successfully?
>
> "/sbin/natd -n ed1". I hadn't thought about "/etc/rc.d/natd start" until
> someone suggested it, but that works too and reads the interface from
> /etc/rc.conf.
>
> >  What's the
> >output of "ls -l /etc/rc.d/natd"?
>
> [poppy] ~# ls -l /etc/rc.d/natd
> -r-xr-xr-x  1 root  wheel  978 May 31 09:52 /etc/rc.d/natd

Hmmm... Well that all seems OK, then.

The only other thing I can think of is that the
'router_enable'="YES"' line's creating dramas.

As I understand it, this'll cause /etc/rc.d/routed to attempt to
launch the routing daemon specified by a 'router="..."' line,
which you don't appear to have. I don't think this'd interfere
with natd anyway, but I don't really understand what the hell's
going on in /etc/rc.d/routed.

Sorry I can't be more helpful!
--


I don't run route(daemon) so I don't know about router_enable, but
here is what I have in my rc.conf to get natd working:

#router stuff
natd_program="/sbin/natd"
natd_enable="YES"
natd_interface="rl0"
natd_flags="-dynamic -f /etc/natd.conf"
gateway_enable="YES"

So I use gateway_enable not router_enable.

I don't know if this applies to your problem completely, but might be
worth a shot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


reading process memory

2006-06-07 Thread Tofik Suleymanov

Hello, folks

I believe that it is possible to read contents of the memory 
used/utilized by a process (assuming right privileges).
First i've tried to do this through procfs by reading 'mem' property of 
the given process, but no success.

Maybe there is another way of doing such things ?
Any clue would be appreciated.

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


Kernel module path

2006-06-07 Thread Richard Jones
Hi,

I'm having trouble loading kernel modules. Put simply "make
installkernel" seems install native kernel modules into /boot/kernel/,
but kldload seems to want to load them from /boot/modules.

Obviously I can load modules by hand and/or copy the modules into
/boot/modules, but surely there's a better way - either by modifying the
installkernel behaviour or kldload.

R
-- 
Richard Jones
MSN: [EMAIL PROTECTED]
Y!M: rwkjones
http://www.jonze.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: natd not starting on boot-up

2006-06-07 Thread Panagiotis

Roger Merritt wrote:

I'm thoroughly puzzled. Over the weekend I transferred my FreeBSD 
system to a new hard drive. Through laziness I didn't follow the 
instructions and had to make a completely new install. Everything now 
seems to be working the way it should, Apache, MySQL, PHP, syslog, 
Samba -- except natd. Everything starts on boot-up as it should -- 
except natd. I can start it manually from the command line after 
booting up and logging in and it works fine, but I can't tell what's 
going on that it's failing to start.


My /etc/rc.conf contains the following:

# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="203.151.134.1"
gateway_enable="YES"
hostname="poppy.international.stjohn.ac.th"
ifconfig_ed0="inet 10.3.16.125 netmask 255.255.255.0"
ifconfig_ed1="inet 203.151.134.104  netmask 255.255.255.0"
router_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
firewall_quiet="YES"
natd_enable="YES"
natd_interface="ed1"
ipv6_enable="YES"
linux_enable="YES"
moused_enable="YES"
moused_port="/dev/sysmouse"
moused_type="auto"
screen="daemon"
nfs_client_enable="YES"
sshd_enable="YES"

What can I do to get some indication of where the problem is?




Try to comment the line natd_enable="YES" and then add
a new line at the end of rc.conf:

/etc/rc.d/natd start

if this doesn't work, try to put 


natd_flags=""

in your rc.conf and plesase check your ipfw rule for nat
it should be something like this:

(with natd_flags="")
ipfw -q add divert natd all from any to any via your_public_interface


Good luck!!




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


Re: natd not starting on boot-up

2006-06-07 Thread Panagiotis

   Roger Merritt wrote:

 I'm thoroughly puzzled. Over the weekend I transferred my FreeBSD
 system to a new hard drive. Through laziness I didn't follow the
 instructions and had to make a completely new install. Everything
 now seems to be working the way it should, Apache, MySQL, PHP,
 syslog, Samba -- except natd. Everything starts on boot-up as it
 should -- except natd. I can start it manually from the command
 line after booting up and logging in and it works fine, but I can't
 tell what's going on that it's failing to start.
 My /etc/rc.conf contains the following:
 # This file now contains just the overrides from
 /etc/defaults/rc.conf.
 defaultrouter="203.151.134.1"
 gateway_enable="YES"
 hostname="poppy.international.stjohn.ac.th"
 ifconfig_ed0="inet 10.3.16.125 netmask 255.255.255.0"
 ifconfig_ed1="inet 203.151.134.104  netmask 255.255.255.0"
 router_enable="YES"
 firewall_enable="YES"
 firewall_type="OPEN"
 firewall_quiet="YES"
 natd_enable="YES"
 natd_interface="ed1"
 ipv6_enable="YES"
 linux_enable="YES"
 moused_enable="YES"
 moused_port="/dev/sysmouse"
 moused_type="auto"
 screen="daemon"
 nfs_client_enable="YES"
 sshd_enable="YES"
 What can I do to get some indication of where the problem is?

   Try to comment the line natd_enable="YES" and then add
   a new line at the end of rc.conf:
   /etc/rc.d/natd start
   if this doesn't work, try to put
   natd_flags=""
   in your rc.conf and plesase check your ipfw rule for nat
   it should be something like this:
   (with natd_flags="")
   ipfw -q add divert natd all from any to any via your_public_interface
   Good luck!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: natd not starting on boot-up

2006-06-07 Thread Roger Merritt

At 02:12 AM 6/7/2006 -0700, you wrote:

On 6/7/06, Nick Withers <[EMAIL PROTECTED]> wrote:

On Wed, 07 Jun 2006 15:23:18 +0700
Roger Merritt <[EMAIL PROTECTED]> wrote:

> At 04:35 PM 6/7/2006 +1000, you wrote:
> >On Wed, 07 Jun 2006 12:13:29 +0700
> >Roger Merritt <[EMAIL PROTECTED]> wrote:
> >
> > > I'm thoroughly puzzled. Over the weekend I transferred my FreeBSD
> > system to
> > > a new hard drive. Through laziness I didn't follow the 
instructions and

> > had
> > > to make a completely new install. Everything now seems to be 
working the

> > > way it should, Apache, MySQL, PHP, syslog, Samba -- except natd.
> > Everything
> > > starts on boot-up as it should -- except natd. I can start it manually
> > from
> > > the command line after booting up and logging in and it works 
fine, but I

> > > can't tell what's going on that it's failing to start.
> > >
> > > My /etc/rc.conf contains the following:
> > >
> > > # This file now contains just the overrides from 
/etc/defaults/rc.conf.

> > > defaultrouter="203.151.134.1"
> > > gateway_enable="YES"
> > > hostname="poppy.international.stjohn.ac.th"
> > > ifconfig_ed0="inet 10.3.16.125 netmask 255.255.255.0"
> > > ifconfig_ed1="inet 203.151.134.104  netmask 255.255.255.0"
> > > router_enable="YES"
> > > firewall_enable="YES"
> > > firewall_type="OPEN"
> > > firewall_quiet="YES"
> > > natd_enable="YES"
> > > natd_interface="ed1"
> > > ipv6_enable="YES"
> > > linux_enable="YES"
> > > moused_enable="YES"
> > > moused_port="/dev/sysmouse"
> > > moused_type="auto"
> > > screen="daemon"
> > > nfs_client_enable="YES"
> > > sshd_enable="YES"
> >
> >That looks alright to me...
> >
> > > What can I do to get some indication of where the problem is?
> >
> >Are there any error messages relating to IPFW / natd on boot?
>
> No, or at least none I could see. That's why I've asked for help.
>
> >What version of FreeBSD are you running?
>
> 6.1-STABLE

Perhaps there's something wrong in the branch at present...?
Doubtful, I guess.

> >What's the command
> >you're running that _does_ launch natd successfully?
>
> "/sbin/natd -n ed1". I hadn't thought about "/etc/rc.d/natd start" until
> someone suggested it, but that works too and reads the interface from
> /etc/rc.conf.
>
> >  What's the
> >output of "ls -l /etc/rc.d/natd"?
>
> [poppy] ~# ls -l /etc/rc.d/natd
> -r-xr-xr-x  1 root  wheel  978 May 31 09:52 /etc/rc.d/natd

Hmmm... Well that all seems OK, then.

The only other thing I can think of is that the
'router_enable'="YES"' line's creating dramas.

As I understand it, this'll cause /etc/rc.d/routed to attempt to
launch the routing daemon specified by a 'router="..."' line,
which you don't appear to have. I don't think this'd interfere
with natd anyway, but I don't really understand what the hell's
going on in /etc/rc.d/routed.

Sorry I can't be more helpful!
--


I don't run route(daemon) so I don't know about router_enable, but
here is what I have in my rc.conf to get natd working:

#router stuff
natd_program="/sbin/natd"
natd_enable="YES"
natd_interface="rl0"
natd_flags="-dynamic -f /etc/natd.conf"
gateway_enable="YES"

So I use gateway_enable not router_enable.

I don't know if this applies to your problem completely, but might be
worth a shot.


Well, I tried commenting it out and restarting. Everything seems to work 
without it, but natd still didn't start.


I can't remember exactly why I decided it should be in there (I also have 
'gateway_enable="YES"'), but it must have been something I read when I 
first started using FreeBSD back eight or ten years ago. Well, I'll leave 
it commented out for a while and see if other problems show up.



--
Roger


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


Re: slow system startup; recovering vi sessions

2006-06-07 Thread Toni Schmidbauer
At Wed, 7 Jun 2006 05:39:38 +0100 (BST),
dharam paul wrote:
> Is there a way to bring it out of this cycle of
> recovery so that the system boots faster.

normally vi recovery files are in /var/tmp/vi.recover. you can empty
this directory if you are sure that you do not need the saved files. 

hth,
toni 
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: lm/temp monitoring

2006-06-07 Thread Jim Stapleton

That works well enough, thank you!

-Jim Stapleton

On 6/6/06, Toni Schmidbauer <[EMAIL PROTECTED]> wrote:

At Tue, 6 Jun 2006 19:33:33 -0400,
Jim Stapleton wrote:
> What package contains the "lm" utility (driver?) use for temperature
> monitoring? What is a good package to get a reading of my
> CPU/Motherboard temperature reading in a semi-usr friendly format?

i'm using sysutils/mbmon on my athlon machines to monitor system temperature.

hth,
toni
--
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|


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


Re: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE

2006-06-07 Thread John DeStefano

Just an update on this: as you might expect, after deinstalling
apache22, reinstalling apache13, de/reinstalling PHP5, and adding the
"old" manual updates to httpd.conf, my server is back up and running.
A fitting conclusion to 1.5 days of self-induced stress.

Thanks to Mikhail, Kevin, "fbsd," and Rob for their help and thoughts.

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


FreeBSD Wireless Access Points with Atheros Cards

2006-06-07 Thread Nick Withers
G'day all,

I was recently asked to set up a wireless access point by a
mate. Having read section 27.3.3.2 - "Building a FreeBSD Access
Point" 
("http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html";)
from the FreeBSD Handbook I duly advised my friend that they'd
need to procure one of the Prism cards listed in the wi(4) man
page, as, according to the Handbook, "In order to set up a
wireless access point with FreeBSD, you need to have a
compatible wireless card. Currently, only cards with the Prism
chipset are supported".

When he got back to me the next day and said he couldn't find
one in any major store and that he'd been told they were no
longer available first-hand (whether all this is true or not,
I'm not entirely sure - but it's not really all that relevant
for the purposes of this question) I was a little surprised.

After much more stuffing about, the ath(4) man page caught my
eye and I found the magic sentence: "Supported features include
802.11 and 802.3 frames, power management, BSS, IBSS, and
host-based access point operation modes".

I've subsequently set the thing up and it's now chugging away
merrily in hostap mode with hostapd helping out with 802.11i
shennanigans. It appears to be fully operational.

My question, then, is this: Is the access point I've set up not
actually functioning as an access point in the strictest sense
of the term? Is the Handbook in need of a little attention in
this area?

I'll happily create a patch for the doc and submit a PR to
have it updated, but just wanted to check before doing so that
I'm not just being an idiot (I'm particularly good at that!).

Thanks all!
--
Nick Withers
email: [EMAIL PROTECTED]
Web: http://www.nickwithers.com
Mobile: +61 414 397 446
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD 6.1-STABLE

2006-06-07 Thread Robert Slade


-Original Message-
From: John DeStefano [mailto:[EMAIL PROTECTED] 
Sent: 07 June 2006 01:19
To: [EMAIL PROTECTED]
Subject: Re: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD
6.1-STABLE

> John,
>
> I have the same problem with a new install and asked the same question re
> php not working. One of the replys that I received was that the latest php
> port was broken and try the previous version. I haven't had chance to try
> that yet though.
>
> Rob

Hi Rob,

I'm hearing that too now as well... wish I'd realized it sooner.  I
wonder whether just reverting to an earlier version of PHP5 will be
enough though, or if it will also require an earlier apache version...
I guess we'll find out!

Thanks,
~John

John,

PHP4 works fine with Apache22, as I understand it; it is just the latest
port of PHP5 that the problem is with.

Rob

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


routing on FreeBSD 6.1 (from FreeBSD 4.10)

2006-06-07 Thread tim m

hello ..

I've been doing this on FreeBSD 4.10 and it has worked very well:

# for using sip_spoof
static_routes="spt mxs"
route_spt="-net 10.0.0.138/32 -interface 213.xx.xxx.xxx -cloning"
route_mxs="default 10.0.0.138"

this is with a Speedtouch 510, doing the "sip_spoof".

I now need to use a Speedtouch 715v5 using FreeBSD 6.1. I've set up the
modem
using a beta-sip_spoof, however, it seems that this routing is not working.
Would
FreeBSD 6.1 do this differently from FreeBSD 4.10?

ta,

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


Re: troubleshooting network settings

2006-06-07 Thread Malcolm Fitzgerald

Malcolm Fitzgerald wrote:
I am running freeBSD v6.0 security on a home network behind an adsl 
router.

I cannot connect to localhost from a browser (apache is running!)
I cannot connect to localhost port 22 (KPackage tries to use ssh)


On 29/05/2006, at 11:37 PM, Kevin Kinsey wrote:

Hmm, is that all?  Unusual; I'd think the loopback _should_ be set
up correctly.

`ifconfig lo0 inet 127.0.0.1 netmask 255.255.255.0`  ??

If that fixes it, then we have to figure out *why* it's not being
doing automatically.  Problem during init/rc, most likely ... weird.


I've not had time to address this problem for a week. Going through all 
the advice again I found that this advice is good. That fixes the 
problem. Any pointers on getting it done automatically?


malcolm

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


USB-Serial ??

2006-06-07 Thread John Andrewartha

Hi and thanks once again for the support,

The saga of the 3G modem.  Labeled in AU as the Maxon MM 5500c.
This device is a modem on the usb bus, it looks like and understands 
the at commands. Under XP.

I am using fbsd 6.1.
How do I get ppp to talk to it?
The man pages keep pointing to /dev/cuaU? A device that does not exist yet.
Also how do I set up the appropiate entry so as the boot process 
recognizes a (sio) with no hardware address and no irq ?
I would appreciate any suggestions by e-mail please, the daily's are 
difficult to get down at the moment, we are in a marginal CDMA area.


Regards John  mailto://[EMAIL PROTECTED]


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.394 / Virus Database: 268.8.2/356 - Release Date: 6/5/2006


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


Re: apache13 to 22

2006-06-07 Thread Dag Rune Sneeggen

Perttu Laine wrote:

On 12/9/05, Odhiambo Washington <[EMAIL PROTECTED]> wrote:



apachectl stop
cd /usr/ports/www/apache13
make deinstall
cd /usr/ports/www/apache22 && make install
cd /usr/ports/www/mod_php5
make -DWITH_APACHE2 -DFORCE_PKG_REGISTER reinstall



Just to inform you people about this old apache13 to apache22 upgrade -
worked just fine. I made config files ready earlier and it was only about
15mins downtime and everything went nicely and smoothly without problems
with this process. Except instead of ports/www/mod_php5 I used
ports/lang/php5, but that's same. :)


Actually www/mod_php5 and lang/php5 isn't exactly the same. www/mod_php5 
only includes the mod_php5 module, whilst lang/php5 includes the CLI php 
system as well :)


Nice to hear it worked so smoothly for you though!

--

Dag Rune Sneeggen
Romolslia 23B
7029 Trondheim
NORWAY
--
[EMAIL PROTECTED]

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


Generic Kernel suggestion

2006-06-07 Thread Danial Thom
It seems that Freebsd 6.1 (and likely others
versions as well) will hang when booted on a
machine with no parallel port. Since many newer
MBs are leaving the PP off due to lack of
interest, it might be a good idea to fix this,
since the point of a GENERIC kernel is that its a
superset of what's needed in most cases.

DT

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kernel module path

2006-06-07 Thread Nick Withers
On Wed, 7 Jun 2006 11:28:09 +0100
Richard Jones <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I'm having trouble loading kernel modules. Put simply "make
> installkernel" seems install native kernel modules into /boot/kernel/,
> but kldload seems to want to load them from /boot/modules.

>From kldload's man page:


FILES
 /boot/kernel  directory containing loadable modules.
Modules must have an extension of .ko.


This having been said, it _does_ look in /boot/modules as well.

I'm able to load a module from either directory without
specifying the full path and / or extension and without either
directory being my current working directory on 6.1-RELEASE.

What's the problem you're actually having? What version of
FreeBSD are you running?

> Obviously I can load modules by hand and/or copy the modules into
> /boot/modules, but surely there's a better way - either by modifying the
> installkernel behaviour or kldload.

I believe that base system kernel modules for the currently
installed kernel should be installed to /boot/kernel and that
kernel modules from outside FreeBSD (e.g.: nvidia.ko) are
installed to /boot/modules.

> R
> -- 
> Richard Jones
> MSN: [EMAIL PROTECTED]
> Y!M: rwkjones
> http://www.jonze.com
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
Nick Withers
email: [EMAIL PROTECTED]
Web: http://www.nickwithers.com
Mobile: +61 414 397 446
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kernel module path

2006-06-07 Thread Daniel Bye
On Wed, Jun 07, 2006 at 11:28:09AM +0100, Richard Jones wrote:
> Hi,
> 
> I'm having trouble loading kernel modules. Put simply "make
> installkernel" seems install native kernel modules into /boot/kernel/,
> but kldload seems to want to load them from /boot/modules.
> 
> Obviously I can load modules by hand and/or copy the modules into
> /boot/modules, but surely there's a better way - either by modifying the
> installkernel behaviour or kldload.

kldconfig(8) might be of help here.

Dan

-- 
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp2oiJytjsnL.pgp
Description: PGP signature


Re[2]: natd not starting on boot-up

2006-06-07 Thread voodoo
put this script into /usr/loca/etc/rc.d/

# cat /usr/local/etc/rc.d/natd.sh
#!/bin/sh
/sbin/natd -n rl1


> Roger Merritt wrote:

>> I'm thoroughly puzzled. Over the weekend I transferred my FreeBSD 
>> system to a new hard drive. Through laziness I didn't follow the 
>> instructions and had to make a completely new install. Everything now
>> seems to be working the way it should, Apache, MySQL, PHP, syslog, 
>> Samba -- except natd. Everything starts on boot-up as it should -- 
>> except natd. I can start it manually from the command line after 
>> booting up and logging in and it works fine, but I can't tell what's
>> going on that it's failing to start.
>>
>> My /etc/rc.conf contains the following:
>>
>> # This file now contains just the overrides from /etc/defaults/rc.conf.
>> defaultrouter="203.151.134.1"
>> gateway_enable="YES"
>> hostname="poppy.international.stjohn.ac.th"
>> ifconfig_ed0="inet 10.3.16.125 netmask 255.255.255.0"
>> ifconfig_ed1="inet 203.151.134.104  netmask 255.255.255.0"
>> router_enable="YES"
>> firewall_enable="YES"
>> firewall_type="OPEN"
>> firewall_quiet="YES"
>> natd_enable="YES"
>> natd_interface="ed1"
>> ipv6_enable="YES"
>> linux_enable="YES"
>> moused_enable="YES"
>> moused_port="/dev/sysmouse"
>> moused_type="auto"
>> screen="daemon"
>> nfs_client_enable="YES"
>> sshd_enable="YES"
>>
>> What can I do to get some indication of where the problem is?
>>


> Try to comment the line natd_enable="YES" and then add
> a new line at the end of rc.conf:

> /etc/rc.d/natd start

> if this doesn't work, try to put 

> natd_flags=""

> in your rc.conf and plesase check your ipfw rule for nat
> it should be something like this:

> (with natd_flags="")
> ipfw -q add divert natd all from any to any via your_public_interface


> Good luck!!




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



-- 
Skoryk Peter
80672343019
System Administrator at Yukon Mobile
icq:291130
VOO-UANIC
mailto:[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: Kernel module path

2006-06-07 Thread Richard Jones
On Wed, Jun 07, 2006 at 10:40:54PM +1000, Nick Withers wrote:
> On Wed, 7 Jun 2006 11:28:09 +0100
> Richard Jones <[EMAIL PROTECTED]> wrote:
> 
> > Hi,
> > 
> > I'm having trouble loading kernel modules. Put simply "make
> > installkernel" seems install native kernel modules into /boot/kernel/,
> > but kldload seems to want to load them from /boot/modules.
> 
> From kldload's man page:
> 
> 
> FILES
>  /boot/kernel  directory containing loadable modules.
> Modules must have an extension of .ko.
> 
> 
> This having been said, it _does_ look in /boot/modules as well.
> 
> I'm able to load a module from either directory without
> specifying the full path and / or extension and without either
> directory being my current working directory on 6.1-RELEASE.
> 
> What's the problem you're actually having? What version of
> FreeBSD are you running?

Yes, sorry, that wasn't the most infomational email.

FreeBSD-6.1-RELEASE.

me ~ # ls -1 /boot/kernel
   fire_saver.ko
   if_tun.ko
   ipfw.ko
   kernel
   libiconv.ko
   libmchain.ko
   linker.hints
   linux.ko
   smbfs.ko
me ~ # ls -1 /boot/kernel
   nvidia.ko
   linker.hints
me ~ # kldload smbfs
kldload: can't load smbfs: No such file or directory
me ~ # cp /boot/kernel/{smbfs.ko,libiconv.ko,libmchain.ko} /boot/modules/
me ~ # kldload smbfs

me ~ # kldstat
Id Refs AddressSize Name
 1   12 0xc040 3c68c4   kernel
 22 0xc07c7000 1f280linux.ko
 31 0xc07e7000 3f2e00   nvidia.ko
 61 0xc50e 2smbfs.ko
 72 0xc4f51000 4000 libiconv.ko
 82 0xc4154000 3000 libmchain.ko

-- 
Richard Jones
MSN: [EMAIL PROTECTED]
Y!M: rwkjones
http://www.jonze.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portupgrade question

2006-06-07 Thread Michael S

Good day everyone!

I have a portupgrade related question. I am behind a proxy and fetch
doesn't appear to cope with it very well. I installed wget and it
works great. I updated the pkgtools.conf to reflect that, however
portupgrade insists on using fetch for some reason. At first I thought
that portupgrade ignored its configuration file, however once or twice
I misstyped something and it did catch it.
Any hints?

P.S. I am running 5.5 if it makes any difference, although I think it shouldn't.

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


Re: slow system startup; recovering vi sessions

2006-06-07 Thread dharam paul
Hello,
Thank you very much.
There were nine files. I removed all of them.
Thanks for help please.

Regards
--- Toni Schmidbauer <[EMAIL PROTECTED]> wrote:

> At Wed, 7 Jun 2006 05:39:38 +0100 (BST),
> dharam paul wrote:
> > Is there a way to bring it out of this cycle of
> > recovery so that the system boots faster.
> 
> normally vi recovery files are in
> /var/tmp/vi.recover. you can empty
> this directory if you are sure that you do not need
> the saved files. 
> 
> hth,
> toni 
> -- 
> If you understand what you're doing, you're | toni
> at stderror dot at
> not learning anything.  | Toni
> Schmidbauer
> -- Anonymous|
> 


Send instant messages to your online friends http://in.messenger.yahoo.com 
 Stay connected with your friends even when away from PC.  Link: 
http://in.mobile.yahoo.com/new/messenger/  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: slow system startup; recovering vi sessions

2006-06-07 Thread Eric Schuele

dharam paul wrote:

Hello,
My freebsd 5.4 is taking about 5-7 minutes to
start/restart because it tries to recover the crashed
vi sessions. 
Is there a way to bring it out of this cycle of

recovery so that the system boots faster.

Thanks & Regars

Send instant messages to your online friends http://in.messenger.yahoo.com 
___

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



from the man page...

 -r Recover the specified files, or, if no files are specified, list
the  files  that could be recovered.  If no recoverable files by
the specified name exist, the file is edited as if the -r option
had not been specified.

After booting... login and type 'edit -r'.  and then 'edit -r '

 - or -

Not 100% on this so use at your own risk...
Have you tried clearing out /vat/tmp/vi.recover ?

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


WARNING: a geometry of 77545/16/63 for ad0 is incorrect

2006-06-07 Thread justin schlingmann

Hello,

I`m trying to install freebsd 6.1 from an iso i fetched from
ftp.uk.freebsd.org.
I get the following meassage:

WARNING: a geometry of 77545/16/63 for ad0 is incorrect uing a more likely
geometry.
If this geometry is incorrect or you are unshure wether or not it`s correct,
please consult the hardware guide
in the documentation submenu or use the geaometry command to change it now.

There seems to be a problem with my harddisk but i am not shure what it is.
I also get the following message when i try to fetch my distributions from
cdrom.
"write failurer on transfer"

maybe someone can help me figuring out the problem is.
Installing freebsd 5.5 goes wthout a problem.

Thanks,
Justin.

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


Re: AC97 sound card on 6.1

2006-06-07 Thread Sean

Gregory Nou wrote:

Dave wrote:

Hello,
   I'm atempting to get an integrated AC97 sound card working under 
6.1. I know this card works, loading the snd_driver module finds it, 
but i do not know which actual module works it over. I'd rather not 
have to load 26 sound modules just the ones i actually need. I've 
checked /boot/kernel/snd* but didn't find anything AC97 and googling 
showed that others had asked, but no clear answer. If anyone has this 
going i'd appreciate hearing about it, and also any difficulties with 
quality or getting applications going.

Thanks.
Dave.


Hi Dave,

Here is my setup.
device  sound   # sound support
device  "snd_ich"   # AC 97 Support

I am currently running 7.0, though this also worked for me on 6.1


Have Fun,
Sean

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


Re: i wish to buy your site

2006-06-07 Thread Jerry McAllister
> 
> On Sun, June 4, 2006 11:54, Richard Collyer wrote:
> > bill hunt wrote:
> >> dear webmaster.
> >> My name is Bill Hunt and I'm interested in purchsing your site.
> >> the price is nagotiable and I'm willing to pay as much as we can agree
> >> on.
> >> please let me know if it's ok by you and we'll start nagotiating.
> >> yours,
> >> Bill
> >
> > Wow. Microsoft in a if you can't beat 'em buy 'em. From Bill
> > himselfbe scared...very scared!
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
> >
> No, guys. All of *you* who responded to this mail failed to realize that
> this is a spam message, and that it is most probably just an alternative
> scam to the nigerian stuff.

No.  They all realized it.  That is why the responses were so silly - 
such as the one included above.No-one took it seriously.   Of course
it does serve to verify Email addresses for anyone who responds which
is what the spammer wants.

jerry

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


Latex TTF font installation:missing binaries

2006-06-07 Thread Vittorio
I'm trying to install new proprietary TTF fonts (helvetica neue) for 
use with pdflatex under freebsd 6.1.
In doing so, I'm following the 
many docs on the subject found either under the fontinst and fonts dir 
of texmf-dist or in the internet (plenty & somewhat misleading docs, 
indeed)  but many important files seem to be missing in the latest fbsd 
tetex package. 
To start with I cannot find the encoding the encoding 
T1-WGL4.enc file needed by ttf2afm.
Also seem to be far at bay ttf2pfm 
and ttf2pk binaries required, e.g., by the ttf2tex procedure.

Am I out 
of the right way?
Am I missing something?
Please help

Vittorio


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


Re: Firefox crashes and hangs my 6.1R system

2006-06-07 Thread Adi Pircalabu
On Wed, 07 Jun 2006 15:46:46 +1000 [EMAIL PROTECTED]
wrote:

> Lately, and seemingly inexplicably, firefox will lock up my X server
> with it if I click a button where filesystem access is required eg.
> if I'm in an 'upload file' form and a 'Browse...' button is available
> to go to a filesystem browser. If I ssh into the machine remotely I
> can see that Xorg is using 90+% CPU and the only way to recover is to
> reboot (which doesn't even execute cleanly). Interestingly, I can
> reproduce this situation when running firefox on a remote host but
> displaying locally so it seems more likely X/system related than
> specifically firefox.  When the machine hangs, even the keyboard is
> non functional eg scroll lock won't light. I have USB keyboard/mouse.

Hi Joel,

I tried to reproduce it on two 6.1-STABLE systems but with no result,
file upload works just fine. I have a bad feeling that it's very hard
to reproduce.
On the other hand, did the problem started to occur at a specified
date? Can you link the problem with a world / ports update?
However:

> I'd appreciate any tips for diagnosis/recovery. I've appended the most
> relevant configuration information. I've already rebuilt and installed
> kernel/world to ensure I'm up to date, and portupgraded as much as
> practicable. I should note that I haven't changed my build options for
> firefox since pre-crash, either.

Try to reproduce the above described behaviour and jump over with gdb.
Sort of:

gdb /usr/X11R6/lib/firefox/firefox-bin 
(... wait)
(gdb) t a a bt full
Save the output for all threads and post it on freebsd-gnome@
But wait, there's more :)

> regards,
> -- Joel Hatton --
> Infrastructure Manager  | Hotline: +61 7 3365 4417
> AusCERT - Australia's national CERT | Fax: +61 7 3365 7031
> The University of Queensland| WWW: www.auscert.org.au
> Qld 4072 Australia  | Email:   [EMAIL PROTECTED]
> 
> Firefox options:
> 
> # This file is auto-generated by 'make config'.
> # No user-servicable parts inside!
> # Options for firefox-1.5.0.4,1
[...]
> WITH_LOGGING=true
> WITH_OPTIMIZED_CFLAGS=true

The above options are not the defaults for Ff, try rebuilding it using:
WITHOUT_LOGGING=true
WITHOUT_OPTIMIZED_CFLAGS=true

> 6.1-RELEASE-p1
> 
[snip]
> 
> My current kernel config file:
> 
> machine i386
> cpu I686_CPU
> ident   GX260
> options SCHED_ULE   # ULE scheduler

Do you need SCHED_ULE? Try SCHED_4BSD instead, Ff is very picky when it
comes to threads.

-- 
Adi Pircalabu (PGP Key ID 0x04329F5E)



-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/

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


Re: troubleshooting network settings

2006-06-07 Thread Alex Zbyslaw

Malcolm Fitzgerald wrote:


Malcolm Fitzgerald wrote:

I am running freeBSD v6.0 security on a home network behind an 
adsl router.

I cannot connect to localhost from a browser (apache is running!)
I cannot connect to localhost port 22 (KPackage tries to use ssh)




On 29/05/2006, at 11:37 PM, Kevin Kinsey wrote:


Hmm, is that all?  Unusual; I'd think the loopback _should_ be set
up correctly.

`ifconfig lo0 inet 127.0.0.1 netmask 255.255.255.0`  ??

If that fixes it, then we have to figure out *why* it's not being
doing automatically.  Problem during init/rc, most likely ... weird.



I've not had time to address this problem for a week. Going through 
all the advice again I found that this advice is good. That fixes the 
problem. Any pointers on getting it done automatically?


What does /etc/rc.conf show for lo0 related things?  (And just to check 
your defaults as well...)


egrep lo0 /etc/rc.conf /etc/defaults/*


Mine shows:

/etc/defaults/rc.conf:ifconfig_lo0="inet 127.0.0.1" # default 
loopback device configuration.


--Alex



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


burncd error

2006-06-07 Thread Josh Paetzel
I'm running 6.1-RELEASE

Trying to burn iso's using burncd gives me an error.

gimpy# burncd -f /dev/acd0 -s 48 data i386pkg-3.0.iso fixate

next writeable LBA 0
writing from file i386pkg-3.0.iso size 710566 KB
written this track 710566 KB (100%) total 710566 KB
fixating CD, please wait..
burncd: ioctl(CDRIOCFIXATE): Input/output error

The 'funny' thing about this is that the CDs I burn work fine.  (I've 
tried several different ISOs and have checked the md5's on all of 
them.)

Anyone have an idea of what is going on?  I never tried to burn 
anything with 6.0-RELEASE and it worked fine on 5.4-RELEASE

dmesg is attached.

-- 
Thanks,

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

Re: reading process memory

2006-06-07 Thread James Riendeau
How are you defining "assuming right privileges"?  The only way  
you're going to be able to read another processes address space is in  
the kernel.  Even a process running as root is not able to read  
another process's data.  One of the principle responsibilities of the  
OS is to manage the private memory space of each process, and I  
emphasize private.  The last thing you would want on a secure system  
is the ability of other processes to read or write to another  
process's address space.  Even a parent process should not be able to  
read a child's address space, as the fork logically duplicates their  
address space and they go their separate ways.  An attempt to read  
another processes address space should trap to the kernel and the  
kernel should kill the process immediately.  There is one exception  
to this:  you can setup a pipe or memory share between two processes,  
however, both processes have to agree to share some memory or connect  
via a pipe.  I'm not going to give you a howto via email as the  
subject usually fills a solid chapter in most OS books.


James Riendeau
MMI Computer Support Technician
1300 University Ave
Rm. 436, Dept. of MedMicro
Madison, WI  53706

Phone: (608) 262-3351
After-hours Phone: (608) 260-2696
Fax: (608) 262-8418
Email: [EMAIL PROTECTED]



On Jun 7, 2006, at 4:49 AM, Tofik Suleymanov wrote:


Hello, folks

I believe that it is possible to read contents of the memory used/ 
utilized by a process (assuming right privileges).
First i've tried to do this through procfs by reading 'mem'  
property of the given process, but no success.

Maybe there is another way of doing such things ?
Any clue would be appreciated.

Thanks,
Tofik Suleymanov
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[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: Makefile for rpm-4.0.4_4

2006-06-07 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

> I connected to www. Freebsd.org, sherched for rpm and got to a page
> with several rpm ports that can be downloaded. Since O have FreeBSD
> 6.0 I figured I could go for the latehast rpm which is 4.0.4_4. So I
> first downloaded rpm4.tar, and put it in my /usr/rpm/rpm4/
> dir. rpm4.tar contains the makefile.Then I downloaded rpm-4.0.4_4.tbz
> and put it in my /usr/ports/ dir. But I could see that the make file
> was not interested in a tbz file so I connected to the internet and
> started make so it coul;d go get the file it wanted. Make did so.

The latter file was a pre-compiled binary package.  pkg_add(1) will
install it for you.

> I think I also unzipped the rpm-4.0.4_4 tbz file. Somehow I ended up
> with two sub-directories to my /usr/rpm/rpm4 directory They are Files
> and Work. The files Dir contains a bunch of patch files.
>
> From what you said about "a patch in the port skeleton which isn't
> appropriate to the
> source that had been un-tarred from rpm-4.0.4.tar.gz.", perhaps I
> should delete everything and start over with just the rpm4.tar file in
> my /usr/rpm/rpm4/ dir. Am I correct in thinking that the only file I
> need to untar is rpm4.tar, and when I execute the extracted make file
> and there is no other rpm stuff in my directories, MAKE INSTALL should
> work?

More or less.  But you don't seem to have the rest of the ports tree
installed on your system at all, which would keep it from working.

You will find this much easier if you try to follow the supported
procedures.  Please see the FreeBSD Handbook's documentation on the
subject at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD Wireless Access Points with Atheros Cards

2006-06-07 Thread Mark Moellering
Nick,

I tried this maybe a month back.  I added an ath card to a firewall 
(becoming 
the third NIC) and set it up following the directions.  While I could connect 
to the access point/firewall, I could not get to anything beyond it.  After 
some reading, I decdied to buy a standalone access point and replace the 
wireless ath card with a wired card to use to connect to the access point.  
The standalone access point (Netgear) wasn't that much more than the card and 
from everything I have read is the better way to go.
If you are able to sned data through the access point, I would love to 
hear 
about it...

Sincerely

Mark 

On Wednesday 07 June 2006 8:11 am, Nick Withers wrote:
> G'day all,
>
> I was recently asked to set up a wireless access point by a
> mate. Having read section 27.3.3.2 - "Building a FreeBSD Access
> Point"
> ("http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireles
>s.html") from the FreeBSD Handbook I duly advised my friend that they'd
> need to procure one of the Prism cards listed in the wi(4) man
> page, as, according to the Handbook, "In order to set up a
> wireless access point with FreeBSD, you need to have a
> compatible wireless card. Currently, only cards with the Prism
> chipset are supported".
>
> When he got back to me the next day and said he couldn't find
> one in any major store and that he'd been told they were no
> longer available first-hand (whether all this is true or not,
> I'm not entirely sure - but it's not really all that relevant
> for the purposes of this question) I was a little surprised.
>
> After much more stuffing about, the ath(4) man page caught my
> eye and I found the magic sentence: "Supported features include
> 802.11 and 802.3 frames, power management, BSS, IBSS, and
> host-based access point operation modes".
>
> I've subsequently set the thing up and it's now chugging away
> merrily in hostap mode with hostapd helping out with 802.11i
> shennanigans. It appears to be fully operational.
>
> My question, then, is this: Is the access point I've set up not
> actually functioning as an access point in the strictest sense
> of the term? Is the Handbook in need of a little attention in
> this area?
>
> I'll happily create a patch for the doc and submit a PR to
> have it updated, but just wanted to check before doing so that
> I'm not just being an idiot (I'm particularly good at that!).
>
> Thanks all!
> --
> Nick Withers
> email: [EMAIL PROTECTED]
> Web: http://www.nickwithers.com
> Mobile: +61 414 397 446
> ___
> 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: Kernel module path

2006-06-07 Thread Nikolas Britton

On 6/7/06, Richard Jones <[EMAIL PROTECTED]> wrote:

Hi,

I'm having trouble loading kernel modules. Put simply "make
installkernel" seems install native kernel modules into /boot/kernel/,
but kldload seems to want to load them from /boot/modules.



3rd party kernel modules go in /boot/modules and /boot/kernel is for
FreeBSD only.


Obviously I can load modules by hand and/or copy the modules into
/boot/modules, but surely there's a better way - either by modifying the
installkernel behaviour or kldload.



Yes, this drives me nuts too. For example the kqemu port gets
installed in /boot/kernel and highpoint's manuals tell you to install
drivers there too. The problem is that if you rebuild your kernel or
do a buildworld et. al. it will wipeout  everything in /boot/kernel...
This is why we have /boot/modules, everything in here will survive a
kernel rebuild, buildworld, etc...


From the loader man page (FreeBSD 6.1):

"module_path
Sets the list of directories which will be searched for modules named
in a load command or implicitly required by a dependency. The default
value for this variable is ``/boot/kernel;/boot/modules''."


From the hier man page (FreeBSD 6.1):

 "  /boot/ programs and configuration files used during operating system
   bootstrap

   defaults/  default bootstrapping configuration files; see
  loader.conf(5)
   kernel/pure kernel executable (the operating system loaded
  into memory at boot time).
   modules/   third-party loadable kernel modules; see kldstat(8)"



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


Re: Kernel module path

2006-06-07 Thread John Nielsen
On Wednesday 07 June 2006 12:22, John Nielsen wrote:
> On Wednesday 07 June 2006 08:41, Daniel Bye wrote:
> > On Wed, Jun 07, 2006 at 11:28:09AM +0100, Richard Jones wrote:
> > > Hi,
> > >
> > > I'm having trouble loading kernel modules. Put simply "make
> > > installkernel" seems install native kernel modules into /boot/kernel/,
> > > but kldload seems to want to load them from /boot/modules.
> > >
> > > Obviously I can load modules by hand and/or copy the modules into
> > > /boot/modules, but surely there's a better way - either by modifying
> > > the installkernel behaviour or kldload.
> >
> > kldconfig(8) might be of help here.
>
> There is a sysctl that controls this.  By default on my 6-STABLE it is:
>
> %sysctl kern.module_path
> kern.module_path: /boot/kernel;/boot/modules;/usr/local/modules
>
> So the FreeBSD 5.x and newer default of putting kernel modules in
> /boot/kernel is covered.  Check the output of the above command on your
> system and check /etc/sysctl.conf for any overrides.

Oh, I don't think /usr/local/modules is there by default.  It was added on my 
system by one of the FUSE ports I'm using.  The first two are definitely 
there by default, though. Sorry for the misinformation.

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


Re: Kernel module path

2006-06-07 Thread John Nielsen
On Wednesday 07 June 2006 08:41, Daniel Bye wrote:
> On Wed, Jun 07, 2006 at 11:28:09AM +0100, Richard Jones wrote:
> > Hi,
> >
> > I'm having trouble loading kernel modules. Put simply "make
> > installkernel" seems install native kernel modules into /boot/kernel/,
> > but kldload seems to want to load them from /boot/modules.
> >
> > Obviously I can load modules by hand and/or copy the modules into
> > /boot/modules, but surely there's a better way - either by modifying the
> > installkernel behaviour or kldload.
>
> kldconfig(8) might be of help here.

There is a sysctl that controls this.  By default on my 6-STABLE it is:

%sysctl kern.module_path
kern.module_path: /boot/kernel;/boot/modules;/usr/local/modules

So the FreeBSD 5.x and newer default of putting kernel modules in /boot/kernel 
is covered.  Check the output of the above command on your system and 
check /etc/sysctl.conf for any overrides.

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


FreeBSd 6.1 hylafax and Acorp modem...

2006-06-07 Thread Casper


 Hi,

 I tryed to setup hylafax fax server with Acorp internal modem with 
conexant-RH56D-PCI chip set.



I installed from ports hylafax and try to setup it:

fax# faxsetup

Setup program for HylaFAX (tm) 4.2.5.
Created for i386-unknown-freebsd6.1 on Wed Mar 15 17:04:26 UTC 2006.
Checking system for proper client configuration.
Checking system for proper server configuration.

Warning: /bin/vgetty does not exist or is not an executable program!

The file:

/bin/vgetty

does not exist or this file is not an executable program.  The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error.  If the
program resides in a different location and you do not want to
install a symbolic link for /bin/vgetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.


Warning: /bin/egetty does not exist or is not an executable program!

The file:

/bin/egetty

does not exist or this file is not an executable program.  The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error.  If the
program resides in a different location and you do not want to
install a symbolic link for /bin/egetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.


Warning: Font metric information files were not found!

The font metric information file for the Courier font was not found in
the /usr/local/lib/afm path.  This means that client HylaFAX applications
that use this information to format ASCII text for submission as fax will
use incorrect information and generate potentially illegible facsimile.

If font metric information is present on your system in a directory other
than /usr/local/lib/afm then you can setup a symbolic link to the 
appropriate

directory or you can specify the appropriate pathname in the configuration
file /usr/local/lib/fax/hyla.conf with a line of the form:

FontPath:   someplace_unexpected

If you do not have the font metric information files loaded on your system
system you can obtain them by public FTP from the place where you obtained
the HylaFAX software or from the master FTP site at ftp.sgi.com.

FATAL ERROR: /usr/local/bin/gs does not exist or is not an executable 
program!


The file:

/usr/local/bin/gs

does not exist or this file is not an executable program.  The HylaFAX
software expects this program to exist and be in this location.  If the
program resides in a different location then you must either reconfigure
and rebuild HylaFAX or override the default pathnames in the distributed
software through one of the HylaFAX configuration files (consult the
HylaFAX documentation).



So one problem, by default it has not in dependency list getty and 
ghostscript...



I tried to install mgetty and found that there is no /dev/cuaa1.


I`m in dead end with this modem?

tnx,

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


Re: reading process memory

2006-06-07 Thread Bill Moran

> > I believe that it is possible to read contents of the memory used/ 
> > utilized by a process (assuming right privileges).
> > First i've tried to do this through procfs by reading 'mem'  
> > property of the given process, but no success.
> > Maybe there is another way of doing such things ?
> > Any clue would be appreciated.

see "man 5 procfs"

[I removed -stable, as I think it's unnecessary cross-posting]

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


kdehier port fails package build

2006-06-07 Thread Nikolas Britton

infomatic# make package-recursive
===>  Building package for kdehier-1.0_9
Creating package /usr/ports/packages/All/kdehier-1.0_9.tbz
Registering depends:.
Creating bzip'd tar ball in '/usr/ports/packages/All/kdehier-1.0_9.tbz'
tar: share/templates/.keep_me: Cannot stat: No such file or directory
pkg_create: make_dist: tar command failed with code 256
*** Error code 1

Stop in /usr/ports/misc/kdehier.



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


On mail principles

2006-06-07 Thread a
A brief:

How to use "envelope from" provided that I have a mailbox on ISP.

A full explanation:

My computer has no static IP-address, nor DNS-name in Internet.
Internally, it has static name "localhost" and static IP-address 127.0.0.1.

So, I have a mail address "[EMAIL PROTECTED]".
But I cannot send a mail to the world using this address in "envelope from"
because of
1) Internet MTAs cancel mail whith such an address in "envelope from";
2) such an address is useless to recipient.

My address in the world is "[EMAIL PROTECTED]".
So, I make my MUA to send a letter using a command
setting "envelope from" to "[EMAIL PROTECTED]".
(like 
sendmail -f [EMAIL PROTECTED]
for sendmail, see "X-Authentication-Warning" in the header of this mail)
But this way is bad for local purposes: my MTA's diagnostic messages are sent
trough internet or lost at all, e. g. when my ADSL is in down.
(Moreover, my letters sent to other local users have non-local "envelope from"
address. Then local mail begin to go through external MTA.)

What to do in such a situation?

In principle, I can write a ruleset (in sendmail.cf by hand)
for my sendmail to rewrite
"envelope from" in outgouing mail from "[EMAIL PROTECTED]" to "[EMAIL 
PROTECTED]"
and to leave it unchanged in local mail.

But I think this is not a good solution, is it?

I use sendmail 8.13.6 on FreeBSD 6.1-RELEASE,
but the problem depends not on MTA nor on OS.

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


Re: Kernel module path

2006-06-07 Thread Nikolas Britton

On 6/7/06, Richard Jones <[EMAIL PROTECTED]> wrote:

On Wed, Jun 07, 2006 at 10:40:54PM +1000, Nick Withers wrote:
> On Wed, 7 Jun 2006 11:28:09 +0100
> Richard Jones <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > I'm having trouble loading kernel modules. Put simply "make
> > installkernel" seems install native kernel modules into /boot/kernel/,
> > but kldload seems to want to load them from /boot/modules.
>
> From kldload's man page:
> 
>
> FILES
>  /boot/kernel  directory containing loadable modules.
> Modules must have an extension of .ko.
> 
>
> This having been said, it _does_ look in /boot/modules as well.
>
> I'm able to load a module from either directory without
> specifying the full path and / or extension and without either
> directory being my current working directory on 6.1-RELEASE.
>
> What's the problem you're actually having? What version of
> FreeBSD are you running?

Yes, sorry, that wasn't the most infomational email.

FreeBSD-6.1-RELEASE.

me ~ # ls -1 /boot/kernel
   fire_saver.ko
   if_tun.ko
   ipfw.ko
   kernel
   libiconv.ko
   libmchain.ko
   linker.hints
   linux.ko
   smbfs.ko
me ~ # ls -1 /boot/kernel
   nvidia.ko
   linker.hints
me ~ # kldload smbfs
kldload: can't load smbfs: No such file or directory
me ~ # cp /boot/kernel/{smbfs.ko,libiconv.ko,libmchain.ko} /boot/modules/
me ~ # kldload smbfs

me ~ # kldstat
Id Refs AddressSize Name
 1   12 0xc040 3c68c4   kernel
 22 0xc07c7000 1f280linux.ko
 31 0xc07e7000 3f2e00   nvidia.ko
 61 0xc50e 2smbfs.ko
 72 0xc4f51000 4000 libiconv.ko
 82 0xc4154000 3000 libmchain.ko



Do you know if they ever fix crypto bug in mount_smbfs in FreeBSD 6.1?


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


RE: troubleshooting network settings

2006-06-07 Thread Steve Bertrand


> > Hmm, is that all?  Unusual; I'd think the loopback _should_ 
> be set up 
> > correctly.
> >
> > `ifconfig lo0 inet 127.0.0.1 netmask 255.255.255.0`  ??
> >
> > If that fixes it, then we have to figure out *why* it's not being 
> > doing automatically.  Problem during init/rc, most likely ... weird.
> 
> I've not had time to address this problem for a week. Going 
> through all the advice again I found that this advice is 
> good. That fixes the problem. Any pointers on getting it done 
> automatically?

Is the following line in /etc/defaults/rc.conf?

ifconfig_lo0="inet 127.0.0.1"   # default loopback device configuration.

If not, add it there, or simply in /etc/rc.conf

Steve

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


6.1 doesn't recognize IDE HD

2006-06-07 Thread michael.white
All,

I'm trying to install i386 FreeBSD 6.1 onto an HP Omnibook 800CT (Pentium 166 
MMX, 80 MB RAM, 4.3. GB HD).  I'm booting from floppy because the onlyCDROM is 
a SCSI CDROM that is not bootable.  Everything seems to go well (even the 
recognization of the SCSI controller and CDROM) except that it does not 
recognize the IDE HD.  Note that the on-board ISA controlleris recognized 
(isa0) and there are various spewings about ata0.

The laptop works fine.  There RH9.0 bootable, and I've been playing around with 
other installations in the last week or so.

I did some Google searching and found a simialar problem described in this two y
ear old bug: http://lists.freebsd.org/pipermail/freebsd-bugs/2004-October/009946
.html.  However, I could not find this bug by searching freebsd.org.

I realize that the IDE/ISA controller was probably a one-of for HP, but 
thereseems to have been support in the past (see bug report).  Is this a known 
problem?  Is there a workaround?

Any help would be apprecitated.

Thanks in advance.

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


burncd error

2006-06-07 Thread Michael S

I had the same kind of issue, also with 6.1-RELEASE, and just fixed it
the Windows way - reboot. And it worked fine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kdehier port fails package build

2006-06-07 Thread Nikolas Britton

On 6/7/06, Nikolas Britton <[EMAIL PROTECTED]> wrote:

infomatic# make package-recursive
===>  Building package for kdehier-1.0_9
Creating package /usr/ports/packages/All/kdehier-1.0_9.tbz
Registering depends:.
Creating bzip'd tar ball in '/usr/ports/packages/All/kdehier-1.0_9.tbz'
tar: share/templates/.keep_me: Cannot stat: No such file or directory
pkg_create: make_dist: tar command failed with code 256
*** Error code 1

Stop in /usr/ports/misc/kdehier.



Werid... after I removed the work directory, deinstalled the port and
then re-installed the port it worked. Oh Well. but I do have good
news, I just saved a bundle on my car insurance by switching to Geico.

Umm no that's not it :-). I have KDE 3.5.3 packages compiled for AMD
Athlon-4, Athlon XP, Athlon MP, and Athlon64/Opteron (i386) based CPUs
available for download here:

http://stumbleine.homeunix.org/kde/



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


Re: portupgrade question

2006-06-07 Thread Andrey Slusar
Wed, 7 Jun 2006 09:38:36 -0400, Michael S wrote:

> I have a portupgrade related question. I am behind a proxy and fetch
> doesn't appear to cope with it very well. I installed wget and it
> works great. I updated the pkgtools.conf to reflect that, however
> portupgrade insists on using fetch for some reason. At first I thought
> that portupgrade ignored its configuration file, however once or twice
> I misstyped something and it did catch it.
> Any hints?

 echo 'FETCH_CMD=/etc/fetch_wget' >>/etc/make.conf
,[ fetch_wget ]
| #!/bin/sh
| eval url=\${$#}
| echo "invoked as fetch_cmd $*"
| wget -c  $url
`

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


Re: portupgrade question

2006-06-07 Thread Michael S

Thanks, I will definitely try it out.

On 6/7/06, Andrey Slusar <[EMAIL PROTECTED]> wrote:

Wed, 7 Jun 2006 09:38:36 -0400, Michael S wrote:

> I have a portupgrade related question. I am behind a proxy and fetch
> doesn't appear to cope with it very well. I installed wget and it
> works great. I updated the pkgtools.conf to reflect that, however
> portupgrade insists on using fetch for some reason. At first I thought
> that portupgrade ignored its configuration file, however once or twice
> I misstyped something and it did catch it.
> Any hints?

 echo 'FETCH_CMD=/etc/fetch_wget' >>/etc/make.conf
,[ fetch_wget ]
| #!/bin/sh
| eval url=\${$#}
| echo "invoked as fetch_cmd $*"
| wget -c  $url
`

--
Regards,
Andrey.


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


Re: AC97 sound card on 6.1

2006-06-07 Thread Andrey Slusar
Wed, 07 Jun 2006 12:12:17 -0400, Sean wrote:
> Gregory Nou wrote:
> > Dave wrote:
> >> Hello,
> >>I'm atempting to get an integrated AC97 sound card working under
> >> 6.1. I know this card works, loading the snd_driver module finds
> >> it, but i do not know which actual module works it over. I'd rather
> >> not have to load 26 sound modules just the ones i actually
> >> need. I've checked /boot/kernel/snd* but didn't find anything AC97
> >> and googling showed that others had asked, but no clear answer. If
> >> anyone has this going i'd appreciate hearing about it, and also any
> >> difficulties with quality or getting applications going.
> >> Thanks.
> >> Dave.

> Hi Dave,

>   Here is my setup.
> device  sound   # sound support
> device  "snd_ich"   # AC 97 Support

 It's not works on the _all_ ac97 sound cards. snd_via8233 and some
other modules is support other ac97 cards.

 Dave, please show pciconf -lv on you system.

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


Installing OpenOffice 2.0.2

2006-06-07 Thread doug
This is just to document how to install this package from the FreeBSD package
system. The install is "easy" following the steps outlined.  the glitches could
probably be fixed with the appropriate symlinks on the package mirrors. I used
ftp2.

1) download openoffice.org-2.0.2.rc2.tbz from
   /pub/FreeBSD/ports/i386/packages-6.1-release/editors

   If you do a package add ar this point you will get:

 pkg_add: could not find package popt-1.7_1 !
 pkg_add: could not find package linc-1.0.3_5 !
 pkg_add: could not find package howl-1.0.0_1 !
 pkg_add: could not find package libIDL-0.8.6_2 !
 pkg_add: could not find package ORBit2-2.12.5_2 !
 pkg_add: could not find package libbonobo-2.10.1_3 !
 pkg_add: could not find package gnomemimedata-2.4.2 !
 pkg_add: could not find package gconf2-2.12.1_1 !
 pkg_add: could not find package gnomevfs2-2.12.2_2 !

2) do pkg_add -r for the following: popt, linc, howl, libIDL, ORBit2,
   libbonobo, gconf2

3) pkg_add -r pkg_add -r gnome-mime-data

4) download gnomevfs2-2.12.2_2.tbz from
   /pub/FreeBSD/ports/i386/packages-6.1-release/gnome

   pkg_add -f gnomevfs2-2.12.2_2.tbz

   force is required because the dependency is misspelled

5) pkg_add -f openoffice.org-2.0.2.rc2.tbz.

If you want Java, you must follow the instructions on the OpenOffice site. I did
this for my laptop but did not get it working so I skipped that here. The whole
process should take about 10 minutes (not counting downloading openoffice which
is about 100MB. I got some warning because some of my installed packages were
not the latest. I am still learning openoffice so I am not sure what the java
support will add to the package.

When I start the components, I get:

  javaldx: Could not find a Java Runtime Environment!
  I18N: Operating system doesn't support locale "en_US"

This does not seem to cause a problem so I have not done anything with it. If
you want to try openoffice and do not want to build it from source I hope this
helps






_
Douglas Denault
http://www.safeport.com
[EMAIL PROTECTED]
Voice: 301-469-8766
  Fax: 301-469-0601
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD Wireless Access Points with Atheros Cards

2006-06-07 Thread John Nielsen
On Wednesday 07 June 2006 11:42, Mark Moellering wrote:
> On Wednesday 07 June 2006 8:11 am, Nick Withers wrote:
> > G'day all,
> >
> > I was recently asked to set up a wireless access point by a
> > mate. Having read section 27.3.3.2 - "Building a FreeBSD Access
> > Point"
> > ("http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wirel
> >es s.html") from the FreeBSD Handbook I duly advised my friend that they'd
> > need to procure one of the Prism cards listed in the wi(4) man
> > page, as, according to the Handbook, "In order to set up a
> > wireless access point with FreeBSD, you need to have a
> > compatible wireless card. Currently, only cards with the Prism
> > chipset are supported".
> >
> > When he got back to me the next day and said he couldn't find
> > one in any major store and that he'd been told they were no
> > longer available first-hand (whether all this is true or not,
> > I'm not entirely sure - but it's not really all that relevant
> > for the purposes of this question) I was a little surprised.
> >
> > After much more stuffing about, the ath(4) man page caught my
> > eye and I found the magic sentence: "Supported features include
> > 802.11 and 802.3 frames, power management, BSS, IBSS, and
> > host-based access point operation modes".
> >
> > I've subsequently set the thing up and it's now chugging away
> > merrily in hostap mode with hostapd helping out with 802.11i
> > shennanigans. It appears to be fully operational.
> >
> > My question, then, is this: Is the access point I've set up not
> > actually functioning as an access point in the strictest sense
> > of the term? Is the Handbook in need of a little attention in
> > this area?
> >
> > I'll happily create a patch for the doc and submit a PR to
> > have it updated, but just wanted to check before doing so that
> > I'm not just being an idiot (I'm particularly good at that!).

>   I tried this maybe a month back.  I added an ath card to a firewall
> (becoming the third NIC) and set it up following the directions.  While I
> could connect to the access point/firewall, I could not get to anything
> beyond it.  After some reading, I decdied to buy a standalone access point
> and replace the wireless ath card with a wired card to use to connect to
> the access point. The standalone access point (Netgear) wasn't that much
> more than the card and from everything I have read is the better way to go.
>   If you are able to sned data through the access point, I would love to
> hear about it...

Yes, ath(4) is actually the preferred driver for creating FreeBSD-based 
wireless access points, and the handbook probably does need to be updated. No 
one has been doing any work on the wi driver in quite some time, whereas Sam 
Leffler has been doing a LOT of work to keep ath up-to-date and highly 
functional.

I run a FreeBSD 6-STABLE machine as an access point at home and it works fine. 
I couldn't get it to work with if_bridge, so I just set up wireless to be its 
own subnet with the FreeBSD machine doing NAT and routing between the three 
interfaces (external, internal wired, and internal wireless).

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


Tcpdump dropping packets

2006-06-07 Thread Paul Schmehl
I'm fiddling around with ntop, but, after an initial packet capture, it 
doesn't capture any more traffic.  It claims that libpcap is dropping 
all the packets.


If I run tcpdump like this:

tcpdump -i 

I get this:

15 packets captured
51104 packets received by filter
50288 packets dropped by kernel

If I run tcpdump like this:

tcpdump -i  -w filename

I get this:

65235 packets captured
65489 packets received by filter
0 packets dropped by kernel

Is there a sysctl tweak that can at least reduce the packet loss?  Is 
there a setting in ntop that I'm missing?


If I send tcpdump to a file, can ntop read the file continuously?  Or 
will it only read it one time?


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


smime.p7s
Description: S/MIME Cryptographic Signature


RE: USB-Serial ??

2006-06-07 Thread Steve Bertrand

> The saga of the 3G modem.  Labeled in AU as the Maxon MM 5500c.
> This device is a modem on the usb bus, it looks like and 
> understands the at commands. Under XP.
> I am using fbsd 6.1.
> How do I get ppp to talk to it?
> The man pages keep pointing to /dev/cuaU? A device that does 
> not exist yet.

Don't know about the rest, but in FBSD 6+, the serial devices are
/dev/cuad0 for COM1 and /dev/cuad1 for COM2.

Try a:

# cu -l /dev/cuad0 to see if you can connect to the device.

Steve

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


Re: reading process memory

2006-06-07 Thread James Riendeau
Ahh.  I think I goofed slightly.  I think your application has to be  
the parent of the running process to get at that property.  See:


http://www.informit.com/articles/article.asp?p=366888&seqNum=10

James Riendeau
MMI Computer Support Technician
1300 University Ave
Rm. 436, Dept. of MedMicro
Madison, WI  53706

Phone: (608) 262-3351
After-hours Phone: (608) 260-2696
Fax: (608) 262-8418
Email: [EMAIL PROTECTED]



On Jun 7, 2006, at 10:24 AM, Tofik Suleymanov wrote:


James Riendeau wrote:

How are you defining "assuming right privileges"?

assuming uid 0

  The only way you're going to be able to read another processes  
address space is in the kernel.Even a process running as root is  
not able to read another process's data.
how does gdb then reads for example different variables of running  
program ?
  One of the principle responsibilities of the OS is to manage the  
private memory space of each process, and I emphasize private.   
The last thing you would want on a secure system is the ability of  
other processes to read or write to another process's address  
space.Even a parent process should not be able to read a child's  
address space, as the fork logically duplicates their address  
space and they go their separate ways.  An attempt to read another  
processes address space should trap to the kernel and the kernel  
should kill the process immediately.  There is one exception to  
this:  you can setup a pipe or memory share between two processes,  
however, both processes have to agree to share some memory or  
connect via a pipe.  I'm not going to give you a howto via email  
as the subject usually fills a solid chapter in most OS books.
Thank you for brief and altogether extensive explanation of the  
case.The thing i wanted to do is to read let's say portions of  
memory where .bss and .data block of a running program reside.


is that possible ?

Sincerely,
Tofik Suleymanov



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


Re: quota printing ?

2006-06-07 Thread Erik Nørgaard
Frank Bonnet wrote:

> I'm searching for a centralized quota printing solution that would run
> over CUPS or LPRNG , I've reviewed pyquota but it doesn't fit our needings.
> 
> Ideally it could use a SYBASE database system as backend as we have a
> SYBASE
> server ...

This is one of the admin tasks that almost always cause headache. I
think the standard solution is to hack up some Perl script that suits
your needs.

For LPRng, you might want to take a look at ifhp for a start. It doesn't
do accounting but it may be useful to get every job into a particular
format so you can count pages in that.

I once made a script that counted pages in ps-files using the page
separation tag in the code and rejected everything that didn't seem
enough PostScript like.

Once you have your Perl to count, you can do pretty much anything you
like with the numbers. And there is a Sybase DB driver for Perl.

Cheers, Erik
-- 
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9


smime.p7s
Description: S/MIME Cryptographic Signature


Re: reading process memory

2006-06-07 Thread James Riendeau
I'm going to anticipate your next question, and say that if you're  
not the parent, you will have to "attach" to the process.  How that's  
done?  I don't know, probably through a system call to ptrace or  
writing to the procfs ctl directory.  I'm speaking through erudite  
knowledge rather than any real experience working with procfs.


-james



On Jun 7, 2006, at 2:33 PM, James Riendeau wrote:

Ahh.  I think I goofed slightly.  I think your application has to  
be the parent of the running process to get at that property.  See:


http://www.informit.com/articles/article.asp?p=366888&seqNum=10

James Riendeau
MMI Computer Support Technician
1300 University Ave
Rm. 436, Dept. of MedMicro
Madison, WI  53706

Phone: (608) 262-3351
After-hours Phone: (608) 260-2696
Fax: (608) 262-8418
Email: [EMAIL PROTECTED]



On Jun 7, 2006, at 10:24 AM, Tofik Suleymanov wrote:


James Riendeau wrote:

How are you defining "assuming right privileges"?

assuming uid 0

  The only way you're going to be able to read another processes  
address space is in the kernel.Even a process running as root is  
not able to read another process's data.
how does gdb then reads for example different variables of running  
program ?
  One of the principle responsibilities of the OS is to manage  
the private memory space of each process, and I emphasize  
private.  The last thing you would want on a secure system is the  
ability of other processes to read or write to another process's  
address space.Even a parent process should not be able to read a  
child's address space, as the fork logically duplicates their  
address space and they go their separate ways.  An attempt to  
read another processes address space should trap to the kernel  
and the kernel should kill the process immediately.  There is one  
exception to this:  you can setup a pipe or memory share between  
two processes, however, both processes have to agree to share  
some memory or connect via a pipe.  I'm not going to give you a  
howto via email as the subject usually fills a solid chapter in  
most OS books.
Thank you for brief and altogether extensive explanation of the  
case.The thing i wanted to do is to read let's say portions of  
memory where .bss and .data block of a running program reside.


is that possible ?

Sincerely,
Tofik Suleymanov





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


unable to load a kernel

2006-06-07 Thread justin schlingmann
Hello,

Everytime when I install freebsd 6.1 and boot it after instalation I get
this message.
"unable to load a kernel"
When i install freebsd 5.5 there are no problems, everything works fine.
Anyone knows what`s wrong with this installation, is it a known bug or what.
Maybe someone can help me with this, should I fetch a new 6.1 instalation
disk or is there another problem.

Thanks in advance,
Justin.



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


Re: burncd error

2006-06-07 Thread John Nielsen
On Wednesday 07 June 2006 11:04, Josh Paetzel wrote:
> I'm running 6.1-RELEASE
>
> Trying to burn iso's using burncd gives me an error.
>
> gimpy# burncd -f /dev/acd0 -s 48 data i386pkg-3.0.iso fixate
>
> next writeable LBA 0
> writing from file i386pkg-3.0.iso size 710566 KB
> written this track 710566 KB (100%) total 710566 KB
> fixating CD, please wait..
> burncd: ioctl(CDRIOCFIXATE): Input/output error
>
> The 'funny' thing about this is that the CDs I burn work fine.  (I've
> tried several different ISOs and have checked the md5's on all of
> them.)
>
> Anyone have an idea of what is going on?  I never tried to burn
> anything with 6.0-RELEASE and it worked fine on 5.4-RELEASE

I've seen the same thing for the past several weeks (worked fine at some point 
prior to 6.1). I'm running 6-STABLE, updated every couple weeks.  As near as 
I've been able to determine, the fixate step doesn't actually do anything, so 
your CD's will still be "open" but should work fine under any modern OS.  As 
a workaround you can repeat the fixate step at a lower speed:
burncd -f /dev/acd0 -s 4 fixate

I haven't experimented enough to know at what speed the fixate step breaks, 
but that does seem to be what's going on. I also haven't tried turning off 
ATAPICAM, which would be another interesting data point. If you or someone 
else has the time to figure out exactly which (set of) commits started 
producing this behavior, that would be excellent material for a PR.  I may 
get around to it myself but it's not a high priority.

> dmesg is attached.

Looks like you forgot it.  In my case (using ATAPICAM):

acd1: CDRW  at ata1-slave UDMA33
cd1 at ata1 bus 0 target 1 lun 0
cd1:  Removable CD-ROM SCSI-0 device 
cd1: 33.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present

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


Re: burncd error

2006-06-07 Thread Kevin Kinsey

Josh Paetzel wrote:

I'm running 6.1-RELEASE

Trying to burn iso's using burncd gives me an error.

gimpy# burncd -f /dev/acd0 -s 48 data i386pkg-3.0.iso fixate

next writeable LBA 0
writing from file i386pkg-3.0.iso size 710566 KB
written this track 710566 KB (100%) total 710566 KB
fixating CD, please wait..
burncd: ioctl(CDRIOCFIXATE): Input/output error

The 'funny' thing about this is that the CDs I burn work fine.  (I've 
tried several different ISOs and have checked the md5's on all of 
them.)


Anyone have an idea of what is going on?  I never tried to burn 
anything with 6.0-RELEASE and it worked fine on 5.4-RELEASE


Have you tried with "-v"?  And for different values of "-s"?

Just curious,

Kevin Kinsey

--
Better to light one candle than to curse the darkness.
-- motto of the Christopher Society

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


Re: portupgrade question

2006-06-07 Thread Kris Kennaway
On Wed, Jun 07, 2006 at 09:38:36AM -0400, Michael S wrote:
> Good day everyone!
> 
> I have a portupgrade related question. I am behind a proxy and fetch
> doesn't appear to cope with it very well.

What did you try?  fetch works fine with proxies for the rest of us :)

Kris


pgpQqWxSTgnVY.pgp
Description: PGP signature


Re: portupgrade question

2006-06-07 Thread Toni Schmidbauer
At Wed, 7 Jun 2006 09:38:36 -0400,
Michael S wrote:
> I have a portupgrade related question. I am behind a proxy and fetch
> doesn't appear to cope with it very well. I installed wget and it
> works great. I updated the pkgtools.conf to reflect that, however
> portupgrade insists on using fetch for some reason. At first I thought
> that portupgrade ignored its configuration file, however once or twice
> I misstyped something and it did catch it.

did your set HTTP_PROXY and FTP_PROXY in your shell environment?

see fetch(3).

hth,
toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade question

2006-06-07 Thread Michael S

I had them set, but in lower case - $http_proxy and $ftp_proxy. wget
doesn't have a problem with that.
More precisely (applogies for not specifying in the first place) the
problem was retrieving files from FTP hosts. HTTP sites were fine.

On 6/7/06, Toni Schmidbauer <[EMAIL PROTECTED]> wrote:

At Wed, 7 Jun 2006 09:38:36 -0400,
Michael S wrote:
> I have a portupgrade related question. I am behind a proxy and fetch
> doesn't appear to cope with it very well. I installed wget and it
> works great. I updated the pkgtools.conf to reflect that, however
> portupgrade insists on using fetch for some reason. At first I thought
> that portupgrade ignored its configuration file, however once or twice
> I misstyped something and it did catch it.

did your set HTTP_PROXY and FTP_PROXY in your shell environment?

see fetch(3).

hth,
toni
--
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|


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


Re: portupgrade question

2006-06-07 Thread Michael S

wget works like magic. I used the defaults. fetch I guess is the
FreeBSD default for "fetching" files from the web. It was having
problems fetching files from FTP sites.
No idea what the problem is.

On 6/7/06, Kris Kennaway <[EMAIL PROTECTED]> wrote:

On Wed, Jun 07, 2006 at 09:38:36AM -0400, Michael S wrote:
> Good day everyone!
>
> I have a portupgrade related question. I am behind a proxy and fetch
> doesn't appear to cope with it very well.

What did you try?  fetch works fine with proxies for the rest of us :)

Kris




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


Re: i wish to buy your site

2006-06-07 Thread Hunter Fuller


On  07 Jun 2006, at 1:02 AM, Daniel A. Akulenok wrote:
No, guys. All of *you* who responded to this mail failed to realize  
that
this is a spam message, and that it is most probably just an  
alternative

scam to the nigerian stuff.

Spammers getting smarter?
...
HAHAHAHAHAHAHAHAHAHA

:)



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




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


compiling ports to packages on fast system, installing on slower one

2006-06-07 Thread Dave

Hello,
   I was wondering if this was possible? I've got a box that i'd like to 
install the latest gnome 2.14 desktop on, as well as some very intense apps 
to build. I would like to compile the needed apps on my fastest machine as 
packages, then transfer all the packages to the slower box, and do a pkg_add 
* and they're all installed. My catch is i don't want to install everything 
on my fastest box to pull this off. I am using portupgrade and was wondering 
if this was doable?

Thanks.
Dave.

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


Re: Heavy creation and deletion of symlinks

2006-06-07 Thread Charles Swiger

On Jun 6, 2006, at 10:49 PM, Dag Rune Sneeggen wrote:
So my question is; how does such activity affect the general health  
and operation of FreeBSD?


It doesn't, really.  The OS will happily deference the symlinks you  
create as needed.


Also, the health of the harddrive(s) which will most likely be SATA  
disks.


Decent-quality disk drives shouldn't have any problems operating  
under continuous load, but some low-end "desktop" drives aren't rated  
for continuous operation.  You should probably look into setting up a  
RAID-1, -10, or -5 configuration.


It is my understanding that symlinks only affects the file  
allocation table, and not the physical data blocks? This would mean  
that the impact isn't so terrible, as the changes will be contained  
to a relatively small part of the beginning of the disk, correct?


No, that is not correct.

The FFS doesn't have a single "file allocation table", it has inodes  
scattered throughout the various cylinder groups, which span the  
entire disk surface.  Inodes contain some metadata which corresponds  
to portions of the MS-DOS FAT, and some systems implement small  
symlinks (aka "fast symlinks") within the inode entry, but longer  
symlinks are stored in the data blocks in a fashion similar to  
keeping text data in a normal file.


--
-Chuck

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


Re: apache13 to 22

2006-06-07 Thread Kevin Kinsey

Dag Rune Sneeggen wrote:

Perttu Laine wrote:

On 12/9/05, Odhiambo Washington <[EMAIL PROTECTED]> wrote:



apachectl stop
cd /usr/ports/www/apache13
make deinstall
cd /usr/ports/www/apache22 && make install
cd /usr/ports/www/mod_php5
make -DWITH_APACHE2 -DFORCE_PKG_REGISTER reinstall



Just to inform you people about this old apache13 to apache22 upgrade -
worked just fine. I made config files ready earlier and it was only about
15mins downtime and everything went nicely and smoothly without problems
with this process. Except instead of ports/www/mod_php5 I used
ports/lang/php5, but that's same. :)


Actually www/mod_php5 and lang/php5 isn't exactly the same. www/mod_php5 
only includes the mod_php5 module, whilst lang/php5 includes the CLI php 
system as well :)


Nice to hear it worked so smoothly for you though!



www/mod_php5 doesn't exist any longer.

and vehement claims that php5 is broken in ports persist, but
aren't true as near as I can tell from both external evidence
and personal experience.

Kevin Kinsey

--
When I demanded of my friend what viands he preferred,
He quoth: A large cold bottle, and a small hot bird!
-- Eugene Field, The Bottle and the Bird
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade question

2006-06-07 Thread Andy Reitz
On Wed, 7 Jun 2006, Michael S wrote:

> Good day everyone!
>
> I have a portupgrade related question. I am behind a proxy and fetch
> doesn't appear to cope with it very well. I installed wget and it
> works great. I updated the pkgtools.conf to reflect that, however
> portupgrade insists on using fetch for some reason. At first I thought
> that portupgrade ignored its configuration file, however once or twice
> I misstyped something and it did catch it.
> Any hints?
>
> P.S. I am running 5.5 if it makes any difference, although I think it
> shouldn't.

Hi Michael,

I don't think that portupgrade actually downloads source code from the
internet. Rather, portupgrade is a bit of a wrapper around the normal
FreeBSD ports code. According to the handbook,

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

The ports system uses fetch(1) in order to download any files. I thought
that there was a way to convince the ports to use a different file
retreiver, but I don't see anything in the handbook.

Have you tried setting the ftp_proxy and http_proxy environment variables,
so that fetch can work with your proxy?

HTH,
-Andy Reitz.

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


RE: FreeBSd 6.1 hylafax and Acorp modem...

2006-06-07 Thread fbsd
I believe your modem is a winmodem. 
This modem is manufactured for ms/window boxes.
Some people have luck using the ltmdm port to get some winmodems to work with 
FreeBSD.

You would be far better off using an external serial modem. 
These all work with FreeBSD right out of the box and is best 
solution for a reliable fax server setup.

You will not be satisified with performance or reliability shoe horning 
a cheap winmodem into a fax server.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Casper
Sent: Wednesday, June 07, 2006 1:34 PM
To: freebsd-questions@freebsd.org
Subject: FreeBSd 6.1 hylafax and Acorp modem...



  Hi,

  I tryed to setup hylafax fax server with Acorp internal modem with 
conexant-RH56D-PCI chip set.


I installed from ports hylafax and try to setup it:

fax# faxsetup

Setup program for HylaFAX (tm) 4.2.5.
Created for i386-unknown-freebsd6.1 on Wed Mar 15 17:04:26 UTC 2006.
Checking system for proper client configuration.
Checking system for proper server configuration.

Warning: /bin/vgetty does not exist or is not an executable program!

The file:

 /bin/vgetty

does not exist or this file is not an executable program.  The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error.  If the
program resides in a different location and you do not want to
install a symbolic link for /bin/vgetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.


Warning: /bin/egetty does not exist or is not an executable program!

The file:

 /bin/egetty

does not exist or this file is not an executable program.  The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error.  If the
program resides in a different location and you do not want to
install a symbolic link for /bin/egetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.


Warning: Font metric information files were not found!

The font metric information file for the Courier font was not found in
the /usr/local/lib/afm path.  This means that client HylaFAX applications
that use this information to format ASCII text for submission as fax will
use incorrect information and generate potentially illegible facsimile.

If font metric information is present on your system in a directory other
than /usr/local/lib/afm then you can setup a symbolic link to the 
appropriate
directory or you can specify the appropriate pathname in the configuration
file /usr/local/lib/fax/hyla.conf with a line of the form:

FontPath:   someplace_unexpected

If you do not have the font metric information files loaded on your system
system you can obtain them by public FTP from the place where you obtained
the HylaFAX software or from the master FTP site at ftp.sgi.com.

FATAL ERROR: /usr/local/bin/gs does not exist or is not an executable 
program!

The file:

 /usr/local/bin/gs

does not exist or this file is not an executable program.  The HylaFAX
software expects this program to exist and be in this location.  If the
program resides in a different location then you must either reconfigure
and rebuild HylaFAX or override the default pathnames in the distributed
software through one of the HylaFAX configuration files (consult the
HylaFAX documentation).



So one problem, by default it has not in dependency list getty and 
ghostscript...


I tried to install mgetty and found that there is no /dev/cuaa1.


I`m in dead end with this modem?

tnx,

Casper
___
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: burncd error

2006-06-07 Thread Josh Paetzel
On Wednesday 07 June 2006 14:46, you wrote:
> On Wednesday 07 June 2006 11:04, Josh Paetzel wrote:
> > I'm running 6.1-RELEASE
> >
> > Trying to burn iso's using burncd gives me an error.
> >
> > gimpy# burncd -f /dev/acd0 -s 48 data i386pkg-3.0.iso fixate
> >
> > next writeable LBA 0
> > writing from file i386pkg-3.0.iso size 710566 KB
> > written this track 710566 KB (100%) total 710566 KB
> > fixating CD, please wait..
> > burncd: ioctl(CDRIOCFIXATE): Input/output error
> >
> > The 'funny' thing about this is that the CDs I burn work fine. 
> > (I've tried several different ISOs and have checked the md5's on
> > all of them.)
> >
> > Anyone have an idea of what is going on?  I never tried to burn
> > anything with 6.0-RELEASE and it worked fine on 5.4-RELEASE
>
> I've seen the same thing for the past several weeks (worked fine at
> some point prior to 6.1). I'm running 6-STABLE, updated every
> couple weeks.  As near as I've been able to determine, the fixate
> step doesn't actually do anything, so your CD's will still be
> "open" but should work fine under any modern OS.  As a workaround
> you can repeat the fixate step at a lower speed: burncd -f
> /dev/acd0 -s 4 fixate
>
> I haven't experimented enough to know at what speed the fixate step
> breaks, but that does seem to be what's going on. I also haven't
> tried turning off ATAPICAM, which would be another interesting data
> point. If you or someone else has the time to figure out exactly
> which (set of) commits started producing this behavior, that would
> be excellent material for a PR.  I may get around to it myself but
> it's not a high priority.
>
> > dmesg is attached.
>
> Looks like you forgot it.  In my case (using ATAPICAM):
>
> acd1: CDRW  at ata1-slave UDMA33
> cd1 at ata1 bus 0 target 1 lun 0
> cd1:  Removable CD-ROM SCSI-0 device
> cd1: 33.000MB/s transfers
> cd1: Attempt to query device size failed: NOT READY, Medium not
> present
>
> JN

My client says it included a dmesg...wonder what's going on with that.  

I've tried using different burn speeds all the way down to 32x.  I am 
using ATAPICAM, I wonder if it is somehow related to that?  I think 
I'll unload that and give it a shot.

-- 
Thanks,

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


Re: Heavy creation and deletion of symlinks

2006-06-07 Thread Charles Swiger

On Jun 6, 2006, at 10:49 PM, Dag Rune Sneeggen wrote:
So my question is; how does such activity affect the general health  
and operation of FreeBSD?


It doesn't, really.  The OS will happily deference the symlinks you  
create as needed.


Also, the health of the harddrive(s) which will most likely be SATA  
disks.


Decent-quality disk drives shouldn't have any problems operating  
under continuous load, but some low-end "desktop" drives aren't rated  
for continuous operation.  You should probably look into setting up a  
RAID-1, -10, or -5 configuration.


It is my understanding that symlinks only affects the file  
allocation table, and not the physical data blocks? This would mean  
that the impact isn't so terrible, as the changes will be contained  
to a relatively small part of the beginning of the disk, correct?


No, that is not correct.  The FFS doesn't have a single "file  
allocation table", it has inodes scattered throughout the various  
cylinder groups, which will span the entire disk.  Inodes contain  
some metadata which corresponds to aspects of the MS-DOS FAT.


Some Unix systems utilize "fast symlinks" if the symlink is small  
enough (less than 50 characters or so), which are kept in the inode;  
otherwise, for longer symlinks, those are stored as data in sectors  
just like a normal file would be.


--
-Chuck

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


Re: On mail principles

2006-06-07 Thread Charles Swiger

On Jun 7, 2006, at 1:20 PM, [EMAIL PROTECTED] wrote:
But this way is bad for local purposes: my MTA's diagnostic  
messages are sent

trough internet or lost at all, e. g. when my ADSL is in down.
(Moreover, my letters sent to other local users have non-local  
"envelope from"

address. Then local mail begin to go through external MTA.)

What to do in such a situation?


See the sendmail documentation [1] on MASQUERADE_AS().

--
-Chuck

[1]: /usr/share/sendmail/cf/README, or check the FAQ from  
www.sendmail.org...


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


Re: i wish to buy your site

2006-06-07 Thread jdow

From: "Jerry McAllister" <[EMAIL PROTECTED]>


On Sun, June 4, 2006 11:54, Richard Collyer wrote:
> bill hunt wrote:
>> dear webmaster.
>> My name is Bill Hunt and I'm interested in purchsing your site.
>> the price is nagotiable and I'm willing to pay as much as we can agree
>> on.
>> please let me know if it's ok by you and we'll start nagotiating.
>> yours,
>> Bill
>
> Wow. Microsoft in a if you can't beat 'em buy 'em. From Bill
> himselfbe scared...very scared!
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>
No, guys. All of *you* who responded to this mail failed to realize that
this is a spam message, and that it is most probably just an alternative
scam to the nigerian stuff.


No.  They all realized it.  That is why the responses were so silly - 
such as the one included above.No-one took it seriously.   Of course

it does serve to verify Email addresses for anyone who responds which
is what the spammer wants.

jerry


Jerry, if I ran a spam trap you can bet I'd have used that address to
reply. I'd also arrange to sound rather naive, foolish, and upset while
doing so. Of course, I could get a little dig in that people from
Ann Arbor would not be carrying on the way you are about it. But I'll
be nice and not post anything. Flames aren't worth it. (Of course, on
a Fedora group I might do differently.)

{^_-}Univ Mich 1967 1968.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: burncd error

2006-06-07 Thread Napoleon Dynamite
I got that error pretty routinely for a while. The cd-r was always usable, 
though. I switched to k3b for cd burning and have not seen that error since.

On Wednesday 07 June 2006 10:44, Michael S wrote:
> I had the same kind of issue, also with 6.1-RELEASE, and just fixed it
> the Windows way - reboot. And it worked fine.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"


pgpW4vES9ohrR.pgp
Description: PGP signature


RE: 6.1 doesn't recognize IDE HD

2006-06-07 Thread fbsd
Try turning off power management in motherboard bios.
Also check that bios ide use auto setting.
Set bios boot from floppy then drive c, not just floppy alone.
If bios has system setting, set to unix or other, not windows.

Try posting to freebsd-mobile list for better support.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 1:23 PM
To: freebsd-questions@freebsd.org
Subject: 6.1 doesn't recognize IDE HD


All,

I'm trying to install i386 FreeBSD 6.1 onto an HP Omnibook 800CT (Pentium 166 
MMX, 80 MB RAM, 4.3. GB HD).  I'm booting from floppy because the onlyCDROM is 
a SCSI CDROM that is not bootable.  Everything seems to go well (even the 
recognization of the SCSI controller and CDROM) except that it does not 
recognize the IDE HD.  Note that the on-board ISA controlleris recognized 
(isa0) and there are various spewings about ata0.

The laptop works fine.  There RH9.0 bootable, and I've been playing around with 
other installations in the last week or so.

I did some Google searching and found a simialar problem described in this two y
ear old bug: http://lists.freebsd.org/pipermail/freebsd-bugs/2004-October/009946
.html.  However, I could not find this bug by searching freebsd.org.

I realize that the IDE/ISA controller was probably a one-of for HP, but 
thereseems to have been support in the past (see bug report).  Is this a known 
problem?  Is there a workaround?

Any help would be apprecitated.

Thanks in advance.

Michael White
___
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]"


Spontaneous reboot involving 6-stable, gdb, and -pthread

2006-06-07 Thread Jeremy Nelson

I am trying to collect enough information to file a bug report about a 
problem I am running into.  

I have two separate machines:
Machine 1 is running 6.1-RC/amd64
Machine 2 first was running 5.4-RELEASE/amd64
Machine 2 then it ran 5-STABLE/amd64
Machine 2 now it runs 6-STABLE/amd64 from monday.

If I build ftp://ftp.epicsol.org/pub/epic/EPIC5/epic5-0.2.0.tar.gz,
(the update for the irc/epic5 port hasn't been comitted yet) and manually
add -pthread to LDFLAGS, and run the binary under /usr/bin/gdb, the machine 
spontaneously reboots.  It doesn't appear to be a panic, because I've 
compiled a debugging kernel with DDB and KDB, etc, and it does not trap 
to the kernel debugger, just a reboot, as though I had hit the reset switch.

I've successfully reproduced this 100% of the time I've tried it on multiple
machines, on multiple branches of freebsd.  I have not (yet) been able to
test it on i386, so I don't (yet) know if it's amd64-related.

The last thing I see before the reboot is:
[New Thread 0x (LWP )]

I've found I can avoid the panic by doing any one of:
1) Don't run under /usr/bin/gdb
2) Use /usr/ports/devel/gdb6 instead of /usr/bin/gdb
3) Remove the need to have -pthread in LDFLAGS

I don't have an /etc/libmap.conf on either machine.

Before I file a bug report, are there any other hints anyone can give me
for what I might be running across here?

(I am trying to fix this, because linking against ruby1.8 requires -pthread,
 so this is something new that I'm getting bug reports for.)

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


how does cron exec jobs?

2006-06-07 Thread Atom Powers

I have a cronjob ( cfexecd -F ) that often hangs; but no matter how I
run it from the shell ( sh -c "cfexecd -F" & ) it never hangs.
(Running it from the shell is how I clear the hung state.)

How can I simulate a cron job from the shell? There must be something
different about the way cron is executing this command...

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: On mail principles

2006-06-07 Thread Giorgos Keramidas
On 2006-06-07 20:20, [EMAIL PROTECTED] wrote:
> A brief:
>
> How to use "envelope from" provided that I have a mailbox on ISP.
>
> A full explanation:
>
> My computer has no static IP-address, nor DNS-name in Internet.
> Internally, it has static name "localhost" and static IP-address 127.0.0.1.
>
> So, I have a mail address "[EMAIL PROTECTED]".
> But I cannot send a mail to the world using this address in "envelope from"
> because of
> 1) Internet MTAs cancel mail whith such an address in "envelope from";
> 2) such an address is useless to recipient.
>
> My address in the world is "[EMAIL PROTECTED]".  So, I make my MUA to send a
> letter using a command setting "envelope from" to "[EMAIL PROTECTED]".  (like
> sendmail -f [EMAIL PROTECTED] for sendmail, see "X-Authentication-Warning" in
> the header of this mail) But this way is bad for local purposes: my
> MTA's diagnostic messages are sent trough internet or lost at all,
> e. g. when my ADSL is in down.  (Moreover, my letters sent to other
> local users have non-local "envelope from" address. Then local mail
> begin to go through external MTA.)
>
> What to do in such a situation?

I use mutt, which has an option to set the envelope-from address:

set envelope_from=yes# set the envelope-from address from From:

For the rest of the programs, like mail(1), my Sendmail setup sets
envelope-from to one of my valid outside-world addresses.  This is
accomplished with the following in my `sendmail.mc' file:

dnl Trusted users, who are allowed to change their envelope-from address
dnl without generating a warning in the message header, are listed, one per
dnl line, in `sendmail.ct'.
define(`confCT_FILE', `-o /etc/mail/sendmail.ct')
FEATURE(`use_cw_file')dnl

dnl Allow mail routing exceptions through a mailer table.
FEATURE(`mailertable', `hash /etc/mail/mailertable')

dnl Address masquerading.
dnl
dnl Making sure that all email that passes through my desktop's Sendmail
dnl installation is masqueraded as coming from `gothmog.pc', even if its 
original
dnl address is something slightly different (i.e. `ftp.pc' or `mail.pc'), is
dnl ok here.  It ensures that address rewriting and translation through
dnl `genericstable' will also work for all `*.pc' host names.
dnl
dnl To make sure that remote hosts don't get a MAIL FROM address from a
dnl hostname that doesn't resolve, envelope addresses are masqueraded too, 
and
dnl then get rewritten by `genericstable' to real-world addresses,
dnl i.e. [EMAIL PROTECTED]'.
MASQUERADE_AS(`gothmog.pc')
FEATURE(`masquerade_entire_domain')
FEATURE(`masquerade_envelope')

dnl Rewriting the envelope-from address of all outgoing messages through a
dnl `genericstable' lookup, ensures that envelope-from addresses seen by 
relay
dnl hosts are real, i.e. [EMAIL PROTECTED]' instead of the default
dnl envelope-from of [EMAIL PROTECTED]' that Sendmail would use.  This is
dnl required some times, to avoid getting bounces for messages from ISP mail
dnl relays that are misconfigured or are too strict about what can appear 
in a
dnl MAIL FROM command.
FEATURE(`genericstable', `hash -o /etc/mail/genericstable')
GENERICS_DOMAIN(`gothmog.pc')
FEATURE(`generics_entire_domain')

This looks like quite a mouthful of options, but it's not really that
difficult to read.  It's only big because of all the comments.

The file `/etc/mail/sendmail.ct' contains my username, because I trust
myself to use valid envelope-from addresses.  This turns off the
"X-Authentication-Warning" header which is so annoying for you too.

Then, in `/etc/mail/mailertable' I have an exception for my internal,
work-related email, and send it directly to the company's mail gateway:

# Custom mail routing rules.  This is currently useful only
# for routing work-related email through the VPN connection
# to my company's mail relay.
#
foo.com smtp:mailgate.foo.com
.foo.comsmtp:mailgate.foo.com

Finally, in my `/etc/mail/genericstable' map, I rewrite the
envelope-from of all the rest of email messages, like this:

# Outgoing email address rewriting.
[EMAIL PROTECTED]   [EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]

These options are, of course, just a suggestion.  You don't *HAVE* to
use a setup similar to mine.

- Giorgos

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


Re: FreeBSd 6.1 hylafax and Acorp modem...

2006-06-07 Thread Mikhail Goriachev
Casper wrote:
> 
>  Hi,
> 
>  I tryed to setup hylafax fax server with Acorp internal modem with
> conexant-RH56D-PCI chip set.
> 
> [...]
> 
> 
> I`m in dead end with this modem?


Hi,

Conexant chips are winmodems. As far as I'm concerned they're a no go.
For instance, Lucent LTs are supported through ports. I recommend
finding real hardware-based internal modem or anything external with
RS232 connection.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/compatibility-networking.html#SUPPORT-WINMODEM

Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: burncd error

2006-06-07 Thread Mikhail Goriachev
Josh Paetzel wrote:
> I'm running 6.1-RELEASE
> 
> Trying to burn iso's using burncd gives me an error.
> 
> gimpy# burncd -f /dev/acd0 -s 48 data i386pkg-3.0.iso fixate
> 
> next writeable LBA 0
> writing from file i386pkg-3.0.iso size 710566 KB
> written this track 710566 KB (100%) total 710566 KB
> fixating CD, please wait..
> burncd: ioctl(CDRIOCFIXATE): Input/output error
> 
> The 'funny' thing about this is that the CDs I burn work fine.  (I've 
> tried several different ISOs and have checked the md5's on all of 
> them.)
> 
> Anyone have an idea of what is going on?  I never tried to burn 
> anything with 6.0-RELEASE and it worked fine on 5.4-RELEASE
> 
> dmesg is attached.

Hi,

Give it a go with cdrecord from cdrtools.

/usr/ports/sysutils/cdrtools


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Tcpdump dropping packets

2006-06-07 Thread Chuck Swiger

Paul Schmehl wrote:
I'm fiddling around with ntop, but, after an initial packet capture, it 
doesn't capture any more traffic.  It claims that libpcap is dropping 
all the packets.


If I run tcpdump like this:

tcpdump -i 

I get this:

15 packets captured
51104 packets received by filter
50288 packets dropped by kernel

If I run tcpdump like this:

tcpdump -i  -w filename

I get this:

65235 packets captured
65489 packets received by filter
0 packets dropped by kernel

Is there a sysctl tweak that can at least reduce the packet loss?  Is 
there a setting in ntop that I'm missing?


tcpdump can write to a file for decoding later much more efficiently than it 
can deal with live processing, DNS lookups, etc.  You can help matters out 
slightly by increasing the underlying PCAP/BPF buffer size or by filtering out 
all but the traffic you want to see.


Check sysctl debug.bpf_bufsize, but also do a search on this because there may 
be a patch needed for PCAP in order for buffers larger than 32K to actually 
work. [1]


If I send tcpdump to a file, can ntop read the file continuously?  Or 
will it only read it one time?


Dunno.  I recall that ntop-1 was much more useful and stable than the current 
ntop seems to be...


--
-Chuck

[1]: Or has that been fixed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firefox crashes and hangs my 6.1R system

2006-06-07 Thread freebsd-questions
Hi Adi,

Thanks for the reply :)

On Wed, 7 Jun 2006 18:23:46 +0300, Adi Pircalabu wrote:
>
>I tried to reproduce it on two 6.1-STABLE systems but with no result,
>file upload works just fine. I have a bad feeling that it's very hard
>to reproduce.
>On the other hand, did the problem started to occur at a specified
>date? Can you link the problem with a world / ports update?

Yes, this problem seems to have begun after the upgrade from 6.1-RELEASE
to 6.1-RELEASE-p1, though it's hard to see the connection.

>
>Try to reproduce the above described behaviour and jump over with gdb.
>Sort of:
>
>gdb /usr/X11R6/lib/firefox/firefox-bin 
>(... wait)
>(gdb) t a a bt full

Excuse my ignorance - I take it I need to

o start firefox normally
o run gdb as above
o invoke the crash situation
o then ... ?

I'm just hoping that there's enough cpu left to save something at that
point!

>> options SCHED_ULE   # ULE scheduler
>
>Do you need SCHED_ULE? Try SCHED_4BSD instead, Ff is very picky when it
>comes to threads.

I probably don't - I added this after reading /usr/src/sys/conf/NOTES and
it hadn't bitten me until maybe now.  I'll recompile the kernel with
SCHED_4BSD before I carry on.

cheers,
-- Joel Hatton --
Infrastructure Manager  | Hotline: +61 7 3365 4417
AusCERT - Australia's national CERT | Fax: +61 7 3365 7031
The University of Queensland| WWW: www.auscert.org.au
Qld 4072 Australia  | Email:   [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: portupgrade question

2006-06-07 Thread Kris Kennaway
On Wed, Jun 07, 2006 at 04:35:12PM -0400, Michael S wrote:
> wget works like magic. I used the defaults. fetch I guess is the
> FreeBSD default for "fetching" files from the web. It was having
> problems fetching files from FTP sites.
> No idea what the problem is.

Try setting FTP_PASSIVE_MODE.  This is set in the default login class,
but perhaps you have modified it.

Kris

> 
> On 6/7/06, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> >On Wed, Jun 07, 2006 at 09:38:36AM -0400, Michael S wrote:
> >> Good day everyone!
> >>
> >> I have a portupgrade related question. I am behind a proxy and fetch
> >> doesn't appear to cope with it very well.
> >
> >What did you try?  fetch works fine with proxies for the rest of us :)
> >
> >Kris
> >
> >
> >
> 


pgpzcb5qHUwRC.pgp
Description: PGP signature


Re: natd not starting on boot-up

2006-06-07 Thread Roger Merritt

At 01:34 PM 6/7/2006 +0300, you wrote:

Try to comment the line natd_enable="YES" and then add
a new line at the end of rc.conf:

/etc/rc.d/natd start


Well, that looks like it would work. I'll keep it in mind as a last resort.



if this doesn't work, try to put
natd_flags=""


I'll give it a try. Of course, that's already the entry in 
/etc/defaults/rc.conf.




in your rc.conf and plesase check your ipfw rule for nat
it should be something like this:

(with natd_flags="")
ipfw -q add divert natd all from any to any via your_public_interface


Got it. I already checked 'ipfw show' and that's the very first rule.




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: troubleshooting network settings

2006-06-07 Thread Malcolm Fitzgerald


On 08/06/2006, at 2:42 AM, Steve Bertrand wrote:





Hmm, is that all?  Unusual; I'd think the loopback _should_

be set up

correctly.

`ifconfig lo0 inet 127.0.0.1 netmask 255.255.255.0`  ??

If that fixes it, then we have to figure out *why* it's not being
doing automatically.  Problem during init/rc, most likely ... weird.


I've not had time to address this problem for a week. Going
through all the advice again I found that this advice is
good. That fixes the problem. Any pointers on getting it done
automatically?


Is the following line in /etc/defaults/rc.conf?

ifconfig_lo0="inet 127.0.0.1"   # default loopback device 
configuration.


Yes, that line is in /etc/defaults/rc.conf

malcolm

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


Re: troubleshooting network settings

2006-06-07 Thread Malcolm Fitzgerald


On 08/06/2006, at 12:06 AM, Alex Zbyslaw wrote:


Malcolm Fitzgerald wrote:


Malcolm Fitzgerald wrote:

I am running freeBSD v6.0 security on a home network behind an 
adsl router.

I cannot connect to localhost from a browser (apache is running!)
I cannot connect to localhost port 22 (KPackage tries to use ssh)




On 29/05/2006, at 11:37 PM, Kevin Kinsey wrote:


Hmm, is that all?  Unusual; I'd think the loopback _should_ be set
up correctly.

`ifconfig lo0 inet 127.0.0.1 netmask 255.255.255.0`  ??

If that fixes it, then we have to figure out *why* it's not being
doing automatically.  Problem during init/rc, most likely ... weird.



I've not had time to address this problem for a week. Going through 
all the advice again I found that this advice is good. That fixes the 
problem. Any pointers on getting it done automatically?


What does /etc/rc.conf show for lo0 related things?  (And just to 
check your defaults as well...)


egrep lo0 /etc/rc.conf /etc/defaults/*


Mine shows:

/etc/defaults/rc.conf:ifconfig_lo0="inet 127.0.0.1" # default 
loopback device configuration.


Same here


malcolm

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


Re: portupgrade question (solved)

2006-06-07 Thread Michael S

I did define the to environment variables. For some reason, wget works
just fine on the same machine.

Thanks a lot.

On 6/7/06, Kris Kennaway <[EMAIL PROTECTED]> wrote:

On Wed, Jun 07, 2006 at 04:35:12PM -0400, Michael S wrote:
> wget works like magic. I used the defaults. fetch I guess is the
> FreeBSD default for "fetching" files from the web. It was having
> problems fetching files from FTP sites.
> No idea what the problem is.

Try setting FTP_PASSIVE_MODE.  This is set in the default login class,
but perhaps you have modified it.

Kris

>
> On 6/7/06, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> >On Wed, Jun 07, 2006 at 09:38:36AM -0400, Michael S wrote:
> >> Good day everyone!
> >>
> >> I have a portupgrade related question. I am behind a proxy and fetch
> >> doesn't appear to cope with it very well.
> >
> >What did you try?  fetch works fine with proxies for the rest of us :)
> >
> >Kris
> >
> >
> >
>




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


Re: burncd error

2006-06-07 Thread Chuck Swiger

Napoleon Dynamite wrote:
[ ...top posting recovered... ]

On Wednesday 07 June 2006 10:44, Michael S wrote:

I had the same kind of issue, also with 6.1-RELEASE, and just fixed it
the Windows way - reboot. And it worked fine.


I got that error pretty routinely for a while. The cd-r was always usable, 
though. I switched to k3b for cd burning and have not seen that error since.


k3b uses dvd+rw-tools rather than burncd underneath.  It's possible that they 
would work better for the original poster too.  It also sounds like the issue 
with burncd is reproducible, anyone filed a PR...?


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


Re: i wish to buy your site

2006-06-07 Thread Jerry McAllister
> 
> From: "Jerry McAllister" <[EMAIL PROTECTED]>
> >> 
> >> On Sun, June 4, 2006 11:54, Richard Collyer wrote:
> >> > bill hunt wrote:
> >> >> dear webmaster.
> >> >> My name is Bill Hunt and I'm interested in purchsing your site.
> >> >> the price is nagotiable and I'm willing to pay as much as we can agree
> >> >> on.
> >> >> please let me know if it's ok by you and we'll start nagotiating.
> >> >> yours,
> >> >> Bill
> >> >
> >> > Wow. Microsoft in a if you can't beat 'em buy 'em. From Bill
> >> > himselfbe scared...very scared!
> >> >
> >> > ___
> >> > freebsd-questions@freebsd.org mailing list
> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> > To unsubscribe, send any mail to
> >> > "[EMAIL PROTECTED]"
> >> >
> >> No, guys. All of *you* who responded to this mail failed to realize that
> >> this is a spam message, and that it is most probably just an alternative
> >> scam to the nigerian stuff.
> > 
> > No.  They all realized it.  That is why the responses were so silly - 
> > such as the one included above.No-one took it seriously.   Of course
> > it does serve to verify Email addresses for anyone who responds which
> > is what the spammer wants.
> > 
> > jerry
> 
> Jerry, if I ran a spam trap you can bet I'd have used that address to
> reply. I'd also arrange to sound rather naive, foolish, and upset while
> doing so. Of course, I could get a little dig in that people from
> Ann Arbor would not be carrying on the way you are about it. But I'll
> be nice and not post anything. Flames aren't worth it. (Of course, on
> a Fedora group I might do differently.)

What in heaven's name are you talking about?

jerry

> 
> {^_-}Univ Mich 1967 1968.
> ___
> 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]"