KDE and yahoo IM

2008-10-19 Thread FBSD1
Does anyone have yahoo instant messenger working on KDE desktop??

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


RE: How to restore a lost root password...

2008-10-25 Thread FBSD1
Go to www.a1poweruser.com and read section 13.7 Forgot Root password

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of DSA - JCR
Sent: Saturday, October 25, 2008 9:56 PM
To: freebsd-questions@freebsd.org
Subject: How to restore a lost root password...

Hi all

I have lost the neuron where I stored the root password of an installation
;D

I have seen a How to about this but I have a problem, i set the console
to insecure, so when I try to do the step of the how to i get a message
to input the root password or Ctrl-D to enter in multiuser mode.

Is there a way to restore/modify it, or not?

Some ideas?


Thanks in advance

Juan Coruña
Desarrollo de Software Atlantico



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


restrict FreeBSD users to their home directory

2008-10-25 Thread FBSD1
How do it configure FreeBSD to restrict users to their home directory?
I don't want them to be able see any system directories or other users?


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


ports missing their packages.

2008-10-29 Thread FBSD1
It's my understanding that a port maintainer has to install the port for
real any time a change is made to the port make files or a update to the
source of the software to test and verify the changes work as wanted.
Creating the package after this is just one command and a ftp upload to the
package server. Why are maintainers being given approval to apply their
changes without creating the required package? This is just lax management
on the part of the people who do the authorizing of the changes. Missing
packages increases user frustration level and makes FreeBSD look like its
being mis-managed.

An alternate solution to this problem is to allow users to upload missing
packages to the package server direct or to a staging ftp server so port/pkg
management staff can review first and them populate the production package
server.



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


RE: flash-9, 10 on FreeBSD

2008-10-29 Thread FBSD1


Mikhail Teterin [EMAIL PROTECTED] writes:

 Sent by Glyn Millington:
 My solution was to install Wine and run the MS port of Firefox. So far
 it works flawlessly for me.

 This has two problems:

   1. It requires a (licensed) Windows install handy.

No it doesn't. The MS version of Firefox is running here under Wine with
no problems and definitely no Windows.  Why do you think it needs a
Windows install?


   2. The solution is only suitable for i386 -- not for amd64, which is
  what I'm using.

Ah well, there you have me!

Glyn
___

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Glyn Millington
Sent: Wednesday, October 29, 2008 3:41 PM
To: Mikhail Teterin
Cc: [EMAIL PROTECTED]; Danielisz Laszlo; [EMAIL PROTECTED]
Subject: Re: flash-9, 10 on FreeBSD

What is not clear is do you run wine/firefox from the command line or 
from
within KDE or gnome?

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


RE: Is KDE4 usable on FreeBSD?

2008-11-02 Thread FBSD1


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chad Perrin
Sent: Sunday, November 02, 2008 12:40 PM
To: freebsd-questions@freebsd.org
Subject: Re: Is KDE4 usable on FreeBSD?


Ok now that you have all let off steam about the off topic of desktop verses
ms/windows lets return the meaning of the  original poster.


I spent this weekend playing with kde4 as root and had problems with it 
not
working.
Could not change the displayed time to from 20.00.00 to 8:00PM
When I changed the resolution from the default to 800x600 and the refresh
rate to 60.0 many of the applications did not auto fit to the new setting
and the change would not carry over between logons.
Some times the desktop just froze up and had to do alt-ctrl-backspace to
force return to command line.
When I changed the font type and size to use, the change would not carry
over between logons.
Could not find a way to remove items from the menu.
Some icons would not display at all.
Koffice was missing.
Not all the application use the new window format which has the option to
return to menu that launched it. Only has x out to return to desktop screen.

Bottom line is imho kde4 is not stable, is not ready for general use. Needs
more development and testing. Should only be contained in the development
ports category.



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


XFCE4

2008-11-02 Thread FBSD1
What port names need to be installed to create a XFCE4 desktop environment?
I was looking for a mega port like kde3 has but could not identify one.
Thanks in advance.

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


xfce decktop time display

2008-11-04 Thread FBSD1
Using Xfce4 and the time is displayed in military time 2200.
Want to change this to regular AM/PM displayed time. 10pm
Been through the manual and all the menus and can not find knob to change
the time setting.

Thanks for any help you can give.

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


irc usenet clients for xfce

2008-11-05 Thread FBSD1
What irc, pop mail, and usenet clients from gmone or kde or x would you
recommend to use on xfce?

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


recommendation word processer for xfce

2008-11-06 Thread FBSD1
Looking for word processer that runs on xfce and can output document in
ms/word format.

Thanks for your help.

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


RE: recommendation word processer for xfce

2008-11-06 Thread FBSD1
I looked at OpenOffice but there is no package of it since freebsd 
release
6 stable.
It takes a very very long time to compile this port.

-Original Message-
From: mdh [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2008 10:50 AM
To: [EMAIL PROTECTED] ORG; [EMAIL PROTECTED]
Subject: Re: recommendation word processer for xfce

OpenOffice.org 3.  There's a port.

- mdh

--- On Thu, 11/6/08, FBSD1 [EMAIL PROTECTED] wrote:
 From: FBSD1 [EMAIL PROTECTED]
 Subject: recommendation word processer for xfce
 To: [EMAIL PROTECTED] ORG freebsd-questions@FreeBSD.ORG
 Date: Thursday, November 6, 2008, 8:40 PM
 Looking for word processer that runs on xfce and can output
 document in
 ms/word format.

 Thanks for your help.





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


RE: recommendation word processer for xfce

2008-11-06 Thread FBSD1
Error: FTP Unable to get
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7
.1-release/Latest/openoffice.tbz: File unavailable (e.g., file not found, no
access)

Where did you get the package from or what name did you use for the package?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Glen Barber
Sent: Friday, November 07, 2008 11:08 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] ORG
Subject: Re: recommendation word processer for xfce

On Thu, Nov 6, 2008 at 10:01 PM, FBSD1 [EMAIL PROTECTED] wrote:
I looked at OpenOffice but there is no package of it since freebsd
release
 6 stable.
It takes a very very long time to compile this port.

There is a package available.  I installed it yesterday.  Look at the ftp
site.

--
Glen Barber
___
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: recommendation word processer for xfce

2008-11-06 Thread FBSD1
Top posting is how Microsoft outlook works. Nothing I can do about it.
sorry

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sahil Tandon
Sent: Friday, November 07, 2008 11:18 AM
To: freebsd-questions@freebsd.org
Subject: Re: recommendation word processer for xfce

FBSD1 [EMAIL PROTECTED] wrote:

 I looked at OpenOffice but there is no package of it since freebsd release
 6 stable. It takes a very very long time to compile this port.

Please don't top-post.  OpenOffice packages are available via the
FreeBSD FTP sites.

--
Sahil Tandon [EMAIL PROTECTED]
___
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: FreeBSD network ISP provider

2008-11-09 Thread Fbsd1

Pieter Donche wrote:

I installed FreeBSD 7.0 already on a system at my office (from CDs)
and set up internet connection while installing using the office LAN
(and its DHCP service).

I installed FreeBSD also on my laptop at home (with no network 
connection). (with X windows; startx gives me twm ..)

I want to install KDE3 from /usr/ports/x11/kde3
Tried as described: # cd /usr:ports/x11:kde3; make install clean
I had hoped everything necessary would be found in the disk.
But not: It returns errors because it tried to fetch packages from ftp
sites ... an soon stops..

So I still need Internet connection?

At home, I have an Internet connection via a Broadband Modem and an 
account at an Internet Service Provider. This was set up in WindowsXP 
succesfully (with IP 10.0.0.something,

netmask 255.255.255.0, no gateway, 2 DNS server IP addresses provided
by the ISP). When making the connection to my ISP I have to enter my 
username at the ISP provider ([EMAIL PROTECTED]) and my password)


But how do I set up that in FreeBSD ??

In the Post-installation section during Setup, at the question
'Would you like to configure any Ethernet or SLIP/PPP network devides?)
answering Yes shows the correct on-board netwerk interface (Broadcom 
BCM570xx PCI Gigabit ethernet card)


I tried DHCP, but no success (which was to expect)
Then I get the screen to fill in Host, Domain, Gateway, Name server
IPv4 address, netmask ...

What do I have to enter (Name server, netmask I can guess)
for IP?, host?, domain?
and where will come in my  username/password for my ISP connection

Thanks for hints.
Is there any document describing such a connection?

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



There is step by step instructions in the installer guide at 
www.a1poweruser.com

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


Gconf error in Pidgin Abiword application on xfce Desktop

2008-11-09 Thread Fbsd1
I installed the package of the Generic instant messenger application 
(Pidgin)on xfce desktop. It seems to work fine, but in the log it gives 
this message text.


GConf Error: Failed to contact configuration server; some possible 
causes are that you need to enable TCP/IP networking for ORBit, or you 
have stale NFS locks due to a system crash. See 
http://www.gnome.org/projects/gconf/ for information.

(Details -
1: IOR file '/var/tmp/gconfd-aiza/lock/ior' not opened successfully, no 
gconfd located: No such file or directory
2: IOR file '/var/tmp/gconfd-aiza/lock/ior' not opened successfully, no 
gconfd located: No such file or directory)


Inspection shows that the directory '/var/tmp/gconfd-aiza/lock/' is 
present, but its empty. Aiza in this case is the user name.

There is also in empty directory '/var/tmp/orbit-aiza'.

The package install of the word processing application Abiword also 
generates this same error message, but it is displayed as a startup 
error popup window when Abiword is launched from the xfce menu.


I tried creating am empty 'ior' file but that had no effect.

Question is: How can I correct this error?



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


Re: Console size and scrollback buffer.

2008-11-10 Thread Fbsd1

James Williams wrote:

Hello List,

[On FreeBSD 7.1-BETA2, i386.]

1) How can I change the number of rowsxcols of the console? I'd like
to use the maximum rows/cols available for the 1440x900 screen.

2) How can these settings be made default (takes effect at boot)?

IOW, what is the equivalent of the vga=0x365 Linux kernel option?

3) How I can set the scrollback buffer size (if that's the name) of
the console -- the equivalent of Shift+{PgUp,PgDn} on Linux?

I played around with vidcontrol but was not quite successful.

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





try   adding this in /etc/rc.conf
vidcontrol -h 200
# -h = Set the size of the history scrollback buffer in number of lines.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


trouble getting x11 xdm to work

2008-11-10 Thread Fbsd1
logging in at command line works and startx works. Now want to use x11 
xdm to control logins for virtual terminals 9+


Followed handbook instructions 5.6.2 Using XDM doing this
ttyv8   /usr/local/bin/xdm -nodaemon  xterm   on secure

Then kill -HUP 1 to reread the file.

Also created the .xsessions file in the users home directory.

Keep getting this console error message hundreds of times

init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second




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


Re: trouble getting x11 xdm to work

2008-11-10 Thread Fbsd1

Polytropon wrote:

On Mon, 10 Nov 2008 22:21:38 +0800, Fbsd1 [EMAIL PROTECTED] wrote:

Also created the .xsessions file in the users home directory.


The file is ~/.xsession, without an s at the end. I assume
that csh is your login shell. Put these in your ~/.xsession:


#!/bin/csh
source ~/.cshrc
exec ~/.xinitrc

This sources your individual user setting from .cshrc and the
executes .xinitrc (trivial, isn't it?) to control how the startuo
of your xsession will go.

Make sure both files (.xinitrc and .xsession) are +x attribute.



Keep getting this console error message hundreds of times

init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second


Hey, I saw this one... but I'm not sure how I solved it. Is your
/etc/hosts and hostname set correctly? I think it was something
like this, something I would never had put in any combination
with X...


By the way, in order to try if xdm is working correctly it can be
started directly by the command xdm anytime.






I had ~/.xsession spelled correctly in the directory. Just typo error in 
email. Changed the contents of ~/.xsession as you posted. Still no joy.

/etc/hosts file is correct.

Running release 7.0. When i enter xdm on command line of root nothing 
happens. ps ax command shows no xdm running.


Still getting error msg
init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble getting x11 xdm to work

2008-11-11 Thread Fbsd1
Next question is are the xdm 
configuration files suppose to work as delivered by the port install AS IS?

As a default config demo?


Yes. When I said 'range', I did mean range. Not 2 possibilities. Missing 
libraries, tainted environment, typos, tied up resources, tight security 
settings, existing pid file, xdm not being xdm but an aliased command or 
shell script sooner up in the path - that's just from the top of my head.





I installed xorg as a package. Then installed xfce package. Made no 
config changes to xorg or the xdm config files. At this point i suspect 
the port of xorg as not being configured correctly. That the default xdm 
config files have statement error causing xdm not to function.


So the big question is has anybody installed the release 7.1 package 
version of xorg and was able to get xdm to function without any config 
file changes?

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


Re: trouble getting x11 xdm to work

2008-11-11 Thread Fbsd1

Mel wrote:

On Tuesday 11 November 2008 00:56:29 Fbsd1 wrote:

Polytropon wrote:

On Mon, 10 Nov 2008 22:21:38 +0800, Fbsd1 [EMAIL PROTECTED] wrote:

Also created the .xsessions file in the users home directory.

The file is ~/.xsession, without an s at the end. I assume
that csh is your login shell. Put these in your ~/.xsession:


#!/bin/csh
source ~/.cshrc
exec ~/.xinitrc

This sources your individual user setting from .cshrc and the
executes .xinitrc (trivial, isn't it?) to control how the startuo
of your xsession will go.

Make sure both files (.xinitrc and .xsession) are +x attribute.


Keep getting this console error message hundreds of times

init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second

Hey, I saw this one... but I'm not sure how I solved it. Is your
/etc/hosts and hostname set correctly? I think it was something
like this, something I would never had put in any combination
with X...


By the way, in order to try if xdm is working correctly it can be
started directly by the command xdm anytime.

I had ~/.xsession spelled correctly in the directory. Just typo error in
email. Changed the contents of ~/.xsession as you posted. Still no joy.
/etc/hosts file is correct.

Running release 7.0. When i enter xdm on command line of root nothing
happens. ps ax command shows no xdm running.

Still getting error msg
init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second


That's why. xdm can't get the display. Set on to off in /etc/ttys for ttyv8, 
kill -HUP 1 and if the message does not stop, reboot the machine. Then start 
by running xdm from the command line (as root) and 
inspect /var/log/Xorg.0.log if no screen comes up.





I all ready did that (run xdm from the command line) getting no 
/var/log/xdm.log. Inspecting Xorg.0.log shows nothing related to xdm.


When issuing the xdm command from root and then doing (ps ax command) I 
do not see xdm listed.


What am i to see happen from running xdm from the root command line?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble getting x11 xdm to work

2008-11-11 Thread Fbsd1

Mel wrote:

On Tuesday 11 November 2008 12:09:01 Fbsd1 wrote:

Mel wrote:

On Tuesday 11 November 2008 11:35:41 Fbsd1 wrote:

Still getting error msg
init: getty repeating too quickly on port /dev/ttyv8, sleeping 30
second

You first need to get rid of that. xdm can't open /dev/ttyv8 while getty
is hammering at it.

I turned that off all ready before running xdm from root command line.


What does xdm -debug 1 turn up? You said nothing related to xdm 
in /var/log/Xorg.0.log, but it would still be helpful to see the last lines 
of the file, so we know why X quit. And since Xorg.0.log isn't timestamped, 
check if the last modification time of the file corresponds with the last 
time you ran the command. This will determine if xdm actually gets to the 
stage of starting the X server or gives up sooner.
You may also want to set the -error option (see man xdm) and check if anything 
useful is written there.
With current information, the possible causes range from errors in a 
configuration file xdm reads on start up to X display problems.




Startx works ok so not xorg problem. Next question is are the xdm 
configuration files suppose to work as delivered by the port install AS IS?

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


Re: trouble getting x11 xdm to work

2008-11-11 Thread Fbsd1

Mel wrote:

On Tuesday 11 November 2008 11:35:41 Fbsd1 wrote:



Still getting error msg
init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second



You first need to get rid of that. xdm can't open /dev/ttyv8 while getty is 
hammering at it.



I turned that off all ready before running xdm from root command line.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble getting x11 xdm to work

2008-11-11 Thread Fbsd1


My /etc/ttys looks like this

 ttyv6   /usr/libexec/getty Pc cons25  on  secure
 ttyv7   /usr/libexec/getty Pc cons25  on  secure
 #ttyv8  /usr/local/bin/xdm -nodaemon  xterm   off secure
 #ttyv8   /usr/local/bin/xdm -nodaemon  xterm   on  secure

The init: getty repeating too quickly on port /dev/ttyv8 msg has stopped.

When I start xdm from root command line nothing happens. NO error log 
msgs, nothing. F1 thru F12 just issue the freebsd console logon prompt.



My understanding is when /etc/ttys contains this statement

ttyv8   /usr/local/bin/xdm -nodaemon  xterm   on  secure

followed by a kill -HUP 1 command to reread tyys file the following 
should happen.


F1 thru F8 virtual consoles work as normal (ie: freebsd console logon 
prompt). F9 thru F12 virtual consoles will show the xdm logon screen.


To make xdm the system default logon method have to add xdm_enable=YES 
to /etc/rc.conf and reboot. Then only the xdm logon screen will be seen 
on all virtual consoles F1 thru F12. A ctrl+alt+backspace key sequence 
is the only way to force a return to the freebsd console logon prompt 
for the Fx virtual console being used.


Is this the correct interpretation of how xdm is designed to function??

I can not find in man xdm or xorg website or handbook an explanation of 
how it's suppose work.



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


Disabling boot messages

2008-11-12 Thread Fbsd1
Running a release 7.0 Xorg / Gdm / Xfce Desktop world. Would like to go 
from powering on the PC directly to the Gdm login screen. Don't want the 
users seeing all those boot message roll by.


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


Desktop image of Beastie

2008-11-12 Thread Fbsd1
I picked up this attached jpg of beastie over 10 years ago. Tried using 
it for a gdm logon screen background, but it's really light.


Does any one know where i can get a darker version of the image?

Or if you have a beastie background image you would care to share.

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

Re: Boot splash screen, was Disabling boot messages

2008-11-13 Thread Fbsd1

Daniel Bye wrote:

On Wed, Nov 12, 2008 at 06:40:29PM +0800, Fbsd1 wrote:
  
Running a release 7.0 Xorg / Gdm / Xfce Desktop world. Would like to go 
from powering on the PC directly to the Gdm login screen. Don't want the 
users seeing all those boot message roll by.


Can this be done?



It can - see the FAQ:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#INSTALL-SPLASH

Dan

  


Thank you for the pointer to the boot splash screen. That was exactly 
what is was looking for. The documentation on activating the boot splash 
screen is not up to date. It was written for Freebsd 3.1 and seems to 
have bugs and undocumented functions.


The FAQ says;

FreeBSD have a feature to allow the display of “splash” screens during 
the boot messages. The splash screens currently must be a 256 color 
bitmap (*.BMP) or ZSoft PCX (*.PCX) file. In addition, they must have a 
resolution of 320x200 or less to work on standard VGA adapters. If you 
compile VESA support into your kernel, then you can use larger bitmaps 
up to 1024x768. The actual VESA support can either be compiled directly 
into the kernel with the VESA kernel config option or by loading the 
VESA kld module during bootup.


To use a splash screen, you need to modify the startup files that 
control the boot process for FreeBSD.


You need to create a /boot/loader.rc file that contains the following lines:

include /boot/loader.4th
start

and a /boot/loader.conf that contains the following:

splash_bmp_load=YES
bitmap_load=YES

This assumes you are using /boot/splash.bmp for your splash screen. If 
you would rather use a PCX file, copy it to /boot/splash.pcx, create a 
/boot/loader.rc as instructed above, and create a /boot/loader.conf that 
contains:


splash_pcx_load=YES
bitmap_load=YES
bitmap_name=/boot/splash.pcx

*** end of faq

First the /boot/loader.rc already contains these statements

include /boot/loader.4th
start

So nothing needs to be done to it.

Secondly. /boot/loader.conf statements

splash_bmp_load=YES
bitmap_load=YES

are doing the same thing. you only need one or the other, not both.

Thirdly: If you move a 320x200 resolution image named the default name 
of splash.bmp to /boot and reboot the system you will get this error, 
module_ register_init: mod_load (splash_bmp) error 2
But if you rename that splash.bmp file to something like 
splash320x200.bmp and make your loader.conf look like this


bitmap_load=YES
bitmap_name=/boot/splash320x200.bmp

you no longer get the  module_ register_init:  error 2 message at boot time and your splash 
image will show up centered on a white background screen. You still see the boot 
messages through boot options menu and the timed wait count down.


If you want a full screen splash image, the easiest way is to load vesa in the 
loader.conf

vesa_load=YES
bitmap_load=YES
bitmap_name=/boot/splash640x400.bmp

In both these cases you still see the boot massages through boot options menu and the 
timed wait count down. There are 2 another loader.conf options you may be interested in.


Loader_logo=beastie  This will replace the default FREE BDS words next to the boot menu 
with the beastie logo like in releases in the past had.


beastie_disable=YES  Will stop the boot options menu from being displayed. 
You will still get the timed wait count down.


While the splash screen is displayed during the booting process you can hit any 
keyboard key
to return to the boot message display.

Now for the undocumented behavior. 
First your boot splash screen becomes the system default screen saver. 

Secondly this new default screen saver cycles through steps of changing intensity of 
the image, from bright intensity to a very dark intensity. 


Adding a saver= option to /etc/rc.conf will disable the boot splash screen as 
the default
system screen saver and the saver= selection will be used.


This post is for the archives so others can benefit from finding this post in a 
search of
questions archives. Would also like to find out to get this info used to update the FAQ? 

   

   












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


Re: Problems with Xfce console

2008-11-15 Thread Fbsd1

Bernt Hansson wrote:

Hello list

When exiting xfce to return to my console, xfce put my graphicscard in
an unusable state i.e no picture and my monitors led blinks slowly as if
it where in powersave/suspend mode. This do not happen with fluxbox,
windowmaker or twm. Commenting out the Virtual directive helps but
then I have to set the reolution every time xfce is started.

The other WM's get really strange resolutions if Virtual is commented
out, like 2880x1400 and such.

Is it a driver or xfce issue?

%uname -a
FreeBSD testbox 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Thu Aug 28
14:13:44 CEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64

xorg.conf

Section Device
Identifier  his radeon 3870
Driver  radeon
#   BusID   PCI:1:0:0
Option DDCMode 1Driver specific option
Option PanelSize 1280x1024  Driver specific option
EndSection


Section Screen
Identifier  Screen 1
Device  his radeon 3870
Monitor Hitachi CM752ET
DefaultDepth 24

Subsection Display
Depth   24
Modes  640x480 800x600 1024x768 1280x1024 1600x1200
Virtual 1280 1024
   ViewPort0 0
EndSubsection
EndSection

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





Did you try ctrl-Alt-backspace on the blank screen to return to the 
command line. I think what you are seeing is the xorg screen. Try while 
in xfce ctrl-alt-f1 to switch from desktop to virtual console. and then 
alt f9 to return to desktop?



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


Desktop image of Beastie

2008-11-15 Thread Fbsd1

I picked up this jpg of Beastie over 10 years ago. Tried using
it for a gdm logon screen background, but it's really light.

  http://www.a1poweruser.com/beastie.JPG

Does any one know where i can get a darker version of this image?
I tried to use gimp to make the image darker, but had no luck due to my 
  lack of understanding of what I was doing.


I sure appreciate you help. Thanks




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


best way to add patch to x11/slim-1.3.1

2008-11-19 Thread Fbsd1

On the developers website there is a patch i want to apply

http://developer.berlios.de/patch/?func=detailpatchpatch_id=2283group_id=2663

[ Patch #2283 ] Add a variable to run shutdown commands without root pass.

How can i get make install to apply this patch while compiling the port?

This is the contents of the patch file

 From: Nicolas Pierron [EMAIL PROTECTED]
 Subject: r???: Add a variable to run shutdown commands without root 
password.


   URL: http://svn.berlios.de/svnroot/repos/slim/trunk

 ChangeLog:
 2007-12-16  Nicolas Pierron  [EMAIL PROTECTED]

Add a variable to run system command without root password.
* app.cpp: Add the test for reboot, halt and suspend.
* cfg.cpp: Add the new variable with the default value set to false.
* slim.conf: Add an example of the command.

 ---
  app.cpp   |5 +
  cfg.cpp   |1 +
  slim.conf |5 +
  3 files changed, 11 insertions(+)

 Index: slim.conf
 ===
 --- slim.conf  (revision 150)
 +++ slim.conf  (working copy)
 @@ -10,6 +10,11 @@
  console_cmd /usr/X11R6/bin/xterm -C -fg white -bg black +sb 
-T Console login -e /bin/sh -c /bin/cat /etc/issue; exec /bin/login

  #suspend_cmd/usr/sbin/suspend

 +# Let normal users have access to systems commands. If the value is true,
 +# then the root password is requiered to start a system command.
 +# Valid values: true|false
 +# root_password false
 +
  # Full path to the xauth binary
  xauth_path /usr/X11R6/bin/xauth

 Index: cfg.cpp
 ===
 --- cfg.cpp(revision 150)
 +++ cfg.cpp(working copy)
 @@ -36,6 +36,7 @@
  options.insert(option(login_cmd,exec /bin/bash -login 
~/.xinitrc %session));

  options.insert(option(halt_cmd,/sbin/shutdown -h now));
  options.insert(option(reboot_cmd,/sbin/shutdown -r now));
 +options.insert(option(root_password,true));
  options.insert(option(suspend_cmd,));
  options.insert(option(sessionstart_cmd,));
  options.insert(option(sessionstop_cmd,));
 Index: app.cpp
 ===
 --- app.cpp(revision 150)
 +++ app.cpp(working copy)
 @@ -407,6 +407,11 @@
  case Panel::Console:
  cerr  APPNAME  : Got a special command (  
LoginPanel-GetName()  )  endl;

  return true; // --- This is simply fake!
 +case Panel::Suspend:
 +case Panel::Halt:
 +case Panel::Reboot:
 +if (cfg-getOption(root_password) == false)
 +  return true;
  default:
  break;
  };


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


Re: best way to add patch to x11/slim-1.3.1

2008-11-19 Thread Fbsd1

Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fbsd1 wrote:

On the developers website there is a patch i want to apply

http://developer.berlios.de/patch/?func=detailpatchpatch_id=2283group_id=2663


[ Patch #2283 ] Add a variable to run shutdown commands without root pass.

How can i get make install to apply this patch while compiling the port?



Hi Fbsd1,

Since you've already found a unified diff of the change that you want to
incorporate into the port, you can submit a PR (problem report) using
the form here: http://www.freebsd.org/send-pr.html.

Just follow the instructions on that page, and your patch will be
submitted to the PR system.  The port maintainer reviews your PR, makes
the necessary change and possibly updates the port's revision number.
You then use portupgrade or some other means to install the new version
of the port with the incorporated patch.

Hope that helps,
Greg
- --
Greg Larkin



I submitted PR like you suggested, But i am in need of more immediate 
results. What changes to the port files do i need to make to get the 
port to complie in the patch file?


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


Free usenet nntp servers

2008-11-19 Thread Fbsd1
In the past (alt.binaries.warez)  contained monthly posts of a list of 
Free usenet nntp servers. I dont have access to a nntp server so I can't 
search foe the list. Does any one here know of a Free usenet nntp server 
I can access?

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


Re: Suggestions for PII 400 boot failure

2008-11-20 Thread Fbsd1

Vinny wrote:

Hi,

A friend of mine is trying out FreeBSD and ran into
a booting problem.  Here is his message:

Well, that's discouraging.

I have put together an old PII 400 with  three 20GB drives and a CDROM 
that I'd like to run BSD on.  Half a GB of RAM I figured would be 
respectable.


Downloaded the ISO files, burned CDs of them and when I try to run them 
it starts to boot and then freezes tighter than a muskrat's arse.


Three lines coming on the screen and it ends with Starting the_ and 
just hangs.


I've got a PIII 1000 here that I use as a file server and the boot disks 
run fine on that.  Just won't boot off the PII 400.


Weird.  Really, really weird.  I tried five different CDROMs in case it 
was the actual drive but same thing.  I tried using version 6.3 instead 
of release 7.0 and same thing.


That system doesn't like BSD/Linux whatever.

I use GParted as a partition manager all the time which is bootable and 
same thing on that machine.  It just don't like booting to that OS.


Any suggestions?

Thanks
Vinny





Excerpt from Installers guide  www.a1poweruser.com

PC BIOS
The first thing your PC does after being powered on or when rebooting is 
the motherboard BIOS ROM chip gets control and it interrogates all the 
hardware ports on the motherboard to determine what I/O devices are 
attached. This is called the POST process. As part of this POST process 
the user changeable BIOS values stored in a CMOS chip on the motherboard 
are read and used to configure the PC’s hardware. These BIOS values are 
changed using the BIOS setup utility. The most common BOIS chip in use 
today is manufactured by Award. If your PC does not use an Award BIOS 
chip then you have to read the manual that came with your PC for details.



This summary screen information is very helpful in debugging FBSD 
hardware problems, because it tells you what your PC hardware is and how 
the IRQ numbers are assigned. IRQ stands for interrupt request. An 
interrupt is the doorway the I/O device uses to tell the CPU that it 
wants its turn at getting some processing cycles. This is how the CPU 
shares service time among all the devices attached to the motherboard.




Starting Award BIOS setup utility
During the power up/reboot POST process you will see in the lower left 
corner of the monitor screen the message ‘Press DEL to enter setup’. 
While this message is showing press the keyboard delete key and the 
Award BIOSs setup utility main menu displays on the screen.




First time changes to PC BIOS
Navigate around the menus using the keyboard arrow keys looking for the 
following options. Your PC BIOS may not have all of these.


Virus Warning=, set this option to disable. It’s a firmware check of the 
hard drive boot sector looking for MS/Windows boot virus. This will stop 
FBSD booting from the install CDROM.


plug-n-play=, set this option to disable. FBSD is not sensitive to 
Microsoft plug-n-play standard and may refuse to install, or cause PCI 
cards not to be found.


Disable or set to auto any BIOS option to assign IRQ numbers to PCI 
expansion slots.


Disable any ISA expansion slots.

Operating system type=, set to ‘other’ or any Unix type of operating 
system, don’t set to MS/Windows.


Disable all power management options.

boot sequence=, set this option to (CDROM,C) Since you are installing 
FBSD from CDROM you must tell the PC what I/O device to boot from.


Follow the BIOS menu instructions to save your changes and exit. The PC 
will reboot it self.


Keep in mind that some older CDROM drives and older legacy PC BIOS do 
not support booting off CDROM. Generally with PCs manufactured after 
1999 this is not a problem.


If you do run into this, you have a really old PC and you will need to 
create boot floppies to boot from. This is outside the scope of this 
document. Please read the FBSD Handbook at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html#INSTALL-FLOPPIES


Legacy BIOS also are incompatible with the larger hard disk sizes and 
the faster 66 and 100 UDMA drives.





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


Using diff

2008-11-20 Thread Fbsd1

Trying to use diff program to create a patch.
Output gos to console and does not create the patch file.

If it do   diff original updated  patch.file

The patch.file does not look like a normal patch file.

What am I doing wrong here?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem about ppp -nat

2008-11-21 Thread Fbsd1

Pongthep Kulkrisada wrote:

Hi All,

I have just subscribed to freebsd-questions and I have a question about ppp 
-nat.

I have 2 computers. One is running FreeBSD-7.0R, the other is running WinXP. 
The host running FBSD7.0R has been connecting to the outside world using 
user-ppp without any problem for very long. Now I want to share internet access 
to the other host behind NAT through this FBSD host.
My FBSD machine has 2 interfaces i.e.
tun0 (connecting to ISP) with dynamic IP (of course)
fxp0 (for internal LAN) with static IP of 192.168.1.10
My WinXP machine has 1 interface (internal LAN) with static IP of 192.168.1.11

Previously I have a router acting as a gateway for all machines behind NAT. But 
now I want FBSD machine to work as a gateway. I have never done this before. I 
tried some googling with reading ppp(8) and ipfw(8). And I tried masquerading 
but it didn't work. I have plenty configuration files. But the relevant 
configurations are listed here.

/etc/rc.conf
# enable IP forwarding
gateway_enable=YES
# previously I ran web-server, just disable it or comment it out, not sure why!
#apache_enable=YES

On the host running WinXP, I set its gateway and DNS server to the IP of ppp 
host i.e. 192.168.1.10.

I then inserted the following line as the first rule in /etc/ipfw.rules.
/sbin/ipfw add allow all from any to any via fxp0
(I know this rule is dangerous, but just for testing.)

I then issue the ppp command.
[EMAIL PROTECTED]:~# ppp -background -nat myisp

FBSD host (running ppp) can access anywhere but WinXP host can't. I learned 
from some site explaining that ppp itself has the capability of IP 
masquerading. And it does not require natd(8). So I don't mention about natd 
here.
Anyone have a clue or who have done the correct configurations, please point me 
out.

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




You need to run dhcp so you can assign ip address on the LAN so the down 
stream xp box can gain access to the public internet through your 
gateway freebsd box.  There is a detailed step by step instructions in 
the install guide at www.a1poweruser.com





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


Re: How do I permanently set the numerical ip in dmesg?

2008-11-24 Thread Fbsd1

Mike Price wrote:

How do I permanently set the numerical ip in dmesg?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




If you mean the ip address to get from your isp? You have to purchase an 
 permanently assigned ip address from your ISP. If you mean ip address 
on a private Lan. You do that in your gateway dhcp server.

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


firewall rules for bitlord, yahoo, limewire

2008-11-26 Thread Fbsd1
These applications have predefined ports they use to start up the 
bi-directional packet conversation. But them unsolicited packeted come 
in from other pc nodes to share data using a wide range of high port 
numbers. IPFW, IPF, and PF don't seem to have a rule option to allow 
packs in/out based on program name that started the conversation.


I thought i read in openbsd pf manual that pf state processing will 
allow  applications like limewire to function normally by accepting the 
inbound high number port to pass through the firewall.


I have inclusive firewall rule set which means only packets matching
the rules are passed through. The inbound hight port numbers are
blocked by design.

How do other firewall users code rules to allow limewire to work?

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


Re: firewall rules for bitlord, yahoo, limewire

2008-11-26 Thread Fbsd1

dick hoogendijk wrote:




My unofficial take on it is that limewire is a peer-to-peer sharing
application used by Windows, Mac OS X and Linux users to share files,
usually music, often copyrighted, over the internet.  It is one of the
fastest, most effective ways to spread viruses, trojans, spyware, etc.


Is this your FreeBSD POV or more windows oriented?


The program does not use fixed ports, so the services are hard to
block.  In essence, the program gets the user to bypass security
measures from the inside.


I have never needed a block on limewire. Firstly, all main conmputers
run solaris and therefore also limewire on solaris and secondly, all
windows machines are virtual. So -IF- one of them is infected I just
put a recent snapshot ;-)



Limewire is a windows only application.
So how can you say it runs on solaris which is a flavor Unix?

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


pf or ipf rules to allow p2p Limewire through

2008-11-27 Thread Fbsd1
What pf or ipf firewall keep-state rules needed to allow p2p application 
such as limewire through? Using same firewall rules as in handbook example.

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


Limewire package install error

2008-11-27 Thread Fbsd1
Tried to pkg_add -r limewire.  Dependant diablo-jdk-1.6.0.07.02.tbz File 
unavailable.  The package diablo-jdk is not on 7.0 or 7.1 pkg server.


Looking up diablo-jdk on the ports website, the long description points 
to here http://www.freebsdfoundation.org/downloads/java.shtml


How am i to get these mis-matched package names to fulfill the limewire 
dependent name?


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


Re: Limewire package install error

2008-11-27 Thread Fbsd1

Andrew D wrote:

Fbsd1 wrote:
Tried to pkg_add -r limewire.  Dependant diablo-jdk-1.6.0.07.02.tbz 
File unavailable.  The package diablo-jdk is not on 7.0 or 7.1 pkg 
server.


Looking up diablo-jdk on the ports website, the long description 
points to here http://www.freebsdfoundation.org/downloads/java.shtml


How am i to get these mis-matched package names to fulfill the 
limewire dependent name?




You do realise you don't have to install it using a pkg.  you can 'make 
install' it in /usr/ports/java/diablo-jdk16


:)



You do realize that I don't want to full around with compiling port 
source. That is the whole reason behind the package system. I am looking 
for answer to error in the package install of limewire and it's 
dependent diablo-jdk.




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


Re: pf or ipf rules to allow p2p Limewire through

2008-11-27 Thread Fbsd1

Bernt Hansson wrote:

Fbsd1 said the following on 2008-11-27 09:56:
What pf or ipf firewall keep-state rules needed to allow p2p 
application such as limewire through? Using same firewall rules as in 
handbook example.


Put this in your /etc/ipnat.rules

rdr rl0 0.0.0.0/0 port port# - internal-ip port port# tcp
rdr rl0 0.0.0.0/0 port port# - internal-ip port port# udp







How about explaining just why this is going to allow p2p limewire work?

I think you are missing the fact that limewire does not use dedicated 
port numbers. Every session uses different port numbers and the remote 
computers come in on different hight port numbers.

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


Re: pf or ipf rules to allow p2p Limewire through

2008-11-27 Thread Fbsd1

APseudoUtopia wrote:

On Thu, Nov 27, 2008 at 3:56 AM, Fbsd1 [EMAIL PROTECTED] wrote:

What pf or ipf firewall keep-state rules needed to allow p2p application
such as limewire through? Using same firewall rules as in handbook example.


Well, what port does limewire use? You need to figure out what port
each application uses, then open the port in your firewall rules.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




I think you are missing the fact that limewire does not use dedicated 
port numbers. Every session uses different port numbers and the remote 
computers come in on different hight port numbers. Limewire starts off 
with a proto igmp  multicast packet to the limewire master server where 
all the other users online computers are listed.


Really need someone who has firewall rule for limewire using ipf or pf 
to share their knowledge.


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


Re: pf or ipf rules to allow p2p Limewire through

2008-11-27 Thread Fbsd1

Bernt Hansson wrote:

Fbsd1 said the following on 2008-11-28 07:24:

Bernt Hansson wrote:

Fbsd1 said the following on 2008-11-27 09:56:
What pf or ipf firewall keep-state rules needed to allow p2p 
application such as limewire through? Using same firewall rules as 
in handbook example.


Put this in your /etc/ipnat.rules

rdr rl0 0.0.0.0/0 port port# - internal-ip port port# tcp
rdr rl0 0.0.0.0/0 port port# - internal-ip port port# udp







How about explaining just why this is going to allow p2p limewire work?


Read the handbook on ipfilter.
http://coombs.anu.edu.au/~avalon/

I think you are missing the fact that limewire does not use dedicated 
port numbers. Every session uses different port numbers and the remote 
computers come in on different hight port numbers.


Change port# to port range, then. Or you can skip the firewall.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



I checked the ipfilter online handbook and can not find anything about 
rules for igmp packets, p2p or limewire. I know what a rdr statement 
does but can not see how it can be applied to a p2p application which 
does NOT use dedicated port numbers. The only way i can run limewire is 
to disable my firewall and that does not make me happy.



I think the conclusion is that all 3 of the freebsd firewalls are unable 
 to monitor packet exchange of p2p applications. These firewalls were 
designed before p2p applications were developed and their (p2p) inherent 
design is to defeat standard firewall designs.

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


Re: pf or ipf rules to allow p2p Limewire through

2008-11-30 Thread Fbsd1

 [EMAIL PROTECTED] wrote:


So on the Limewire Advanced - Firewall config page enter a port
number, such as 6346 in both the Listen on Port and the Manual Port
Forward boxes.

Then after your NAT rule in pf.conf enter something like the following:

rdr on $ExtIF proto tcp from any to any port 6346 - 192.168.10.2 port 
6346


and a corresponding filter pass rule:

in both the Listen on Port and the Manual Port
Forward boxes.

192.168.10.2 is my desktop machine where I use Limewire. It works just 
fine.





Thank you for the solution to this problem.

I was un-aware Limewire had it's own firewall configuration options.
In Limewire version 4.18 Tools/Options/Advanced/Firewall I entered the 
same port number  in both the Listen on Port and the Manual Port 
Forward option fill in boxes.  Then in IPF rules added these 2 lines.


pass out quick on $oif proto igmp from any to any keep state
pass out quick on $oif proto tcp  from any to any port =  flags S 
keep state


Each XP box on the lan running Limewire gets it's own unique port number 
and the corresponding firewall rule. No need for NAT RDR rules.

Limewire works fine and my firewall is tight as every.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPFilter section in Handbook needs updating

2008-12-06 Thread Fbsd1

G magicman wrote:

And incomplete yes i agree that the doc does need to be updated and examples 
(more) need to be added.

--- On Fri, 12/5/08, Dean Weimer [EMAIL PROTECTED] wrote:
From: Dean Weimer [EMAIL PROTECTED]
Subject: IPFilter section in Handbook needs updating
To: freebsd-questions@freebsd.org
Date: Friday, December 5, 2008, 10:07 AM

I was just setting up ipfilter and ipmon on a FreeBSD 7 server, and noticed that
the ipmon and syslog information under the ipfilter section of the handbook is
incorrect.

The section reads:
-snip-
31.5.7 IPMON Logging
Syslogd uses its own special method for segregation of log data. It uses
special groupings called facility and level. IPMON in
-Ds mode uses security as the facility name. All IPMON logged data
goes to security The following levels can be used to further segregate the
logged data if desired:
LOG_INFO - packets logged using the log keyword as the action
rather than pass or block.
LOG_NOTICE - packets logged which are also passed
LOG_WARNING - packets logged which are also blocked
LOG_ERR - packets which have been logged and which can be considered short
To setup IPFILTER to log all data to /var/log/ipfilter.log, you will need to
create the file. The following command will do that:
# touch /var/log/ipfilter.log
The syslog function is controlled by definition statements in the
/etc/syslog.conf file. The syslog.conf file offers considerable flexibility in
how syslog will deal with system messages issued by software applications like
IPF.
Add the following statement to /etc/syslog.conf:
security.* /var/log/ipfilter.log
The security.* means to write all the logged messages to the coded file
location.
To activate the changes to /etc/syslog.conf you can reboot or bump the syslog
task into re-reading /etc/syslog.conf by running /etc/rc.d/syslogd reload
Do not forget to change /etc/newsyslog.conf to rotate the new log you just
created above.
-snip-

In trying to configure this I found that ipmon -Dsa doesn't log to
security, but logs to local0 instead.  Reading the man page for ipmon does in
fact state this.  However it also list the -L option as being able to change
this default behavior, I tried ipmon -DSa -L security, it excepts this, but
doesn't actually change the logging to use security.  It still only outputs
to the syslog using local0, I also tried using ipmon -DSa -L local7 as well,
still outputs to local0.  It was easy enough to modify my syslog.conf to output
the local0.* as well as security.* to the /var/log/security file.  However it
would be greatly appreciated if someone that actually understands what's
going on here could get this info updated.  It would have saved me some time, as
well as I am sure some other people in the future.  Of course it's always
possible I am missing something simple here that is causing this discrepancy,
please do inform me if I did.  It's probably worth mentioning that I am
starting ipmon using the rc.conf file with ipmon_enable=YES and
ipmon_flags=-DSa, just in case the /etc/rc.d/ipmon script actually
changes the default behavior of ipmon in some way, though I didn't see
anything in it that should.  And ps wwaux | grep ipmon does display the process
running with the flags exactly as stated on the ipmon_flags line of the
/etc/rc.conf file.

Thanks,
 Dean Weimer
 Network Administrator
 Orscheln Management Co



I wrote that whole firewall handbook section. How is the following for 
complete replacement of the 31.5.7 IPMON Logging section?


31.5.7 IPMON Logging
Syslogd uses its own special method for segregation of log data. It uses 
special groupings called ‘facility’ and ‘level’. IPMON in –Ds mode uses 
local0 as the ‘facility’ name. All IPMON logged data goes to local0.
You have to manually configure the /etc/syslog.conf file by adding the 
statements to direct the Local0 'facility' to the log file name 
recording the log records. FBSD keeps all of its syslog files in 
/var/log/ directory.


First allocate the new named log file for the IPFMON logged data.

touch /var/log/ipfilter.log # will allocate the file

The syslog function is controlled by definition statements in the 
/etc/syslog.conf file.

You will have to edit the /etc/syslog.conf file.

Add the following statement to syslog.conf:

local0.* /var/log/ipfilter.log

The local0.* means to write all the logged messages to the coded file 
location.
To activate the changes to /etc/syslog.conf you can reboot or bump the 
syslog task into re-reading /etc/syslog.conf by kill –HUP pid. You get 
the pid (IE: process number) by listing the tasks with the ps ax 
command. Find syslog in the display and the pid number is the number in 
the left column.
Don’t forget to change /etc/newsyslog.conf to rotate the new named 
IPFILTER log you just created above.


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

Re: update packages or reinstall

2008-12-12 Thread Fbsd1

Glen Barber wrote:
Gary Hartl said: 

I'm considering just wiping the system clean and starting from scratch to
say either 6.4-release or 7.0 release.



For what it's worth, I've (so far) had 50% luck with 7.1.  My home server runs nothing special, mostly development stuff and the occasional X session.  I attempted to upgrade to 7.1 from 6.3-STABLE yesterday, and to make a long story short, am now running 6.4-RELEASE.  


If you do decide to go with 7.1, I'd test drive it first, before committing 
that machine to that OS.  So far, I've had no problems with 6.4-* on any of my 
machines.

Regards, 




I installed 7.0 from scratch and its rock hard. 7.1 release may be 6 
months or longer away from being released and its not completely tested 
yet or ready for production. Make backups of your data on 6.4 you want 
to move forward and install 7.0 from scratch. Nothing is better that a 
brand new system to add your ports to. Use pkg_add -r command to add 
your ports.

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


Re: Double Posts

2008-12-12 Thread Fbsd1

Gabe wrote:

Its a conspiracy. Is it safe to say that it is in fact gmail related?

-Original Message-
From: Odhiambo Washington odhia...@gmail.com
Sent: Friday, December 12, 2008 12:41 PM
To: freebsd-questions@freebsd.org
Subject: Re: Double Posts

On Fri, Dec 12, 2008 at 8:27 PM, Jerry ges...@yahoo.com wrote:


On Fri, 12 Dec 2008 08:38:17 -0500
Gary Hartl gha...@gmail.com wrote:


Anyone have any clue what I would be getting two of every message
posted to the group?

It started yesterday and nothing has changed on my end (that I am
aware of)

I'm using outlook 2008, picking up from gmail.

Thanks

Gary

Consider yourself lucky. I have been reading horror stories on the
GMail forum regarding users losing email. In any event, if it just
started and you did not change MUAs, it is almost guaranteed to be a
Google (GMail) problem. By the way, are you using IMAP or POP?



Hmm, this disappearing e-mails issue: I experienced it today. 2 test mails
from my gmail account, to a mailing list where I am member, I see the mails
sent to a gmail server from the logs of my mailing list server, but the
mails failed to show up on my gmail account, Completely!!




I canceled my gmail account because its so un-reliable. Goggle should 
not enter the field of online email. They have a good search engine but 
their email system is the worse i have ever seen.

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


Re: general question about setting up gateway

2008-12-19 Thread Fbsd1

Richard Yang wrote:

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

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





The Freebsd Install guide   www.a1poweruser.com


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


recover data from damaged msdos fat32 partition

2008-12-20 Thread Fbsd1
I know i can mount fat32 partition using mount_msdos command. But my 
msdos fat32 partition is a bad disk with corrupted fat table.


Question is can i use freebsd to recover data from this msdos fAT32 disk

What tools do you suggest to use?

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


Re: local copy of handbook

2008-12-28 Thread Fbsd1

Masoom Shaikh wrote:

hello list,

in my previous FBSD installations i always had a local copy of handbook
never bothered how it got there, until now. i lost my installation due to
some good ups. reinstalled minimal 7.0 and build installed kernel  world

uname -a
FreeBSD raptor 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Wed Dec 17 13:27:42
UTC 2008 root@:/usr/obj/usr/src/sys/ARGON18  amd64

now i cannot see local copy of handbook, i had look at FreeBSD Documentation
Primer
but that seems overkill and geared towards contributing documentation
http://www.freebsd.org/doc/en/books/fdp-primer/

also I cud use tarballs from FTP, but is there easy way to install them ?
also csup didn't help here is my csup file

*default tag=RELENG_7
*default host=ftp2.tw.freebsd.org
*default prefix=/usr
*default base=/var/db
*default release=cvs delete use-rel-suffix compress
src-all
doc-all

csup updates the source each time, but now i am not sure about doc!!

hints and help ?

Masoom Shaikh




Minimal install does not include the handbook.
Thats why its called a minimal install.

Normal install you get handbook.

The following link to the handbook's first page tell you where to ftp 
your copy from.


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




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




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


Re: FreeBSD 7, how to recieve internet mail

2009-01-14 Thread Fbsd1

Pieter Donche wrote:

On FreeBSD 7, out of the box, one can send mail to internet destinations
and can send mail locally from one user to another user on the same
FreeeBSD machine

But it can't receive mail from internet as it appears ..

A sendmail is running
freebsd7box# ps -jaxw | grep sendmail
smmsp 26649 1 26649 266490 Is??0:00.00 sendmail: Queue 
run...@00:30:00 for /var/spool/clientmqueue (sendmail)
root  26651 1 26651 266510 Ss??0:00.04 sendmail: 
accepting connections (sendmail)


The machine is listening on port 25
freebsd7box# netstat -na | grep 25
tcp4   0  0  127.0.0.1.25   *.*LISTEN

But telnettting the freebsd box with its own ip address at port 25
from the root account of the box
freebsd7box# telnet 143.129.75.1 25
Trying 143.129.75.1...
telnet: connect to address 143.129.75.1: Connection refused

The only thing that works is
freebsd7box# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
...

How do I make the FreeBSD7 box accept connections to port 25 from all of 
the

internet ??

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





Your problem is not with sendmail but with your understanding of how 
email works. You need your own registered domain name pointing to the ip 
address assigned by your isp that is used by your freebsd system running 
your public sendmail program. Or if you use your isp domain name for 
your email then you need to add the fetchmail program to your freebsd 
system to get your eamil from your isp and hand it off to sendmail for 
queing on your system.


The 'Freebsd install guide' at www.a1poweruser.com has section 
explaining this subject in detail.

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


Re: FreeBSD USB Install

2009-01-14 Thread Fbsd1

Brian McCann wrote:

On Fri, Jan 9, 2009 at 10:43 AM, Brian McCann bjmcc...@gmail.com wrote:

Well this just got a LOT more frustrating and interesting.  I made a
stick following those directions using a new stick...worked fine,
booted off of it...did some work on it...somehow the filesystem got
very corrupted in one of various things I was doing to it (I think it
was when I accidentially unplugged it before running a sync and
umount).  I figured it'd just be easier to start over and build it
again from scratch.  So...I try to newfs it (newfs -U -L FreeBSDStick
/dev/da1s1a, and newfs fails with cg 0: bad magic number .  Now I'm
really getting pissed.  So...I run a dd (dd if=/dev/zero of=/dev/da1
bs=1m), and do the whole thing over...here's the console output:

umm# dd if=/dev/zero of=/dev/da1 bs=1m
dd: /dev/da1: short write on character device
dd: /dev/da1: end of device
3830+0 records in
3829+1 records out
4016045568 bytes transferred in 4324.380202 secs (928699 bytes/sec)
umm# fdisk -BI /dev/da1
*** Working on device /dev/da1 ***
fdisk: invalid fdisk partition table found
fdisk: Geom not found: da1
umm# bsdlabel -B -w da1s1
umm# newfs -U -L FreeBSDStick /dev/da1s1a
/dev/da1s1a: 3827.9MB (7839640 sectors) block size 16384, fragment size 2048
   using 21 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
   with soft updates
super-block backups (for fsck -b #) at:
 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624,
3010976, 3387328, 3763680, 4140032, 4516384, 4892736,
 5269088, 5645440, 6021792, 6398144, 6774496, 7150848, 7527200
cg 0: bad magic number

So now I'm getting seriously ticked off.  Anyone have any ideas what
the heck could be causing this?  This thumb drive was working fine
with FreeBSD!  I'm trying a dd on a thumb drive w/o specifying a block
size / BS...we'll see what that does...but I'm still open to
suggestions since I'm just about out of ideas.

Thanks!
--Brian



To the list of things tried...add formatting the USB stick with the
HDD Low Level Format Tool
(http://hddguru.com/content/en/software/2006.04.12-HDD-Low-Level-Format-Tool/).
 Still no joy...



For those following along at home, I found the cause of my problems.
It apparently all came down to the machine I was making the stick on.
Any machine that had an Intel SCB2 motherboard in it, would screw it
up.  I switched to using a different  newer machine, re-did the
directions at 
http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb-stick-episode-2
, and all my problems with it went away.  YAY!!!

Thanks to all those who provided input.  Long live FreeBSD!
--Brian



Your link to the instructions is dead.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Bios chip update suggestions

2009-01-15 Thread Fbsd1

I have an desktop manufactured in 2002 by a South Korean company Hyunju.
The company is now out of business.
It's bio's do not allow booting from a usb memory stick.

I want to find an bio's update that adds booting from usb memory stick.

I know the desktop uses AWARD bio's chip and the bio's id string is 
01/08/2002-694T-686-P6VXM2TC-00


All the internet bio's chip update url's found by Google search are 
customized for MS windows.


Suggestions on how or where to purchase the correct bio's chip update?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Bios chip update suggestions

2009-01-15 Thread Fbsd1

matt donovan wrote:



On Thu, Jan 15, 2009 at 8:22 PM, Fbsd1 fb...@a1poweruser.com 
mailto:fb...@a1poweruser.com wrote:


I have an desktop manufactured in 2002 by a South Korean company Hyunju.
The company is now out of business.
It's bio's do not allow booting from a usb memory stick.

I want to find an bio's update that adds booting from usb memory stick.

I know the desktop uses AWARD bio's chip and the bio's id string is
01/08/2002-694T-686-P6VXM2TC-00

All the internet bio's chip update url's found by Google search are
customized for MS windows.

Suggestions on how or where to purchase the correct bio's chip update?
___
freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org
mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org
mailto:freebsd-questions-unsubscr...@freebsd.org


if bios does not allow booting from usb a update won't either



The current bios allows booting from usb-hard drive, floppy, cdrom, zip, 
all which are external drives. This desktop was mfg before usb memory 
sticks can on the market. So the desktop does not have support for 
booting from usb memory stick. Freebsd 7.0 can find and use the usb 
memory stick for writing and reading data.


Just need to update bios containing option to boot from usb memory stick.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 7.1 Install -- acd0: TIMEOUT - READ_BIG retrying (1 retry left)

2009-01-19 Thread Fbsd1

patrick wrote:

(Sorry for the repost, but in retrospect, I thought a subject
detailing the actual problem would garner more responses.)

Hi, I just got a new Dell Inspiron 530s, and am having some trouble
getting FreeBSD 7.1 installed on it. When I boot up from the CD, after
it detects all of the disks, I start getting messages like:

acd0: TIMEOUT - READ_BIG retrying (1 retry left)

and so on.

Google results suggested that I disable ACPI from the boot menu. This
works insofar as I get to the installation menu; however, when I go to
partition the disk, it says that no disks were found. Is there a way I
can disable ACPI, but set some boot-time variables to help the system
find the disk controller?

I'm in the process of creating a LiveCD to see if acpidump might help
isolate just what the problem is, but if anyone has some advice in the
meantime, I'd greatly appreciate it.

... time passes ...

Booting in safe-mode doesn't have the TIMEOUT - READ_BIG messages, but
instead I get an interrupt storm detected. The LiveCD didn't work
because when I boot with ACPI disabled, no disks are detected which
means that I cannot mount the LiveCD. :(

Has anyone found a way to work around this sort of issue before?

Thanks,

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




Change your Bios.

Virus Warning=, set this option to disable. It’s a firmware check of the 
hard drive boot sector looking for MS/Windows boot virus. This will stop 
FBSD booting from the install CDROM or finding the hard drive.


plug-n-play=, set this option to disable. FBSD is not sensitive to 
Microsoft plug-n-play standard and may refuse to install, or cause PCI 
cards not to be found.


Disable or set to auto any BIOS option to assign IRQ numbers to PCI 
expansion slots.


Operating system type=, set to ‘other’ or any Unix type of operating 
system, don’t set to MS/Windows.


Disable all power management options.

Open your box and check that the cdrom reader device is not slave on 
ribbon with no master. Freebsd assumes the motherboard primary ide 
controller has hard disk on master nipple and cdrom or another hard disk 
on slave nipple. The motherboard secondary ide controller can not have 
empty master nipple with an device on the slave nipple. If this is what 
you have, move the slave device to the master nipple and change the 
device jumper pin to indecate master.







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


reread newsyslog.conf without reboot

2009-02-11 Thread Fbsd1
How do I get the system to reread /etc/newsyslog.conf file with out 
rebooting the system?

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


Re: Bios chip update suggestions

2009-02-11 Thread Fbsd1

Chris Whitehouse wrote:

Fbsd1 wrote:

I have an desktop manufactured in 2002 by a South Korean company Hyunju.
The company is now out of business.
It's bio's do not allow booting from a usb memory stick.

I want to find an bio's update that adds booting from usb memory stick.

I know the desktop uses AWARD bio's chip and the bio's id string is 
01/08/2002-694T-686-P6VXM2TC-00


All the internet bio's chip update url's found by Google search are 
customized for MS windows.


Suggestions on how or where to purchase the correct bio's chip update?



What do you mean the update url's are customised for windows? The bios 
doesn't know anything about operating system. Most likely you could 
download a dos boot disk image - google, there are plenty around - 
create a bootable floppy and copy your latest bios image and bios update 
program, eg awdflash.exe onto it. Just boot from the floppy and run the 
update.


Just be sure the bios image is really intended for your motherboard and 
don't interrupt the update.


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





What i mean is all the bio update sites have a utility that runs from 
the website to fetch your bio id string info. This utility will not work 
on a non-windows operating system.

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


Apache/php

2009-02-12 Thread Fbsd1
I have php code on home page to count how many times it is accessed from 
the internet. Problem is pages deeper in website can jump back direct to 
home page and this again gets counted.


Is there any way to give the php counter routine intelligent so it will 
bypass bumping the counter on accesses coming from pages in the site?


I looked at the php variables but nothing jumped up that looked usable.
Am I wanting to do something that is imposable?



?php
$counter_file = '99.00-IG_visitor_count.php';
clearstatcache();
ignore_user_abort(true);  # prevent refresh from aborting file operations
$fh = fopen($counter_file, 'r+');  # use 'r+' so file can be read and 
written.

if ($fh)
{
 if (flock($fh, LOCK_EX))   # don't do anything unless lock is 
successful

 {
 $count = chop(fread($fh, filesize($counter_file)));
 $count++;
 rewind($fh);
 fwrite($fh, $count);
 fflush($fh);
 ftruncate($fh, ftell($fh));
 flock($fh, LOCK_UN);
 } else echo Could not lock counter file '$counter_file';
 fclose($fh);
} else  echo Could not open counter file '$counter_file';
ignore_user_abort(false);## put things back to normal
echo brnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
nbsp;nbsp;You are the $count visitor since 2/15/2009;
?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


bootable 7.1 USB disk versus flash drive versus internal ide hard drive

2009-02-14 Thread Fbsd1

Is there a differences between a usb external hard drive
and a usb flash drive boot loader pgm?
When i plug a usb flash drive in FreeBSD handles it
just like a internal IDE hard drive.

To make a hard drive bootable you have to write the boot loader pgm to 
the disk. Does the ide hard drive boot loader pgm work on usb external 
hard drives and a usb flash drive?


My pc has bios option to boot from usb disk but will not boot when i 
plug in a bootable flash drive.


What am i missing here?

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


Re: When is there going to be a USB install and run iso iamge for FreeBSD?

2009-02-20 Thread Fbsd1

Formula 1 wrote:

Is there going to be a possibility for FreeBSD, in the future or now, that 
there will be a release of it that allows for install and running of the 
operating system off of a USB memory stick?






In 7.1 I installed from cdrom cd1 to USB memory stick using the 
sysinstall utility. When you do the fdisk be sure to allocate whole USB 
memory stick as a single partition and mark it bootable.

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


Re: When is there going to be a USB install and run iso iamge for FreeBSD?

2009-02-20 Thread Fbsd1

Sergio de Almeida Lenzi wrote:

Em Sex, 2009-02-20 às 20:51 +, Formula 1 escreveu:


Is there going to be a possibility for FreeBSD, in the future or now, that 
there will be a release of it that allows for install and running of the 
operating system off of a USB memory stick?




I have it running here... two small scripts save it from the disk into a
2mb usb stick.
once in the usb you can boot (from the usb) and install it on any other
disk in 5 minutes
and using zfs (a 1gb ufs partition, a swap partition and a big zfs
partition.
if needed I can put the script in the web fo testing or download.

I adivse that  there is no need to enter sysinstall.

Hope it can help

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



Sure would like a copy of your scrips.
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't find an internal flash reader that doesn't crash 7.1

2009-02-26 Thread Fbsd1

Steve Franks wrote:

I've tried several.  I have a need of this - anyone have one that
works with our USB stack?

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




If you really want a meaningful reply them you have to describe your 
problem in some detail.

 NO one on this list has ESP to read your mind.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Xorg package update

2009-02-27 Thread Fbsd1
When is the the X-Org mega package going to be recreated so it contains 
all the fixes caused by 7.1 release as detailed in /usr/ports/UPDATEING?

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


portmanager/portmaster like application for packages?

2009-03-01 Thread Fbsd1
I am looking for software like portmanager/portmaster but works on the 
package system instead of the port system. Is there such am application 
available?

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


Xorg mouse and massive error log messages problems

2009-03-01 Thread Fbsd1
Just installed Xorg package from parkages-current hoping to get 
environment containing all the fixes. Still have the no mouse curser 
movement on xfce desktop.


Adding
Option AllowEmptyInput Off
statement to ServerLayout section of /etc/X11/xorg.conf
got the mouse curser moving.
But I still get the the mouse error messages in the X11 log.

{EE) xf86OpenSerial: Cannot open device /dev/psm0 Device busy.
(EE) PS/2 Mouse: cannot open input device
(EE) PreInit failed for input device PS/2 Mouse
(EE) config/hal: NewInputDeviceRequest failed

Is there some other correct solution?


I am receiving massive flooding of the Log file: /var/log/Xorg.0.log 
with the follow messages


Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0

I found a post in the questions archives where the person was saying 
these messages are meaningless and can be ignored. It's not a problem 
the ignore them, but my log get massive in size and consumes my free 
disk space. I know i can configure to rotate the log at a given size. 
But that is not the solution. I need to know how to stop these messages 
from being issued in the first place.


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


Re: portmanager/portmaster like application for packages?

2009-03-01 Thread Fbsd1

Aryeh M. Friedman wrote:

Fbsd1 wrote:
I am looking for software like portmanager/portmaster but works on the 
package system instead of the port system. Is there such am 
application available?

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


portupgrade has an option to install packages if current with the port 
version

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



I don't do ports if at all possible. I even do the package of the 
dependents of the ports I am forced to do.

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


link to dos2unix

2009-03-01 Thread Fbsd1
I use the dos2unix console command all the time. I am tried to typing in 
that long name. I tried to do a hard link on it.

ln /usr/local/bin/dos2unix /usr/local/bin/d2u
This command is accepted without error, but when it execute it
d2u .txt
I get message ==oops you renamed me using unix2dos instead.
I also tried
ln -s /usr/local/bin/dos2unix /usr/local/bin/d2u
and got same results. ls -l does not show dos2unix as linked all ready.

What am I doing wrong here?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: link to dos2unix

2009-03-01 Thread Fbsd1

Roland Smith wrote:

On Sun, Mar 01, 2009 at 05:00:27PM +0800, Fbsd1 wrote:
I use the dos2unix console command all the time. I am tried to typing in 
that long name. I tried to do a hard link on it.

ln /usr/local/bin/dos2unix /usr/local/bin/d2u
This command is accepted without error, but when it execute it
d2u .txt
I get message ==oops you renamed me using unix2dos instead.
I also tried
ln -s /usr/local/bin/dos2unix /usr/local/bin/d2u
and got same results. ls -l does not show dos2unix as linked all ready.

What am I doing wrong here?


Usually, programs like this perform dos2unix or unix2dos translations
depending on how they are called. So renaming them won't work.

Try adding an alias to your favorite shell. That should work. E.g.put
'alias d2u dos2unix' and 'alias u2d unix2dos' in your .cshrc.

Roland


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


bsdstats not working in 7.1

2009-03-01 Thread Fbsd1

bsdstats is now in the base system.
Have bsdstats_enable=YES is rc.conf
Worked this way in 7.0.
What am I missing here???
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


purpose of /etc/wall_cmos_clock

2009-03-03 Thread Fbsd1

What is /etc/wall_cmos_clock used for and how is it created?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: desktop app/config

2009-03-03 Thread Fbsd1

Jean-Paul Natola wrote:

Jean-Paul Natola jnat...@familycareintl.org wrote:



Ok so I left the machine running over the weekend to install KDE,

And when I got in this morning it said that my disk was out of space-
I loaded nothing but the basic freebsd os and nothing other than kde
(granted its only a 10 gig drive) but that should be enough for a kde
desktop no? 


It may be that you need to clean-out the workspaces with 
rm -rf /usr/ports/*/*/work, and start again.



BTW I'd go for KDE3 rather than KDE4. The latter still seems to be very
fragile to me, and it needs a fairly up-to-date machine, with and a well
supported 3-d graphics card if you want the effects.

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


So I followed the instructions above, and after a few days I wount up again
with my 6 gig slice filling up before  kde3 could install-

I must be doing something wrong if I cant install kde 3 on a 6 gig slice?




You would be better off to install the package version of kde.

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


autoconf262 package error

2009-03-03 Thread Fbsd1
When doing a pkg_add for autoconf262 it does not do auto package add for 
its dependents like other packages do. Some thing is wrong with the 
autoconf262 package on 7.1.

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


php5 changes in release 8.0

2009-03-05 Thread Fbsd1
Having problems installing php5 in 7.1 so tried 8.0 and see that in 
release 8.0 php5 in defaulting to apache 22 when apache interface is 
selected from the make config menu. The config menu should give option 
to select apache 13 or apache 22 not force apache 22 on the user 
community. Is the maintainer going to change the config menu before php5 
8.0 is released for production?

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


Re: php5 changes in release 8.0

2009-03-09 Thread Fbsd1

Bill Moran wrote:

In response to Fbsd1 fb...@a1poweruser.com:

Having problems installing php5 in 7.1 so tried 8.0 and see that in 
release 8.0 php5 in defaulting to apache 22 when apache interface is 
selected from the make config menu. The config menu should give option 
to select apache 13 or apache 22 not force apache 22 on the user 
community. Is the maintainer going to change the config menu before php5 
8.0 is released for production?


If you want a different version of Apache, all you have to do is install
Apache first, then PHP will use the version you have installed.

It's always been that way.  It's just that up till now the default was
1.3.  It's _LOOONG_ past time when the default should have moved to 2.X.

I had Apache 13 installed before installing php5 and it did install php 
with files for apache22. It did not default to using apache 13 which was 
all ready installed.

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


Re: issues in XFCE 4.6

2009-03-13 Thread Fbsd1

Keith Seyffarth wrote:

I went through pkg_rmleaves and deleted xfce and then everything it
exposed, then re-installed using portinstall -R

This installed 32 packages when I had only deleted 31, so something
got installed that wasn't previously.

Unfortunately, this still didn't fix the problems.

The XFCE menu still isn't available, and the screen resolution is
really horrible (did the developers assume everyone has a 30
monitor?)

Anyway, what I really need is to know how to manually fix the
configuration since access to settings isn't available through XFCE
in 4.6 so I can make this usable until XFCE can be fixed.

Unless someone else has another idea...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org





Your problem is not xfce but xorg. It went through massive changes in 
7.1 and it's now mandatory to have a /etc/X11/xorg.conf. You have to add
Option AllowEmptyInput Off statement as last line in ServerLayout 
section. Doing console command Xorg -config /etc/X11/xorg.conf will 
build you one.  By the way i used the package version of xfce4 on 7.1 
and it's working just fine after i added the above xorg fixes.

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


error in php5 make install

2009-03-14 Thread Fbsd1

Turn off all options accept Apache module

===   php5-5.2.9 depends on file: /usr/local/bin/autoconf-2.62 - found
===   php5-5.2.9 depends on executable: pkg-config - found
===   php5-5.2.9 depends on shared library: xml2.5 - found
===  Configuring for php5-5.2.9
cannot create /usr/ports/lang/php5/work/php-5.2.9/aclocal.m4: No such 
file or directory

*** Error code 2

Script didn't even look for m4 dependent. m4 is installed already.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-14 Thread Fbsd1

Keith Seyffarth wrote:
Your problem is not xfce but xorg. It went through massive changes in 
7.1 and it's now mandatory to have a /etc/X11/xorg.conf. You have to add
Option AllowEmptyInput Off statement as last line in ServerLayout 
section. Doing console command Xorg -config /etc/X11/xorg.conf will 
build you one.  By the way i used the package version of xfce4 on 7.1 
and it's working just fine after i added the above xorg fixes.


That line was already in xorg.conf (it was necessary to get a mouse to
work after the last xorg update in January). However, I did not have
it as the last line in the ServerLayout section. I moved it to the
last line, but that didn't make a difference.

There's still no XFCE menu, and without the ability to update the
settings in XFCE, it's pretty much unusable...

Keith


As i said the packages worked for me. Blow away the xfce and xorg ports 
and do the xorg mega package and the xfce mega package. if that fails 
then bkup your user data and install a clean virgin version of 7.1 and 
the xorg and xfce packages.

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


Re: error in php5 make install

2009-03-14 Thread Fbsd1

Peter wrote:


Fbsd1 wrote:

Turn off all options accept Apache module

===   php5-5.2.9 depends on file: /usr/local/bin/autoconf-2.62 - found
===   php5-5.2.9 depends on executable: pkg-config - found
===   php5-5.2.9 depends on shared library: xml2.5 - found
===  Configuring for php5-5.2.9
cannot create /usr/ports/lang/php5/work/php-5.2.9/aclocal.m4: No such
file or directory
*** Error code 2

Script didn't even look for m4 dependent. m4 is installed already.



are you using root account when performing the install ?

Type: id, this will give you the current account you are using.


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



Yes i am using root to install.

I fixed the problem by doing make clean  then make install.
Must have been trash left over from first try.
It worked ok now.
Thanks any way.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


7.1 phpmyadmin skip logon screen?

2009-03-15 Thread Fbsd1

In 7.1 phpmyadmin now drops you into a logon screen.
How do I stop this function and always go to main menu screen?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7.1 phpmyadmin skip logon screen?

2009-03-17 Thread Fbsd1

Matthew Seaman wrote:

Fbsd1 wrote:

In 7.1 phpmyadmin now drops you into a logon screen.
How do I stop this function and always go to main menu screen?


That's nothing to do with the FreeBSD version -- phpMyAdmin works the
same on any platform.

To make phpMyAdmin auto-login to a DB, you need to use 'config'
authentication mode.

  http://www.phpmyadmin.net/documentation/#authentication_modes

It's probably the least secure authentication mode provided, so you
should take further steps in your Apache config to stop the world
gaining access to your database.

Cheers,

Matthew



Read the user id info on mysql and phpmyadmin. It's so much overkill. 
Don't need to secure then at all. I have inhouse development box on 
private lan and mysql has always worked just fine with superuser mysql 
id of root without password. In the previous version of phpmyadmin no 
login id was required and I was able to see my DB definitions. Tried to 
setup config.inc.php by adding statement

$cfg['Servers'][$i]['user']   = 'root';  but no joy.


What is needed in config.inc.php to allow the default mysql superuser 
user id root full access in phpmyadmin?





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


Re: 7.1 phpmyadmin skip logon screen?

2009-03-19 Thread Fbsd1

Fbsd1 wrote:

Matthew Seaman wrote:

Fbsd1 wrote:

In 7.1 phpmyadmin now drops you into a logon screen.
How do I stop this function and always go to main menu screen?


That's nothing to do with the FreeBSD version -- phpMyAdmin works the
same on any platform.

To make phpMyAdmin auto-login to a DB, you need to use 'config'
authentication mode.

  http://www.phpmyadmin.net/documentation/#authentication_modes

It's probably the least secure authentication mode provided, so you
should take further steps in your Apache config to stop the world
gaining access to your database.

Cheers,

Matthew



Read the user id info on mysql and phpmyadmin. It's so much overkill. 
Don't need to secure then at all. I have inhouse development box on 
private lan and mysql has always worked just fine with superuser mysql 
id of root without password. In the previous version of phpmyadmin no 
login id was required and I was able to see my DB definitions. Tried to 
setup config.inc.php by adding statement

$cfg['Servers'][$i]['user']   = 'root';  but no joy.


What is needed in config.inc.php to allow the default mysql superuser 
user id root full access in phpmyadmin?






For the archives.
Figured it out for myself after much testing.

This is the contents of my working config.inc.php file.

 ?php
 $i=0;
 $i++;
 $cfg['Servers'][$i]['auth_type']= 'config';
 $cfg['Servers'][$i]['user'] = 'root';
 $cfg['Servers'][$i]['AllowNoPasswordRoot'] = 'true';
 ?





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


Re: recover data from damaged msdos fat32 partition

2009-03-19 Thread Fbsd1

Polytropon wrote:

On Sat, 20 Dec 2008 16:16:38 +0800, Fbsd1 fb...@a1poweruser.com wrote:
I know i can mount fat32 partition using mount_msdos command. But my 
msdos fat32 partition is a bad disk with corrupted fat table.


Question is can i use freebsd to recover data from this msdos fAT32 disk


Oh yes, you can! As a side product of my attempt to restore data
from an UFS partition with orphaned inodes, I found some good
utilities that might be helpful fo you.




What tools do you suggest to use?


Check 'em out!

System:
dd
fsck_ffs
clri
fsdb
fetch -rR device
recoverdisk

Ports:
ddrescue
dd_rescue
ffs2recov
magicrescue
testdisk
The Sleuth Kit:
fls
dls
ils
autopsy
scan_ffs
recoverjpeg
fatback

Especially magicrescue can do wonders. If everything fails,
The Sleuth Kit is a good tool.

Don't forget to try mtools.




I have installed these ports

autopsy
dd_rescue
ddrescue
fatback
formost
sleuthkit

If my understanding of reading their documentation is correct, they all 
need a empty disk to copy the bad disk sectors to in sequence.

Is this a correct understanding?

msdos fat32 file system has a backup fat table as stated in the docs. Do 
any of the sectors rescue programs read the backup fat table?


Not interested in the XP system or programs directors. Just want user 
data files created by adobe pagemaker. Dont know what the file extension 
is for sure or if there are any way to ID the file from internal 
content. Best guess I have on file extension is .cv5  Do not have a file 
to examen.


What are the general steps I need to do to recover data from this msdos 
FAT32 disk with corrupted fat table and maybe corrupted data?

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


Re: issues in XFCE 4.6 (looking for a working WM)

2009-03-20 Thread Fbsd1

Keith Seyffarth wrote:

At this point, I guess I'm looking for recommendations on a window
manager.

Here are the major problems with XFCE4 4.6:

*  20% probability of starting X without crashing and locking
  computer
* 20-25 minutes to start X (was about 1 under XFCE4 4.4)
* 0% chance of shutting down successfully if X is running
* can't exit X once started (switches monitor to power save mode and
  hangs)
* maximum run time of 8 hours (average around 5 hours)
* won't save settings

and a couple minor ones:

* XFCE menu doesn't work
* missing icons, even after theme is changed from rodent to tango

None of these were issues under XFCE4 4.4, but I'm guessing there's
not a good way to get 4.4 back...

What other window managers do people use, or what would you recommend
and why?

Thanks.
___


In 7.1 I installed the xfce mega package and it is version 4.4.2,

It installed every thing xfce has available. It works fine for me.

xfce 4.6 is very dirty and needs alot more work before it's usable. I 
had some of the same problems as you so i deleted it and returned to 4.4.2.


also installed the Xorg mega package.

First time startx takes about 30sec, after that it comes up in 5-10sec.



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


Re: installing ports xorg

2009-03-22 Thread Fbsd1

Tim Judd wrote:

I'm getting ZERO feedback when I install the xorg metaport, updated
ports tree today.

# cd /usr/ports/x11/xorg
# make install
# 




So what am i missing?

http://www.freebsd.org/doc/en/books/handbook/x-install.html
tells me to install this port.


I even deleted /var/db/pkg/* and /var/db/ports/* to try to hook it to
install...  Retrying the above install every time.  Nothing works.

What to do?


Thanks

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


it will take many many hours to compile. If you read more in handbook it 
also says you can install the package version which should only take 30 
minutes.


pkg_add -r xorg

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


mount 2nd HD containing running Freebsd system

2009-03-25 Thread Fbsd1
I have run out of space on my running 7.1 system. I have a 2nd HD 
containing 6.1 that I want to mount and use the 80gb /usr slice.


What is the mount command to use?

Thinking   mount /dev/ad1 /mnt  but un-sure how this handles the 6.1 
slices on that HD.

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


Re: mount 2nd HD containing running Freebsd system

2009-03-26 Thread Fbsd1

Ricardo Jesus wrote:

Fbsd1 wrote:
I have run out of space on my running 7.1 system. I have a 2nd HD 
containing 6.1 that I want to mount and use the 80gb /usr slice.


What is the mount command to use?

Thinking   mount /dev/ad1 /mnt  but un-sure how this handles the 6.1 
slices on that HD.


Read up http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html, 
namely entries 9.1 and 9.2. Very detailed and helpful stuff.




None of that was helpfull. Found post in questions archives from 1992 
that gave me pointer to correct direction.


Here is the solution I used.

 ls /dev/ad*   listed all the slices on both HDs.
 mount /dev/ad1s1f /mntmounted the /usr dir from the second HD just 
like i wanted.




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


Re: 7.1 System Crashing

2009-04-14 Thread Fbsd1

APseudoUtopia wrote:

My FreeBSD 7.1-RELEASE-p3 system has gone down a few times in the last
two days. I'm trying to figure out why, but there is nothing in
/var/log/messages or dmesg about the incident.

Here's the output from the `last` command:
User  ttyp01.2.3.4Tue Apr 14 19:02   still logged in
User  ttyp01.2.3.4Tue Apr 14 18:52 - 19:02  (00:09)
reboot   ~ Tue Apr 14 18:52
User  ttyp01.2.3.4Tue Apr 14 18:42 - crash  (00:09)
User  ttyp01.2.3.4Tue Apr 14 16:06 - 18:42  (02:36)
User  ttyp01.2.3.4Tue Apr 14 11:23 - 12:53  (01:29)
reboot   ~ Tue Apr 14 07:44
User  ttyp01.2.3.4Mon Apr 13 20:01 - 22:58  (02:57)
User  ttyp01.2.3.4Mon Apr 13 19:56 - 20:01  (00:04)
User  ttyp01.2.3.4Mon Apr 13 19:31 - 19:56  (00:25)
User  ttyp01.2.3.4Sun Apr 12 15:02 - 16:15  (01:12)
User  ttyp01.2.3.4Sun Apr 12 14:48 - 15:02  (00:14)
reboot   ~ Sun Apr 12 14:48
shutdown ~ Sun Apr 12 14:45
User  ttyp01.2.3.4Sun Apr 12 14:24 - shutdown  (00:21)
User  ttyp01.2.3.4Sat Apr 11 13:03 - 17:00  (03:56)
wtmp begins Wed Apr  1 21:21:28 UTC 2009



As you can see, the system reboot several times, and crashed the most
recent time. Only one of the shutdown/reboots listed is valid - the
furthest one.
I have no idea why it is rebooting/crashing. It has been completely
stable until about 1-2 days ago. If anyone can direct me to post the
output to any commands or any log messages, I'd be more than willing
to do so in order to help anyone diagnose my problem.

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




What you are experiencing are the early warning signs of disk drive 
failure or over heating problems.


Before doing any thing else make backup of your user data if you have 
not done so already.


Then open your box and use a small brush and a can of compressed air to 
blow the dust off the motherboard and the fans. Give special attention 
to the fan in the power supply. If PC is older than 3 years or has over 
1 year of continues use then replace the power supply.


IF problem still happens replace hard drive.


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


Re: Splash screen color issues

2009-04-14 Thread Fbsd1

Eugene L. wrote:
Hello everyone, I have a FreeBSD 7.1-Release (generic kernel), and I am 
trying to make splash screen feature work properly, so I followed the 
procedure described in handbook and the splash screen actually loads, 
except the black is now white, red is violet, etc.


So all the colors of the bitmap are messed up, and I checked, they fit 
the requirements and I've tried other pics and pcx format. I tried gimp, 
photoshop. The issue isn't pic related


What could possibly be the reason?

I use Sapphire Radeon X1600 Pro AGP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org





Has to be your video card. If you have an X-desktop installed try 
displaying the splash screen and see how it looks there. The x-desktop 
should have auto loaded a driver for your video card. If the colors are 
ok them unplug your video card and try the motherboard default video.

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


Re: Problem: PPOE and a Static IP.

2009-04-14 Thread Fbsd1

Paul Halliday wrote:

I am following the instructions on this page:

http://www.freebsd.org/doc/en/books/handbook/pppoe.html

I had initially thought it was a problem with the modem so I had a
technician come in to take a look; when hooked up to his windows
laptop:

1) He had to assign the  interface the static address
2) no uname/pass were required.

What needs to change in my ppp.conf to accommodate a static address?

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





set ifaddr s.s.s.s 0.0.0.0/0 0.0.0.0 0.0.0.0

where s.s.s.s is your static ip address

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


Re: Fetchmail problem

2009-04-20 Thread Fbsd1

Annelise Anderson wrote:

I am trying to use fetchmail on FreeBSD but get the message:

fetchmail: SMTP 451 4.1.8 Domain of sender address 
owner-freebsd-questi...@freebsd.org does not resolve


I can send mail out from the box but can't fetch mail.

Annelise

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





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


Re: whats in your /etc/security/ files ? (AUDIT subsystem)

2009-12-23 Thread Fbsd1

Mike Tancsa wrote:
I am looking at getting more out of the FreeBSD AUDIT system and was 
wondering if anyone has feedback beyond what is in the handbook or links 
to other resources on this topic.


http://bsdmag.org/ had a nice intro article and 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/audit.html is 
actually pretty complete.  But I was looking for additional feedback 
from folks using it on their servers in production.


What do you find useful to log on large multi user systems ?  What about 
boxes with limited access to just administrators ? Log everything?


How do you manage your audit logs to ensure integrity ?  Do you run at a 
higher secure level and make the file flags uappnd ? Write them to an 
nfs mount on a separate and separately secured system ?


---Mike


Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

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






My experience is its “OVERKILL”. Better to invest your time in tuning 
your firewall rules.



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


re-write is this booting info correct?

2009-12-28 Thread Fbsd1



How is this rewrite correct?

Users with Microsoft/Windows knowledge of how a hard drive is configured 
may have a terminology issue with FreeBSD. Microsoft/Windows and FreeBSD 
use the word partition to mean different (but related) things.


The Microsoft/Windows fdisk program is used to allocate partitions on 
the hard drive. This program allocated two types of partitions “primary 
dos partition” and “extended dos partition”.
A single “primary dos partition” occupying all the space on the hard 
drive would be assigned drive letter C. You can also sub-divide the hard 
drive into multiple “primary dos partition” each one being assigned a 
drive letter C, D, E, F,
An alternate method is to allocate an “extended dos partition” and then 
sub-divide it into logical dos drives lettered C, D, E, F. One of these 
“primary dos partitions” or one of the logical dos drives in the 
“extended dos partition” must be set as the active partition to boot 
from. In a multiple partition allocation only one partition can be 
marked as bootable at one time. Typically legacy Microsoft/Windows 
Win3.1, Win95, Win98, WinMe, and Win2000 defaulted to a single “primary 
dos partition”. Starting with XP, PC manufactures started to provide 
support for their PC’s operating system by having a second  “primary dos 
partition” where the original factory version of the system was hidden 
and used to restore the C drive back to the factory version when 
corrupted by a virus. Microsoft/Windows provides no native method of 
selecting which partition to boot from in a multiple partition allocation.


FreeBSD’s fdisk program allocates disk space into slices. A FreeBSD 
slice is the same thing as a Microsoft/Windows  “primary dos partition”. 
FreeBSD has nothing akin to an “extended dos partition”. The 
Microsoft/Windows partition and the FreeBSD slice is where the operating 
system software is installed. Microsoft/Windows operating system creates 
default folders that share the space in the partition.  The FreeBSD 
‘disk label’ program is used to sub-divide the slice into smaller chunks 
called partitions. In a standard install of FreeBSD, these partitions 
are the default directory names used by the operating system.


The motherboard standard which was created in the days before windows 
desktop were even though of yet and at which time Microsoft DOS (disk 
operating system) was the only thing available. This legacy standard has 
continued un-updated to this current time and contributes to the 
limitations imposed on booting, disk layout and selection of which 
allocation on the hard disk to boot from.


The motherboard BIOS ROM chip at power up inquires each device 
(floppies, cdrom, hard drive, usb memory stick) you selected in the BIOS 
menu to boot from.


The hard drive has a MBR (Master Boot Record) a (512 byte block) located 
in sector-0 of the first physical track on the hard drive. This MBR 
contains bootstrap code and the disk partition table created by the 
fdisk program. The BIOS boot code reads the MBR code and disk partition 
table into memory and then transfers control to it. This MBR code is 
responsible for parsing the partition table and finding the bootable 
slice/partition that is marked 'active'.  The MBR code then sets up the 
disk-address-offset information for the bootable slice/partition, and 
reads 'relative sector zero' from that slice/partition, and transfers 
control to that one-sector block of code that contains the unique 
operating system code to load it into memory.


This hard drive 512-byte MBR is where all the limitations are. Do to 
it’s size the MBR partition table is limited to 4 entries. This means no 
matter how large your hard drive is (20MG or 200GB) you can only 
sub-divide it into a maximum 4 slices/partitions.


The default MBR code written by the Microsoft/Windows fdisk program is 
hard coded to boot the C drive. The FreeBSD fdisk program has option to 
write a simple boot menu program to the MBR.
There are MBR boot menu programs in the FreeBSD ports collection that 
you can load into the MBR on the first physical cabled hard drive to 
scan for other bootable primary-partitions/slices on this hard drive and 
any other hard drives cabled to the PC. It displays a menu giving you 
the option to choose which one you want to boot from. This gives you the 
ability to have more that one operating system installed on your PC at 
one time.







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


Re: re-write is this booting info correct?

2009-12-28 Thread Fbsd1

Polytropon wrote:

On Mon, 28 Dec 2009 21:04:57 +0800, Fbsd1 fb...@a1poweruser.com wrote:
The Microsoft/Windows fdisk program is used to allocate partitions on 
the hard drive. This program allocated two types of partitions “primary 
dos partition” and “extended dos partition”.


Just a formal addition: primary DOS partition - DOS stands
for Disk Operating System, it's an abbreviation. You're
stating this later on, but you should do it at its first
occurance.




for correctness i agree.



A single “primary dos partition” occupying all the space on the hard 
drive would be assigned drive letter C.


The drive letters used seem to include the : as a part,
so it would be C: instead of plain C.




I have the win98 fdisk english version. I tested this and the fdisk 
program displays just the drive letter with out the :. Now on the DOS 
command line you do have to use the : to change to different drive, like 
in to change to A: drive.




An alternate method is to allocate an “extended dos partition” and then 
sub-divide it into logical dos drives lettered C, D, E, F.


I think the term is logical volume inside an extended DOS
partition; I'm not very familiar with their english names,
but that would correspond to the correct german name (found
in german versions of DOS); the term is volume or drive.

I've got no english DOS documentation here, so I can't
check for the correct term.

German: Primäre DOS-Partition and Logisches Laufwerk in
einer erweiterten DOS-Partition, and Laufwerk means
drive, but I think I recall that DOS uses volume for
this...



The correct word as displayed in the fdisk program is 'logical dos 
drives' just the way i have it.





One of these 
“primary dos partitions” or one of the logical dos drives in the 
“extended dos partition” must be set as the active partition to boot 
from.


I'm not sure you can actually boot from a logical volume
inside an extended DOS partition... as far as I remember,
booting can only take place from a primary DOS partition.




I tested this and can confirm you can boot from a logical drive
inside an extended DOS partition. Just have to set the active flag first.




FreeBSD’s fdisk program allocates disk space into slices. A FreeBSD 
slice is the same thing as a Microsoft/Windows  “primary dos partition”. 
FreeBSD has nothing akin to an “extended dos partition”.


It quite has - its slices (which are subdivided just as the
extended DOS partitions are, so its partitions are like - 
but not the same as - the logical volumes inside a DOS

extended partition).



The 
Microsoft/Windows partition and the FreeBSD slice is where the operating 
system software is installed.


No. The software is installed on the partitions inside a
slice, or, to be more exact, in the file system that the
partition holds. There can be of course one partition
coviering the whole slice, so partition(s) would be
a valid term.



The FreeBSD 
‘disk label’ program is used to sub-divide the slice into smaller chunks 
called partitions. In a standard install of FreeBSD, these partitions 
are the default directory names used by the operating system.


Not are - they _refer_ to them (or are refered to by
then), e. g. the default directory name / is the root
directory, but /dev/ad0s1a is the partition; /usr is the
directory for { UNIX system resources | user binaries and
libraries }, but /dev/ad0s1g is (maybe) the partition that
holds this data. In settings where one partition convers
the whole slice, there are no further mountpoints for the
divisions of functional parts of the system.



The motherboard standard which was created in the days before windows 
desktop were even though of yet and at which time Microsoft DOS (disk 
operating system) was the only thing available.


Sure. :-)



This hard drive 512-byte MBR is where all the limitations are. Do to 
it’s size the MBR partition table is limited to 4 entries.


Due to its size...


good catch.





This means no 
matter how large your hard drive is (20MG or 200GB) you can only 
sub-divide it into a maximum 4 slices/partitions.


20MB. But I'd like to have a 20 machine gun hard disk, too. :-)



back in win3.1 days a 20MG hard drive was the largest made at the time.




The default MBR code written by the Microsoft/Windows fdisk program is 
hard coded to boot the C drive. The FreeBSD fdisk program has option to 
write a simple boot menu program to the MBR.


You could add that this program is called the FreeBSD boot
manager, because that's its actual name.



Everything else seems to be correct to me, as well as
written in an appealing way, and technically understandable.





I am adding this verbiage to my FreeBSD installer Guide for
release 8.0 which will be available to the public 1/1/2010 at
http://www.a1poweruser.com/

following is the corrected version incorporating your ideas.

Users with Microsoft/Windows knowledge of how a hard drive is configured 
may have a terminology issue with FreeBSD. Microsoft/Windows and FreeBSD

Re: I need help on installation

2009-12-30 Thread Fbsd1

Roger Agraviador wrote:

I found an old pc that I just reformatted the HDD using G parted, now that I
try to boot from a Free BSD CD (7.2 release) the Intel chip gives me an
error message that the system boot failed and asks me to insert a system
disk which I do not have, how do I go about that because I virtually cannot
install any operating system.

Do I have to install a boot loader like GRUB2? If so How do I go about that?
Since I have found no iso image of GRUB2 to burn into a live cd.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




you have to change your bios boot options to boot from cd instead of the 
hard drive. after the freebsd install is complete then change it back


or if your bios allow a boot order change it to first look at cd drive 
and then hard drive to boot from

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


Re: Boot from FD and DR-DOS prompt comes up while installing FreeBSD?

2010-01-02 Thread Fbsd1

Paul Shi wrote:

Dear Everyone,

I am working my way t setup a FTP server on FreeBSD however I got stuck at
the very first stage - installation of FreeBSD 8.0.

I downloaded FreeBSD 8.0-RELEASE-i386-dvd1.iso from FreeBSD.org and burned
it with NERO to a DVD-RW disc. After that, I insert the DVD disc and boot
from CDROM as I have chose the CDROM to be first one in boot order. However,
system starts booting from FD, invokes some Caldera DR-DOS and goes to
command prompt [DR-DOS] A:\

I am totally confused and cannot find any answer in FreeBSD handbook. I will
greatly appreciate your help if anyone of you has experience with this weird
problem. Thank you very much and Happy New Year!

Your sincerely,
Paul Shi
Electronic and Communication Engineering Senior
Department of Electrical and Electronic Engineering
University of Hong Kong
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




You did not burn the iso file to cd correctly. Here is link to old post 
 containing details instructions for using nero to burn iso file.


http://article.gmane.org/gmane.os.freebsd.questions/100238/match=nero+iso


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


Re: Inserting PC card NIC, system stops

2010-01-10 Thread Fbsd1

Hashimoto wrote:

Thanks for your reply, Paul.


$ uname -a
FreeBSD musca.localdomain 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0
r201741: Fri Jan  8 01:01:18 JST 2010
r...@aries.localdomain:/usr/obj/usr/src/sys/GENERIC  i386

insert PC card and eject it
$ tail /var/log/messages
Jan  9 21:29:12 musca kernel: cbb1: ready never happened, status = 00
Jan  9 21:29:12 musca kernel: ed0: corega K.K. (CG-LAPCCTXD) at port



ed(4) appears to be driver for that card


Sure.
I'm using GENERIC kernel,
and it includes cbb(4), ed(4) device driver.
But the system does not work fine with this PC card.



You are not clear just how you are inserting the nic card. Are you 
trying to insert the card while Freebsd is up and running or inserting 
the card while the pc is powered off and them during bootup post you get 
those msgs?


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


8.0 sysinstall problem with usb stick as source media and usb stick as install target

2010-01-13 Thread Fbsd1

I know the sysinstall pgm is a dinosaur that nobody wants to touch so I
give Randi great respect in tackling it adding USB support in 8.0.

Using 2 USB sticks. da0 2GB as the bootable install media and da1 4GB
target device that freebsd is to be installed on.

I have put the disc-1 iso onto a usb stick. I can install from this usb
stick (da0)to any motherboard cabled hard drive. But when i try to
target another usb stick (da1) to install to, sysinstall works normally 
 up to the message this is your last chance before writing to the media.
Then i get a abort message Unable to find device node for /dev/da1s1b 
in /dev!  I then select vty1 and see this message  geom: da1: media size 
does not match label. Followed by repeating messages debug scanning 
disk da1 root file system and debug scanning disk da1 swap file system


I could be wrong but maybe the disc-1 iso is missing some /dev 
statements for partitions on usb da1 through da9.


Can someone verify this


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


Re: Invalid partition table after installation

2010-01-21 Thread Fbsd1

John wrote:

I've tried the modern BIOS geometry and the 255 head geometry.
I've ensured that the first slice (boot slice) is smaller than 1.5
Gb.  I've tried to figure out what the BIOS thinks the geometry
is, but it doesn't seem to want to tell me.  At least, I can't find
it in the BIOS menu anywhere.  When I boot from the CD-ROM with
the 255 head geometry, though, it complains about the disk geometry,
saying 16h,63s != 255h,63s or something like that - it flies by
pretty fast (is there a way to go back and see that from the CD-ROM
boot only boot?).

I'm using the Standard boot manager, and the entire disk is devoted
to FreeBSD.

System
BIOS version  PT84510A.86A.2004.P05
Processor Type: Intel Pentium 4
Processor speed: 2.20Ghz

Memory: 512Mb

Disk: Primary IDE Master ST380021A (Seagate Barracuda ATA IV 80Gb)
Primary IDE Slave: IOMega ZIP 250
Secondary IDE Master: Sony CD-RW CRX19 (what I boot from to install)
Secondary IDE Slave: DVD-ROM DDU1621

Boot sequence:
1) ATAPI CD-ROM
2) Hard Drive
3) Removable Dev.

Modern BIOS geometry: 155061/16/63 for ad0
calculated geometry: 9729/255/63 for ad0

ad0s1 start=63, size=2875572
ad0s2 start=2875635, size=10217340
ad0s3 start=13092975, size=143203410
unus  start=156296384, size=5103

ad0s1a / 384Mb
ad0s1d /usr 1Gb
ad0s2b SWAP 1Gb
ad0s2d /tmp 384Mb
ad0s2e /var 512Mb
ad0s2f /var/mail 2Gb
ad0s2g /usr/ports 1Gb
ad0s3d /home/mysql 4Gb
ad0s3e /home 50Gb
ad0s3f /usr/src 3Gb
ad0s3g /usr/obj 3Gb
ad0s3h /extra 8483Mb

Suggestions, please?  I'm making zero headway right now. :(


What version of FreeBSD are you running
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cannot boot FreeBSD (8.0) from USB stick (Dell Inspiron 9400)

2010-01-21 Thread Fbsd1

Christoph Kukulies wrote:
I installed FreeBSD 8.0 on an USB-stick and was able to boot it on my 
Desktop PC and install 8.0

from it.

Now I plugged the same stick into my Dell Inspiron 9400 and the USB 
stick (2GB) is not even listed in the F12 Bios boot menu.


Any clues?

--
Christoph

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




Older pc's have bios which do not have option to boot from USB stick.
I think that is so in your case. Check mfg website for bios update.
If not you are SOL. (shit outof luck)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pf rules

2010-01-22 Thread Fbsd1

Erik Norgaard wrote:

kalin m wrote:

tcp_in = { www, https }
ftp_in = { ftp }
udp = { domain, ntp }
ping = echoreq

set skip on lo
scrub in

antispoof for eth0 inet

block in all
pass out all keep state
pass proto udp to any port $udp
pass inet proto icmp all icmp-type $ping keep state
pass in inet proto tcp to any port $tcp_in flags S/SAF synproxy state
pass proto tcp to any port ssh


To debug pf rules:

- always add direction to the rule, pass or block, add interface to all
  rules except default policy, keep state on all pass rules
- group your rules per direction, then per interface
- add log to all rules and watch pflog to see which rule blocks or
  passes traffic.
- use keyword quick for any decisive rule
- check the parsing of your ruleset, pfctl -sr

then come back and ask for help.

BR, Erik




See sample pf firewall rules in manual
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


  1   2   3   >