maybe OT, but involves OOO its slideshow fmt, ``Impress''

2009-04-22 Thread Gary Kline

This is for anybody familiar with the "powerpoint" fmt docs/display,
and the openoffice.org equivalent, Impress.  I have several dozen of 
files
in several directories; each file (php or html--or can be xlated to xml)
had one or two jpeg graphics.  

What I would like to experiment with is to see if having my Jottings
philosophical stuff in slideshow presentation.  My personal philosophy 
grew
out of a disagreement with the bureaucrats in my home state (Ohio) who
asserted that my physical disabilities made it impossible for me to 
become
a productive member of society.  Similar bureaucrats in California just 
a
few years later took a different slant, and over the years and with 
plenty
of sweating over my engineering and comp-sci classwork---and obviously,
when I started earning my salt---, I noted down a bunch of short pieces 
that evolved into my "Jottings" thoughts.

I've tried my best to de-nerd and de-geek this stuff, so that it
encourages anyone and everyone who feels beat-up on by just-plain-life.
Since this stuff has gone global, I've had lots of positive feedback.  
At
the same time, back-of-envelope math has convinced me that it wouldn't 
pay
to publish this in ink+paper.  So in addition to my jottings.thought.org
website, have a push-button slideshow might encourage more people to 
give
this a read ... or a listen.  If I can find a volunteer to read the 
stuff.

I've tried to get firefox3 to show the demo here, but I'm evidently too
too far out of date.  If there is a way of having OOo-3.01 use the 
writing
portion and turn the files into Impress mode, that would be ideal.
O/wise, it might turn into a sharp learning curve.  In any case, there 
are
two questions for this list.  The first, obviously, is subjective and 
is:
would having my stuff in slideshow fmt gain me a wider readership?  The
second is:  anybody out there willing to clue me in on this stuff?

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.41a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-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: Customized Remote Install

2009-04-22 Thread Jorg Andersson

Can you explain in more detail how to make a CD boot up FreeBSD and run a
script? I haven't find any good resource on google. Alternatively, if you
can provide a link.
-- 
View this message in context: 
http://www.nabble.com/Customized-Remote-Install-tp23165397p23171529.html
Sent from the freebsd-questions mailing list archive at Nabble.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"


qemu && cut&paste between X11 -- Windows

2009-04-22 Thread Matthias Apitz

Hello,

Is there some way to cut&paste text between the UNIX desktop (KDE) and
the qemu-0.10.2 VM running XP as a guest system? thx

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.oclc.org/ http://www.UnixArea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
freebsd-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: Disk usage analysis

2009-04-22 Thread Wojciech Puchar


These are called directories.

You don't call files "sheets of paper" either, do you? :-)


YES!! I'm probably too up-tight about the use of "folder",
but it just seems like waay too much stupiding-down of the
std Unix terminology.  ([I thought I was the only one].  And yes,
there are things of greater gravitas to be ticked off about!)

it's just stupid to pursue windoze/maclame naming where names are ALREADY 
present!

___
freebsd-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: Customized Remote Install

2009-04-22 Thread Odhiambo ワシントン
On Tue, Apr 21, 2009 at 11:42 PM, Scott Seekamp  wrote:

> I've done a lot of searching and maybe this capability doesn't exist, but I
> am looking to do this:
>
> I am at my company's HQ, we have a new field office that I am setting up a
> FreeBSD server. The technical knowledge at the site windows only, so I
> basically have someone I can have put a CD in a drive and power a machine
> on.
>
> My problem is that the default install of FreeBSD has password
> authentication turned off, and root SSH disabled. Being a small office, they
> don't have a IP KVM or some way for me to get to the box to configure it.
>
> My hope was that I could make an automated install CD/DVD that configured
> all the options I want AND change some base config files so I can actually
> get to the box (or install an SSH key).
>
> I know I can do the scripted sysinstall, but from what I could find I would
> need a floppy or additional CD to put the answer file on.
>
> I'm open to other options if someone has gone down this road before!


All you need is that the guy at the field office knows something about PC
hardware and can type a few commands on any command line. Then there should
be a phone.
FreeBSD is not as silly as Linux when you move a disk from one box to
another. If it is a "server" box (which requires no GUI) then the only
changes you are likely to make are on the network configurations (ifconfig_*
in rc.conf and resolv.conf) and the rest will remain pretty much the same.

What I have done is that I have a prototype, which is a SATA disk. I am
pretty much okay of the next machine I want to install has a SATA disk, but
I am also not worried if it has PATA disk as I know I will only need a
change in /etc/fstab.
So what I normally do is this:

Attach my prototype disk as master on the machine to install, while slaving
the disk that the machine  had.
I enter sysinstall and disklable/newfs the slave disk. I make the disk
bootable, enable softupdates on it and I normally create the root mount
point (/). Once done, I change the mount point again to, say, /newdisk, so
the slave disk is now mounted on /newdisk.
After this:

dump L0af - / | (cd /newdisk/; restore -rf -) # BTW, I have the habit of
creating only / and swap!

So  now I have a duplicate system on the slave disk.

cd /newdisk; ee etc/rc.conf ; ee etc/fstab; ee etc/resol.conf
Here I change the ifconfig_ line for the network device (as seen from
dmesg.boot), ensure that fstab refers to the correct device names and voila!
I save, shutdown, remove my prototype disk, restore the slave disk to master
position and reboot and I have a system identical to the proto. Once
connected to a live network, I can ssh to it from anywhere I want using my
own account and the su to root if needed, though I always prefer sudo.

Now, if only you can follow my way, you only need to ship your prototype
disk to the field office and get the windows lunnie to do the disk
connections, type the commands, etc and you have a server running at the
field office in no time!
Of course tell him to pack your prototype disk safely and return it to you.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"Clothes make the man.  Naked people have little or no influence on
society."
  -- Mark Twain
___
freebsd-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: Disk usage analysis

2009-04-22 Thread Peter Boosten



On 22 apr 2009, at 10:01, Wojciech Puchar >






it's just stupid to pursue windoze/maclame naming


It's just stupid to start another flame war about the superiority of  
one or another OS.


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"


Re: CD Burning

2009-04-22 Thread Graham Bentley
/etc/fstab is a File System Table used for mounting filesystems. 
You are a ways off just yet in having a filesystem on acd0 to mount.


You can have a 'live fs' on dvd ram but its a bit laggy ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Destination host unreachable

2009-04-22 Thread Redd Vinylene
Hi,

I'm on my NAT workstation here (192.168.187.2), behind my FreeBSD pf
firewall (80.X.X.X + 192.168.187.1), and everything works just fine except
this one overseas IP that I just can't seem to reach:

-

C:\Documents and Settings\Administrator> ping 91.X.X.X

Pinging 91.X.X.X with 32 bytes of data:

Destination host unreachable.

-

I can reach it just fine from my FreeBSD pf firewall though.

My pf.conf and rc.conf can be found here: http://pastie.org/453644

My NAT workstation's netmask is 255.255.255.0 and that of my FreeBSD pf
firewall is 255.255.255.248.

Thanks!

-- 
http://www.home.no/reddvinylene
___
freebsd-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-update on FreeBSD 6.x

2009-04-22 Thread Andy Smith

Hi,

  when running "freebsd-update fetch" on FreeBSD 6.x I get the error:

Fetching public key...
fetch: http://update.freebsd.org/i386/6.1/pub.key: No address record
Error fetching updates


I've previously had a search around and compared the config file with  
that present by default on FreeBSD 7.x (which works without any  
hacking etc) but I never did work out what is wrong or what should be  
in a good config file. For one thing the directory its looking in for  
the pub.key seems to be hardcoded as "/i386/6.1/" or at least that  
path is not present in my conf file, perhaps its possible to add an  
additional line to the conf file to modify this... Can anyone point me  
in the right direction?


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


Re: qemu && cut&paste between X11 -- Windows

2009-04-22 Thread Craig Butler
Run the vm with -vnc flag enabled.  Then connect using vncviewer.
Alternatively connect to the XP system using rdesktop.

/Craig B
 
 

On Wed, 2009-04-22 at 10:00 +0200, Matthias Apitz wrote:
> Hello,
> 
> Is there some way to cut&paste text between the UNIX desktop (KDE) and
> the qemu-0.10.2 VM running XP as a guest system? thx
> 
>   matthias

___
freebsd-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-update on FreeBSD 6.x

2009-04-22 Thread Manolis Kiagias
Andy Smith wrote:
> Hi,
>
>   when running "freebsd-update fetch" on FreeBSD 6.x I get the error:
>
> Fetching public key...
> fetch: http://update.freebsd.org/i386/6.1/pub.key: No address record
> Error fetching updates
>

I've seen the "No address record" in the past in few of my machines. 
The update.freebsd.org address is a pool of addresses actually and AFAIR
there were some problems with  DNS for some people.  I don't recall the
exact cause, but you will get over it by specifying a specific server in
freebsd-update.conf, like update1.freebsd.org

This may not be your only problem though.
>
> I've previously had a search around and compared the config file with
> that present by default on FreeBSD 7.x (which works without any
> hacking etc) but I never did work out what is wrong or what should be
> in a good config file. For one thing the directory its looking in for
> the pub.key seems to be hardcoded as "/i386/6.1/" or at least that
> path is not present in my conf file, perhaps its possible to add an
> additional line to the conf file to modify this... Can anyone point me
> in the right direction?

A quick visit to http://update.freebsd.org does not show this directory
- although this maybe intentional. I suggest you try the server change
and if you connect but still fail to get the key, then go on and hack
the script. I don't have a 6.1 machine around, but freebsd-update is
just a sh script and you should be able to find what's going on.  There
is nothing hardcoded in it, at least in the version distributed with
7.x. In fact I would try running the 7.x version on this 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: freebsd-update on FreeBSD 6.x

2009-04-22 Thread Herbert J. Skuhra
On Wed, Apr 22, 2009 at 10:55:55AM +0100, Andy Smith wrote:
> Hi,
> 
>when running "freebsd-update fetch" on FreeBSD 6.x I get the error:
> 
> Fetching public key...
> fetch: http://update.freebsd.org/i386/6.1/pub.key: No address record
> Error fetching updates

So, you are running FreeBSD 6.1.

> I've previously had a search around and compared the config file with  
> that present by default on FreeBSD 7.x (which works without any  
> hacking etc) but I never did work out what is wrong or what should be  
> in a good config file. For one thing the directory its looking in for  
> the pub.key seems to be hardcoded as "/i386/6.1/" or at least that  
> path is not present in my conf file, perhaps its possible to add an  
> additional line to the conf file to modify this... Can anyone point me  
> in the right direction?

http://lists.freebsd.org/pipermail/freebsd-security/2008-April/004699.html

RELENG_6_1/RELENG_6_2 is EOL since May 31, 2008 (announced in May 2006!). 
You should have upgraded your system (to RELENG_6_3) before this date!

- Herbert

___
freebsd-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: Encrypted slice with geli

2009-04-22 Thread Giorgos Keramidas
On Wed, 22 Apr 2009 02:42:11 +0200, Bernt Hansson  wrote:
>Bill Moran said the following on 2009-04-21 14:41:
>>In response to Bernt Hansson :
>>>Giorgos Keramidas said the following on 2009-04-20 23:59:
On Mon, 20 Apr 2009 21:38:54 +0200, Bernt Hansson  
wrote:
> Hello list!
>
> I was thinking of makeing a slice encrypted with geli.
>
> My question is: does geli init -s 4096 /dev/ad* erase the data on the
> slice. The handbook didn't say yes or no, and I don't want to try
> without asking.
 No,
>>>
>>> No, what? does it erase the data or not.
>>
>> It depends on exactly what part of the process you're talking about
>
> My question is: does geli init -s 4096 /dev/ad* erase the data on the
> slice.

No, but it *does* write in parts of the slice.  In particular, it writes
geli metadata to the last sector of the device.  If this sector happens
to be "in use" by the existing data on the device, you will lose the
data of this particular sector.

The rest of the actual data stored on the rest underlying device is not
affected by the "geli init" command.

>> and it depends on exactly what you mean by "erase".
>
> Destroy it so it's no longer aviable.

No, the actual data will *still* be on the raw device after you run the
initial "geli init" command.  Even _after_ you newfs the new encrypted
device, block allocation algorithms for the filesystem may selectively
write in some parts of the unencrypted device but skip others.  This
means that until you explicitly fill the encrypted device to its full
capacity, it may _still_ be possible to peek under geli and see some of
the previously stored data.  This is precisely why the geli manpage
suggests that you overwrite the full encrypted device with data from
`/dev/random'.

>> If your question is, "I'm switching a partition to using geli, do I
>> need to back up my data before doing so?" the answer is YES!
>
> I do NOT want to backup the data unencrypted.
>
>>> But I want to keep the info on the slice.
>>
>> Then you need to copy it elsewhere, then copy it back after the slice
>> is encrypted.
>
> Dont have the space for that.

If you find the space for a full backup, then you can backup the data in
*encrypted* form too, i.e. by saving two geli keys in a removable device
(a USB flash disk maybe) and then going through two geli devices:

0.  save two geli keys on a removable device, i.e. key-a and key-b

1.  geli init the backup device with key-a and geli attach it

2.  overwrite the backup device with /dev/random data

3.  newfs and mount the backup device

4.  dump everything from the original unencrypted device to the
newly encrypted backup device

5.  geli init the original device with key-b and attach it

6.  overwrite the new encrypted device with /dev/random data

7.  newfs and mount the newly encrypted device

8.  restore from the encrypted backup device to the new encrypted
device

9.  verify that everything works in the newly encrypted device

10. detach the encrypted backup device and overwrite it with
/dev/random data once more

All you need is a backup device that is large enough to hold a full
backup of your data and a moderately safe place to store the encryption
keys while you are doing the whole backup and restore dance.


___
freebsd-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-update on FreeBSD 6.x

2009-04-22 Thread Marc Coyles
> I don't have a 6.1 machine around, but freebsd-update
> is just a sh script and you should be able to find what's going on.
> There is nothing hardcoded in it, at least in the version distributed
> with 7.x. In fact I would try running the 7.x version on this system.

I'd definitely be inclined to ensure you're using the more uptodate
Version of freebsd-update...

"As I write this, 'upgrade' support does not yet exist in the version
of FreeBSD Update in the FreeBSD base system, so the next step is to
download the script. If you are running FreeBSD 7.0-RC1 or 
FreeBSD 6.3-RC1 or later, you should already have this new 
version of FreeBSD Update installed, so you can skip this step."

http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade
.html

Added note: Instructions at above URL worked perfectly for 6.2 > 7.0,
and
Instructions at URL below worked perfectly for 7.0 > 7.1

http://www.daemonology.net/blog/2007-11-10-freebsd-minor-version-upgrade
.html

L8rs!
Marci



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


"unable to completely remove directory" during deinstall

2009-04-22 Thread Richard DeLaurell
This is undoubtedly a very "newbie" question, but I have seen this type of
error
a few times recently:

pkg_delete: unable to completely remove directory '/directory.name'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)

It occurs at the end of a "deinstall" as a matter of updating a port "by
hand".

What is the proper procedure to correct this? Run "pkgdb -F"? Rm the
offending files/dirs by hand? Both?

The updated packages seem to run okay afterward if I ignore these errors;
however, I am certain that they
are really just swept under the carpet for the time being and will reemerge
in the future (at a moment of maximum inconvenience no doubt).

Also, is "make deinstall" the same as "uninstall"?

Sorry, I guess I had two newbie questions.

Thanks for your help.

Richard
___
freebsd-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 you ACTUALLY print from FreeBSD?

2009-04-22 Thread Keith Seyffarth

> What version of FreeBSD are you using? There was a problem with certain
> USB devices in the 6.x branch with timing out.

What would the symptoms of this timing out be? what I'm seeing is
pretty instantaneous. In fact, printing to lpr instead of cups (with
cups disabled), I usually can't catch the job in the print spool
folder (because I can't hit the up arrow twice fast enough to pull it
out of my history before it thinks it has finished printing).
___
freebsd-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: Customized Remote Install

2009-04-22 Thread Jerry McAllister
On Wed, Apr 22, 2009 at 07:47:43AM +0200, Polytropon wrote:

> On Tue, 21 Apr 2009 18:47:11 -0400, Jerry McAllister  wrote:
> > On Tue, Apr 21, 2009 at 11:51:32PM +0200, Polytropon wrote:
> > 
> > > On Tue, 21 Apr 2009 14:42:32 -0600, Scott Seekamp  
> > > wrote:
> > > > My hope was that I could make an automated install CD/DVD that  
> > > > configured all the options I want AND change some base config files so  
> > > > I can actually get to the box (or install an SSH key).
> > > > [...]
> > > > I'm open to other options if someone has gone down this road before!
> > > 
> > > I'd like to advertize a method that I think is very comfortable
> > > in such a setting. It's worth mentioning that this method
> > > usually requires (a) modern enough PCs or (b) you to know what
> > > is the hardware profile of the PC.
> > > 
> > > The method works as follows:
> > > 
> > > First create a FreeBSD as you want it to be on the clients.
> > > Install and configure everything as you intend.
> > > 
> > > Then dump the created partitions onto a CD or DVD and create
> > > a simple script that:
> > >   1. initializes the client's hard disk
> > >   2. slices the disk and newfses the partitions
> > >   3. dumps the partition images onto the disks
> > >   4. reboots the machine into operating state.
> > > 
> > > After this, you should be able to SSH into the client and
> > > change settings that need to be changed.
> > 
> > This works very well. 
> 
> I just realize that I missed something: Better than dd, I think
> dump & restore are the preferred tools to create the partition
> images. When you're done on your "template system", umount its
> partitions (in SUM) and use dump to dump them into files. These
> files go to the installation DVD and are later on restored onto
> the (empty) partitions using the restore command. This will
> preserve any permissions and other file properties.
> 
> 
> 
> >  I have done essentially the same many times.
> > The one thing missing is that you need to have something to set the
> > network information -- hostname, IP address, gateway, netmask
> > and name-server.These will be different for each machine.
> > So, your script will have to accomodate this - read console
> > input for these items and plug them in to the proper places
> > before rebooting.
> 
> That's correct. I always used a kind of "CHANGE THIS!" items
> to do so, or, if none are given, they are automatically created
> so the system boots up and runs, but then again, require service
> afterwards. This can be made work this way: When the "incomplete"
> system is up and running, it mails the distant administrator (or
> contacts him in another way) requiring him to finish the settings.
> But I think it's the best solution to propmt for these
> specific settings at "installation time" (read, when the
> restore job is done, the partitions can be mounted -o rw and
> the files neccessary to be changed can be created or modified).
> 
> The "installation" will then continue and finish.
> 
> Of course, the dump & restore method lacks a lot of bling,
> blitzen, eye candy, bells and whistles, but it honours the
> abstinence to such stuff with speed and easyness of use. But
> it's still neccessary to read (and understand) and press a
> few keys on the keyboard. :-)

the dump/restore method's best and biggest bling and bell and whistle
is that it works correctly and is the most straight forward and easy.

jerry


> 
> 
> 
> -- 
> Polytropon
> From Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
___
freebsd-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 you ACTUALLY print from FreeBSD?

2009-04-22 Thread Keith Seyffarth

> What kind of printing do you need to do?

For the moment there are two things:
1. Create .pdf files from HTML/XHTML documents viewed in Firefox or
   Opera
2. Print HTML/XHTML documents viewed in Firefox or Opera to a
   printer.

> To send files to some either attached or network attached printer,
> you just need to:
> 
>   set up an entry in  /etc/printcap  
>   for a printer named myprt,  make something like: 
> 
> lp|myprt|HP OfficeJet 4110 N:\
>   :lp=:rp=myprt:rm=myprt.prt.full.hostname:\
>   :sh:mx#0:\
>   :sd=/var/spool/myprt:\
>   :lf=/var/log/printer.log:
> (Of course, change myprt.prt.full.hostname to a real address)

I have this:
lp|OfficeJet:\
:lp=/dev/ulpt0:\
:af=/usr/local/share/ppd/HP//HP-OfficeJet_4110-hpijs.ppd.gz:\
:if=/usr/local/bin/foomatic-rip:\
:sd=/var/spool/print.hp:\
:lf=/var/log/print.hp.log:\
:sh:

>   create a spool directory for it in /var/spool 
> (eg for a printer named myprt in printcap, 
>  create a /var/spool/myprt directory 

created directory /var/spool/print.hp

>   create an empty log file for it
>  touch /var/log/printer.log

touched /var/log/print.hp.log

>   then enable lpd in /etc/rc.conf -  lpd_enable="YES"

added this

> This sets up a 'standard' printer destination (named lp)
> Then you can print using lpr(1)

I can send files to the print spool this way, but then they just
disappear from the print spool. There is no evidence of attempted
communication with the printer, and certainly no printing going on.

> Some utilities want to use cups and other heavy stuff, but
> just for regular printing - of a file or from firefox or openoffice, etc
> you don't need that.

Never used OpenOffice...
___
freebsd-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: "unable to completely remove directory" during deinstall

2009-04-22 Thread Jerry
On Wed, 22 Apr 2009 09:16:22 -0500
Richard DeLaurell  wrote:

>This is undoubtedly a very "newbie" question, but I have seen this
>type of error
>a few times recently:
>
>pkg_delete: unable to completely remove directory '/directory.name'
>pkg_delete: couldn't entirely delete package (perhaps the packing list
>is incorrectly specified?)
>
>It occurs at the end of a "deinstall" as a matter of updating a port
>"by hand".
>
>What is the proper procedure to correct this? Run "pkgdb -F"? Rm the
>offending files/dirs by hand? Both?
>
>The updated packages seem to run okay afterward if I ignore these
>errors; however, I am certain that they
>are really just swept under the carpet for the time being and will
>reemerge in the future (at a moment of maximum inconvenience no doubt).
>
>Also, is "make deinstall" the same as "uninstall"?

First, there is a good chance that the 'pkg-plist' file is not correct.
It is usually harmless, however. You can usually just do a:

make deinstall reinstall distclean

Prior to updating, running 'pkgdb -Ffuv' is usually a safe concept. If
there are any problems, they will usually become self evident.

What port are you referencing? I assume 'by hands' means that you are
not using a port tool to manage updating a specific port. Is that
correct?

-- 
Jerry
ges...@yahoo.com

A prisoner of war is a man who tries to kill you and fails, and then
asks you not to kill him.

Sir Winston Churchill, 1952


signature.asc
Description: PGP signature


Re: Disk usage analysis

2009-04-22 Thread Mikel King


On Apr 21, 2009, at 11:24 PM, Robert Huff wrote:



Christopher Chambers writes:


Is there an easy way to analyze disk usage to determine which
files and folders are taking up the most space?


If this isn't a FAQ, then search the mailing list archives.
This question, or something leading to it like "out of disk space",
comes up regularly.


Robert Huff



I used to run durep on my shared servers. The package seems a bit out  
of date and I have often considered adopting it as a pet project to  
rewrite/update, but time, time and time always seem to be an issue.  
You can read more about the application. It generates a comprehensive  
report that can be automatically emailed, or viewed via the web.


http://www.hibernaculum.net/durep/

Cheers,
Mikel King
CEO, Olivent Technologies
Senior Editor, Daemon News
Columnist, BSD Magazine
6 Alpine Court
Medford, NY 11763
http://www.olivent.com
http://www.daemonnews.org
http://www.bsdmag.org
skype: mikel.king
+--+
Follow me if you dare...
http://twitter.com/mikelking
+--+






___
freebsd-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: Disk usage analysis

2009-04-22 Thread Jerry McAllister
On Tue, Apr 21, 2009 at 08:08:18PM -0700, Christopher Chambers wrote:

> Is there an easy way to analyze disk usage to determine which files and
> folders are taking up the most space?

Check out the du(1) command.

Go in to a file system and type du -sk *   or  maybe  du -sh * 
(I prefer the former because then all numbers have the same value)

Once you determine some directory that seems out of line, go in to that
directory and do it again.

jerry


> 
> -- 
> Christopher Chambers 
> 
> ___
> freebsd-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: "unable to completely remove directory" during deinstall

2009-04-22 Thread Richard DeLaurell
> What port are you referencing?


The error has occurred with a few recently; the latest was compiz
yesterday.  I was going from 0.6.2_2 to 0.7.8_1--sorry, I did not save the
exact output of the error.

The new compiz ran okay until I logged out my x-session and then tried to
log back in.  X froze before getting to the black screen and I had to
restart the system.

I deinstalled compiz and startx ran normally again.

I am wondering if those directories/files which could not be completely
removed might be the cause of the freeze?


> I assume 'by hands' means that you are
> not using a port tool to manage updating a specific port. Is that
> correct?


Yes, I meant to say that I cd into the given /usr/ports/ directory and run
make from there.

Thanks for your help.

Richard
___
freebsd-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: "unable to completely remove directory" during deinstall

2009-04-22 Thread Wojciech Puchar

pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)

It occurs at the end of a "deinstall" as a matter of updating a port "by
hand".

What is the proper procedure to correct this? Run "pkgdb -F"? Rm the
offending files/dirs by hand? Both?


check what wasn't deleted from the directory any why.

then delete 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: "unable to completely remove directory" during deinstall

2009-04-22 Thread Lars Eighner

On Wed, 22 Apr 2009, Richard DeLaurell wrote:


This is undoubtedly a very "newbie" question, but I have seen this type of
error a few times recently:

pkg_delete: unable to completely remove directory '/directory.name'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)


This is more-or-less normal, especially if the application was ever used
before being deinstalled.  This is often the result of configuration
files being altered --- which you might had done knowingly with an editor
or which might have been done by the application itself when you ran it.
If you used an editor, you might have left an artifact, like an editor
backup in the directory.

Generally it is a good thing.  Many times the configuration will not change
in any fatal way, so you can run on the old configuration file until you
go through the new distribution configuration to see what, if anything, has
changed and what needs updating.  Even if the old configuration won't work,
you are likely to want it handy as you edit the new configuration file,
because there is no point in reinventing the wheel on things that haven't
changed.  At any rate, deinstall is doing the right thing when it doesn't
delete stuff that it can't identify positively as stuff that was installed.


It occurs at the end of a "deinstall" as a matter of updating a port "by
hand".

What is the proper procedure to correct this? Run "pkgdb -F"? Rm the
offending files/dirs by hand? Both?


If you really want to do this, you have to remove the files/directories by
hand.  So far as the pkgdb is concerned, there won't be anything wrong
whether you do it or not.


The updated packages seem to run okay afterward if I ignore these errors;
however, I am certain that they are really just swept under the carpet for
the time being and will reemerge in the future (at a moment of maximum
inconvenience no doubt).


The only downside here is that you may accumulate a bit of kruft in
application directories --- generally no concern given modern drive sizes.
But as I have said, some of that kruft may be helpful at times.  If you have
like a tidiness thing, I'd suggest you not delete the kruft but move it to
some backup directory and let it gather dust.

Very rarely there is a major shake-up in which it does matter --- such as
when xorg moved.  In those cases there should be a heads-up in UPDATING.


Also, is "make deinstall" the same as "uninstall"?


I could be wrong because I never use anything other than 'make deinstall'
but I don't find an 'uninstall' target in the port makefiles.  A few
applications have a uninstall command, and that is not the same thing.
IOW, I don't know.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: maybe OT, but involves OOO its slideshow fmt, ``Impress''

2009-04-22 Thread Peter Ulrich Kruppa
Am Mittwoch, den 22.04.2009, 00:23 -0700 schrieb Gary Kline:
>   In any case, there are
>   two questions for this list.  
>   The first, obviously, is subjective and is:
>   would having my stuff in slideshow fmt gain me a wider readership?  
Yes. Any sort of attractive presentation will draw more attention to
your content than ordinary text without any pictures or animations.

>   The
>   second is:  anybody out there willing to clue me in on this stuff?
I have always made very good experiences with technical questions of all
kind on this list. Regarding your contents or lay-out and design there
probably are better forums.

Greetings,

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


Re: portmaster -a on a live server

2009-04-22 Thread Tom Worster
On 4/20/09 3:06 PM, "Matthew Seaman" 
wrote:

> Many ports will shut down a running instance of themselves when upgraded
> like this specifically to avoid the sort of complications that can occur
> when the running image does not match what is on disk.
> 
> mysql does, apache doesn't.
> 
> So upgrade mysql-server last thing before you reboot.  Although I know you're
> not using portupgrade, this snippet from pkgtools.conf has been a blessing in
> minimizing outage lengths during updates on live servers:
> 
>   AFTERINSTALL = {
> '*' => proc { |origin|
>cmd_start_rc(origin)
> },
>   }
> 
> Of couse, the best course of action is to plan sufficient downtime that you
> can do the upgrades comfortably plus recover from any number of ways things
> might go wrong, but sometimes that simply isn't possible.

i went through the process with portmaster on a test machine. it's exactly
as you describe. the old apache keeps running. mysql runs throughout the
build until the install, when it stops.

a down and dirty way could be to just enter these three commands all at
once: 

portmaster -agbtvwuD -x mysql\-server
portmaster -gbtvwuD mysql\-server
mysqld_safe &

i could test the exit code of portmaster on the second and third lines and
abandon if !=0 but i'm not sure it would add much.

watching the process is very dreary. i found listening to an audio book
helped.


by the by, on my test machine i ended up with python installed. seems to be
because i needed php5-gd which now depends on python. all for some simple
freetype2 calls. 


___
freebsd-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: maybe OT, but involves OOO its slideshow fmt, ``Impress''

2009-04-22 Thread Andrew Gould
On Wed, Apr 22, 2009 at 10:38 AM, Peter Ulrich Kruppa
wrote:

> Am Mittwoch, den 22.04.2009, 00:23 -0700 schrieb Gary Kline:
> >   In any case, there are
> >   two questions for this list.
> >   The first, obviously, is subjective and is:
> >   would having my stuff in slideshow fmt gain me a wider readership?
> Yes. Any sort of attractive presentation will draw more attention to
> your content than ordinary text without any pictures or animations.
>
> >   The
> >   second is:  anybody out there willing to clue me in on this stuff?
> I have always made very good experiences with technical questions of all
> kind on this list. Regarding your contents or lay-out and design there
> probably are better forums.
>
> Greetings,
>
> Uli.
> >   gary
> >
>

It is very difficult to convey concepts or ideas with any complexity with
slides alone.  Usually, slides should accompany and complement a
presentation.

If the document must stand alone (no speech, etc), and the content is of any
complexity, I would advise not using slides.

For anyone using slides, I recommend the following book by Garr Reynolds:
"Presentation Zen: Simple Ideas on Presentation Design and Delivery"


Best regards,

Andrew
___
freebsd-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 had a tought

2009-04-22 Thread Arjen Simon Scheer
why there is not a lunix operatingsystem consortium, for the kernel end  
the commercial userinterface


--
Arjen Simon Scheer
Konigin Wilhelminalaan 4-017
4205ET  Gorinchem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


autofs

2009-04-22 Thread Paul Schmehl

Is autofs built by default?

pa...@utd65257# uname -r
7.1-STABLE

Or do I need to do something special to build it?

Can I build it independently?  Or do I need to rebuild my kernel?

If it isn't implemented by default, how do I make it the default when I rebuild 
the kernel?


I can't find any man pages on it, and googling doesn't show any howtos that 
would walk me through it


--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
Check the headers before clicking on Reply.

___
freebsd-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: i had a tought

2009-04-22 Thread Wojciech Puchar

he smoked too much

why there is not a lunix operatingsystem consortium, for the kernel end the 
commercial userinterface


--
Arjen Simon Scheer
Konigin Wilhelminalaan 4-017
4205ET  Gorinchem
___
freebsd-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: /libexec/ld-elf.so.1: /usr/local/lib/libcairo.so.2: Undefined symbol "pixman_region32_init"

2009-04-22 Thread Chris Rees
2009/4/13 firm...@gmail.com :
> Hi,
>
> After installing Freebsd 7.1 with this as my uname -a:
> 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0
>
> And then updating the ports, and doing the following:
>
> pkg_add -r xorg
> pkg_add -r blackbox
> pkg_add -r firefox3
>
> I can start blackbox fine, but when I try to launch, say, firefox I get
> this:
>
> /libexec/ld-elf.so.1: /usr/local/lib/libcairo.so.2: Undefined symbol
> "pixman_region32_init"
>
> Any ideas?  I have no clue, and searching the web turns up nothing.

Try installing Firefox from ports (compiling from source). Does that
throw up an error?

Chris




-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
freebsd-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: /libexec/ld-elf.so.1: /usr/local/lib/libcairo.so.2: Undefined symbol "pixman_region32_init"

2009-04-22 Thread Adam Vandemore

firm...@gmail.com wrote:

Hi,

After installing Freebsd 7.1 with this as my uname -a:
7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0
  

That could be a problem.  That should read something like:

7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #3

You might try updating to 7.1 release or if you're tracking STABLE 
update to that.  Then uname will show something like:


7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #3

AFAIK, the firefox3 pkg is built against 7.1R so that may be related to 
your problem.




--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

___
freebsd-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: /libexec/ld-elf.so.1: /usr/local/lib/libcairo.so.2: Undefined symbol "pixman_region32_init"

2009-04-22 Thread firm...@gmail.com
ThanksI will upgrade.  But in the meantime I reinstalled the cairo and
pixman ports
and now I can launch applications like firefox and thunderbird.  All good
now!

On Wed, Apr 22, 2009 at 1:03 PM, Adam Vandemore wrote:

> firm...@gmail.com wrote:
>
>> Hi,
>>
>> After installing Freebsd 7.1 with this as my uname -a:
>> 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0
>>
>>
> That could be a problem.  That should read something like:
>
> 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #3
>
> You might try updating to 7.1 release or if you're tracking STABLE update
> to that.  Then uname will show something like:
>
> 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #3
>
> AFAIK, the firefox3 pkg is built against 7.1R so that may be related to
> your problem.
>
>
>
> --
> Adam Vandemore
> Systems Administrator
> IMED Mobility
> (605) 498-1610
>
>
> ___
> freebsd-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: i had a tought

2009-04-22 Thread Andrew Gould
On Wed, Apr 22, 2009 at 11:10 AM, Arjen Simon Scheer
wrote:

> why there is not a lunix operatingsystem consortium, for the kernel end the
> commercial userinterface
>
> --
> Arjen Simon Scheer
> Konigin Wilhelminalaan 4-017
> 4205ET  Gorinchem
> ___
>  


Because commercial entities are too busy switching from Linux to FreeBSD?

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


cvsup-mirror

2009-04-22 Thread Tim Judd
I am having quite the issue with a cvsup-mirror install (1.3_8) here.  It
seems to be keeping some meta information file somewhere and has FAILED to
give me a local mirror (not one to be publicly available) yet.


Being the stubborn person I am, I have multiple times cleared some and all
of the following to try to resolve the problem...

/usr/local/etc/cvsup
the package itself
/home/ncvs
/home/cvsupin
/usr/ports/ports/net/cvsup-mirror



And each time it takes ~5 hours to download 1.5GB of data in /home/ncvs then
a client connecting to itself fails to work.  Latest problem is

-- Quote
Server warning: Cannot open
"/usr/local/etc/cvsup/prefixes/FreeBSD.cvs/src/gnu/lib/libgmp/mpz/get_si.c,v":
No such file or directory
Server warning: Cannot open
"/usr/local/etc/cvsup/prefixes/FreeBSD.cvs/src/gnu/lib/libgmp/mpz/get_str.c,v":
No such file or directory
Server warning: Cannot open
"/usr/local/etc/cvsup/prefixes/FreeBSD.cvs/src/gnu/lib/libgmp/mpz/get_ui.c,v":
No such file or directory
Server warning: Cannot open
"/usr/local/etc/cvsup/prefixes/FreeBSD.cvs/src/gnu/lib/libgmp/mpz/getlimbn.c,v":
No such file or directory
-- /Quote

It's just a snippet..  It can't find ANYTHING.

Other problems included the inability to even select the src-all/cvs or
ports-all/cvs (trees? branches?) in the server, yet it has 1.5GB downloaded.

What'd help me to learn what's wrong is the line in config.sh as below:
distribs="distrib.self .. . FreeBSD.cvs /home/ncvs . FreeBSD-www.current
SKIP . FreeBSD-gnats.current SKIP gnats FreeBSD-mail.current SKIP ."

My guess is it names a distribution and puts a directory it stores the files
into in the next argument, separated by space.  Next distribution is named
and it's directory it stores the files into as the next one past that, with
all distributions separated by a single period.

Then the word 'gnats' throws me off because I .  don't know what the
heck it's there for..  is the '.' an alias instead to the first item in the
line, meaning it's a tuple?
(distrib storedir alias)...



What throws me off is that the /usr/local/etc/cvsup directory was tarred up
from a working mirror and copied here and let the update.sh run for 5 hours,
to come to the above quoted warnings (but I'm treating them as errors).  The
working system has about 4GB in /home/ncvs that works for me, but this one
can't get past 1.5GB.  Working system has been working beautifully for
several months (6?)..  so maybe it's just collective.


I really would like to get a bearing on cvsup-mirror, but have no clue what
to google or read to find out some of the troubleshooting guides.



--Tim
___
freebsd-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 fsck weirdness

2009-04-22 Thread Peter Harrison
I've just upgraded my laptop from 7-STABLE (pre-7.2) to 7.2-PRERELEASE. Now I'm 
getting GEOM_LABEL messages during boot at fsck -p:

GEOM_LABEL: Label for provider ad0s4a is ufsid/47512fd69af66806.
GEOM_LABEL: Label for provider ad0s4d is ufsid/47512fd8e911c63d.
GEOM_LABEL: Label for provider ad0s4e is ufsid/47512fd7a48e0465.
GEOM_LABEL: Label for provider ad0s4f is ufsid/47512fd73aadb886.
Trying to mount root from ufs:/dev/ad0s4a
GEOM_LABEL: Label ufsid/47512fd69af66806 removed.
GEOM_LABEL: Label for provider ad0s4a is ufsid/47512fd69af66806.
GEOM_LABEL: Label ufsid/47512fd7a48e0465 removed.
GEOM_LABEL: Label for provider ad0s4e is ufsid/47512fd7a48e0465.
GEOM_LABEL: Label ufsid/47512fd73aadb886 removed.
GEOM_LABEL: Label for provider ad0s4f is ufsid/47512fd73aadb886.
GEOM_LABEL: Label ufsid/47512fd8e911c63d removed.
GEOM_LABEL: Label for provider ad0s4d is ufsid/47512fd8e911c63d.
GEOM_LABEL: Label ufsid/47512fd69af66806 removed.
GEOM_LABEL: Label ufsid/47512fd7a48e0465 removed.
GEOM_LABEL: Label ufsid/47512fd73aadb886 removed.
GEOM_LABEL: Label ufsid/47512fd8e911c63d removed.

I wasn't getting the label removed messages prior to the update. Any ideas what 
this is about, and whether I should be worried? Everything seems to work 
normally otherwise.

Thanks,


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


libc or OpenSSL patches break ssh?

2009-04-22 Thread Jake Evans

Am running 6.4-PRERELEASE.

Received FreeBSD-SA-09:07.libc / FreeBSD-SA-09:08.openssl notifications today, 
applied applicable patches correctly.


However, now when anyone attempts to connect to my server via SSH, the 
connection is closed after they enter their login & password.


/var/log/messages says the following when they try to login:

Apr 22 12:53:12 x sshd[75505]: fatal: openpty returns device for which ttyname 
fails.
Apr 22 12:53:12 x sshd[75505]: error: chown  0 0 failed: No such file or 
directory
Apr 22 12:53:12 x sshd[75505]: error: chmod  0666 failed: No such file or 
directory

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


libc or OpenSSL patches break ssh?

2009-04-22 Thread Jake Evans

Am running 6.4-PRERELEASE.

Received FreeBSD-SA-09:07.libc / FreeBSD-SA-09:08.openssl notifications 
today, applied applicable patches correctly.


However, now when anyone attempts to connect to my server via SSH, the 
connection is closed after they enter their login & password.


/var/log/messages says the following when they try to login:

Apr 22 12:53:12 x sshd[75505]: fatal: openpty returns device for which 
ttyname fails.
Apr 22 12:53:12 x sshd[75505]: error: chown  0 0 failed: No such file or 
directory
Apr 22 12:53:12 x sshd[75505]: error: chmod  0666 failed: No such file or 
directory

___
freebsd-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.2 fsck weirdness

2009-04-22 Thread Adam Vandemore

Peter Harrison wrote:

I've just upgraded my laptop from 7-STABLE (pre-7.2) to 7.2-PRERELEASE. Now I'm 
getting GEOM_LABEL messages during boot at fsck -p:

GEOM_LABEL: Label for provider ad0s4a is ufsid/47512fd69af66806.
GEOM_LABEL: Label for provider ad0s4d is ufsid/47512fd8e911c63d.
GEOM_LABEL: Label for provider ad0s4e is ufsid/47512fd7a48e0465.
GEOM_LABEL: Label for provider ad0s4f is ufsid/47512fd73aadb886.
Trying to mount root from ufs:/dev/ad0s4a
GEOM_LABEL: Label ufsid/47512fd69af66806 removed.
GEOM_LABEL: Label for provider ad0s4a is ufsid/47512fd69af66806.
GEOM_LABEL: Label ufsid/47512fd7a48e0465 removed.
GEOM_LABEL: Label for provider ad0s4e is ufsid/47512fd7a48e0465.
GEOM_LABEL: Label ufsid/47512fd73aadb886 removed.
GEOM_LABEL: Label for provider ad0s4f is ufsid/47512fd73aadb886.
GEOM_LABEL: Label ufsid/47512fd8e911c63d removed.
GEOM_LABEL: Label for provider ad0s4d is ufsid/47512fd8e911c63d.
GEOM_LABEL: Label ufsid/47512fd69af66806 removed.
GEOM_LABEL: Label ufsid/47512fd7a48e0465 removed.
GEOM_LABEL: Label ufsid/47512fd73aadb886 removed.
GEOM_LABEL: Label ufsid/47512fd8e911c63d removed.

I wasn't getting the label removed messages prior to the update. Any ideas what 
this is about, and whether I should be worried? Everything seems to work 
normally otherwise.

Thanks,


Peter Harrison.
___
  
happened on my upgrade too, I noticed an update to geom(label?) while 
csup'n so I imagine that would give you an idea as to the exact change 
which caused the behavior.  I haven't noticed any other changes other 
than a more verbose startup.


--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

___
freebsd-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: i had a tought

2009-04-22 Thread Jerry McAllister
On Wed, Apr 22, 2009 at 06:10:04PM +0200, Arjen Simon Scheer wrote:

> why there is not a lunix operatingsystem consortium, for the kernel end  
> the commercial userinterface

Good question.   
Maybe you should ask them.

Probably few people on this list will know because it is not a Lunix
Email list.   It is a group of FreeBSD users and FreeBSD is an operating
system.  It is a BSD UNIX type of operating system.Although it covers 
some similar territory as Lunix, it is not Lunix nor a flavor of it.   

So, if you can find a friendly group of Lunix developers, then you 
can ask them your question.   Probably they will know more.

As for FreeBSD, it does have a foundation - the FreeBSD foundation
and a consortium made up of committers which is lead by a core
group elected every two years.   (something like that, I may be off
on the election cycle details)

On the other hand, you can just stick with FreeBSD and not bother
with the Lunix stuff and you will get along just fine.   
   
jerry



> 
> -- 
> Arjen Simon Scheer
> Konigin Wilhelminalaan 4-017
> 4205ET  Gorinchem
> ___
> freebsd-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: libc or OpenSSL patches break ssh?

2009-04-22 Thread Jake Evans

Figured it out.

The libc patch instructions don't tell you to rebuild libutil. You need to 
do that.



On Wed, 22 Apr 2009, Jake Evans wrote:


Am running 6.4-PRERELEASE.

Received FreeBSD-SA-09:07.libc / FreeBSD-SA-09:08.openssl notifications 
today, applied applicable patches correctly.


However, now when anyone attempts to connect to my server via SSH, the 
connection is closed after they enter their login & password.


/var/log/messages says the following when they try to login:

Apr 22 12:53:12 x sshd[75505]: fatal: openpty returns device for which 
ttyname fails.
Apr 22 12:53:12 x sshd[75505]: error: chown  0 0 failed: No such file or 
directory
Apr 22 12:53:12 x sshd[75505]: error: chmod  0666 failed: No such file or 
directory

___
freebsd-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: Disk usage analysis

2009-04-22 Thread Mikel King




On Apr 22, 2009, at 3:05 PM, andrew clarke wrote:

On Wed 2009-04-22 10:46:14 UTC-0400, Mikel King (mikel.k...@olivent.com 
) wrote:



I used to run durep on my shared servers.


durep seems to have no concept of security :-)  So how did you go  
about

restricting unwanted people from viewing its output?

Regards
Andrew


When we ran it initially we used .htaccess, then rolled it into a php  
app.


m

___
freebsd-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: Disk usage analysis

2009-04-22 Thread Mikel King


On Apr 22, 2009, at 3:13 PM, andrew clarke wrote:

On Thu 2009-04-23 05:05:25 UTC+1000, andrew clarke  
(m...@ozzmosis.com) wrote:


durep seems to have no concept of security :-)  So how did you go  
about

restricting unwanted people from viewing its output?


I'm referring to the CGI version of durep here, of course.



We didn't run the CGI version. Only used it as a scheduled task, to  
generate the report once or twice per day. 


___
freebsd-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: Disk usage analysis

2009-04-22 Thread andrew clarke
On Thu 2009-04-23 05:05:25 UTC+1000, andrew clarke (m...@ozzmosis.com) wrote:

> durep seems to have no concept of security :-)  So how did you go about
> restricting unwanted people from viewing its output?

I'm referring to the CGI version of durep here, of course.
___
freebsd-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.2 fsck weirdness

2009-04-22 Thread Peter Harrison
Wednesday, 22 April 2009 at 13:26:37 -0500, Adam Vandemore said:
> Peter Harrison wrote:
> >I've just upgraded my laptop from 7-STABLE (pre-7.2) to 7.2-PRERELEASE. 
> >Now I'm getting GEOM_LABEL messages during boot at fsck -p:
> >
> >GEOM_LABEL: Label for provider ad0s4a is ufsid/47512fd69af66806.
> >GEOM_LABEL: Label for provider ad0s4d is ufsid/47512fd8e911c63d.
> >GEOM_LABEL: Label for provider ad0s4e is ufsid/47512fd7a48e0465.
> >GEOM_LABEL: Label for provider ad0s4f is ufsid/47512fd73aadb886.
> >Trying to mount root from ufs:/dev/ad0s4a
> >GEOM_LABEL: Label ufsid/47512fd69af66806 removed.
> >GEOM_LABEL: Label for provider ad0s4a is ufsid/47512fd69af66806.
> >GEOM_LABEL: Label ufsid/47512fd7a48e0465 removed.
> >GEOM_LABEL: Label for provider ad0s4e is ufsid/47512fd7a48e0465.
> >GEOM_LABEL: Label ufsid/47512fd73aadb886 removed.
> >GEOM_LABEL: Label for provider ad0s4f is ufsid/47512fd73aadb886.
> >GEOM_LABEL: Label ufsid/47512fd8e911c63d removed.
> >GEOM_LABEL: Label for provider ad0s4d is ufsid/47512fd8e911c63d.
> >GEOM_LABEL: Label ufsid/47512fd69af66806 removed.
> >GEOM_LABEL: Label ufsid/47512fd7a48e0465 removed.
> >GEOM_LABEL: Label ufsid/47512fd73aadb886 removed.
> >GEOM_LABEL: Label ufsid/47512fd8e911c63d removed.
> >
> >I wasn't getting the label removed messages prior to the update. Any ideas 
> >what this is about, and whether I should be worried? Everything seems to 
> >work normally otherwise.
> >
> >Thanks,
> >
> >
> >Peter Harrison.
> >___
> >  
> happened on my upgrade too, I noticed an update to geom(label?) while 
> csup'n so I imagine that would give you an idea as to the exact change 
> which caused the behavior.  I haven't noticed any other changes other 
> than a more verbose startup.

Thanks for this.

I'm a bit of a noob at this, so can anyone point me at the appropriate source 
file or commit message to look at for the detail?

Thanks again.


Peter Harrison.

> 
> -- 
> Adam Vandemore
> Systems Administrator
> IMED Mobility
> (605) 498-1610
> 
> ___
> freebsd-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"


FreeBSD and Intel PRO/Wireless 2200BG

2009-04-22 Thread Daniel Underwood
I'm having trouble getting wireless to work on my FreeBSD laptop.

I'm running FreeBSD 7.1-RELEASE. My wireless device is Intel
PRO/Wireless 2200BG.

After typing "ifconfig iwi0", I get the following:

iwi0: flags=8802 metric 0 mtu 1500
ether 00:16:6f:91:d5:58
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid "" channel 1 (2412 Mhz 11b)
authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF bmiss 10
scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11b 7
roam:rate11b 1 roaming MANUAL bintval 0

Now I (repeatedly) receive the following error messages in my xconsole:

firmware_get: failed to load firmware image iwi_bss
iwi0: could not load firmware

My /etc/rc.conf contains:

ifconfig_iwi0="WPA DHCP"

My /boot/loader.conf contains:

wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
wlan_wep_load="YES"
wlan_tkip_load="YES"
wlan_ccmp_load="YES"

After typing "kldstat", I receive the following (note that iwi_bss.ko exists):

Id Refs AddressSize Name
 1   18 0xc040 97f830   kernel
 21 0xc0d8 6a2c4acpi.ko
 31 0xc3e3c000 22000linux.ko
 41 0xc408f000 6000 i915.ko
 51 0xc40a2000 f000 drm.ko
 61 0xc428 f000 if_iwi.ko
 71 0xc42ae000 3iwi_bss.ko

Please help me figure this out. I've been trying to get wireless to work
for 3 days now, and I've searched and searched for a solution. Let me
know if you need more information.

Thanks,
Daniel
___
freebsd-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: Disk usage analysis

2009-04-22 Thread andrew clarke
On Wed 2009-04-22 10:46:14 UTC-0400, Mikel King (mikel.k...@olivent.com) wrote:

> I used to run durep on my shared servers.

durep seems to have no concept of security :-)  So how did you go about
restricting unwanted people from viewing its output?

Regards
Andrew
___
freebsd-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: i had a tought

2009-04-22 Thread Tom Worster
On 4/22/09 12:10 PM, "Arjen Simon Scheer"  wrote:

> why there is not a lunix operatingsystem consortium, for the kernel end
> the commercial userinterface

isn't that OSDL?


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


awk question (actively tail a file & notify when expression is found)

2009-04-22 Thread Evuraan : : ഏവൂരാന്‍
Greetings..!

this works,

tail -f /var/log/apache2/access.log | nawk '/192.168.1.100/{ print $0 }'

and this too:

 tail -f /var/log/apache2/access.log |awk ' /192.168.1.100/ { system
("mail -s \"This works\" m...@email.address")}'

but this below, does not work

 tail -f /var/log/apache2/access.log |awk ' /192.168.1.100/ {  print
$0 | "mail m...@email.address  "}'

Any pointers would be much appreciated.

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


Modern FreeBSD Installer?

2009-04-22 Thread Fritz
Hi,

As a big fan (and paying subscriber) of FreeBSD it pains
me to ask this question:  When are you going to build
a modern installer for FreeBSD?

I looked at the list of projects and didn't see it there ... did
I miss something?

Thanks

Fritz Kolberg

Phoenix, AZ
___
freebsd-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 and Intel PRO/Wireless 2200BG

2009-04-22 Thread Leslie Jensen


Daniel Underwood skrev:

I'm having trouble getting wireless to work on my FreeBSD laptop.

I'm running FreeBSD 7.1-RELEASE. My wireless device is Intel
PRO/Wireless 2200BG.

After typing "ifconfig iwi0", I get the following:

iwi0: flags=8802 metric 0 mtu 1500
ether 00:16:6f:91:d5:58
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid "" channel 1 (2412 Mhz 11b)
authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF bmiss 10
scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11b 7
roam:rate11b 1 roaming MANUAL bintval 0

Now I (repeatedly) receive the following error messages in my xconsole:

firmware_get: failed to load firmware image iwi_bss
iwi0: could not load firmware

My /etc/rc.conf contains:

ifconfig_iwi0="WPA DHCP"

My /boot/loader.conf contains:

wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
wlan_wep_load="YES"
wlan_tkip_load="YES"
wlan_ccmp_load="YES"

After typing "kldstat", I receive the following (note that iwi_bss.ko exists):

Id Refs AddressSize Name
 1   18 0xc040 97f830   kernel
 21 0xc0d8 6a2c4acpi.ko
 31 0xc3e3c000 22000linux.ko
 41 0xc408f000 6000 i915.ko
 51 0xc40a2000 f000 drm.ko
 61 0xc428 f000 if_iwi.ko
 71 0xc42ae000 3iwi_bss.ko

Please help me figure this out. I've been trying to get wireless to work
for 3 days now, and I've searched and searched for a solution. Let me
know if you need more information.

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



Have you created a wpa_supplicant.conf file

http://www.se.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html

/Leslie

___
freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread Wojciech Puchar

As a big fan (and paying subscriber) of FreeBSD it pains
me to ask this question:  When are you going to build
a modern installer for FreeBSD?


what is missing in current to make anything else?
if you have some ideas about extending it - just tell, and even better - 
send a patch

___
freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread Chuck Swiger

On Apr 22, 2009, at 12:27 PM, Fritz wrote:

Hi,

As a big fan (and paying subscriber)


Interesting-- I wasn't aware that the FreeBSD project had a paid  
subscription model...?


...of FreeBSD it pains me to ask this question:  When are you going  
to build

a modern installer for FreeBSD?

I looked at the list of projects and didn't see it there ... did
I miss something?


If you're asking for an installer which requires bitmapped graphics  
and won't work over a serial terminal or the like, well, I hope the  
answer is never.  Some people have tried before and/or might still be  
working on a replacement, but thus far, nobody has written one which  
is widely regarded as better than sysinstall.


You might find this interesting to read:

  http://people.freebsd.org/~jkh/package-and-install.txt

Regards,
--
-Chuck

___
freebsd-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: awk question (actively tail a file & notify when expression is found)

2009-04-22 Thread Bill Campbell
You might want to look at ``swatch'' which is designed to do
this, and monitors multiple log files simultaneously.

On Wed, Apr 22, 2009, Evuraan::  wrote:
>Greetings..!
>
>this works,
>
>tail -f /var/log/apache2/access.log | nawk '/192.168.1.100/{ print $0 }'
>
>and this too:
>
> tail -f /var/log/apache2/access.log |awk ' /192.168.1.100/ { system
>("mail -s \"This works\" m...@email.address")}'
>
>but this below, does not work
>
> tail -f /var/log/apache2/access.log |awk ' /192.168.1.100/ {  print
>$0 | "mail m...@email.address  "}'
>
>Any pointers would be much appreciated.
>
>Thx.
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>

-- 
Bill
-- 
INTERNET:   b...@celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186  Skype: jwccsllc (206) 855-5792

Capitalism works primarily because most of the ways that a company can be
scum end up being extremely bad for business when there's working
competition. -rra
___
freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fritz wrote:
> Hi,
> 
> As a big fan (and paying subscriber) of FreeBSD it pains
> me to ask this question:  When are you going to build
> a modern installer for FreeBSD?
> 
> I looked at the list of projects and didn't see it there ... did
> I miss something?
> 
> Thanks
> 
> Fritz Kolberg
> 
> Phoenix, AZ

Hi Fritz,

The finstall project aimed to do that, but it appears that the project
is on hold at the moment:

http://ivoras.sharanet.org/blog/tree/2009-02-19.what-happened-to-finstall.html

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ73030sRouByUApARAqfBAKCn7rnMJsuLmOrWRYDQeSd+73NZAQCghBhg
5H54QXXqwoKFvy7aS7dcNPw=
=/yhe
-END PGP SIGNATURE-

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


Re: awk question (actively tail a file & notify when expression is found)

2009-04-22 Thread Evuraan : : ഏവൂരാന്‍
nevermind, i got it to work, with a little help from
http://student.northpark.edu/pemente/awk/awk_sys.txt,

tail -f /var/log/apache2/access.log | awk '/192.168.1.100/
{system("echo " $0 "| mailx -s test_email m...@email.com" ) }'

thx..!

2009/4/22 Bill Campbell :
> You might want to look at ``swatch'' which is designed to do
> this, and monitors multiple log files simultaneously.
>
> On Wed, Apr 22, 2009, Evuraan::  wrote:
>>Greetings..!
>>
>>this works,
>>
>>tail -f /var/log/apache2/access.log | nawk '/192.168.1.100/{ print $0 }'
>>
>>and this too:
>>
>> tail -f /var/log/apache2/access.log |awk ' /192.168.1.100/ { system
>>("mail -s \"This works\" m...@email.address")}'
>>
>>but this below, does not work
>>
>> tail -f /var/log/apache2/access.log |awk ' /192.168.1.100/ {  print
>>$0 | "mail m...@email.address  "}'
>>
>>Any pointers would be much appreciated.
>>
>>Thx.
>>___
>>freebsd-questions@freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>>
>
> --
> Bill
> --
> INTERNET:   b...@celestial.com  Bill Campbell; Celestial Software LLC
> URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
> Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
> Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792
>
> Capitalism works primarily because most of the ways that a company can be
> scum end up being extremely bad for business when there's working
> competition. -rra
> ___
> freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread Bill Moran
In response to Fritz :
> 
> As a big fan (and paying subscriber) of FreeBSD it pains
> me to ask this question:  When are you going to build
> a modern installer for FreeBSD?
> 
> I looked at the list of projects and didn't see it there ... did
> I miss something?

This topic has been brought up time and again.

The general consensus is that if you need a fancy installer, use
something like PC-BSD.

There are a lot of advantages to FreeBSD's text installer ... for one,
it works over a serial console.  Any new installer would have to
keep those advantages.

It's also easier to maintain than a graphical installer.

The general consensus every time this question comes up is that it
could be improved, but it's currently "good enough" and there are
other improvements that people think are more important.  With a
limited number of developer hours available, something gets
back-burnered.

The idea of a better installer has yet to meet with any resistance,
though.  It's just a lack of available time, so if you've got time
and you're volunteering, I say go for it!

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread Adam Vandemore

Chuck Swiger wrote:

On Apr 22, 2009, at 12:27 PM, Fritz wrote:

Hi,

As a big fan (and paying subscriber)


Interesting-- I wasn't aware that the FreeBSD project had a paid 
subscription model...?
Indeed, I fear my dues may be late. 


...of FreeBSD it pains me to ask this question:  When are you going 
to build

a modern installer for FreeBSD?

I looked at the list of projects and didn't see it there ... did
I miss something?


If you're asking for an installer which requires bitmapped graphics 
and won't work over a serial terminal or the like, well, I hope the 
answer is never.  Some people have tried before and/or might still be 
working on a replacement, but thus far, nobody has written one which 
is widely regarded as better than sysinstall.
Once upon time, there was a Summer of Code projects set to develop a 
graphical installer for FBSD 7.x.  I don't know what happened to it, but 
also agree there is no need for such a thing.  Sysinstall may appear 
intimidating but it's really quite easy to use once you're used to it.




--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

___
freebsd-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 and Intel PRO/Wireless 2200BG

2009-04-22 Thread Daniel Underwood
Yes, and my /etc/wpa_supplicant.conf contains the following (actual
psk not shown):

ctrl_interface=/var/run/wpa_supplicant
ap_scan=1

network={
  ssid="neuralnet"
  psk="..."
}


On Wed, Apr 22, 2009 at 4:15 PM, Leslie Jensen  wrote:
>
> Daniel Underwood skrev:
>>
>> I'm having trouble getting wireless to work on my FreeBSD laptop.
>>
>> I'm running FreeBSD 7.1-RELEASE. My wireless device is Intel
>> PRO/Wireless 2200BG.
>>
>> After typing "ifconfig iwi0", I get the following:
>>
>> iwi0: flags=8802 metric 0 mtu 1500
>>        ether 00:16:6f:91:d5:58
>>        media: IEEE 802.11 Wireless Ethernet autoselect
>>        status: no carrier
>>        ssid "" channel 1 (2412 Mhz 11b)
>>        authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF bmiss 10
>>        scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11b 7
>>        roam:rate11b 1 roaming MANUAL bintval 0
>>
>> Now I (repeatedly) receive the following error messages in my xconsole:
>>
>> firmware_get: failed to load firmware image iwi_bss
>> iwi0: could not load firmware
>>
>> My /etc/rc.conf contains:
>>
>> ifconfig_iwi0="WPA DHCP"
>>
>> My /boot/loader.conf contains:
>>
>> wlan_scan_ap_load="YES"
>> wlan_scan_sta_load="YES"
>> wlan_wep_load="YES"
>> wlan_tkip_load="YES"
>> wlan_ccmp_load="YES"
>>
>> After typing "kldstat", I receive the following (note that iwi_bss.ko
>> exists):
>>
>> Id Refs Address    Size     Name
>>  1   18 0xc040 97f830   kernel
>>  2    1 0xc0d8 6a2c4    acpi.ko
>>  3    1 0xc3e3c000 22000    linux.ko
>>  4    1 0xc408f000 6000     i915.ko
>>  5    1 0xc40a2000 f000     drm.ko
>>  6    1 0xc428 f000     if_iwi.ko
>>  7    1 0xc42ae000 3    iwi_bss.ko
>>
>> Please help me figure this out. I've been trying to get wireless to work
>> for 3 days now, and I've searched and searched for a solution. Let me
>> know if you need more information.
>>
>> Thanks,
>> Daniel
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscr...@freebsd.org"
>>
>
> Have you created a wpa_supplicant.conf file
>
> http://www.se.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html
>
> /Leslie
>
>
___
freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread VirtualHost

It would probably help if you state what you mean with "modern".

Jerone

Fritz schreef:

Hi,

As a big fan (and paying subscriber) of FreeBSD it pains
me to ask this question:  When are you going to build
a modern installer for FreeBSD?

I looked at the list of projects and didn't see it there ... did
I miss something?

Thanks

Fritz Kolberg

Phoenix, AZ
___
freebsd-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 and Intel PRO/Wireless 2200BG

2009-04-22 Thread Patrick Lamaizière
Le Wed, 22 Apr 2009 15:04:09 -0400,
Daniel Underwood :

> My /boot/loader.conf contains:
> 
> wlan_scan_ap_load="YES"
> wlan_scan_sta_load="YES"
> wlan_wep_load="YES"
> wlan_tkip_load="YES"
> wlan_ccmp_load="YES"

I do not use iwi anymore, but in the past you had to agree the firmware
license. With a "legal.intel_iwi.license_ack=1" in bootloader.conf

See man iwi.
___
freebsd-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 and Intel PRO/Wireless 2200BG

2009-04-22 Thread Daniel Underwood
After re-reading man iwi, I noticed that it says:

"This driver requires firmware to be loaded before it will work. You
need to obtain iwicontrol(8)  from the IWI web page listed below to
accomplish loading the firmware before ifconfig(8)  will work."

I'm going to look into this. Sounds like this may be the problem. Do
you think so?

Daniel

2009/4/22 Patrick Lamaizière :
> Le Wed, 22 Apr 2009 15:04:09 -0400,
> Daniel Underwood :
>
>> My /boot/loader.conf contains:
>>
>> wlan_scan_ap_load="YES"
>> wlan_scan_sta_load="YES"
>> wlan_wep_load="YES"
>> wlan_tkip_load="YES"
>> wlan_ccmp_load="YES"
>
> I do not use iwi anymore, but in the past you had to agree the firmware
> license. With a "legal.intel_iwi.license_ack=1" in bootloader.conf
>
> See man iwi.
>
___
freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread Wojciech Puchar

as better than sysinstall.
Once upon time, there was a Summer of Code projects set to develop a 
graphical installer for FBSD 7.x.  I don't know what happened to it, but also 
agree there is no need for such a thing.  Sysinstall may appear intimidating 
but it's really quite easy to use once you're used to it.


i don't understand WHY something has to be better just because it's 
working in graphics mode.


it doesn't make sense.
___
freebsd-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 and Intel PRO/Wireless 2200BG

2009-04-22 Thread Patrick Lamaizière
Le Wed, 22 Apr 2009 17:04:41 -0400,
Daniel Underwood :

> After re-reading man iwi, I noticed that it says:
> 
> "This driver requires firmware to be loaded before it will work. You
> need to obtain iwicontrol(8)  from the IWI web page listed below to
> accomplish loading the firmware before ifconfig(8)  will work."
> 
> I'm going to look into this. Sounds like this may be the problem. Do
> you think so?

No, before FreeBSD 7 you needed to download the firmware.
There is a port in /usr/ports/net/iwi-firmware but it is only for
FreeBSD < 7

You don't need anything on FreeBSD 7.x and you it seems you are not
using the right manual page for 7.1:
http://www.freebsd.org/cgi/man.cgi?query=iwi&manpath=FreeBSD+7.1-RELEASE&format=html

Regards.
___
freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread Wojciech Puchar

IMHO numbers and letters look the same in the scary dark place, a TUI,
or GUI.  Better device detection, faster, more packages, etc. would all
be "better" and should be more of a priority than making a GUI


exactly. GUI don't need to have any priority, it's just don't needed AT 
ALL.


if fancy cool graphics is important - why using FreeBSD at all?

there are lot of other products both free and commercial that concentrates 
on it. not only installer - everything else too :)

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


Re: Modern FreeBSD Installer?

2009-04-22 Thread Jon Radel

Adam Vandemore wrote:


Chuck Swiger wrote:

On Apr 22, 2009, at 12:27 PM, Fritz wrote:

Hi,

As a big fan (and paying subscriber)


Interesting-- I wasn't aware that the FreeBSD project had a paid 
subscription model...?

Indeed, I fear my dues may be late.


I suspect the OP has mingled the FreeBSD Project with FreeBSD Mall in 
his mind.  The latter, of course, has subscriptions available for their 
CD/DVD sets.


Dear OP:  They're not the same organization, though to the best of my 
knowledge, they're on quite good terms with each other.


--

--Jon Radel
j...@radel.com


smime.p7s
Description: S/MIME Cryptographic Signature


RE: i had a tought

2009-04-22 Thread Gary Gatten


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jerry
McAllister
Sent: Wednesday, April 22, 2009 1:42 PM
To: Arjen Simon Scheer
Cc: freebsd-questions@freebsd.org
Subject: Re: i had a tought

On Wed, Apr 22, 2009 at 06:10:04PM +0200, Arjen Simon Scheer wrote:

> why there is not a lunix operatingsystem consortium, for the kernel
end  
> the commercial userinterface

Good question.   
Maybe you should ask them.

Probably few people on this list will know because it is not a Lunix
Email list.   It is a group of FreeBSD users and FreeBSD is an operating
system.  It is a BSD UNIX type of operating system.Although it
covers 
some similar territory as Lunix, it is not Lunix nor a flavor of it.   

So, if you can find a friendly group of Lunix developers, then you 
can ask them your question.   Probably they will know more.

As for FreeBSD, it does have a foundation - the FreeBSD foundation
and a consortium made up of committers which is lead by a core
group elected every two years.   (something like that, I may be off
on the election cycle details)

On the other hand, you can just stick with FreeBSD and not bother
with the Lunix stuff and you will get along just fine.   
   
jerry



LMAO!  Touche!  So, are you saying I shouldn't ask any questions here
about Ubuntu, Suse, RedHat, et al?  Isn't Lunix better than BSD anyway?
;-)








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your 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: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-22 Thread Daniel Underwood
Thanks Patrick.  After updating my /boot/loader.conf, it now contains:

legal.intel_iwi.license_ack=1
iwi_bss_load="YES"
iwi_ibss_load="YES"
iwi_monitor_load="YES"
wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
wlan_wep_load="YES"
wlan_tkip_load="YES"
wlan_ccmp_load="YES"

I no longer receive the error message about failing to load the
firmware. However, when I enter "ifconfig iwi0 up scan", I receive the
following in the xconsole:

iwi0: firmware stuck in state4, resetting

Any idea what that means, or what state4 is?  (Sorry, I'm very new to FreeBSD.)

Thanks,
Daniel

2009/4/22 Patrick Lamaizière :
> Le Wed, 22 Apr 2009 17:04:41 -0400,
> Daniel Underwood :
>
>> After re-reading man iwi, I noticed that it says:
>>
>> "This driver requires firmware to be loaded before it will work. You
>> need to obtain iwicontrol(8)  from the IWI web page listed below to
>> accomplish loading the firmware before ifconfig(8)  will work."
>>
>> I'm going to look into this. Sounds like this may be the problem. Do
>> you think so?
>
> No, before FreeBSD 7 you needed to download the firmware.
> There is a port in /usr/ports/net/iwi-firmware but it is only for
> FreeBSD < 7
>
> You don't need anything on FreeBSD 7.x and you it seems you are not
> using the right manual page for 7.1:
> http://www.freebsd.org/cgi/man.cgi?query=iwi&manpath=FreeBSD+7.1-RELEASE&format=html
>
> Regards.
>
___
freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread Gary Gatten


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Wojciech
Puchar
Sent: Wednesday, April 22, 2009 4:17 PM
To: Adam Vandemore
Cc: questi...@freebsd.org
Subject: Re: Modern FreeBSD Installer?

>> as better than sysinstall.
> Once upon time, there was a Summer of Code projects set to develop a 
> graphical installer for FBSD 7.x.  I don't know what happened to it,
but also 
> agree there is no need for such a thing.  Sysinstall may appear
intimidating 
> but it's really quite easy to use once you're used to it.

i don't understand WHY something has to be better just because it's 
working in graphics mode.

it doesn't make sense.

IMHO numbers and letters look the same in the scary dark place, a TUI,
or GUI.  Better device detection, faster, more packages, etc. would all
be "better" and should be more of a priority than making a GUI
installer.  I'm a function before form person, so pretty GUI's don't
really impress me much.  Make it detect my hardware CORRECTLY and
install the right stuff fairly quickly and I'm happy!








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your 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: Modern FreeBSD Installer?

2009-04-22 Thread VirtualHost

Please, calm down a bit,

The original poster only revert to a "modern' install, who knows what he 
ment by this. Perhaps he doesn't want to specify what the partioning 
would look like himself, unless he prefered to do it otherwise. The idea 
that he insist on a graphicals installation is implied by the reactions, 
not by the original poster. Personally I wouldn't mind if an additional 
install cd is available with a nice graphical interface. As long as the 
original, text mode / sysinstall is available as _default_, I dont't 
care if  there is a 
ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/7.1/7.1-RELEASE-GUI-i386-disc1.iso 
sponsored by

Fritz Kolberg  [ and yes, he insist on paying for something which is free ]

Jeroen





Wojciech Puchar schreef:

as better than sysinstall.
Once upon time, there was a Summer of Code projects set to develop a 
graphical installer for FBSD 7.x.  I don't know what happened to it, 
but also agree there is no need for such a thing.  Sysinstall may 
appear intimidating but it's really quite easy to use once you're 
used to it.


i don't understand WHY something has to be better just because it's 
working in graphics mode.


it doesn't make sense.
___
freebsd-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: i had a tought

2009-04-22 Thread Jerry McAllister
On Wed, Apr 22, 2009 at 05:10:05PM -0500, Gary Gatten wrote:

> 
> 
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jerry
> McAllister
> Sent: Wednesday, April 22, 2009 1:42 PM
> To: Arjen Simon Scheer
> Cc: freebsd-questions@freebsd.org
> Subject: Re: i had a tought
> 
> On Wed, Apr 22, 2009 at 06:10:04PM +0200, Arjen Simon Scheer wrote:
> 
> > why there is not a lunix operatingsystem consortium, for the kernel
> end  
> > the commercial userinterface
> 
> Good question.   
> Maybe you should ask them.
> 
> Probably few people on this list will know because it is not a Lunix
> Email list.   It is a group of FreeBSD users and FreeBSD is an operating
> system.  It is a BSD UNIX type of operating system.Although it
> covers 
> some similar territory as Lunix, it is not Lunix nor a flavor of it.   
> 
> So, if you can find a friendly group of Lunix developers, then you 
> can ask them your question.   Probably they will know more.
> 
> As for FreeBSD, it does have a foundation - the FreeBSD foundation
> and a consortium made up of committers which is lead by a core
> group elected every two years.   (something like that, I may be off
> on the election cycle details)
> 
> On the other hand, you can just stick with FreeBSD and not bother
> with the Lunix stuff and you will get along just fine.   
>
> jerry
> 
> 
> 
> LMAO!  Touche!  So, are you saying I shouldn't ask any questions here
> about Ubuntu, Suse, RedHat, et al?  Isn't Lunix better than BSD anyway?
> ;-)
> 

Why would you ask about those things on a FreeBSD list.   
They are all Linux and not the superiour FreeBSD.

I suppose there is one thing - often FreeBSD people know as much
about Lunix as the Lunix people, sometimes because they have
upgraded their lives by climbing out of the Lunix morass and
in to the FreeBSD world.   So, they still remember some of that
stuff even as they are trying to forget.

jerry



jerry


> 
> 
> 
> 
> 
> 
> 
> "This email is intended to be reviewed by only the intended recipient
>  and may contain information that is privileged and/or confidential.
>  If you are not the intended recipient, you are hereby notified that
>  any review, use, dissemination, disclosure or copying of this email
>  and its attachments, if any, is strictly prohibited.  If you have
>  received this email in error, please immediately notify the sender by
>  return email and delete this email from your 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: Modern FreeBSD Installer?

2009-04-22 Thread Jerry McAllister
On Wed, Apr 22, 2009 at 01:34:13PM -0700, Chuck Swiger wrote:

> On Apr 22, 2009, at 12:27 PM, Fritz wrote:
> >Hi,
> >
> >As a big fan (and paying subscriber)
> 
> Interesting-- I wasn't aware that the FreeBSD project had a paid  
> subscription model...?
> 
> >...of FreeBSD it pains me to ask this question:  When are you going  
> >to build
> >a modern installer for FreeBSD?
> >
> >I looked at the list of projects and didn't see it there ... did
> >I miss something?
> 
> If you're asking for an installer which requires bitmapped graphics  
> and won't work over a serial terminal or the like, well, I hope the  
> answer is never.  Some people have tried before and/or might still be  
> working on a replacement, but thus far, nobody has written one which  
> is widely regarded as better than sysinstall.
> 
> You might find this interesting to read:
> 
>   http://people.freebsd.org/~jkh/package-and-install.txt
> 

Very good article - not surprising, considering the author.
Anyone considering working on the installer or the package
system should read it carefully as a first step.

jerry


> Regards,
> --
> -Chuck
> 
> ___
> freebsd-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: i had a tought

2009-04-22 Thread till plewe
On 4/23/09, Gary Gatten  wrote:
>
>
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jerry
> McAllister
> Sent: Wednesday, April 22, 2009 1:42 PM
> To: Arjen Simon Scheer
> Cc: freebsd-questions@freebsd.org
> Subject: Re: i had a tought
>
> On Wed, Apr 22, 2009 at 06:10:04PM +0200, Arjen Simon Scheer wrote:
>
>> why there is not a lunix operatingsystem consortium, for the kernel
> end
>> the commercial userinterface
>
> Good question.
> Maybe you should ask them.
>
> Probably few people on this list will know because it is not a Lunix
> Email list.   It is a group of FreeBSD users and FreeBSD is an operating
> system.  It is a BSD UNIX type of operating system.Although it
> covers
> some similar territory as Lunix, it is not Lunix nor a flavor of it.
>
> So, if you can find a friendly group of Lunix developers, then you
> can ask them your question.   Probably they will know more.
>
> As for FreeBSD, it does have a foundation - the FreeBSD foundation
> and a consortium made up of committers which is lead by a core
> group elected every two years.   (something like that, I may be off
> on the election cycle details)
>
> On the other hand, you can just stick with FreeBSD and not bother
> with the Lunix stuff and you will get along just fine.
>
> jerry
>
>
>
> LMAO!  Touche!  So, are you saying I shouldn't ask any questions here
> about Ubuntu, Suse, RedHat, et al?  Isn't Lunix better than BSD anyway?
> ;-)
>

To be allowed to ask questions about Ubuntu you first have to come up with a
clever name like wily wombat, for Suse you need a hotmail.com address.
I don't know anything about RedHat and etal.
You could ask questions about Debian. But they are switching to FreeBSD
anyway (the kernel switch is complete and userland is to follow shortly).
___
freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread Manolis Kiagias
VirtualHost wrote:
> Please, calm down a bit,
>
> The original poster only revert to a "modern' install, who knows what
> he ment by this. Perhaps he doesn't want to specify what the
> partioning would look like himself, unless he prefered to do it
> otherwise. The idea that he insist on a graphicals installation is
> implied by the reactions, not by the original poster. Personally I
> wouldn't mind if an additional install cd is available with a nice
> graphical interface. As long as the original, text mode / sysinstall
> is available as _default_, I dont't care if  there is a
> ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/7.1/7.1-RELEASE-GUI-i386-disc1.iso
> sponsored by
> Fritz Kolberg  [ and yes, he insist on paying for something which is
> free ]
>
> Jeroen
>
>

Exactly. Modern install does not necessarily mean GUI. FreeBSD *needs* a
text installer to work on old machines, headless servers, serial
consoles and the like. That being said, there are quite a few annoyances
with sysinstall. And of course, having a GUI installer as an additional
option is also very welcome.

Some of the current problems with sysinstall IMHO:

- Confusing set of options - Beginners tend to go in circles inside the
installer
- No real 'back' functionality. Can't fix most mistakes, need to redo
the install
- Does not make the difference between base system and packages obvious.
- Tries to do too much for a single program (install, configure, install
packages, fdisk, label, network you name it) but many of these choices
lack essential functionality or behave strangely. (i.e. the label editor
will not allow you to create an extra partition without giving a mount
point)

Personally, I would like a text installer using a previous/next approach
that would give me options like:

- Install a Complete FreeBSD Base System => Subchoices: install
everything or select base system components
- Install Additional Software Packages
- Configure other services
- Help

and that would allow someone to go back and forth between the pages

For myself I don't really mind, as I always do the same install
(Standard, Custom Distribution, Select everything but X, ports, local
and so on) but it would be really nice if people just starting out don't
get intimidated by the installer.
___
freebsd-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 and Intel PRO/Wireless 2200BG

2009-04-22 Thread Daniel Underwood
[SOLVED]

Thanks for the help, folks. It works fine now.

2009/4/22 Daniel Underwood :
> Thanks Patrick.  After updating my /boot/loader.conf, it now contains:
>
> legal.intel_iwi.license_ack=1
> iwi_bss_load="YES"
> iwi_ibss_load="YES"
> iwi_monitor_load="YES"
> wlan_scan_ap_load="YES"
> wlan_scan_sta_load="YES"
> wlan_wep_load="YES"
> wlan_tkip_load="YES"
> wlan_ccmp_load="YES"
>
> I no longer receive the error message about failing to load the
> firmware. However, when I enter "ifconfig iwi0 up scan", I receive the
> following in the xconsole:
>
> iwi0: firmware stuck in state4, resetting
>
> Any idea what that means, or what state4 is?  (Sorry, I'm very new to 
> FreeBSD.)
>
> Thanks,
> Daniel
>
> 2009/4/22 Patrick Lamaizière :
>> Le Wed, 22 Apr 2009 17:04:41 -0400,
>> Daniel Underwood :
>>
>>> After re-reading man iwi, I noticed that it says:
>>>
>>> "This driver requires firmware to be loaded before it will work. You
>>> need to obtain iwicontrol(8)  from the IWI web page listed below to
>>> accomplish loading the firmware before ifconfig(8)  will work."
>>>
>>> I'm going to look into this. Sounds like this may be the problem. Do
>>> you think so?
>>
>> No, before FreeBSD 7 you needed to download the firmware.
>> There is a port in /usr/ports/net/iwi-firmware but it is only for
>> FreeBSD < 7
>>
>> You don't need anything on FreeBSD 7.x and you it seems you are not
>> using the right manual page for 7.1:
>> http://www.freebsd.org/cgi/man.cgi?query=iwi&manpath=FreeBSD+7.1-RELEASE&format=html
>>
>> Regards.
>>
>
___
freebsd-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: i had a tought

2009-04-22 Thread RW
On Wed, 22 Apr 2009 14:42:21 -0400
Jerry McAllister  wrote:


> On the other hand, you can just stick with FreeBSD and not bother
> with the Lunix stuff and you will get along just fine.   
>

http://www.youtube.com/watch?v=gb_qHP7VaZE

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


multiple PPPoE connections on one machine (DSL load balancing)

2009-04-22 Thread Jeff Croft

Hello --

I'm configuring FreeBSD 7.1 as a router/load-balancer and I just got  
stuck. I know this sounds like a newbie question, but hear me out.


I have three DSL line (AT&T in SF Bay Area, business class) connected  
via ethernet to the box, and one more ethernet connected to an  
internal network. The idea is to do some clever kind of load-balancing  
and/or logging of DSL connections using pf.


All three DSL lines are configured to use PPPoE. I can successfully  
bring any one of them up individually, but when I try to bring more  
than one up, using either ppp or mpd5, I get an error that looks like  
this (example from ppp):


ppp : tun0: Warning: iface add: ioctl(SIOCAIFADDR, X.X.X.X  ->  
D.D.D.D ): File exists


and then the 2nd link goes down. mpd5 says the same thing, but the  
error is slightly different. For all three point-to-point links the  
remote side of the point to point (D.D.D.D) is always the same IP  
address, so naturally it doesn't want to add multiple routing table  
entries which point to the same destination.


The vendor claims to be unable to change the value of D.D.D.D because  
"everyone in your region has the same remote address." They also don't  
support mlppp, so multilink is out.


Also, I would like easy, real-time, programmatic access to the IP  
address of each individual DSL line.


So far, I've thought of the following workarounds:

1. Use cheap linksys boxen to hang off each DSL line so the FreeBSD  
network stack doesn't have to do the PPPoE. I'm concerned that they'll  
be able to handle the volume of individual connections I'm planning  
on, even with the firmware replaced with something decent. Plus it's  
three extra devices on my network!
2. Use network virtualization such as this. I don't have any  
experience with it, but I'm guessing it would do everything I want.

http://imunes.tel.fer.hr/virtnet/

Does anyone have any ideas how to solve this problem more elegantly?

Thanks much,
Jeff Croft
Linux admin who is thrilled to have some FreeBSD time

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


Re: Sudden /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by errors

2009-04-22 Thread Agus
Thanks a lot guys Really dunno what happened with those files...
They were 444 perms not modified for long... but well now i
reinstalled bash form ports and went ok.

Thanks guys for your time...

2009/4/21 Michael Powell :
> Agus wrote:
>
> [snip]
>>> What is the output of "ldconfig -r" ?
>>>
>>>
>>
>> Sorry for the delay.. was too busyy...
>>
>> No output... just this
>>
>> ldconfig -r
>> /var/run/ld-elf.so.hints:
>> search directories:
>>
>
> Sounds like the hints file is missing or damaged. These live here:
> /var/run/ld.so.hints for a.out and /var/run/ld-elf.so.hints for elf format.
> Look and see if these are present, and possibly consider deleting them and
> regenerating due to the possibility they are damaged. As root the command
> ldconfig -aout will do the first (probably not needed as that format is
> deprecated) and ldconfig -elf will do the second.
>
> -Mike
>
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread Al Plant

Chuck Swiger wrote:

On Apr 22, 2009, at 12:27 PM, Fritz wrote:

Hi,

As a big fan (and paying subscriber)


Interesting-- I wasn't aware that the FreeBSD project had a paid 
subscription model...?


...of FreeBSD it pains me to ask this question:  When are you going to 
build

a modern installer for FreeBSD?

I looked at the list of projects and didn't see it there ... did
I miss something?


If you're asking for an installer which requires bitmapped graphics and 
won't work over a serial terminal or the like, well, I hope the answer 
is never.  Some people have tried before and/or might still be working 
on a replacement, but thus far, nobody has written one which is widely 
regarded as better than sysinstall.


You might find this interesting to read:

  http://people.freebsd.org/~jkh/package-and-install.txt

Regards,
--
-Chuck

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



Aloha,

I have used the text base Sysinstall since 2.* FreeBSD.

It is extremely flexible especially with ports. Keeps your system lean 
of code.


Gui installs have a tendency to hide things you need to tweak or alter 
to suit a specific need.


I find it fast and efficient the way it is.

Thanks to our faithful coders for all their work.

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


Re: libc or OpenSSL patches break ssh?

2009-04-22 Thread Mel Flynn
On Wednesday 22 April 2009 20:11:09 Jake Evans wrote:
> Am running 6.4-PRERELEASE.
>
> Received FreeBSD-SA-09:07.libc / FreeBSD-SA-09:08.openssl notifications
> today, applied applicable patches correctly.
>
> However, now when anyone attempts to connect to my server via SSH, the
> connection is closed after they enter their login & password.
>
> /var/log/messages says the following when they try to login:
>
> Apr 22 12:53:12 x sshd[75505]: fatal: openpty returns device for which
> ttyname fails.
> Apr 22 12:53:12 x sshd[75505]: error: chown  0 0 failed: No such file or
> directory
> Apr 22 12:53:12 x sshd[75505]: error: chmod  0666 failed: No such file or
> directory

You did a full buildworld and restarted sshd, or just updated openssl?
-- 
Mel
___
freebsd-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: portmaster -a on a live server

2009-04-22 Thread Mel Flynn
On Wednesday 22 April 2009 17:37:06 Tom Worster wrote:

> by the by, on my test machine i ended up with python installed. seems to be
> because i needed php5-gd which now depends on python. all for some simple
> freetype2 calls.

Wrong assumption. php-gd doesn't depend on python at all. devel/apr does, so 
you've built php with apache module and that pulls in python OR you didn't set 
WITHOUT_X11=yes when building, so libxcb is pulled in which uses python:

% sudo /stable/root/bin/finddep.php graphics/php5-gd lang/python26
/usr/ports/x11/xcb-proto: /usr/local/bin/python2.6 => /usr/ports/lang/python26
/usr/ports/x11/xcb-proto: /usr/local/bin/python2.6 => /usr/ports/lang/python26
/usr/ports/x11/libxcb: /usr/local/bin/python2.6 => /usr/ports/lang/python26
/usr/ports/x11/libxcb: /usr/local/bin/python2.6 => /usr/ports/lang/python26
/usr/ports/devel/apr: /usr/local/bin/python2.6 => /usr/ports/lang/python26

% sudo env WITHOUT_X11=yes /stable/root/bin/finddep.php graphics/php5-gd 
lang/python26
/usr/ports/devel/apr: /usr/local/bin/python2.6 => /usr/ports/lang/python26

-- 
Mel
___
freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread Matthew Seaman

Manolis Kiagias wrote:


Personally, I would like a text installer using a previous/next approach
that would give me options like:

- Install a Complete FreeBSD Base System => Subchoices: install
everything or select base system components
- Install Additional Software Packages
- Configure other services
- Help

and that would allow someone to go back and forth between the pages


So long as it maintains two other really useful features of the existing
sysinstall:

  * scriptable installs -- ie. being able to preload a file containing
answers to any or all installation choices.  Ideally you should be
able to PXE boot the installer over a network, whence it runs sysinstall
automatically to build a system without further operator intervention.

  * You answer all of the questions first, and only then does the installer
commit any irreversible changes -- and particularly not any operations
that take appreciable lengths of time like creating filesystems or
downloading voluminous install sets.

The ability to whiz through sysinstall, set everything up and hit 'go',
then deal with something else while the machine is chuntering away to itself
is a real godsend.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Modern FreeBSD Installer?

2009-04-22 Thread Polytropon
On Wed, 22 Apr 2009 12:27:39 -0700, Fritz  wrote:
> As a big fan (and paying subscriber) of FreeBSD it pains
> me to ask this question:  When are you going to build
> a modern installer for FreeBSD?

It has already been done. The modern installer is called "sysinstall".
It covers many actions: It does not only install the operating systen,
it furthermore helps installaing applications and configuring the
system, its services, network settings, security and so on. It can
be used from a serial console, from the text mode, and from an X
terminal. It's very straight forward. For maximum easiness of
operations, it's controlled via the keyboard. As I mentioned, this
can be a local keyboard, or one of a serial terminal (a real
terminal in hardware or a connected terminal emulator). At the
moment, this modern installer is available in the english language,
which is the main communications language of the FreeBSD operating
system. English language is a mandatory language for any serious
IT bizniz, so it's no problem at all.

If you think the FreeBSD installer lacks a specific functionality,
then feel free to report to the mailing list or contact the FreeBSD
developers.



> I looked at the list of projects and didn't see it there ... did
> I miss something?

Obviously. :-)



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-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: awk question (actively tail a file & notify when expression is found)

2009-04-22 Thread Polytropon
On Wed, 22 Apr 2009 12:38:47 -0700, Evuraan::ഏവൂരാന്‍   
wrote:
> but this below, does not work
> 
>  tail -f /var/log/apache2/access.log |awk ' /192.168.1.100/ {  print
> $0 | "mail m...@email.address  "}'

I would suggest to keep the system() approach:

tail -f /var/log/apache2/access.log | awk '/192.168.1.100/ { 
system(sprintf("echo %s | mail m...@email.address", $0)); }'



> Any pointers would be much appreciated.

It should work, but I'm sure someonle else will soon show you
some more elegant way. :-)



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread Polytropon
On Wed, 22 Apr 2009 23:16:43 +0200 (CEST), Wojciech Puchar 
 wrote:
> i don't understand WHY something has to be better just because it's 
> working in graphics mode.

The problem is that if the graphics isn't optional (if it's the
default), the whole thing is *limiting* the actions you can do
with it. Simply consider what will happen if you try to use a
GUI installer via a serial console (and this is a common task
in datacenters).



> it doesn't make sense.

Exactly. More graphics != better. And surely not "modern".



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-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: i had a tought

2009-04-22 Thread Polytropon
On Wed, 22 Apr 2009 17:10:05 -0500, "Gary Gatten"  wrote:
> LMAO!  Touche!  So, are you saying I shouldn't ask any questions here
> about Ubuntu, Suse, RedHat, et al? 

Only if you want to know how to delete them. The answer is newfs. :-)



> Isn't Lunix better than BSD anyway?
> ;-)

No no, "FreeBSD is the better Linux", as a german computer magazine
titled some years ago. :-)



PS. Please don't put HTML stuff in your mails. A mail client is
not a HTML browser and renderer. Thanks!

-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread Polytropon
On Thu, 23 Apr 2009 01:59:53 +0300, Manolis Kiagias  wrote:
> VirtualHost wrote:
> > Perhaps he doesn't want to specify what the
> > partioning would look like himself, unless he prefered to do it
> > otherwise.

The installer does this already, as far as I know.



> Exactly. Modern install does not necessarily mean GUI. FreeBSD *needs* a
> text installer to work on old machines, headless servers, serial
> consoles and the like. That being said, there are quite a few annoyances
> with sysinstall. And of course, having a GUI installer as an additional
> option is also very welcome.

No problem, as long as (a) it isn't default (read: too complicated
to switch it off of not needed) and (b) doesn't make things more
complicated.

It's nice you mentioned some problems (invitations for further
development) of sysinstall. Lemme see if I can add something
to it:

> Some of the current problems with sysinstall IMHO:
> 
> - Confusing set of options - Beginners tend to go in circles inside the
> installer



> - No real 'back' functionality. Can't fix most mistakes, need to redo
> the install

Hmmm... I think this is where the user learns "first think, then do"
on a good basis.



> - Does not make the difference between base system and packages obvious.

Yes, especially when adding functionalities like "Linux compatibility",
the installer installs some additional packages at this given moment.
I'd prefer an installer which acts in two stages:

Stage 1:
Make all the settings; this would maybe include the option
of having a "back" button, or much better: Instead of a
linear structure, a hierarchical structure with direct
access (as it is now) is much better - in this case, you
don't need a "back" button.

Stage 2:
Download (and install) the system and the packages that are
required by the settings made in stage 1.



> Personally, I would like a text installer using a previous/next approach
> that would give me options like:

Forgive me my ignorance, but personally, I completely DISLIKE this
linear approach. Instead of

A ---> B ---> C ---> D ---> E ---> Foops, forgot something
E <---  no, not here
 D <--- not here, too
  C <---ah, here it was, okay, got it
  C ---> D ---> E ---> F ---> Finish

A hierarchy would be better.

Options:
A   This and that
B   Some other stuff
C   More stuff
D   Even more stuff
E   Some settings
F   Several other settings
DoneCommit

So one could first select
A   This and that
then, knowing that C - E are not interesting for him, address
F   Several other settings
directly, make some choices, and then, maybe go back to 
A   This and that
and do some more tasks, and finally select
DoneCommit
to do the install.

This is what sysinstall already provides. In a modern way, it allows
to "go back" to any setting that has already been done and change it,
and the user is not limited in doing choices in a pre-defined order.





-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread Polytropon
On Wed, 22 Apr 2009 17:07:54 -1000, Al Plant  wrote:
> Gui installs have a tendency to hide things you need to tweak or alter 
> to suit a specific need.

That's a point especially when you want to turn an older 150 MHz
P1 into a worthful part of the IT society. :-)

No, honestly: If the GUI installer just runs on a narrow subsets
of up-to-date GPUs, there are major problems. Especially when a
server has no GPU at all.

Let me state this: correct screen detection is already a problem
with "the big" X, how should "a small" installer get this right
with its limited resources? Mind this: The installer runs in a
very limited setting, while X can rely on an already running
system.

Good ways to go (for those who want it this way) are PC-BSD,
DesktopBSD and FreeSBIE.



> I find it fast and efficient the way it is.

Which makes it modern, in my opinion. But hey, I'm old and
old-fashioned anyway. :-)

-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-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: Modern FreeBSD Installer?

2009-04-22 Thread Wojciech Puchar

The problem is that if the graphics isn't optional (if it's the
default), the whole thing is *limiting* the actions you can do
with it.


like installing over serial port or without mouse.
both i 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"