Re: usage of /usr/bin

2010-04-07 Thread Fbsd1

Polytropon wrote:

On Wed, 07 Apr 2010 15:24:51 +0800, Fbsd1  wrote:
Why are there RELEASE base files in /usr/bin. I thought /usr was to only 
contain binaries installed from ports or packages.


No. The /usr/local subtree (LOCAL) is for local additions (ports
and packages), while things outside this structure usually belong
to the system itself; I'm excluding mounted filesystem and other
things here for a moment.

 /usr/  contains the majority of user utilities and applications

bin/  common utilities, programming tools, and applica-
  tions

But:

   local/local executables, libraries, etc.  Also used as the
  default destination for the FreeBSD ports framework.
  Within local/, the general layout sketched out by
  hier for /usr should be used.  Exceptions are the
  man directory (directly under local/ rather than
  under local/share/), ports documentation (in
  share/doc//), and /usr/local/etc (mimics
  /etc).

Because we are on FreeBSD, there's excellent documentation
that shows how and why the system tree has a well intended
layout. :-)

The command

% man hier

will explain everything in detail.




But that is not true. The postfix port populates /usr/bin. And I am sure 
postfix is not the only port to do this also. This intermingling of 
RELEASE binaries and port binaries in /usr/bin is a really big problem 
when trying to build jails. Any past ports which have been included into 
the base release should not be in /usr period.
Saying system user utilizes are in /user/bin then why is fdisk or 
sysinstall not there also. That don't make sense. It time to modernize 
the directory layout keeping all RELEASE binaries out of /usr.
I would think moving the /usr RELEASE binaries by the RELEASE 
development team is a far smaller task then reviewing all 21,500 ports 
for the bad ones that don't target /usr/local/bin and then correcting 
their make files. Before jails this problem was not a problem, But with 
the growing usage of jails this is becoming a major incentive to not use 
jails at all.

___
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: usage of /usr/bin

2010-04-07 Thread Fbsd1

Lowell Gilbert wrote:

Fbsd1  writes:


But that is not true. The postfix port populates /usr/bin.


By default, it does not.  You have to enable the "Install into /usr and
/etc/postfix" configuration option for it to do so.  I don't recommend
that anyone do it without a *really* good reason.  Turn that option back
off and you'll be fine.


Your wrong. I installed the package of postfix and it installed it self 
into /usr/bin with out any help from 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"


Re: usage of /usr/bin

2010-04-07 Thread Fbsd1

Jonathan McKeown wrote:

On Wednesday 07 April 2010 11:13:13 Fbsd1 wrote:

Polytropon wrote:

On Wed, 07 Apr 2010 15:24:51 +0800, Fbsd1  wrote:

Why are there RELEASE base files in /usr/bin. I thought /usr was to only
contain binaries installed from ports or packages.

No. The /usr/local subtree (LOCAL) is for local additions (ports
and packages), while things outside this structure usually belong
to the system itself; I'm excluding mounted filesystem and other
things here for a moment.

[snip]

But that is not true. The postfix port populates /usr/bin.


I haven't installed postfix, but is this possibly related to the recently 
(2010-03-22) added option to install postfix into the base?


In which case the commit six days later claims to correct a problem with the 
default (non-base) install.


Jonathan

I installed the package of postfix and it installed is self into 
/usr/bin with out any help from me. Packages are frozen some time before 
the RELEASE is distributed to the public. The change you question would 
have never made it into the RELEASE 8.0 package.


___
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: usage of /usr/bin

2010-04-07 Thread Fbsd1

Chuck Swiger wrote:

On Apr 7, 2010, at 4:06 PM, Fbsd1 wrote:

Your wrong. I installed the package of postfix and it installed it self into 
/usr/bin with out any help from me.


Unless you or whoever built the package changed $PREFIX:

% pkg_info -Lx postfix
Information for postfix-2.7.0,1:

Files:
/usr/local/man/man1/postalias.1.gz
/usr/local/man/man1/postcat.1.gz
/usr/local/man/man1/postconf.1.gz
/usr/local/man/man1/postdrop.1.gz
[ ... ]
/usr/local/share/doc/postfix/tlsmgr.8.html
/usr/local/share/doc/postfix/generic.5.html
/usr/local/etc/rc.d/postfix

...every file is under /usr/local.  Perhaps you set INST_BASE option?

[ ] INST_BASE  Install into /usr and /etc/postfix

Regards,



I installed the package of postfix and it installed is self into 
/usr/bin with out any help from me.


This is now I know that. I swapped a empty drive with my live system 
drive. Installed the sysinstall kern developer option to get full 
binaries and sources. After the install I set chflags schg /dir/ and 
/dir/* for these dir. /bin /boot /lib /libexec /sbin /usr/bin 
/usr/include /usr/lib /usr/libexec /usr/sbin. This should have protected 
all those RELEASE base directors and all the files in then. With the dir 
also having schg on, no files should have been able to be added to it. I 
then did a ls -lo /dir > file to save copy of their content. Then I did 
pkg_add -r postfix-current. After which i did another ls -lo /dir > file 
and to my surprise i see all these new files have been added to /usr/bin.


What am I to think? How else would you explain 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: USB Powered Speakers

2010-04-09 Thread Fbsd1

Antonio Olivares wrote:

On 4/8/10, Programmer In Training  wrote:

I have acquired a pair of Compaq USB /powered/ speakers. On my parents
XP machine they don't seem to cause any problems, but when I hook it up
to listen on my FreeBSD box I have absolutely nothing but problems with
the speakers (even when turned off but still plugged in) interrupting
the normal operation of my keyboard (basically it seems that power is
cut to my keyboard at random). I have a beefy power supply (650W) so I
really shouldn't be having any power distribution issues.

I've tried the speakers in both the on-board USB ports and the USB
expansion card (PCI) with the same results.

Any ideas?


You really need to explain in detail the problem.
Without these new speakers plugged in does wall powered speakers work?
___
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: How to make "man" pages

2010-04-12 Thread Fbsd1

For the questions list archives:
I wrote an How To  Creating a manpage from scratch.

You can read it here.

http://www.daemonforums.org/showthread.php?t=4602

Thanks to all the people who replied to my post.

Joe

___
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: installation problem

2010-04-13 Thread Fbsd1

Александров Иван wrote:
Hellow,my name is Ivan,i have installation problem 
configuration:

intel seleron Dual-core e3300 2.5/800/1mb BOX LGA775 BX80571E3300
ASUS P5KPL-AM SE Soket 775/iG31/DDR II/PCI-Ex16/Video/mAXT
DDR II 1024Mb PC-6400,800MHz Crucial (Micron)
160Gb Hitachi HDS721016LA386(0A39261)8MB SATA-II
Codegen Q3337-A2 ATX 400W
CD-ROM TOSHIBA (don't know 3 years old , HHD)

problem:
In various places errors occur when installing
8.0-RELEASE-i386-disc1.iso
8.0-RELEASE-i386-dvd1.iso.gz
and
FreeBSD-7.3-RELEASE-i386-disc1.iso
everywhere timeout
in 8.0-RELEASE-i386-dvd1.iso.gz for example:
ums0: 3 buttons and [XYZ] coordinates ID=0
acd0: TIMEOUT - READ_BIG retryin (1 retry left )
acd0: TIMEOUT - READ_BIG retryin (0 retries left )
acd0: FAILURE - READ_BIG timed out
cd0: TIMEOUT - READ_BIG retryin (1 retry left )
acd0: TIMEOUT - READ_BIG retryin (0 retries left )
acd0: FAILURE - READ_BIG timed out
cd0: TIMEOUT - READ_BIG retryin (1 retry left )
acd0: TIMEOUT - READ_BIG retryin (0 retries left )
acd0: FAILURE - READ_BIG timed out

I would like to begin the study with nix feeBSD very disappointing
Help please,bootable flash don't work too.
can you help me?
thanks


Make sure the cdrom drive in cabled on the second motherboard ata port 
as master with nothing on the slave nipple. Your sata drive should be on 
the first motherboard port as master and the slave nipple empty.


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


Host firewall and jails

2010-04-17 Thread Fbsd1

Just where do jails fall in reference to the host firewall?
Do jails see the inbound packets before the host's firewall does?


___
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 & Perl CGI programs

2010-04-25 Thread Fbsd1
I have Perl and apache installed on my system. Do I have to do anything 
additional to get apache to run Perl CGI programs?
Is putting the perl script in the cgi-bin directory at 
/usr/local/www/data all it takes to make things work?


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


ezjail and dmsg -a command

2010-04-25 Thread Fbsd1
I have a directory tree type of ezjail up and running. When in jail 
console I enter dmesg -a and i get the hosts last boot messages not the 
jails. Why is this dmesg command issued from within the jail have access 
to the host world? Something 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"


How To create msdosfs on HD?

2010-04-29 Thread Fbsd1
I have an old IDE 3.5 hard drive with FBSD Release 7.0 on it. I want to 
use it for USB disk space on XP. I bought a 'CD-r king' hard drive to 
USB cable. It will work with 2.5 & 3.5 IDE drives and sata drives. When 
I plug the USB end of the cable into a FBSD system I can mount the 3.5 
IDE 7.0 HD's da0s1a, da0s1d, da0s1e and da0s1f file systems with no 
problem. But when I plug the same drive into a XP system the USB drive 
shows in system/devices/hard drives as there but windows explorer does 
not assign a drive letter for it. I'm thinking this is because the hard 
drive has UFS format and maybe it I reformat it to fat format xp will 
assign a drive letter to it.


I know mount_msdosfs command is used to mount a HD formated with fat, 
but I could not find a FBSD command to create a msdos file system on a 
hard drive. Native dos fdisk/format is no good because it's not USB 
aware. Is there any FBSD command or port I can use to reformat the UFS 
hard drive with msdosfs?

___
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: How To create msdosfs on HD?

2010-04-29 Thread Fbsd1

Rod Person wrote:

On Thu, 29 Apr 2010 09:29:35 -0300, Fbsd1  wrote:
I know mount_msdosfs command is used to mount a HD formated with fat, 
but I could not find a FBSD command to create a msdos file system on a 
hard drive. Native dos fdisk/format is no good because it's not USB 
aware. Is there any FBSD command or port I can use to reformat the UFS 
hard drive with msdosfs?

___


Why can't you format it in XP since you connected it to XP?

Because like I say in the first part of post you snipped out that xp 
does not assign a drive letter to it.

___
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: How To create msdosfs on HD?

2010-04-29 Thread Fbsd1

Adam Vande More wrote:

On Thu, Apr 29, 2010 at 6:36 AM, Rod Person  wrote:


On Thu, 29 Apr 2010 09:29:35 -0300, Fbsd1  wrote:


I know mount_msdosfs command is used to mount a HD formated with fat, but
I could not find a FBSD command to create a msdos file system on a hard
drive. Native dos fdisk/format is no good because it's not USB aware. Is
there any FBSD command or port I can use to reformat the UFS hard drive with
msdosfs?



dd if=/dev/zero of=/dev/da0 bs=512k count=10
fdisk -i /dev/da0
newfs_msdos -F32 /dev/da0s1



Thank you very much.
Thats the answer I was hoping for.
___
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: How To create msdosfs on HD?

2010-04-30 Thread Fbsd1

Fbsd1 wrote:

On Thu, 29 Apr 2010 09:29:35 -0300, Fbsd1  wrote:

I know mount_msdosfs command is used to mount a HD formated with 
fat, but

I could not find a FBSD command to create a msdos file system on a hard
drive. Native dos fdisk/format is no good because it's not USB 
aware. Is
there any FBSD command or port I can use to reformat the UFS hard 
drive with

msdosfs?



dd if=/dev/zero of=/dev/da0 bs=512k count=10
fdisk -i /dev/da0
newfs_msdos -F32 /dev/da0s1



Thank you very much.
Thats the answer I was hoping for.



>
>
For the archives here is a detailed explanation.

Create MS/Windows file system on a Hard Drive so it will be recognized 
on an MS/Windows system.


The goal here is to initialize a hard drive that was previous 
initialized with a non-Microsoft Windows file system, with a single 
active partition populated with Microsoft Windows 32 bit FAT (LBA) file 
system. So this hard drive will be recognized as containing a valid 
MS/Windows file system when used on a Microsoft Windows system.


I have an old IDE 3.5” hard drive with FBSD Release 7.0 on it. I want to 
use it as external USB attached disk on XP. I bought a 'CD-r king' hard 
drive to USB adapter cable. It will work with 2.5” & 3.5” IDE drives and 
SATA drives. When I plug the USB end of the cable into a FBSD system I 
can mount the 3.5” IDE 7.0 HD's da0s1a, da0s1d, da0s1e and da0s1f  file 
systems with no problem. But when I plug the same drive into a XP system 
the USB drive shows in “control panel/system/hardware/devices/hard 
drives” as there, but “windows explorer” does not assign a drive letter 
for it so I can not reformat it.


All PC’s running a MS/Windows system inspect sector 0 of the hard drive 
for the partition/slice table to determine the sysid of each 
partition/slice. If the sysid value is 12 then it’s a valid Microsoft 
Windows file system and gets assigned a drive letter in “windows 
explorer”. Any other sysid value means non-Microsoft Windows file system 
and the device is seen in  “control panel/system/hardware/devices/hard 
drives” as there but “windows explorer” does not assign a drive letter 
to it.


There are 2 ways to initialize ((2.5” or 3.5”) (IDE or SATA)) hard 
drives with a valid MS/Windows file system. Using the Microsoft “fdisk” 
program or the FreeBSD “fdisk” program. The Microsoft “fdisk” program 
defaults to sysid =12. The FreeBSD “fdisk” program defaults to sysid = 
165, but has alternate way to assign any sysid value you want.


Microsoft method. Replace the 2.5” hard drive in your laptop with the 
2.5” hard drive containing the FreeBSD system. If 3.5” hard drive then 
open your desktop PC, remove the data cable ribbon and power connection 
from the existing hard drive and attach them to the 3.5” hard drive 
containing the FreeBSD system. Put the Microsoft XP, Vista, or Windows7 
install CD in the cdrom drive and boot. Select fdisk option from the 
install menu to populate the hard drive with official ntfs file system. 
No need to continue with the install after fdisk complete.


FreeBSD method. You need a PC with a running FreeBSD system and USB 
hardware to attach the 2.5” or 3.5” IDE or SATA hard drives with. A USB 
external hard drive housing will work fine for 3.5” IDE and SATA drives. 
For 2.5” IDE or SATA drives you will need a USB adapter cable. The 'CD-r 
king' hard drive to USB cable I purchased works with 2.5” & 3.5” IDE 
drives and SATA drives, cost $10 USA. If you have a 3.5” IDE or SATA 
hard drive and FreeBSD is running on a desktop PC, you could open it up 
and add it as a second hard drive on the data ribbon.


Attach the hard drive to the USB equipment and plug into USB port on the 
PC running FreeBSD. Best if you are logged in as “root”. You will see 
the USB console messages as the USB hard drive is connected. In most 
cases the USB drive will be assigned da0 as the device name. The 
following instructions are for initializing the hard drive as a single 
MS/Windows partition occupying the whole hard drive.



 Wipe clean the sector 0 slice table
# dd if=/dev/zero of=/dev/da0 count=2


The following is what you would do if the initialized msdosfs hard drive 
will only be used on a FreeBSD system. The slice table is populated with 
the sysid of 165, which means FreeBSD is using this slice, but the slice 
contains a MSDOS FAT32 file system. The newfs_msdos command is really 
acting like the msdos format command. The larger your hard drive the 
longer this command will take to complete.


#fdisk -BI /dev/da0
#newfs_msdos -F32 /dev/da0s1
This creates the sector 0 slice table and loads the default bios boot 
code and activates a single slice covering the entire disk.



If at this point you un-plugged the USB cable from the FreeBSD system 
and plugged it into a Microsoft Windows PC. The USB drive would be 
un-accessible by “windows explorer” because no drive letter gets 
assigned. That’s because Window’s see this hard drive a

Re: Addition to BSDstats

2010-05-04 Thread Fbsd1

Steve Bertrand wrote:

Marc, et-al,

I wasn't originally going to post this to the list, but I thought that
it would be useful to do so in order to try to solicit feedback.

There's a suggestion that I have for the server-side of bsdstats. I
would find it very useful if the server could track the % of the
reporting connections that come in over IPv6, and include that on the
website front page.

Of course, this would require that rpt.bsdstats.org reside on a reliable
IPv6 network, and code changes to the server-side software. (if the code
is Perl, I'll gladly take a look at it ;)

I'm not interested in the actual addresses of the sending hosts, just
whether the address contains a '.' or ':'.

Cheers,

Steve




BSDSTATS is dead. Don't waste your time.

I am a retired American who is now living in the Philippines. All during 
RELEASE 7.0, 7.1, 7.2, and now 8.0 I have been running the bsdstats port 
on my single system. Yesterday I checked the http://bsdstats.org website 
by country and to my great surprise there are no Freebsd systems listed 
in the Philippines. Also the previous months reports are no longer shown 
on the website and the port stats don't show at all. This is not the 
results talked about on this list when the bsdstats project was trying 
to get Freebsd participation 3 years ago.


The bsdstats website has been un-supported, un-updated for over 2 years 
 and nobody noticed until I  showed up in a country with out any 
Freebsd counts, but knowing I was reports regularly.


What good is participation if there are no real-time results.
I removed bsdstats from my system and the port should be removed from 
the ports system.
I also emailed Marc G. Fournier  the author and never 
received a reply. That is the best sign that bsdstats 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"


Re: Addition to BSDstats

2010-05-04 Thread Fbsd1

Marc G. Fournier wrote:

On Tue, 4 May 2010, Marc G. Fournier wrote:

Don't worry about it, found and fixed that bug ... it had to do with 
trying to masquarade behind haproxy, so it looked like all systems were 
coming in from Panama if they were running the newest code ... which 
means alot of ppl out there were running *old* code ...


Basically, by setting up haproxy to load balance, all IPs hitting the 
backend were, as mentioned before, masquaraded ... but, of course, that 
means that when Geo::IP trying to determine country of origin, it always 
reports for the country of origin of the haproxy IP (Panama) ...


I've fixed this ... still not recording IP, but at least the PHP script 
determing country basis it on the proper IP, not the haproxy IP ...


No changes required on the client side, as things will normalize over 
the course of the next month as ppl report in ...


If anyone on FreeBSD wishes to 'force an update':

  /usr/local/etc/periodic/monthly/300.statistics -nodelay

will push it through ...





Just did pkg_add -r bsdstats followed by
/usr/local/etc/periodic/monthly/300.statistics -nodelay

Still don't see any Freebsd systems listed for the Philippines on the 
website.


What is YOUR definition of REAL-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"


BSDstats website displaying data incorrectly

2010-05-05 Thread Fbsd1


Why does this page show PCBSD has count of 387
http://www.bsdstats.org/bt/home.html?os=

And this page shows PCBSD has count of 1307
http://www.bsdstats.org/bt/home.html?os=PC-BSD

Why is this? I would think both should show the same value, or you 
better add explanation to the web page why the count is different.



And that little selection box on the home page should have some 
explanation of its function. Just sticking it there on the right side of 
the page above the titles hoping someone will fall into it is not user 
friendly.


What is going on with the "release stats"? What are you showing there?
Is that just for Freebsd? If so then the count is incorrect. This should 
be showing the count for each release under each operating system. IE. 
what release are in use for freebsd, netbsd, openbsd ect.


Website also needs explanation of the time frame being reported. Are the 
values shows as of the the first day of the current month? In general 
the website does not explain much of anything about what is being shown. 
 Put a lot more text describing the overall process and the reporting 
cycle. Also think some kind of operating system monthly growth chart 
over time is needed. Say going back 3 years to current.


The current website is way to passive in the way things are worded. Try 
to inspire people to show their loyalty, allegiance, and devotion by 
running the bsdstats client to anonymously report their usage to the 
benefit of everyone. Developers donate large amounts of their personal 
free time working on the operating systems, the least the users can do 
is fulfill their obligation to demonstrate their gratitude to the 
developers by running bsdstats. Emphasize the reporting is anonymously. 
Website needs to promote it self more. Get on the home page of all the 
different BSD systems. Try to become a default part of the BSD systems 
basic release. Like PCbsd does. Not option to go get it and turn it on, 
but all ready there with option to turn off if desired. This is only 
self promotion of the individual operating systems and should be 
something they should be interested in doing.



___
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: Accessing file from windows or to windows

2010-05-06 Thread Fbsd1

Jean-Paul Natola wrote:

Hi all,

I have a file I need in my bsd box, would it be easier, or is it possible, to mount an 
NTFS share , or should I try to "map" a directory from the windows box.


TIA,

I have 


Xp
Win7
Win2003 
Win2008 
Freebsd 6.4


thanx   





Sounds like all your PCs are on a private LAN and this file you want 
access to will only be accessed from the LAN. I have the same setup and 
exchange files between Windows PCs and Freebsd using FTP. I enable the 
builtin FTP server in /etc/inetd.conf. Close FTP's ports to the public 
internet in the firewall. Then run a free shareware FTP client on the 
windows PC or just use the windows internet browser to target the 
Freebsd ftp server. The shareware FTP client method lets me exchange 
both ways, (move a file from win to fbsd and fbsd to win) The windows 
internet browser method is one direction only, (from fbsd to win). I set 
the FTP server up as anonymous so all LAN PCs can download and upload to 
each other using the FTP server as a post and forward service.

___
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: Addition to BSDstats

2010-05-06 Thread Fbsd1

Marc G. Fournier wrote:

On Thu, 6 May 2010, Robert Huff wrote:



 The problem with not including bsdstats in sysinstall or some
 other means of bringing it to peoples attention is that it gets
 forgotten and loses its effectiveness. Maybe it could go in the 

>>>  monthly subscription list reminder.





I think everyone agrees that bsdstats needs more visibility right from 
the virgin install. Since its not appropriate to include bsdstats in the 
sysinstall program. How about getting the RELEASE team to change the 
content of the default logon message of the day /etc/motd, to advocacy 
installing the bsdstats package. What do you think about this 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"


port pkg-plist

2010-05-09 Thread Fbsd1
In a port I am creating I have some files that are not in the /usr/local 
directory tree. There in /var/log & /var/db. What is the correct format 
of the statement in ports pkg-plist file to have these files deleted 
when the port is deleted with pkg_delete command.

___
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: port pkg-plist

2010-05-09 Thread Fbsd1

Yuri Pankov wrote:

On Mon, May 10, 2010 at 07:46:09AM +0800, Fbsd1 wrote:

In a port I am creating I have some files that are not in the
/usr/local directory tree. There in /var/log & /var/db. What is the
correct format of the statement in ports pkg-plist file to have
these files deleted when the port is deleted with pkg_delete
command.



@cwd /var
db/dbfile
log/logfile

HTH,
Yuri



Thanks that worked. Have another question.
During the install of the port it adds a enable="YES" statement to 
/etc/rc.conf. It there some pre-canned way to auto remove that statement 
when the port is deleted with pkg_delete command?


___
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: port pkg-plist

2010-05-09 Thread Fbsd1

Yuri Pankov wrote:

On Mon, May 10, 2010 at 08:19:35AM +0800, Fbsd1 wrote:

Yuri Pankov wrote:

On Mon, May 10, 2010 at 07:46:09AM +0800, Fbsd1 wrote:

In a port I am creating I have some files that are not in the
/usr/local directory tree. There in /var/log & /var/db. What is the
correct format of the statement in ports pkg-plist file to have
these files deleted when the port is deleted with pkg_delete
command.


@cwd /var
db/dbfile
log/logfile

HTH,
Yuri



Thanks that worked. Have another question.
During the install of the port it adds a enable="YES" statement to
/etc/rc.conf. It there some pre-canned way to auto remove that
statement when the port is deleted with pkg_delete command?


You shouldn't directly modify rc.conf to enable some service, put
instructions on how to enable it in pkg-message instead.

Having said that, check @unexec command, which is run on package
deinstallation.

Yuri


Where do I find doc on this @unexec command?

___
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: port pkg-plist

2010-05-09 Thread Fbsd1

Yuri Pankov wrote:

On Mon, May 10, 2010 at 08:32:26AM +0800, Fbsd1 wrote:

Yuri Pankov wrote:

On Mon, May 10, 2010 at 08:19:35AM +0800, Fbsd1 wrote:

Yuri Pankov wrote:

On Mon, May 10, 2010 at 07:46:09AM +0800, Fbsd1 wrote:

In a port I am creating I have some files that are not in the
/usr/local directory tree. There in /var/log & /var/db. What is the
correct format of the statement in ports pkg-plist file to have
these files deleted when the port is deleted with pkg_delete
command.


@cwd /var
db/dbfile
log/logfile

HTH,
Yuri



Thanks that worked. Have another question.
During the install of the port it adds a enable="YES" statement to
/etc/rc.conf. It there some pre-canned way to auto remove that
statement when the port is deleted with pkg_delete command?

You shouldn't directly modify rc.conf to enable some service, put
instructions on how to enable it in pkg-message instead.

Having said that, check @unexec command, which is run on package
deinstallation.

Yuri


Where do I find doc on this @unexec command?


All these commands are documented in pkg_create(1).



Thanks I read that. It will launch what I want to do at deinstall time.
But I still need code to parse through a config file looking for a match 
to the desired literal and then delete that line from the config file 
and save it. I dont know how to do that in a .sh script. I need a sample 
doing that using the @unexec command and then I will be able to tweak it 
to my needs.

Can you help me out?

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


how to find literal in file and them delete that line

2010-05-09 Thread Fbsd1
I want to search every line in the specified file for a literal and if 
found then delete that line from the file and save the file all from 
within a sh type of shell script.


Does anyone have a example they would share with me?

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: how to find literal in file and them delete that line

2010-05-09 Thread Fbsd1

Alberto Mijares wrote:

On Sun, May 9, 2010 at 11:08 PM, Fbsd1  wrote:

I want to search every line in the specified file for a literal and if found
then delete that line from the file and save the file all from within a sh
type of shell script.



man(1) sed

Regards


That makes no sense to me.
need example

___
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: how to find literal in file and them delete that line

2010-05-09 Thread Fbsd1

Sahil Tandon wrote:

On Mon, 10 May 2010, Fbsd1 wrote:


Alberto Mijares wrote:

On Sun, May 9, 2010 at 11:08 PM, Fbsd1  wrote:

I want to search every line in the specified file for a literal and if found
then delete that line from the file and save the file all from within a sh
type of shell script.

man(1) sed


That makes no sense to me.
need example


What makes no sense?  The sed(1) man page?  Which section in particular
is confusing?  And please, explain the rationale for making your port
automatically edit /etc/rc.conf.


editing /etc/rc.conf was just given as a example for the post.
Yes the whole man sed reads like Greek. For a neophyte programmer I can 
not even begin to comprehend what its saying. That man page needs 
examples of use. You have forgotten that those man pages are for 
reference for people who all ready know how to use it. Its not intended 
for novices. So yes it's 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"


Re: how to find literal in file and them delete that line

2010-05-09 Thread Fbsd1

b. f. wrote:

Alberto Mijares wrote:

snip


It would make sense if you read the sed(1) and re_format(7) manpages.
They may be a pain at first, but they are used often and can make your
life a lot easier.  There are also a lot of tutorial on the web, with
many useful examples, e.g.:

http://sed.sourceforge.net/grabbag/

He is suggesting that, rather than using sh(1), you should use sed(1),
which is typically used for this sort of task, and is also part of the
base system, in some fashion like, for example:

sed -e '/literal/d' file

If you insist on doing this with sh(1), which will probably be less
efficient, then you can cobble something together with a 'case'
statement, or parameter expansion with substring processing.  See the
sh(1) manpage.

I hope that you are not intending to use this for a FreeBSD Port in
the context of your earlier message.  As someone else has already told
you, ports should _not_ be automatically editing configuration files
like rc.conf.  Instead they should just indicate what should be added
by the user or administrator in a pkg-message. Although you are free
to do whatever you want on your own system, if you submit a port that
attempts to tamper with such files to FreeBSD Ports, it is likely that
that part of your submission will be rejected.

Thank you for your kind in-sight. Using sh was again just comments to 
help explain what I needed help with. A list reader replied offline with 
examples and now I have what I needed to proceed.

Thanks to all who replied.
___
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"


how to force end-of-line in man page source

2010-05-10 Thread Fbsd1
I don't like the way some lines in the man page have the last word in 
the sentence broken in 2 and hyphenated. Is there some escape code I can 
put at the end of the line in the source code to suppress 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: how to force end-of-line in man page source

2010-05-12 Thread Fbsd1

Thomas Dickey wrote:

On Tue, May 11, 2010 at 01:36:20PM +0800, Fbsd1 wrote:
I don't like the way some lines in the man page have the last word in 
the sentence broken in 2 and hyphenated. Is there some escape code I can 
put at the end of the line in the source code to suppress this?


You can generally override the hyphenation mode with

.hy 0


Thank You very much.
That works.
But it is only in effect for one section header .Sh command.
I added the .hy 0 (0 is zero) command after each .Sh command in the man 
page and it looks so much better now.

___
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: pkg_deinstall: "delete all packages installed, except for X, Y and Z"

2009-06-04 Thread Fbsd1

Wojciech Puchar wrote:

Hello list.

I am trying to clean up a system with a LOT of cruft. Is there some
argument I could pass to pkg_deinstall that would result in "delete
all packages installed, except for X, Y and Z" (and obviously their
dependancies)?


just do

pkg_info |cut -f 1 -d " " >/tmp/pkglist
edit pkglist and delete lines X, Y and Z

do

pkg_delete `cat /tmp/pkglist`
rm /tmp/pkglist

ignore errors about package can't be deleted because X, Y or Z requires 
it. it's exactly what you want.



pkg_delete `cat /tmp/pkglist`  gives error 'no such package `cat 
/tmp/pkglist` 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: pkg_deinstall: "delete all packages installed, except for X, Y and Z"

2009-06-04 Thread Fbsd1

Wojciech Puchar wrote:
ignore errors about package can't be deleted because X, Y or Z 
requires it. it's exactly what you want.



pkg_delete `cat /tmp/pkglist`  gives error 'no such package `cat 
/tmp/pkglist` installed




for sure you used ' instead of `

  Yet that was the error. I did not know there was another type of 
quote key on the keyboard. The one used in the example is below the Esc key.

___
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: it is about installing FreeBSD on USB stick

2009-06-05 Thread Fbsd1

Eric Hsieh wrote:

hello, this is my first time to ask a help from FreeBSD.
I have a question about installing FreeBSD on USB stick.
There are so many informations about how to install FreeBSD on USB
stick from Internet, but I can not find out any information about
follow :
first, if i install FreeBSD on USB stick. Could I operate it on any computer.
if not, how to reach this issue ?
second, if i install FreesBIE on USB stick, i know i can operate it on
any computer.
but i don't know how to store my setting and installed software on USB
stick directly instead of copy my setting to another store device.
thanks, good luck for you.
___





Your statement of "any computer" is too undefined. The answer to your 
first question as you wrote it is NO. But if we define "any computer" as
"any 386 type of computer" then the answer is yes. Note: Not all PC's 
manufactured have option to boot from USB stick or use the 386 type of CPU.


Your second question is wrong. FreesBie has same limitation as Freebsd.
"any 386 type of computer" with USB stick boot option then the answer is 
yes.


There are other versions of Freebsd for the other CPU types of Pc's. If 
you use one of those other versions for CPU type then your USB stick can 
only run on PC's of the same CPU type.


All of Freebsd run time configuration files are in /etc
/etc will be on your USB stick Freebsd system and will be the ones you 
are modifying.







___
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.2 o/s on a flash stick

2009-07-03 Thread Fbsd1

Al Plant wrote:

Aloha Gurus.

All the gogle-ing I did does not give a current status on or how-to on 
installing FreeBSD 7.2 on a flash stick on one slice with the default 
partions.  I want to boot from it on a mini lap top ( no CD ) and use it 
like the hd inside.


I see plenty of how-to's on loading Flash sticks for installing on other 
boxes and using a 2 slice flash to load FreeBSD onto other duplicate 
boxes again.


All I need is to have a FreeBSD  o/s on the stick so I can use it 
instead of the OS on the existing laptop.


I'm sure I saw on this list where somebody did this successfully but I 
cant find it.


Any help is appreciated. Thanks.

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
  < email: n...@hdk5.net >
"All that's really worth doing is what we do for others."- Lewis Carrol

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




Hi Al

The way i have done this in 7.0 7.1 and 7.2 is to boot off the cd1 
install cd and do a normal install to my 1gb flash stick. A 1gb flash 
stick is to small for the default slice sizes. You will have to manually 
allocate the / /usr /var /swap sizes. I also found it usefully to set 
the boot flag when allocating the whole flash stick. A 2gb or larger 
flash stick allows you to take the auto-allocate option for / /usr /var 
/swap sizes. Keep in mind that your /var log files can fill up you flash 
stick real quick and lock up your system. If your running this flash 
stick 7/24 then rotate them more often deleting the oldest one. It's as 
simple as that.

___
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: Install from a USB Pen

2009-07-13 Thread Fbsd1

Mark Wallbank wrote:

OK I know this has probably been done to death by know and I keep
hitting the same problems with the methods I have tried to find on
google and I know I could just sacrifice a laptop and do a build to
create the image or do a net (pxe) install from another NIX serverbut
it does seem to be a bit over the top. Does any body know of an easy
way to create a bootable USB install media for 7.2 using either linux
or vista (or using an option from the install dvd). I have tried some
of the tricks from openBSD and linux to no avail.
Any help appreciated...
Cheers
Mark
___
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 your asking how to put the cd1 install contents onto a usb stick and 
use the sysinstall program to perform the install on the target box then 
check the archive.
It has a post with a script to convert the cd1 install disk to usb 
stick. But the show stopper is the sysinstall program does not have 
option for usb stick as install source. There was a bug report submitted 
2 years ago pointing out this oversight, but as of 7.2 it has not been 
corrected.
If you think the sysinstall program should have install source option 
for usb stick them file your own bug report. The more people who file 
bug reports the more attention this problem will get from the developers.





___
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: Install from a USB Pen

2009-07-14 Thread Fbsd1


... or you could just download an official image instead of going to all 
of that trouble. Check the FTP site, there's a memstick.img if you're 
down for using with 8 instead of 7. There are currently three PRs about 
this, and I recently took ownership of them. Filing duplicate bug 
reports doesn't "get attention", it's just annoying and it makes trying 
to improve sysinstall that much more difficult because I'll have to 
spend more time closing these duplicates and less time fixing problems. 
There has been an email that stated there is USB install support in 
sysinstall as of 8.0 BETA1, and USB livefs support as of 8.0 BETA2. The 
PRs for USB support in sysinstall will be updated and closed soon. Don't 
open new ones.


You're welcome! :D

-- randi


What are the instructions for using this 8.0 memstick.img?
What raw size memstick is needed?
Is the 8.0 memstick.img the same content as the cd1 disk?


___
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: Install from a USB Pen

2009-07-15 Thread Fbsd1

Randi Harper wrote:

On 7/14/09, Fbsd1  wrote:

What are the instructions for using this 8.0 memstick.img?
What raw size memstick is needed?
Is the 8.0 memstick.img the same content as the cd1 disk?


Sigh. Reply-to-all fail. Resending.

It's all in the email about the 8.0 BETA(s). Use dd, a memstick that
 is of equal to or greater size than the memstick.img, and no, it's
 different from disc1. It currently lacks packages, but it does include
 livefs.

 -- randi


The email about 8.0 BETA(s) was not posted to the questions list that is 
why I did not see it.


This is what I tried

 Plugging in the stick auto generated these messages

# /root >umass0: 2.00/2.00, addr  2> on uhub1

da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB Flash Memory 6.50> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 1905MB (3903487 512 byte sectors: 255H 63S/T 242C)
GEOM_LABEL: Label for provider da0s1 is msdosfs/ço¤¿òÚktñ

 I have to hit enter key to get prompt
 of=da0  or of=da0s1 resulted in same thing, no img on stick

# /usr >dd if=8.0-BETA1-i386-memstick.img of=da0 bs=10240 conv=sync
57412+0 records in
57412+0 records out
587898880 bytes transferred in 192.035793 secs (3061403 bytes/sec)

Can not mount with (mount /dev/da0s1 /mnt)
But (mount_msdosfs /dev/da0s1 /mnt) does work but
stick still contains the original data.
Has not been overwritten by the 8.0-BETA1-i386-memstick.img

What is the problem 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: Install from a USB Pen

2009-07-17 Thread Fbsd1

Randi Harper wrote:

On Wed, Jul 15, 2009 at 6:50 PM, Fbsd1  wrote:


Randi Harper wrote:


On 7/14/09, Fbsd1  wrote:


What are the instructions for using this 8.0 memstick.img?
What raw size memstick is needed?
Is the 8.0 memstick.img the same content as the cd1 disk?


Sigh. Reply-to-all fail. Resending.

It's all in the email about the 8.0 BETA(s). Use dd, a memstick that
 is of equal to or greater size than the memstick.img, and no, it's
 different from disc1. It currently lacks packages, but it does include
 livefs.

 -- randi


 The email about 8.0 BETA(s) was not posted to the questions list that is

why I did not see it.

This is what I tried

 Plugging in the stick auto generated these messages

# /root >umass0:  on uhub1
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB Flash Memory 6.50> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 1905MB (3903487 512 byte sectors: 255H 63S/T 242C)
GEOM_LABEL: Label for provider da0s1 is msdosfs/ço¤żňÚktń

 I have to hit enter key to get prompt
 of=da0  or of=da0s1 resulted in same thing, no img on stick

# /usr >dd if=8.0-BETA1-i386-memstick.img of=da0 bs=10240 conv=sync
57412+0 records in
57412+0 records out
587898880 bytes transferred in 192.035793 secs (3061403 bytes/sec)

Can not mount with (mount /dev/da0s1 /mnt)
But (mount_msdosfs /dev/da0s1 /mnt) does work but
stick still contains the original data.
Has not been overwritten by the 8.0-BETA1-i386-memstick.img

What is the problem here?



You're writing to a file called da0 inside /usr instead of /dev/da0.

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




dd if=8.0-BETA1-i386-memstick.img of=/dev/da0   worked

I used my laptop to boot from the usb memstick. The 8.0 sysinstall 
started right up but it has problems. In this test i am booting off a 
2gb usb memstick containing the 8.0-BETA1-i386-memstick.img and 
installing on a second 8gb memstick.


While trying to do a [STANDARD/KERNEL DEVELOPER] distribution 
sysinstall issues error msg saying package index not on current media 
them gos on to tell me that docproj, manpages, proflibs, dict, info, 
sbace, ssys and srce are not on the media.


I take this to mean that they are missing from the 
8.0-BETA1-i386-memstick.img.


So I tried to install again this time doing a minimal selection. This 
when through to completion but the resulting memstick was not bootable.


I'll try this test again when BETA2 is released.


___
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: Install from a USB Pen

2009-07-17 Thread Fbsd1

Fbsd1 wrote:




dd if=8.0-BETA1-i386-memstick.img of=/dev/da0   worked

I used my laptop to boot from the usb memstick. The 8.0 sysinstall 
started right up but it has problems. In this test i am booting off a 
2gb usb memstick containing the 8.0-BETA1-i386-memstick.img and 
installing on a second 8gb memstick.


While trying to do a [STANDARD/KERNEL DEVELOPER] distribution sysinstall 
issues error msg saying package index not on current media them gos on 
to tell me that docproj, manpages, proflibs, dict, info, sbace, ssys and 
srce are not on the media.


I take this to mean that they are missing from the 
8.0-BETA1-i386-memstick.img.


So I tried to install again this time doing a minimal selection. This 
when through to completion but the resulting memstick was not bootable.


I'll try this test again when BETA2 is released.




OK used the 8.0-BETA2-i386-memstick.img.

Took 3 times longer to download the 8.0-BETA1-i386-memstick.img that to 
download the 8.0-BETA1-i386-disc1.iso. I suggest you look into another 
method of creating the memstick.img so it downloads faster. dd does no 
compression of the data.


dd the memstick.img to my 2gb memstick ok. It booted ok.

Using a 8gb memstick as the target to install 8.0 on took 2 times longer 
than disc1 cd installing to same 8gb memstick.


Selected the [STANDARD/KERNEL DEVELOPER] distribution, It completed 
successfully, but the new 8.0 8gb memstick was not recognized as bootable.


Here is a script i have used in the past to convert the disc1.iso to 
bootable memstick. Maybe its better to add this script to the place 
where 8.0-BETA1-i386-disc1.iso is located in place of the memstick.img.

That way the 3 times larger memstick.img is not needed any more.



#!/bin/sh
#Purpose = Use to transfer the FreeBSD install cd1 to
#  a bootable 1GB USB flash drive so it can be used to install 
from.

#  First fetch the FreeBSD 7.1-RELEASE-i386-disc1.iso to your
#  hard drive /usr. Then execute this script from the command line
# fbsd2usb /usr/7.1-RELEASE-i386-disc1.iso /usr/7.1-RELEASE-i386-disc1.img
# Change system bios to boot from USB-dd and away you go.

# NOTE: This script has to be run from root and your 1GB USB flash drive
#   has to be plugged in before running this script.

# On the command line enter fbsd2usb iso-path img-path

# You can set some variables here. Edit them to fit your needs.

# Set serial variable to 0 if you don't want serial console at all,
# 1 if you want comconsole and 2 if you want comconsole and vidconsole
serial=0

set -u

if [ $# -lt 2 ]; then
echo "Usage: $0 source-iso-path output-img-path"
exit 1
fi

isoimage=$1; shift
imgoutfile=$1; shift

# Temp  directory to be used later
#export tmpdir=$(mktemp -d -t fbsdmount)
export tmpdir=$(mktemp -d /usr/fbsdmount)

export isodev=$(mdconfig -a -t vnode -f ${isoimage})

ISOSIZE=$(du -k ${isoimage} | awk '{print $1}')
SECTS=$((($ISOSIZE + ($ISOSIZE/5))*4))
#SECTS=$((($ISOSIZE + ($ISOSIZE/5))*2))

echo " "
echo "### Initializing image File started ###"
echo "### This will take about 4 minutes ###"
date
dd if=/dev/zero of=${imgoutfile} count=${SECTS}
echo "### Initializing image File completed ###"
date

echo " "
ls -l ${imgoutfile}
export imgdev=$(mdconfig -a -t vnode -f ${imgoutfile})

bsdlabel -w -B ${imgdev}
newfs -O1 /dev/${imgdev}a

mkdir -p ${tmpdir}/iso ${tmpdir}/img

mount -t cd9660 /dev/${isodev} ${tmpdir}/iso
mount /dev/${imgdev}a ${tmpdir}/img

echo " "
echo "### Started Copying files to the image now ###"
echo "### This will take about 15 minutes ###"
date

( cd ${tmpdir}/iso && find . -print -depth | cpio -dump ${tmpdir}/img )

echo "### Completed Copying files to the image ###"
date

if [ ${serial} -eq 2 ]; then
echo "-D" > ${tmpdir}/img/boot.config
echo 'console="comconsole, vidconsole"' >> 
${tmpdir}/img/boot/loader.conf

elif [ ${serial} -eq 1 ]; then
echo "-h" > ${tmpdir}/img/boot.config
echo 'console="comconsole"' >> ${tmpdir}/img/boot/loader.conf
fi

echo " "
echo "### Started writing image to flash drive now ###"
echo "### This will take about 30 minutes ###"
date
dd if=${imgoutfile} of=/dev/da0 bs=1m
echo "### Completed writing image to flash drive at ###"
date

cleanup() {
umount ${tmpdir}/iso
mdconfig -d -u ${isodev}
umount ${tmpdir}/img
mdconfig -d -u ${imgdev}
rm -rf ${tmpdir}
}

cleanup

ls -lh ${imgoutfile}

echo "### Script finished ###"




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


USB Flash Memory stick not bootable

2009-07-18 Thread Fbsd1
Have problem with being able to boot off an new 8GB USB Flash Memory 
stick. When I load the 8.0 disc1.iso to an 2GB USB Flash Memory stick it 
will boot fine. But when I do the same thing to the new 8GB USB Flash 
Memory stick it’s not recognized as bootable. I can access the installed 
partitions manually by mounting then on the 7.2 system. So I know the 
8GB stick has been loaded correctly. I am doing this on a 7.2 release.


Below are the console messages that get displayed when I plug in each of 
the USB Flash Memory stick. You can see a great difference between the 
first set of messages for the 8GB stick versus the 2GB stick that 
follows. I want to boot off the 8GB stick just like I do with the 2GB 
stick.


What is going on here? They should be handled the same way.


Brand new 8GB Kingston DataTraveler 120 purchased 7/16/09

 umass0:  
on uhub1

 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
 (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
 (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
 (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have 
changed

 (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0:  Removable Direct Access SCSI-2 
device

 da0: 1.000MB/s transfers
 da0: 7643MB (15654848 512 byte sectors: 255H 63S/T 974C)
 GEOM_LABEL: Label for provider da0a is ufsid/4a615a2cc673eb3d.


# 3 year old 2GB Kingston DataTraveler
umass1:  on uhub1
da1 at umass-sim1 bus 1 target 0 lun 0
da1: < USB Flash Memory 6.50> Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers



___
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: Install from a USB Pen

2009-07-22 Thread Fbsd1

Randi Harper wrote:

On Fri, Jul 17, 2009 at 8:41 PM, Fbsd1  wrote:


Took 3 times longer to download the 8.0-BETA1-i386-memstick.img that to
download the 8.0-BETA1-i386-disc1.iso. I suggest you look into another
method of creating the memstick.img so it downloads faster. dd does no
compression of the data.



-rw-r--r--1 110  1002 346845184 Jul 16 02:04
8.0-BETA2-i386-disc1.iso
-rw-r--r--1 110  1002 917391360 Jul 16 02:00
8.0-BETA2-i386-memstick.img

Note the filesize. This may be the reason it took 3 times longer. Just a
guess.



Using a 8gb memstick as the target to install 8.0 on took 2 times longer
than disc1 cd installing to same 8gb memstick.



Might have something to do with the amount of data being written. Again,
just a guess. Are you sure it wasn't 3 times longer?



Selected the [STANDARD/KERNEL DEVELOPER] distribution, It completed
successfully, but the new 8.0 8gb memstick was not recognized as bootable.



I don't know why that's the case as I am unable to reproduce this problem,
but if the memstick.img is <1GB, why are you using an 8GB memstick instead
of the 2GB?



Here is a script i have used in the past to convert the disc1.iso to
bootable memstick. Maybe its better to add this script to the place where
8.0-BETA1-i386-disc1.iso is located in place of the memstick.img.
That way the 3 times larger memstick.img is not needed any more.



No. If you took a look at the contents of the memstick, you'd realize it's
not just a copy of disc1. It also includes livefs. This is probably why the
memstick.img is so much bigger. :D

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




Instead of combining disc1 and livefs into a single memstick.img would't 
it be better to make 2 memstick images. One of disc1 and one of livefs. 
This matches the standard all ready in 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"


Are all USB Flash Memory sticks bootable?

2009-07-22 Thread Fbsd1
Have problem with being able to boot off an new 8GB USB Flash Memory 
stick. When I load the 8.0 disc1.iso to an 2GB USB Flash Memory stick it 
will boot fine. But when I do the same thing to a new 8GB USB Flash 
Memory stick it’s not recognized as bootable. I can access the installed 
partitions manually by mounting then on the 7.2 system. So I know the 
8GB stick has been loaded correctly. I am doing this on a 7.2 release.


Below are the console messages that get displayed when I plug in each of 
the USB Flash Memory stick. You can see a great difference between the 
first set of messages for the 8GB stick versus the 2GB stick that 
follows. I want to boot off the 8GB stick just like I do with the 2GB stick.


What is going on here? They should be handled the same way.


Brand new 8GB Kingston DataTraveler 120 purchased 7/16/09

 umass0:  
on uhub1

 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
 (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
 (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
 (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have 
changed

 (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0:  Removable Direct Access SCSI-2 
device

 da0: 1.000MB/s transfers
 da0: 7643MB (15654848 512 byte sectors: 255H 63S/T 974C)
 GEOM_LABEL: Label for provider da0a is ufsid/4a615a2cc673eb3d.


# 3 year old 2GB Kingston DataTraveler
umass1:  on uhub1
da1 at umass-sim1 bus 1 target 0 lun 0
da1: < USB Flash Memory 6.50> Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers



___
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: Are all USB Flash Memory sticks bootable?

2009-07-24 Thread Fbsd1

Randi Harper wrote:

On Thu, Jul 23, 2009 at 6:27 AM, Sergio de Almeida Lenzi <
lenzi.ser...@gmail.com> wrote:


Em Qui, 2009-07-23 às 12:52 +0800, Fbsd1 escreveu:
Hello

I found here that some bios does have problem with booting
from partitions they do not know

So first I initialize the USB stick with
==
dd count=100 if=/dev/zero of=/dev/da0
fdisk -BI da0
sade
==
than edit the partitions...
ls /dev/da* should show da0s1 da0s2
than
disklabel -wB da0s1
disklabel -wB da0s2
newfs -L Freebsd7 da0s1a
newfs -L Freebsd8 da0s2a
boot0cfg -vB da0

mount the partitions, copy the files
boot from the usb...  it will show you the F1 F2 chooser

for me, this worked


Sergio



Just to clarify, are you trying to boot from a USB stick that you've
installed FreeBSD onto, or is this a USB stick that you've dd'ed the
memstick.img to?

You should NOT use disklabel on a usb stick that you're dd'ing the
memstick.img to.

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




Here I will try to re-state the problem.

I have two USB Flash Memory sticks. One is a 2GB stick and the other is 
a 8GB stick. I can install Freebsd 8.0 from disc1 cd onto the 2GB stick 
or dd the memstick.img to the 2GB stick and in both cases it will boot 
just fine.


When I repeat the same procedure using the 8GB stick it will not boot. 
AS a test I have fdisk'ed the 8GB stick under MS/XP and loaded files to 
it ok.


The only thing I see different between the 2 memsticks is in the 
messages 7.2 issues when the sticks get plugged in.


Take note of the revision level differences between them.
2.00/1.00 versus  rev 2.00/2.00

The only other guess I have is that the usb code in 7.2 has
am error in it.

Brand new 8GB Kingston DataTraveler 120 purchased 7/16/09

 umass0:  
on uhub1

 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
 (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
 (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
 (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have 
changed

 (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0:  Removable Direct Access SCSI-2 
device

 da0: 1.000MB/s transfers
 da0: 7643MB (15654848 512 byte sectors: 255H 63S/T 974C)
 GEOM_LABEL: Label for provider da0a is ufsid/4a615a2cc673eb3d.


# 3 year old 2GB Kingston DataTraveler
umass1:  on uhub1
da1 at umass-sim1 bus 1 target 0 lun 0
da1: < USB Flash Memory 6.50> Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers




___
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: Making bootable USB keys

2009-09-03 Thread Fbsd1

Samuel Martín Moro wrote:

Hello

I'm having some troubles, trying to create bootable USB keys.
I found (freebsd-hackers ML archives) a script, supposed to create the
bootable image from my iso file.
But, it still don't boot... (I may do it wrong)

In details:
-We distribute a FreeBSD (4.7, 5.4, 6.2 and 7.2) "custom" server.
-We burn our install CD (and, in a few, our USB sticks) on a Ferdora 9
(sorry...)
-USB sticks must contain a FAT32 partition (we'ld like to provide doc for
windows users)

Well, my english isn't so great... so I'll post my code (more
understandable)



clip 

I have same problem with getting a usb stick to boot. After much testing 
with different sticks and PC combinations have come to this conclusion.


When usb hardware first can out they were created for usb 1.0 standard 
and at that same period PC's where using software drivers for usb 
support and the PC's bio's boot selection did not include option to boot 
from usb disk. As usb devices became more popular PC manufactures 
started adding USB firmware to their motherboards for usb 2.0 standard. 
From my research into usb 2.0 it only supports data recording and does 
not support booting function. About 2007 usb 2.2 standard came out and 
it supports an usb memory stick as bootable. In 2008 some manufactures 
of motherboards added usb 2.2 standard to their motherboards and bio's 
selection to boot from memory stick.


To be bootable the first file on the the stick has to be the boot image. 
 Haveing a ms fat partition first on the stick will never work unless 
you fill it with an bootable ms/windows or ms/dos system or the same 
kind of setup found on the cdrom1 release cd.


Only usb 2.2 memory sticks are bootable on newer PC's that have usb 2.2 
firmware on their motherboards and matching Bio's with selection for 
booting from usb 2.2 memory sticks. Please note that bio's booting 
selection for booting from USB disk is different than booting selection 
for booting from usb memory stick. I have posted many posts on this list 
about this subject and have not received any posts contrary to the above 
statement.


The pending 8.0 release has a complete rewrite of the USB code and a new 
  stick.img is being generated as part of the release install 
distribution's. I can dd the 8.0-stick.img file to an 2.0 stick and it 
never boots, but do the same thing to a 2.2 stick and it boots on all 3 
of my PC manufactured since June 2008.


Final Conclusion: Booting from a USB memory stick successfully is 
totally dependent on using new start-of-the-art hardware.








___
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: Making bootable USB keys

2009-09-05 Thread Fbsd1

Samuel Martín Moro wrote:

In fact, we provide the servers and the keys.
So we're sure everything will work.

And also, our install CD is already able to create this kind of USB stick.


I am just curious.
What manufacture / model and GB size of USB stick are you using?
When you plug the USB stick into a FreeBSD system what version of the 
USB standard is used in the firmware on the USB stick (1.0, 2.0 or 2.2)?
The firmware USB version standard used by the stick is displayed when 
the stick is first plugged into a Freebsd release 7.2

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

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


On Fri, 12 Dec 2008 08:38:17 -0500
"Gary Hartl"  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  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 <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?



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

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-13 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.

 





___
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  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 
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-21 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-25 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-19 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"


source for sysinstall

2009-05-03 Thread Fbsd1

How can i just download the source for sysinstall?
___
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.2 disc1 & bootonly cds not recognized as bootable

2009-05-16 Thread Fbsd1
Running 7.1 and trying to do clean install of 7.2. Downloaded both disc1 
and bootonly iso files because the 7.2 release announcement says this.


Note: late in the testing cycle it was discovered some machines do not 
recognize


the i386 disc1 as bootable (they just fall through to booting off the 
next boot device).


All affected machines did see the other discs as bootable. If you have a 
machine


with that problem booting off either bootonly or livefs and then 
swapping in disc1


once sysinstall starts should work.

In my case I have the described booting problem with both disc1 and the 
bootonly disk.


Disc1 and bootonly cd are bootable on different computer so know they 
are good.


Dead in the water, 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"


no pkg for apache13 in 7.2

2009-05-18 Thread Fbsd1

In 7.1 and previous  pkg_add -r apache  fetched apache13.
Now in release 7.2  pkg_add -r apache  installs apache22.
Looks like someone made apache22 the default pkg and did not
point this out in the release notes or bother to create a
named package for apace13 in the Latest directory.
Is apache13 at end-of-life??
___
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: no pkg for apache13 in 7.2

2009-05-18 Thread Fbsd1

Ltcddata wrote:

On Mon, 18 May 2009 20:22:34 +0800
Fbsd1  wrote:


In 7.1 and previous  pkg_add -r apache  fetched apache13.
Now in release 7.2  pkg_add -r apache  installs apache22.
Looks like someone made apache22 the default pkg and did not
point this out in the release notes or bother to create a
named package for apace13 in the Latest directory.
Is apache13 at end-of-life??
___
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"

using apache13 here on 7.2.. just build it from ports  



Building from port does not address the posted problem.
Can also get pkg from 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"


Re: Win4BSD 1.1 on 7.1

2009-05-23 Thread Fbsd1

Polytropon wrote:

On Fri, 22 May 2009 23:53:09 +0200 (CEST), Ronny Mandal 
 wrote:
I'm experiencing problems when attempting to install Win4BSD 1.1. I've 
downloaded the most recent .tbz of W4B, it installs but fails while 
building kqemu.


You downloaded sources manually? Why not use the ports system, or
even install from a precompiled package? This would install any
needed dependencies (kqemu) as well. The ports collection contains
version 1.1.


From the port:


# cd /usr/ports/emulators/win4bsd
# make install clean


From the package:


pkg_add -r win4bsd

It will install run dependencies as well.




Here is the error-msg:

kqemu-freebsd.c: In function 'kqemu_schedule':
kqemu-freebsd.c:211: error: 'sched_lock' undeclared (first use in this 
function)
kqemu-freebsd.c:211: error: (Each undeclared identifier is reported only 
once


I'm not sure, but are you trying to compile Linux sources on
a FreeBSD system?



All sources are installed. Suggestions are very welcome and will be 
appreciated!


Try the port, if you want to compile it yourself, or try pkg_add.
I have to admit that I haven't tried it, so it's a "dry advice". :-)






There is no package for win4bsd on the pkg ftp servers for releases 7.0, 
7.1, 7.2, or 8.0.
Looks like the release build team has been missed this one for some time 
now.



___
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: Win4BSD 1.1 on 7.1

2009-05-23 Thread Fbsd1

Polytropon wrote:

On Fri, 22 May 2009 23:53:09 +0200 (CEST), Ronny Mandal 
 wrote:
I'm experiencing problems when attempting to install Win4BSD 1.1. I've 
downloaded the most recent .tbz of W4B, it installs but fails while 
building kqemu.


You downloaded sources manually? Why not use the ports system, or
even install from a precompiled package? This would install any
needed dependencies (kqemu) as well. The ports collection contains
version 1.1.


From the port:


# cd /usr/ports/emulators/win4bsd
# make install clean


From the package:


pkg_add -r win4bsd

It will install run dependencies as well.




Here is the error-msg:

kqemu-freebsd.c: In function 'kqemu_schedule':
kqemu-freebsd.c:211: error: 'sched_lock' undeclared (first use in this 
function)
kqemu-freebsd.c:211: error: (Each undeclared identifier is reported only 
once


I'm not sure, but are you trying to compile Linux sources on
a FreeBSD system?



All sources are installed. Suggestions are very welcome and will be 
appreciated!


Try the port, if you want to compile it yourself, or try pkg_add.
I have to admit that I haven't tried it, so it's a "dry advice". :-)





The port build of win4bsd will not build on 7.2 because you have first 
to rebuild the freebsd kernel with option SCHED_4BSD. win4bsd-1.1_3 
requires the traditional 4bsd scheduler. Good possibility this is also 
true for 7.0, 7.1 and 8.0


Gave up on testing win4bsd because of performance impact on server from 
using traditional 4bsd scheduler. OMHO this port needs to be updated to 
function using the new scheduler.

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


Software creating karaoke from mp3 files

2009-05-30 Thread Fbsd1
Been unable to purchase karaoke of rock and roll greats like "AC/DC, THE 
ROLLING STONES, THE DOORS, LED ZEPPELIN". Looking for advice on software 
that will allow me to edit out the singing voice tracks from a mp3 file 
and write the resulting music as a avi file so I can have the song words 
show on tv.


If any one has done this type of thing, sure would like to hear about 
how they did it.


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"


Burncd & 700MB rw/cd

2008-09-06 Thread FBSD1
Been using burncd since Freebsd 4.0 with 650MB rw/cd's just fine. My local
computer store had a sale on 700MB rw/cd's and I picked up a few. Burncd
gives msg (Failure - read_big illegal request) on these 700MB rw/cd's. The
Freebsd 7.0 man burncd has no info on large sized rw/cd's?

Does burncd need a programming update to handle these newer larger sized
rw/cd's?

What other (built in with the release) program can be used to burn 700 MB
rw/cd's?

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


ssh

2008-09-06 Thread FBSD1
On FreeBSD 7.0 how do I tell ssh to allow login from root and also to listen
on port 9922 instead of port 22?

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


RE: switching discs during install

2008-09-07 Thread FBSD1
All this talk about changing the order of the ports on the install cd's is
just so much hot air because cd's install media belong to the legacy world.
They are fast becoming obsolete just like floppy drives are. Can't even buy
a computer these days with a floppy drive and still FreeBSD distributes
floppy install images. How absurd is that?

FreeBSD needs to come of age in the 21st century and be changed to install
using USB memory flash stick technology. Just a little tweaking of the
sysinstall program to add USB stick as an option for source of install
source would do it.

Here is a little script to populate a USB flash stick with the cd1.iso that
you may find interesting. This way you can combine the cd1 & cd2 install
cd's to a 4GB USB stick and install the system and all the ports you want
without switching any install media. You could even use a USB flash stick as
the target to install FreeBSD on giving you an mobile FreeBSD system you can
plug into any computer and boot from.


#!/bin/sh
#Purpose = Use to transfer the FreeBSD install cd1 to
#  a bootable 1GB USB flash drive so it can be used to install from.
#  First fetch the FreeBSD 6.2-RELEASE-i386-disc1.iso to your
#  hard drive /usr. Then execute this script from the command line
# fbsd2usb /usr/6.2-RELEASE-i386-disc1.iso /usr/6.2-RELEASE-i386-disc1.img
# Change system bios to boot from USB-dd and away you go.

# NOTE: This script has to be run from root and your 1GB USB flash drive
#   has to be plugged in before running this script.

# On the command line enter fbsd2usb iso-path img-path

# You can set some variables here. Edit them to fit your needs.

# Set serial variable to 0 if you don't want serial console at all,
# 1 if you want comconsole and 2 if you want comconsole and vidconsole
serial=0

set -u

if [ $# -lt 2 ]; then
echo "Usage: $0 source-iso-path output-img-path"
exit 1
fi

isoimage=$1; shift
imgoutfile=$1; shift

# Temp  directory to be used later
#export tmpdir=$(mktemp -d -t fbsdmount)
export tmpdir=$(mktemp -d /usr/fbsdmount)

export isodev=$(mdconfig -a -t vnode -f ${isoimage})

ISOSIZE=$(du -k ${isoimage} | awk '{print $1}')
SECTS=$((($ISOSIZE + ($ISOSIZE/5))*4))
#SECTS=$((($ISOSIZE + ($ISOSIZE/5))*2))

echo " "
echo "### Initializing image File started ###"
echo "### This will take about 4 minutes ###"
date
dd if=/dev/zero of=${imgoutfile} count=${SECTS}
echo "### Initializing image File completed ###"
date

echo " "
ls -l ${imgoutfile}
export imgdev=$(mdconfig -a -t vnode -f ${imgoutfile})

bsdlabel -w -B ${imgdev}
newfs -O1 /dev/${imgdev}a

mkdir -p ${tmpdir}/iso ${tmpdir}/img

mount -t cd9660 /dev/${isodev} ${tmpdir}/iso
mount /dev/${imgdev}a ${tmpdir}/img

echo " "
echo "### Started Copying files to the image now ###"
echo "### This will take about 10 minutes ###"
date

( cd ${tmpdir}/iso && find . -print -depth | cpio -dump ${tmpdir}/img )

echo "### Completed Copying files to the image ###"
date

if [ ${serial} -eq 2 ]; then
echo "-D" > ${tmpdir}/img/boot.config
echo 'console="comconsole, vidconsole"' >>
${tmpdir}/img/boot/loader.conf
elif [ ${serial} -eq 1 ]; then
echo "-h" > ${tmpdir}/img/boot.config
echo 'console="comconsole"' >> ${tmpdir}/img/boot/loader.conf
fi

echo " "
echo "### Started writing image to flash drive now ###"
echo "### This will take about 20 minutes ###"
date
dd if=${imgoutfile} of=/dev/da0 bs=1m
echo "### Completed writing image to flash drive at ###"
date

cleanup() {
umount ${tmpdir}/iso
mdconfig -d -u ${isodev}
umount ${tmpdir}/img
mdconfig -d -u ${imgdev}
rm -rf ${tmpdir}
}

cleanup

ls -lh ${imgoutfile}

echo "### Script finished ###"

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


<    1   2   3   >