Re: Important Message...

2007-08-30 Thread Glen Barber
Quoting Pollywog: 
 On Thursday 30 August 2007 15:24:23 Glen Barber wrote:
  I must reply to about 25 of these per week... but I never hear anything
  back.
 
 Why would you reply to them?  You will just get added to more of their lucky 
 lottery lists and maybe get the list added too.
 
Okay, maybe I came off wrong, since I received approximately 4 emails
off-list about this.  No, I do not reply to these emails --
well, except now.

I'm done feeding the trolls.  :) Cheers
-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Important Message...

2007-08-31 Thread Glen Barber
 
   [[ Clearing my voice. ]]
 
   Well, I have all of you know that I flew over there with my
   $21,000 check in hand, and they swore on theirmother's grave that
   my FOUR HUNDRED AND TENTY-SEVEN TRILLION DOLLARS would be in my
   bank tomorrow!!

Well, I contributed to the feeding, so HOPFULY I GET PART OV THE
ENTY-SEVN TRLLION DLLQRS.

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


Lost console when exiting X

2007-09-03 Thread Glen Barber
Hi folks.  

I'm running 6.2-RELEASE, and recently installed Xorg.  I've been using
Fluxbox as my window manager, and everything has been working fine until
recently.  I cannot think of any major changes I've made to create this
problem.

Here's what happens.  Once in a while (I can't reproduce the problem by
doing anything specific), I exit X, and my TTY does not come back.  I've
verified the system has not crashed by SSHing in to the system -- where
I can `startx`, and the X session resumes.  I've tried
[Ctrl]+[Alt]+[Backspace], which does kill the X session, but TTY does
not resume as expected.  

I am using an nVidia GeForce 5500MX with the x11/nvidia-drivers,
x11/nvidia-settings, and x11/nvidia-xconfig ports.  Fluxbox and all Xorg
dependencies are also installed from ports.  (Yes, I did update my ports
tree before installing.)  

The only change I've made to my xorg.conf was:
Section Extensions
Option  Composite Enable
EndSection

and the default mode for resolution.  I've also disabled the above
section, thinking it was a compositing problem, but that did not resolve
it.  

Any ideas, or pointers on where to look would be appreciated.  
Thanks in advance.

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


Re: broadcom wireless card on FB7 using ndisgen, no ndis0 after kldload

2008-01-30 Thread Glen Barber
On Wednesday 30 January 2008 07:18:51 pm Kemian Dang wrote:

 I have a laptop which using the broadcom wireless card.
 I download the bcmwl5a.inf/.sys and use ndisgen to generate the .ko
 file, then I kldload it as the doc said.
 I can see ndis,if_ndis and bcmwl using kldstat, but there are no ndis0
 when ifconfig.
 I have tried add the bcmwl to the /boot/loader.conf, but still no ndis0.
 And there no message in the dmesg about the ndis.


Did you copy the bcmxxx.ko file to /book/kernel/ ?  If you did, make sure you 
have an entry in your /boot/loader.conf: 
bcmxxx_load=YES

I have my bcm driver called 'bcmwl5_sys.ko' and 'bcmwl5_sys_load=YES in 
my /boot/loader.conf.

Hope that helps

-- 
Glen Barber

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


Re: High thread usage ... where ... ?

2008-01-30 Thread Glen Barber
On Wednesday 30 January 2008 05:55:35 pm Hub Support wrote:

 Is there some way of find out what process is using up all the CPU?

This may seem obvious, but I have to ask:  Did you try 'top' ?

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


Re: How to use two interface with jail

2008-02-05 Thread Glen Barber
On Feb 5, 2008 11:23 AM, Albert Shih [EMAIL PROTECTED] wrote:

 Hi all

 I've a server to run FreeBSD 7.0 with jail.

 On the server the are two physical interfaces.

 This two interfaces are on two different ip subnet.

 All jail are on the second interface

 How can I make

all traffic from the server/for the server pass through the first
interface

all traffic from the jail /for the jail pass through the second
interface.

 In fact : How can make two «default router» on for the server, another for
 all jail.

 Regards


What I did on a test server was use 1 interface for tx/rx data, and a
'dummy' device, a physical, unattached card, and assigned it an IP in
/etc/rc.conf.

## LAN
ifconfig_ndis0=DHCP

## Jail LAN
ifconfig_bfe0=inet 10.0.0.2 netmask 255.255.255.255
ifconfig_bfe0_alias0=inet 10.0.0.3 netmask 255.255.255.255

I then used pf to route data. I wrote a small tutorial on this, perhaps the
concept will help you:

http://www.dev-urandom.com/freebsd/jail_conf

HTH

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


Re: Spam mails

2008-03-02 Thread Glen Barber
On Sunday 02 March 2008 09:30:47 pm Ming Tang wrote:
 Hi -

 My email server is on FreeBSD 5.4 Release. I got a lot spam mails every day
 and it is really a headache to clean these mails in my pop mail client
 software daily.

 Is there any effective way to reduce and block these spam emails? Please
 help to provide me hint or direction.

Although I'm not certain of your exact setup, I use procmail to filter out 
the 'spam' mail.  Well.. In reality, I use it in a reverse fashion.  

I filter all mail to my 'trash' folder, then using procmail, filter all 'good' 
mail out (ie, mailing lists, school email, personal contacts, etc).

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


ndis0 no link on 6.3-RELEASE

2008-03-13 Thread Glen Barber
Hello everyone.  

First off, sorry for the double post, but I'm not 100% certain at where this 
post belongs.  

I've found via Google many problems with ndis0 and failure to find a link in 
6.3-RELEASE, without resolution.  So here's my setup.

I'm using a Broadcom 4318 chipset, with drivers created from ndisgen.  If you 
need more specific information on the drivers, I'll be more than happy to 
provide information, however I believe it to be irrelevant at this moment, as 
I have used more than one driver version, with the same results.  

In 6.3-RC1 and below (tested in 6.2-RELEASE, and all -STABLE releases in 
between), my ndis0 adapter works as exptected, using WPA and DHCP.  I can't 
pinpoint exaclty what changed (I've check in /usr/src/UPDATING, as it seemed 
to be most relevant), with no avail to finding anything regarding either wpa 
or dhclient.  

Since an upgrade to 6.3-RELEASE (both, via csup and a fresh install off of 
cd), I generate my ndis module, create an /etc/wpa_supplicant.conf, 
leaving /etc/dhclient as default, and am prompted with:
ndis0: no link.. giving up

Upon 'kldunload bcmwl5.ko; kldload bcmwl5.ko', my ndis0 card looses all WPA 
capabilities.  

What seems to me to be the interesting part is this:
If I 'csup' to 6.3-RELEASE from -RC1, and build a kernel, the problem does not 
occur -- as long as I do not 'buildworld'.  However, once I 'buildworld; 
installworld', I am faced with the same problems as if I had installed 
6.3-RELEASE from cd.  

I would really like to figure out what is causing this (both for myself, and 
the other affected ndis0 victims), but I'm not sure where to look -- 
dhclient, wpa_supplicant or ndis itself.  Any other information I could 
provide, please let me know.  

Thanks.

-- 
Glen Barber
(570)328-0318
http://www.dev-urandom.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where is packages-6.2-release?

2008-03-15 Thread Glen Barber
Yandex.RU said: 
 
 I have only ONE question.
 Where is packages-6.2-release? I have FreeBSD 6.2, and tuning it.
 Where I can download packages for my freebsd version?
 

That is two questions.  packages-6.2-release is gone, because
6.2-RELEASE has passed its EOL.  

For 6.X packages, you have a choice of packages-6.3-release or
packages-6-stable. 


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


Re: Where is packages-6.2-release?

2008-03-15 Thread Glen Barber
I forgot to add -- you can change the default ftp server for pkg_add:
setenv PACKAGESITE 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/{YOUR_ARCH}/{FREEBSD_VERSION}/Latest

-- 
Glen Barber
(570)328-0318
http://www.dev-urandom.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ndis0 no link on 6.3-RELEASE

2008-03-16 Thread Glen Barber
Ted Mittelstaedt said: 
 
   I just setup my laptop with a wireless card a couple weeks
 ago and FreeBSD 6.3-RELEASE.  (it's an older Toshiba)
 
   I went through a total of 5 different wireless cards before
 I found one that I was able to get working ndis drivers from
 ndisgen.  Fortunately there's a used computer place near here
 (freegeek.org) that had a box of pcmcia wireless cards of all
 different makes and models, which kindly allowed me to plunk
 down my laptop  (which dual-boots between Windows 98 and FreeBSD)
 and they have wireless.  So I would pick a card out of their bin,
 boot into Windows, download the Windows driver, make sure the
 card worked under Windows, then boot into FreeBSD and mount
 the Windows partition, copy over the Windows driver and inf
 file to the FreeBSD side, run ndisgen and then try loading the
 driver.
 
 With some cards, the driver wouldn't even activate the card.
 With other cards, the driver would allow me to list the wireless
 nodes then panic the system when I tried associating.
 
 The card that did work was a Realtek-based card.  And, it did
 not work with the most current Windows drivers from the Realtek
 website, it worked with the Windows drivers that were from a couple
 years ago.  (I found this out quite by accident)
 
 Fortunately, they DID also have a number of the Wavelan
 cards - these are supported natively with the wi0 driver -
 that worked out of the box.  Those cards are only 802.11b
 though so I kept at it with ndisgen and the newer cards.
 
 The interesting thing is that the original wireless card I
 had in the Toshiba - a Texas Instruments-based chipset model -
 never really quite worked properly in the Toshiba under Windows.
 I put it into a different laptop I owned - a Thinkpad, and
 it worked great in that.
 
 Unfortunately, in your case, nothing has changed with ndisgen
 since 2006 (see http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/ndiscvt/ )
 so it's not that, it's something else in the system that changed.
 
 Start with the basics.  Copy your bcmwl5.ko into /boot/modules
 then in loader.conf put bcmw15_load=YES and reboot the system,
 check dmesg, and see if it's even loading
 
 Next put in /etc/rc.conf  ifconfig_ndis0=inet 192.168.1.1 ssid myssid
 and see if it even comes up at all and you can ping out (obviously
 you will have to temporairly turn off wpa on your wireless node,
 set the correct ssid, and set the correct IP address to hard-code an
 IP address)
 
 If that doesen't work, regen the bcmw15.ko file using the old
 method:
 
 # cp foo.sys foo.inf /sys/modules/if_ndis
 # cd /sys/modules/ndis
 # make; make load
 # cd /sys/modules/if_ndis
 # ndiscvt -i foo.inf -s foo.sys -o ndis_driver_data.h
 # make; make load
 
 You need to isolate the problem to see if the driver is simply
 just not working at all under 6.3, or if it is working, but it's
 a scripting or turnup out of sequence error.  And you need to
 see if wpa has anything to do with it.
 

Hi Ted. Thanks for the reply.

Unfortunately, until I either get time to resize my hard disk and add a
separate freebsd installation, or I figure out  how to undo a
buildworld, looks like I'm stuck.  It's my school laptop, so I kind of
need to get work done. ;)  (I am able to run a 6.3-RELEASE kernel, but
the 'world' is 6.3-RC1.)

Regarding older drivers:  Yes,  I had this problem with my current
chipset in 6.2-RELEASE.  This is why I was so surprised I had problems
with 6.3-RELEASE. 

Either way, I appreciate your response. 

Cheers.
-- 
Glen Barber
http://www.dev-urandom.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why not a DVD iso version too?

2008-03-16 Thread Glen Barber
Miguel Mayol i Tur said: 
 I do like to try free OSs and distributions
 Why not a DVD version at bittorent and or at the FTP?
 I cannot understand why not on these days.

I personally cannot understand everyone's fascination with a DVD
installer.  If everyone is so intent on using the latest and greatest,
why do they want to install packages from the CD (or DVD), rather than
using ports?

Bandwidth, to me, is no excuse, because it takes less bandwidth to
download the ports tree + source code than it does to download a 4GB
DVD.  

Either way, there is a DVD available at freebsdmall.

-- 
Glen Barber
(570)328-0318
http://www.dev-urandom.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPv4 loopback address is missing, why?

2008-03-18 Thread Glen Barber
Andrew Falanga said: 
 HI,
 
 On my father's computer there isn't an IPv4 loopback address being assigned 
 to 
 the lo0 interface.  What would cause this?  I've looked at his configs and 
 they're the same as on my system (obviously something is different, but I 
 don't know what).  I see in his /etc/defaults/rc.conf the ifconfig_lo0 line 
 is *NOT* commented out or otherwise altered and his file looks the same as 
 mine (at least on this point, I haven't contrasted the two entirely).
 
 So, why would his system not be configuring an IPv4 loopback address?  After 
 bootup, I can add the address manually using ifconfig.
 
Do you know if the machine was set up with IPv6 or IPv4 at install?
I've never used IPv6, but perhaps when that is chosen, `ifconfig'
doesn't show the IPv4 address for lo0.

Just a guess.

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


Re: Sed in FreeBSD

2008-07-06 Thread Glen Barber
On 7/5/08, James Bailie [EMAIL PROTECTED] wrote:
 Sebastian Tymków wrote:


  I've tried with sed -e '/PATTERN/ a\ line' file but this did'n work. There
  are many axamples in internet but none
  of them work on FreeBSD.
 

  The inserted line needs to be on a separate physical line.

  sed -e '/PATTERN/a\
  line'

  For /bin/csh, you need two backslashes because the shell recognizes
  backslashes inside single-quotes, which it shouldn't.


IIRC, you also need the '-i' flag, even if you do not specify a backup
extension:

sed -i '' -e 's/foo/bar/' myfile

http://www.dev-urandom.com/unix/sed

Regards,


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


Re: ndis0 no link on 6.3-RELEASE

2008-08-22 Thread Glen Barber
Hi everyone.  Sorry to bump such an old post, but I have figured out a
'hack' to get this driver to work, and figured I'd post here, in case
it may help someone else.

Previously, I said the following, about a Broadcom 4318 chipset on a
Dell Inspiron b120:
Upon 'kldunload bcmwl5.ko; kldload bcmwl5.ko', my ndis0 card looses all WPA
capabilities.

The fix is as follows, as I have been unable to find anything relevant
regarding netif, dhclient, wpa_supplicant or ndis:

Step 1: Create /etc/rc.local, with '/sbin/kldload /boot/modules/bcmwl5_sys.ko'

Step 2: Edit /etc/wpa_supplicant.conf as needed

Step 3: Echo 'ifconfig_ndis0=WPA DHCP' to /etc/rc.conf

Outcome:
System boots, loading netif, dhclient, and wpa_supplicant.  Next,
after the other three are running, the rc.local script loads the ndis0
driver.  On my system (and surrounding networks) my system tries to
authenticate against any available network, but then finally reads
wpa_supplicant.conf, and uses my network.

As I said, sorry to bump an old thread, but hopefully this will help
someone else, regardless of how crude of a hack it is.

Regards,

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


Re: Exiting Gnome

2008-09-10 Thread Glen Barber
On Tue, Sep 9, 2008 at 1:08 AM, FBSD1 [EMAIL PROTECTED] wrote:
 Started Gnome for first time. Can not figure how to exit (stop) gnome and
 return to the FreeBSD command line. The System/logout option just hangs.

How are you starting Gnome? Through rc.d or through 'startx'?

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


Re: KDE config not being saved at logoff

2008-09-14 Thread Glen Barber
From Kmenu - Control Center, choose (I believe it is called) KDE
Regional Settings, where there is a Session Management menu.
Choose whichever one you like:  Start Empty Session, Restore Last
Session, etc.


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


Re: Sysinstall doesn't detect IDE hard drives

2008-09-14 Thread Glen Barber
I believe you need to have the IDE drive as the master for your
configuration.  I think your problem is with mixing SATA and IDE
drives, so sysinstall is choosing the default boot disk.


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


Re: X server crashes on exit

2008-09-25 Thread Glen Barber
No, a 2 minute startup of Xorg is not normal.

What kind of video card?  Do you have the proper drivers for your
video card installed?  I've noticed on several flavors of Linux with
my particular card (nVidia Geforce 8600 or something) that if I do not
have the correct nVidia drivers, exiting X results in a system lockup.

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


Re: X server crashes on exit

2008-09-25 Thread Glen Barber
I should note on my last message, that I specified Linux because some
don't install the proper drivers by default.  With FreeBSD + Xserver
on this box, it was always a habit for me to compile the drivers -- so
I never noticed if I would experience this undesired behavior in *BSD.

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


Re: X server crashes on exit

2008-09-27 Thread Glen Barber
 I use the default install and I don't know what driver to get or how to
 build it.. but surely if you have the wrong drivers X will not start rather
 than not stop?

X will start, but odd things will happen (such as your mouse not
working, distorted resolutions, etc).

Installing the Xorg meta-packages will install a bunch of 'default'
graphics drivers, such as nv.  These drivers are used if the proper
driver for your card are not installed.


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


Re: how to break portsnap

2008-10-07 Thread Glen Barber
On Tue, Oct 7, 2008 at 4:56 PM, Steve Franks [EMAIL PROTECTED] wrote:
 I've googled high  low but I cannot find much other that this cannot
 happen replies.  I've got a dual boot to amd64 and i386.  The amd64
 hasn't been able to portsnap fetch or cron since march.  The i386 I
 just installed, and it portsnap's fine, so it's not a firewall or
 related issue.  I've checked my key and it looks ok.  What am I
 missing?


I've had this problem before, and it turns out it was a bad CPU in my
case.  I would imagine bad RAM would play a part in this as well.

You may want to try to run Memtest.

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


Re: Freebsd-update question

2009-08-08 Thread Glen Barber
Hi Richard,

On Sat, Aug 8, 2009 at 10:16 AM, Richard Mahlerweinmahle...@yahoo.com wrote:
 I thought I'd give freebsd-update a try since I run a GENERIC kernel.

 mobius# freebsd-update -s update.freebsd.org fetch
 Looking up update.freebsd.org mirrors... none found.
 Fetching public key from update.freebsd.org... failed.
 No mirrors remaining, giving up.

 Thinking perhaps a networking issue, I checked the machine is accessible...
 mobius# ping update.freebsd.org
 PING update1.FreeBSD.org (72.21.59.252): 56 data bytes
 64 bytes from 72.21.59.252: icmp_seq=0 ttl=51 time=64.557 ms
 64 bytes from 72.21.59.252: icmp_seq=1 ttl=51 time=64.580 ms
 ^C
 --- update1.FreeBSD.org ping statistics ---
 2 packets transmitted, 2 packets received, 0.0% packet loss
 round-trip min/avg/max/stddev = 64.557/64.569/64.580/0.012 ms

 It responds with update1, so I tried again using update1.freebsd.org (and 
 several others that I could ping) but it always gives me the same response.

 A quick check of the handbook and the man pages for both freebsd-update(5) 
 and freebsd-update.conf(8) didn't tell me much about this.

 I'm sure it's something stupidly simple.  Does anyone have some ideas?


There's quite a bit of useful information missing.

For starters, what is the output of 'uname -a'?

-- 
Glen Barber
___
freebsd-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 question

2009-08-08 Thread Glen Barber
On Sat, Aug 8, 2009 at 10:25 AM, Richard Mahlerweinmahle...@yahoo.com wrote:
  I thought I'd give freebsd-update a try since I run a
 GENERIC kernel.
 
  mobius# freebsd-update -s update.freebsd.org fetch
  Looking up update.freebsd.org mirrors... none found.
  Fetching public key from update.freebsd.org...
 failed.
  No mirrors remaining, giving up.
 

[snip]


 There's quite a bit of useful information missing.

 For starters, what is the output of 'uname -a'?

 Sorry, forgot to paste that.
 mobius# uname -a
 FreeBSD mobius.mahlerwein.homeip.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE 
 #0: Fri Sep  5 02:34:20 CDT 2008     
 r...@mobius.mahlerwein.homeip.net:/usr/obj/usr/src/sys/GENERIC  i386


I was able to get a mirror using:

freebsd-update -r 7.1-PRERELEASE fetch

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


Re: (no subject)

2009-08-10 Thread Glen Barber
Hi Derrick

On Mon, Aug 10, 2009 at 5:40 PM, Derrick
MacPhersonderr...@packetsafe.net wrote:

 I had a ssd drive in a system to use as temp backup server, it has 6 1tb
 drives in it that i created a raid0 (i'm pretty sure that's what I
 created)

That is a very important piece of information to have.  You cannot
rebuild RAID0 arrays because there is no redundancy nor parity.  You
_can_ rebuild RAID1 arrays.

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


-- 
Glen Barber
___
freebsd-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: A question for developers

2009-08-12 Thread Glen Barber
On Wed, Aug 12, 2009 at 9:53 PM, Polytroponfree...@edvax.de wrote:
 On Thu, 13 Aug 2009 00:08:52 +0300, Giorgos Keramidas 
 keram...@ceid.upatras.gr wrote:
 There *are* good points about joe, eg.:

   - It works very well even with pretty dumb terminals.

   - It has a very small footprint

   - It supports many features a `coder' expects (auto indentation,
     custom tab sizes, macros, etc.)

 Syntax highlighting! Syntax highlighting! :-)

 Other points are automatic file backups, different modes
 (depending on $0) and so on.



 It is much nicer to describe the *good* points about joe, instead of
 making silly jokes about keyboard shortcuts in other editors.

 If you make jokes, use the recommended ones, such as the
 well-known escape-meta-alt-control-shift key combinations. :-)


Don't forget about:
C-x M-c M-butterfly [1]

:-)

[1] - http://xkcd.com/378/

-- 
Glen Barber
___
freebsd-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: 8.0-BETA2 not getting my 4Gigs of ram

2009-08-13 Thread Glen Barber
 need to enable PAE mode in the kernel

Not for amd64.

Mark,

What is the output of 'uname -a'?


-- 
Glen Barber
___
freebsd-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: ATI Radeon HD3450 on FreeBSD 7.2

2009-08-14 Thread Glen Barber
Hi,

On Fri, Aug 14, 2009 at 6:39 AM, Ricky Tompu Breakyricky.bre...@uni.de wrote:
 Dear my friends,

 I just installed FreeBSD 7.2. But its xserver always hung-up (suddenly
 stop working), only the GUI which suddenly stops working once I execute:
 
 startx
 .
 I can see the GUI but I can not do anything on it. I can not click
 anything and I can not type nothing on it.

 My computer use ATI Radeon HD3450.

 But the kernel still works as the xserver stops working because if I do
 CTRL-Alt-F1/F2/F3/F? then I can see the login prompt console.

 What should I do to solve this problem?


I added the following to xorg.conf to fix the problems I had:

Section ServerFlags
option  AutoAddDevicesoff
option  AllowEmptyInput   off
EndSection


Have a look at /usr/ports/UPDATING regarding the Xorg update.


HTH


-- 
Glen Barber
___
freebsd-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: Intel 5100 agn driver

2009-08-17 Thread Glen Barber
On Mon, Aug 17, 2009 at 10:57 AM, Leonardo M. Ramémartinr...@yahoo.com wrote:
 Hi, does anyone knows if the driver for the Intel 5100 agn included in many 
 new notebooks is ready to use in 7.2-STABLE for amd64?, if not, at least i'm 
 looking for some pointers to creating a ndis wrapper for its WinXP driver.


Hi, Leonardo

I'm in the same situation you are in.  Regarding an official driver,
there is not anything available (yet).  The last post I saw in the
-net archives mentions the driver was not currently being worked on (I
do not know how much truth this holds now).

Regarding ndis/ndisgen, I was able to create a module in 7.2-RELEASE
and 8.0-BETA2, however both caused panics (which I was unable to get
cores on - mostly because of time constraints).  As expected, your
results may vary.

-- 
Glen Barber
___
freebsd-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: ndis driver - freeze on scan

2009-08-17 Thread Glen Barber
On Mon, Aug 17, 2009 at 12:48 PM, Eitan Adlereitanadlerl...@gmail.com wrote:
 I created an ndis driver for my wireless card and kldloaded it.
 When I try
 ifconfig ndis0 up scan
 my computer just freezes and it does not find any of the 100
 (exaggeration) APs around.


If you break out of the scan (^C), is the machine responsive?  I've
noticed a hang when scanning with my ndis'd 4318, but no problems
otherwise.

 This is a broadcom wireless card.


Well.. No problems other than the above...


-- 
Glen Barber
___
freebsd-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: Intel 5100 agn driver

2009-08-18 Thread Glen Barber
On Tue, Aug 18, 2009 at 10:04 AM, Leonardo M. Ramémartinr...@yahoo.com wrote:
 Thanks Glen, I also can build the module with ndisgen, and it doesn't panic, 
 but when I do ifconfig I can't see the ndis0 device.

 However, I found this post on a Linux forum saying they can use the device. I 
 wonder if freebsd can load linux drivers using linuxsulator?.


Hi,

No, linuxulator won't work for kernel drivers, AFAIK.  It's for ABI
compatibility.

I seem to have made some progress with ndisgen(8) and the drivers for
my laptop with this card - meaning, the panics stopped.  Now there is
no ndis(4) device listed in ifconfig(8), however.


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


Re: [OT] Vim mailing list

2009-08-18 Thread Glen Barber
On Wed, Aug 19, 2009 at 12:43 AM, Steve Bertrandst...@ibctech.ca wrote:
 Apologies up front for the off-topic'dness.

 I'm thoroughly enjoying my new editor, and swiftly learning and
 experiencing the benefits. As a matter of fact, nearly everywhere I
 type, the common commands come naturally, and I get frustrated that all
 of my software doesn't work like vi does :)

 Getting to the point, I'd like to find a vi(m) community, but the list
 subscribe that appears authoritative for vim-users bounces. I despise
 and refuse to belong to web forums.

 Given that, where can I go to follow vim discussions, without having to
 bring it up OT here on my favourite list?


Hi, Steve

Google has a Vim group.  I'm not sure if you need a Google account or not.

And, of course, there's this one: http://www.vim.org/maillist.php

Regards,


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


Re: [OT] Vim mailing list

2009-08-19 Thread Glen Barber
On Wed, Aug 19, 2009 at 2:31 AM, Sabine Baerbae...@t-online.de wrote:
 On Wed, Aug 19, 2009 at 01:59:05AM -0400, Glen Barber wrote:

 [...]

 Google has a Vim group.  I'm not sure if you need a Google account
 or not.

 Perhaps it might be better to go to Usenet straight ahead. There's a
 NG comp.editors, mostly about vim.

 Sorry for jumping in, but I think Usenet is Usenet and Google is
 Google.

Jump in all you want.  After all, it was an admittedly [OT] post. :-)

I agree.  I don't see much use for Google's usenet interface.
(Especially since you can't post directly from it, AFAIK.)


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


Re: Desktop Install Option

2009-08-19 Thread Glen Barber
Hi,

On Wed, Aug 19, 2009 at 1:54 AM, Sabeeh Baigsba...@jhu.edu wrote:
 So, I've been wondering about something.  FreeBSD is a general purpose
 operating system, even though it has historically only heavily been used on
 servers.  Why is it that FreeBSD doesn't provide a desktop installation,
 something similar to say Debian's option of Standard Desktop?  For those
 who need it, it'd be great.


You may want to have a look at:

http://freebsd-custom.wikidot.com
http://pcbsd.org/
http://desktopbsd.net


-- 
Glen Barber
___
freebsd-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: Getting rid of X

2009-08-19 Thread Glen Barber
Hi,

On Wed, Aug 19, 2009 at 12:17 PM, Scott Schappellarc...@silvertree.org wrote:
 In a parallel sort of thread to the current desktop thread, when I installed
 FreeBSD 7.2 since I had plenty of disk space and memory I installed X,
 however, I don't need it or really want it.

 How can I pare that out of the system short of doing a complete rebuild?


You can deinstall the x11/xorg metaport.  (Or, pkg_delete -x xorg.)
The leftovers can be removed with ports-mgmt/pkg_cutleaves.

HTH


-- 
Glen Barber
___
freebsd-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: kein Betreff

2009-08-19 Thread Glen Barber
On Wed, Aug 19, 2009 at 6:08 PM, Olaf Leidingerleid...@web.de wrote:
 Dear list,

 I'd like to install FreeBSD 7.2 on my computer for testing purpuse and
 eventually remove my Linux installation. Using FreeBSD in VirtualBox
 works fine, so far. I can't install it on my real hardware, as the
 installation media won't boot:

 http://www.flickr.com/photos/41639...@n06/3835572003/

 The boot menu appears, but as soon as I press a button OR around one
 second elapses I get a message from the bootstrap loader (have a look at
 the image).

 Can't work out which disk we are booting from.

 And the system seems frozen. This happens with the AMD64 install media.
 Using i386 install media I get the same message, but the system reboots
 automatically. Even the PC-BSD install media have the same problem.

 My hardware:

 Gigabyte board with AMD 770 chipset, two SATA disk in AHCI mode, an IDE
 DVD drive (so nothing special).


Try disabling AHCI.  I had to do that on an Intel board.

 Other bootable optical disks (e.g. using isolinux or grub) work fine.

 What might be the problem?

 Thanks a lot for your help,


Hope  it does help. :-)

-- 
Glen Barber
___
freebsd-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: Accidentally moved /libexec/ld-elf.so.1

2009-08-20 Thread Glen Barber
On Thu, Aug 20, 2009 at 10:44 PM, Stew Houstonstewhous...@gmail.com wrote:
 Setting up a chroot jail I accidentally moved /libexec/ld-elf.so.1 instead
 of copying it.  Bash would no longer take any commands, though I can't
 remember the error I was getting (it was aborting.)  I rebooted, hoping I
 could do something in Single User Mode; but to no avail.  Is there a way I
 can undo this blunder?


When entering single user mode, you should be prompted with an option
to select a shell.  You should be able to use /bin/csh.  Worst case,
you can use /rescue/csh.

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


Xorg - Console Flashes when Exiting X

2009-08-20 Thread Glen Barber
Hi, list

I'm trying to isolate a bug relating to exiting X and console drivers.
 Before I begin, I have to mention that this undesired behavior is not
specific to FreeBSD -- I've experienced this with OpenSolaris and
(K)(X)ubuntu on the machine in question, which is where I am beginning
to really hit a wall.

A short synopsis of the problem is: anything that tries to query /
manipulate Xorg causes the console to flash when exiting X, as if the
console refresh rate or resolution was drastically incorrect.

The laptop [1] I recently purchased has a 16 screen at 1366x768
resolution.  (dmesg output listing the graphics information is below.)
 I do not use gdm, xdm, or kdm, so I 'startx' to get x11-wm/fluxbox
running.  My $HOME/.xinitrc is minimal, using xset to disable the
xterm bell, and starting sysutils/conky.

The only common factor between the three OSes I've seen this behavior
is xscreensaver or xrandr.  After thinking it was specific to
xscreensaver, I disabled it, and wanted to check the refresh rate -
which is how I found xrandr causes it as well.

Any thoughts on how to isolate the cause of this would be appreciated,
because the flickering and flashing experienced is most probably bad
for the LCD.  Thanks in advance.

%dmesg | grep vga
vgapci0: VGA-compatible display port 0x5110-0x5117 mem
0xd000-0xd03f,0xc000-0xcfff irq 16 at device 2.0 on
pci0
agp0: Intel GM45 SVGA controller on vgapci0
vgapci1: VGA-compatible display mem 0xd350-0xd35f at device
2.1 on pci0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
drm0: Mobile Intel\M-B\M-. GM45 Express Chipset on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster

[1] - http://laptops.toshiba.com/laptops/satellite/L500/L505-S6946

-- 
Glen Barber
___
freebsd-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: Accidentally moved /libexec/ld-elf.so.1

2009-08-21 Thread Glen Barber
On Fri, Aug 21, 2009 at 7:28 PM, Stew Houstonstewhous...@gmail.com wrote:
 I appreciate the help thus far; as /rescue/csh in single user mode has moved
 me past my first hurdle.  However, being the blundering newbie I am, I was
 working in the /tmp directory, which seems to have been cleared (or is empty
 for whatever reason in the current state.)  If it has been wiped, my
 ld-elf.so.1 file has been wiped with it.  What to do?


You'll have to mount /tmp to use it.  On my system, /tmp is
/dev/ad6s1e - yours may vary.

-- 
Glen Barber
___
freebsd-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: Sound in FreeBSD

2009-09-09 Thread Glen Barber
Hi.

2009/9/9 Алексей Михайлович merfi...@bk.ru:
 I want play *.mp3 in to FreeBSD

 My system data
 uname -a:
  6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 11:43:51 UTC 2008     
 r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

 my sound driver:
    snd_hda

    $ cat /dev/sndstat
    FreeBSD Audio Driver (newpcm)
    Installed devices:
    pcm0: Intel 82801I High Definition Audio Controller at memory 0xf302 
 irq 22 kld snd_hda   [20071129_0050] (1p/1r/1v channels duplex default)
 pcm1: ATI (Unknown) High Definition Audio Controller at memory 0xf101 
 irq 17 kld snd_hda [20071129_0050] (mixer only)

 my steps for auto load :
  1 ee /boot/loader.conf
    #Sound Driver
    snd_hda_load=YES (man snd_hda)
  2 reboot
  3 login
  4 kldstat
    result kldstat:
 Id Refs Address    Size     Name
  1    7 0xc040 7c89e8   kernel
  2    1 0xc0bc9000 5c894    acpi.ko
  3    1 0xc8dcc000 2000     fire_saver.ko
  4    1 0xc948a000 12000    snd_hda.ko
  5    1 0xc949c000 1d000    sound.ko

 sound driver was loader

 I run X server: startx
  and... the sound is not present

 Next i press Ctrl+Alt+Backspace (down X)

 Manually I do an unloading and loading
   $ kldunload snd_hda
   $ kldload snd_hda

 After these actions all works

 Why the such occurs
 Thanks



What is the output of mixer(8) before and after X is started?

Also, what window manager / desktop environment are you using?

-- 
Glen Barber
___
freebsd-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: Mutt /tmp full error when trying to read email

2009-09-19 Thread Glen Barber
Hi,

Can you paste the actual error?

On Sat, Sep 19, 2009 at 10:16 PM, Bryan Cassidy
north_side_sox_...@comcast.net wrote:
 Here is a little about my setup

 uname -a
 FreeBSD mail.comcast.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 
 08:49:13 UTC 2009     
 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

 Mutt 1.4.2.3i

 Output from df -h

 Filesystem     Size    Used   Avail Capacity  Mounted on
 /dev/ad0s1a    496M    143M    313M    31%    /
 devfs          1.0K    1.0K      0B   100%    /dev
 /dev/ad0s1e    496M    332M    124M    73%    /tmp
 /dev/ad0s1f     30G    2.9G     25G    11%    /usr
 /dev/ad0s1d    1.9G     53M    1.7G     3%    /var
 linprocfs      4.0K    4.0K      0B   100%    /usr/compat/linux/proc

 When /tmp shows 73% used why am I getting these messages when trying
 to open emails in mutt? I cannot opem them at all. Thanks in advance.

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




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


Re: php5 error in FreeBSD 7.2

2009-10-02 Thread Glen Barber
Hi,

On Fri, Oct 2, 2009 at 8:50 PM, Aflatoon Aflatooni aaflato...@yahoo.com wrote:
 So I did find a thread about this and the used the following solution to fix 
 the problem:

 - Edit /usr/ports/lang/php5/Makefile and add the following line to the 
 configuration arguments:
 --with-pcre-regex

 So your Makefile should have:
 CONFIGURE_ARGS= \
     --with-layout=GNU \
     --with-config-file-scan-dir=${PREFIX}/etc/php \
     --disable-all \
     --enable-libxml \
     --with-libxml-dir=${LOCALBASE} \
     --with-pcre-regex \
     --enable-reflection \
     --program-prefix=


Alternatively, installing devel/php5-pcre should do the trick.

HTH.

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


Re: php5 error in FreeBSD 7.2

2009-10-02 Thread Glen Barber
On Fri, Oct 2, 2009 at 5:51 PM, Aflatoon Aflatooni aaflato...@yahoo.com wrote:

 That is the first thing that I tried but it wouldn't work and therefore my 
 original question.


True, but you didn't say what you tried rebuilding. :-)


-- 
Glen Barber
___
freebsd-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: ports have made me lazy

2009-10-03 Thread Glen Barber
Hi,

On Sat, Oct 3, 2009 at 10:04 AM, Vince Sabio vi...@vjs.org wrote:
 I need to install zlib (not zlibc), and AFACT it is not included in ports.
 When I look at the zlib web site, I see that there are several (not a lot,
 but several) dependencies for the installation -- and I think, OH NO, NOT
 DEPENDENCIES! Or something like that.

 I blame it on ports. They have made me lazy. I am a victim. ;-)


They should have meetings once a week or something... :-)

 Anyway, and more to the point, am I missing something? Is zlib really not
 included in ports? If not, is there an automated/semi-automated means of
 installing it -- or am I back to the old days of installing dependencies
 manually?

 (I have had two servers go toes up in three days, so if I've missed the
 obvious here, well, it wouldn't surprise me. Just administer clue in the
 standard manner, and I'll get with the program.)



I'll assume you mean the zlib compression library.  I found a few with:

  cd /usr/ports; make search key=zlib

HTH.

-- 
Glen Barber
___
freebsd-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: ports have made me lazy

2009-10-03 Thread Glen Barber
On Sat, Oct 3, 2009 at 1:30 PM, ill...@gmail.com ill...@gmail.com wrote:

 Based on what I read at http://www.zlib.net/
 The latest version (1.2.3) is in base:

zlib(3) agrees.


-- 
Glen Barber
___
freebsd-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: Xorg mouse not working after upgrade (console mouse works)

2009-10-04 Thread Glen Barber
Hi,

On Sun, Oct 4, 2009 at 5:06 PM, Nerius Landys nlan...@gmail.com wrote:

[snip]


 When I startx, the mouse cursor won't move.  I have nothing
 currently in /etc/X11/xorg.conf (it's missing).  I tried Xorg
 -configure and copying the output of that to /etc/X11/xorg.conf, but
 no change in behavior.


[snip]

Have a look at ports/UPDATING, 20090124 20090123.  I, personally, am
not a fan of requiring hald/dbus to enable my mouse.  I added the
following to my xorg.conf:

Section ServerFlags
option  AutoAddDevicesoff
option  AllowEmptyInput   off
EndSection  

HTH

-- 
Glen Barber
___
freebsd-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: Jails: /bin/tcsh: Permission Denied

2009-10-05 Thread Glen Barber
On Mon, Oct 5, 2009 at 1:24 PM, APseudoUtopia apseudouto...@gmail.com wrote:

[snip]


 Sorry to reply again, but I have some further information.

 I used chpass to change the shell of the jailuser account. I tried
 /bin/sh, /bin/csh, /bin/tcsh, and /sbin/nologin. All of those gave the
 same Permission denied error. Even nologin gave Permission denied
 instead of This account is currently not available.

What happens with /bin/false ?

-- 
Glen Barber
___
freebsd-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: Jails: /bin/tcsh: Permission Denied

2009-10-05 Thread Glen Barber
On Mon, Oct 5, 2009 at 1:30 PM, APseudoUtopia apseudouto...@gmail.com wrote:
 On Mon, Oct 5, 2009 at 9:28 AM, Glen Barber glen.j.bar...@gmail.com wrote:
 On Mon, Oct 5, 2009 at 1:24 PM, APseudoUtopia apseudouto...@gmail.com 
 wrote:

 [snip]


 Sorry to reply again, but I have some further information.

 I used chpass to change the shell of the jailuser account. I tried
 /bin/sh, /bin/csh, /bin/tcsh, and /sbin/nologin. All of those gave the
 same Permission denied error. Even nologin gave Permission denied
 instead of This account is currently not available.

 What happens with /bin/false ?

 --
 Glen Barber


 Same thing:

 jailuser:*:1001:1001:User :/home/jailuser:/bin/false

 # su jailuser
 su: /bin/false: Permission denied


Have you created another user to test?

FWIW, I was wrong about the location of 'false' - it is
/usr/bin/false, not /bin/false - you should have received 'command not
found'.

-- 
Glen Barber
___
freebsd-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: Jails: /bin/tcsh: Permission Denied

2009-10-05 Thread Glen Barber
On Mon, Oct 5, 2009 at 1:33 PM, Glen Barber glen.j.bar...@gmail.com wrote:

[snip]


 jailuser:*:1001:1001:User :/home/jailuser:/bin/false

 # su jailuser
 su: /bin/false: Permission denied


Also, check the permissions on /home/jailuser


-- 
Glen Barber
___
freebsd-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: Daily run reports

2009-10-07 Thread Glen Barber
Hi,

On Wed, Oct 7, 2009 at 1:05 PM, Aflatoon Aflatooni aaflato...@yahoo.com wrote:
 Hi,
 I am wondering what process generates the following reports:
 security run output
 daily run output
 monthly run output


You should see these lines in /etc/crontab:

# Perform daily/weekly/monthly maintenance.
1   3   *   *   *   rootperiodic daily
15  4   *   *   6   rootperiodic weekly
30  5   1   *   *   rootperiodic monthly

You can set the MAILTO environment variable in /etc/crontab to mail to
an alternate address if needed.


 In my FreeBSD 6.3 I had these reports emailed to root, but I haven't recieved 
 them in my new installation of FreeBSD 7.2.

You should, unless you have a modified /etc/periodic.conf

 Can I also get a similar report generated for Tripwire?


I'm not sure about tripwire, but it should either be handled by
rc.conf or periodic.conf.

-- 
Glen Barber
___
freebsd-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: Daily run reports

2009-10-07 Thread Glen Barber
On Wed, Oct 7, 2009 at 4:15 PM, Warren Block wbl...@wonkity.com wrote:
 On Wed, 7 Oct 2009, Polytropon wrote:

 On Wed, 7 Oct 2009 13:09:51 +, Glen Barber glen.j.bar...@gmail.com
 wrote:

 You should see these lines in /etc/crontab:

 # Perform daily/weekly/monthly maintenance.
 1       3       *       *       *       root    periodic daily
 15      4       *       *       6       root    periodic weekly
 30      5       1       *       *       root    periodic monthly

 You can set the MAILTO environment variable in /etc/crontab to mail to
 an alternate address if needed.

 Another way is to edit /etc/mail/aliases and forward mail
 to root to your preferred account, e. g.

        root: myuser

 Note that recompiling sendmail's files is neccessary,

 To be more precise, rebuilding the aliases file.

 and sendmail needs to be restarted. It is explained at the top of Makefile
 in the /etc/mail directory. It's quite easy. :-)

 But 'newaliases' is easier yet.  Is restarting sendmail after newaliases
 really necessary?  I change aliases so rarely I've never really noticed.


No, you do not need to restart sendmail with newaliases(1).

-- 
Glen Barber
___
freebsd-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: CMS

2009-10-15 Thread Glen Barber
Howdy

On Thu, Oct 15, 2009 at 10:38 PM, Paul Schmehl pschmehl_li...@tx.rr.com wrote:
 I manage a couple of FreeBSD servers for a friend.  He's gotten all excited
 about content management and thinks that's the way to go.  The system he's
 familiar with is Windows only.  I've done a little research, but I'm
 wondering if anyone reading the list has experience with a CMS on FreeBSD -
 one that's in ports preferably.


I've used both Drupal and Wordpress (both in ports).  I'd have to gear
more towards Drupal than anything else, though to be honest, I feel
the same about Drupal as the author of mutt feels about mail clients -
they all suck; this one sucks less.

 Pros?  Cons?  Any known security issues?


Yes to all three.


-- 
Glen Barber
___
freebsd-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: need C help, passing char buffer[] by-value....

2009-10-18 Thread Glen Barber
On Sun, Oct 18, 2009 at 10:02 PM, Polytropon free...@edvax.de wrote:

[snip]


 // redo, skip TAGS

 Is this C or C++ source code? I always thought // was C++
 specific...


// comments are recognized by both C and C++.

-- 
Glen Barber
___
freebsd-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: Certification

2009-10-18 Thread Glen Barber
Hello,

On Sun, Oct 18, 2009 at 9:53 PM, Andrew Cherkashin andor...@gmail.com wrote:
 Hello. Where i can take FreeBSD exam? In California.

This link may be helpful:
http://www.bsdcertification.org/

Cheers,
-- 
Glen Barber
___
freebsd-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: Anybody is using VirtualBox?

2009-10-24 Thread Glen Barber
Hi,

On Sat, Oct 24, 2009 at 12:23 PM, Yuri y...@rawbw.com wrote:
 I am tryingto run Windows under FreeBSD.

 When I run:
 cat /dev/ad1s1 | VBoxManage stdin OutPutFile.vdi 21474836480
 on 80-RC2 I get this output:
 ERROR: failed to create the VirtualBox object!
 ERROR: code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info
 not available)
 Most likely, the VirtualBox COM server is not running or failed to start.

 No processes with name VirtualBox are running.

 What could be the problem?

Do you have the vboxdrv.ko module loaded?


-- 
Glen Barber
___
freebsd-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: flashplugin

2009-10-24 Thread Glen Barber
Howdy,

On Sat, Oct 24, 2009 at 7:56 PM, PJ af.gour...@videotron.ca wrote:
 Is there any definitive install guide for flashplugin.
 I was able to install it on a 7.2 64bit machine and then on an i386 but
 somehow it has morphed into god-knows-what and no longer works.

Any errors?

 I thought I had installed it with linux-f8 emulations but I found the
 linux-f4 on the machine... so I don't know what is going on.
 Now, trying to reinstall under linux-f8 and flashplugin9 does not work...

I used the steps in the handbook[1] to get flash on my FreeBSD 8
machines.  I never used flash on 7 because it wasn't worth the
trouble.  Things have changed since.

 Adobe seems to be toally unreliable as to what they are doing with their
 software; at least from what I can see about the problems users are
 having with their products.

Any major software vendor fits in this category, IMHO.  Not everything
works for everyone.  Computer configurations, hardware, OS, etc differ
from person to person, company to company.

 So, the question - what is the latest method to get the flashplugin to
 work - what linux emulation, whick version of flashplugin... stumble,
 bumble and mumble ...


[1] - 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html#MOZ-FLASH-PLUGIN

HTH.

-- 
Glen Barber
___
freebsd-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: xen or virtualbox or vmware ?

2009-11-02 Thread Glen Barber
Hi

On Mon, Nov 2, 2009 at 8:15 PM, Peter fb...@peterk.org wrote:
 iH,
   Trying to setup a new 'virtual' environment.
 Goal is to run freebsd in a virtual environment for ease of management and
 just because I've finally got _new_ hardware that isn't ~7++ years old.

 So far thinking of going
  netbsd - xen - freebsd/whatever [if it'll work]
 or would the following be better?
  linux - xen - freebsd/whatever
 or
  freebsd - virtualbox - freebsd/whatever
 or [don't really care for]
  linux - vmware workstation - freebsd/whatever
    [my generic hardware doesn't work with esx[i]]

 Has anyone done something similar, especially the xen type of setup or
 would one recommend a freebsd and virtualbox ?
 What dom0 have you found to work best with xen?

 Just looking for thoughts/ideas/experience.

If your end result is to run FreeBSD, why not use jails?

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


-- 
Glen Barber
___
freebsd-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 Source Code

2009-11-04 Thread Glen Barber
Hi Petros

On Wed, Nov 4, 2009 at 5:26 PM, Petros Ring petros...@live.com wrote:
 I would like you to send a copy of all the source code of FreeBSD so I may
 use it for a project that will allow the running of applacations from a
 different os to run on FreeBSD. Please send a attachment of the full source
 code in the reply email.


In addition to the two previous suggestions on how to obtain the code,
you can checkout the source tree using subversion from:

 http://svn.freebsd.org/base/

Cheers,

-- 
Glen Barber
___
freebsd-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: What happened to the colors in VIM 7.2?

2009-11-08 Thread Glen Barber
On Sun, Nov 8, 2009 at 10:52 PM, Aflatoon Aflatooni
aaflato...@yahoo.com wrote:
 It looks like the color schemas in VIM 7.2 are missing?

 Any ideas?


Errors?  Symptoms?  $HOME/.vimrc ?


-- 
Glen Barber
___
freebsd-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: panic? i386 on dell duo

2009-11-16 Thread Glen Barber
Hi

On Mon, Nov 16, 2009 at 5:58 PM, Gary Kline kl...@thought.org wrote:

        something panicked my dell.  more than twice.  i have loaded, the
        i386 7.2-R Dvd.  the panic was something like

        PHY#1
        panic[y/n]y

Do you have a crash report in /var/crash ?


        then something about cpu 0 being involved.

        i have the 8.0 rc3 bootonly.iso cd.  should i try that?  or did
        dell ship me a bad computer?


I'll keep my opinions to myself...

        ideas?

        gary






-- 
Glen Barber
___
freebsd-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: panic? i386 on dell duo

2009-11-16 Thread Glen Barber
Hi Gary,

On Mon, Nov 16, 2009 at 10:28 PM, Gary Kline kl...@thought.org wrote:
 On Mon, Nov 16, 2009 at 07:57:19PM -0500, Glen Barber wrote:
 Hi

 On Mon, Nov 16, 2009 at 5:58 PM, Gary Kline kl...@thought.org wrote:
 
         something panicked my dell.  more than twice.  i have loaded, the
         i386 7.2-R Dvd.  the panic was something like
 
         PHY#1
         panic[y/n]y

 Do you have a crash report in /var/crash ?


        no, nada.  i didnt know about /var/crash until now, thanks for the
        datapoint.  it is empty.


Very important location on your system after a (possible) panic.


 
         then something about cpu 0 being involved.
 
         i have the 8.0 rc3 bootonly.iso cd.  should i try that?  or did
         dell ship me a bad computer?
 

 I'll keep my opinions to myself...


        well, i'd laugh, glen, but i hurt my back twisting over to my right
        [[ with my left hand]] to use the dell keybd.   yes, why would any
        body do anybody else a bad deed.

        here is more complete version of the events of the day.

        my network bud down in dallas is helping me get the dell as my
        new server.  my old hp kayak is from 1998 and on its death-bed.

        okay: i have 7.2-R, i386.  installs fine.   jon horne changed the
        IP that the op sys | DHCP suite chose from 10.47.0.112 to
        10.47.0.230.  i do not know why, but he change the ifconfig line in
        /etc/rc.conf from =DHCP to =inet 10.47.0.230 netmask 10.0.0.255
        or something similar.  jon says that the IP can't or shouldn't be
        D=Dynamic but stable.  surely this is right. ---in my old config
        prior to jan 2008 or dec 2007 i had every local IP tied down in a
        file in /usr/local/etc/dhcpd.conf [or similar].  it worked
        flawlessly.  now i am using pfSense and i *think* there is a config
        file in there that makes local IP's stable.


Network configuration should not provoke a panic, unless the driver
is at fault (which you have not stated which driver this is).

        anybody know if i'm right?


No clue about pfsense

        anyway, after my dell was reset to 0.230 from 0.112, things began to
        fail.  i do not know very much about networking or dhcp; just enough
        to know that if something works, that is a Good sigh!

        i need to move over my /etc/namedb/* files; i need to set up mail--
        dovecot[?]; and lastly, apache22.  i've got the files, just don't
        know how-to make the switch from my 1998 server to my 2009
        computer.

        thanks to all who have read this far.  ideas, suggestions very
        welcome.  a severe wind storm tonight may take down my network any
        time.  sooner is better, :-)

        gary

         ideas?
 
         gary
 
 
 




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


Loader does not load after reinstall with previous mirrored disk attached

2009-11-18 Thread Glen Barber
Hello,

First off, this is not a real I need help post, though there are a
few questions that I'd like to get insight on, if possible - it is
more for informative purposes in the archives, should someone run into
this very random problem in the future. Additionally, I believe this
is far too unlikely this will happen to many others to consider it to
be a problem, thus submitting a PR.

The story, cut down from its original 3 hour length:

For some time, I was dual-booting OpenSolaris and FreeBSD, on 500GB
SATA and 250GB IDE disks, respectively.  When I lost the need to run
OpenSolaris (Flash), I purchased a second 500GB SATA disk.  I added
the original SATA disk to gmirror, and synced the 250GB FreeBSD
install to the 500GB SATA drive.  Once that finished, I removed the
250GB disk, and installed the second 500GB disk, adding it to the
mirror.

All was fine, except I was not using all of the drive space available.
 This past weekend, I decided to create a slice to cover the remaining
250GB, initially to try ZFS, which failed for the following reason.
Here is where question 1 comes into play.

1.)  What is the correct way to completely break a gmirror setup,
replacing /dev/mirror/gm0 with the original /dev/adN configuration?
Is the assumption that once you initialize gmirror, you will never
need/want to go back to a single disk setup?  Is there a clean way to
fix boot0 so it does not look for a mirror, short of
'vfs.root.mountfrom' in loader.conf?

After rendering my system unbootable since I use a USB keyboard, and
was not able to do anything at the 'mountroot' prompt, I decided it
may be a good time for me to finally upgrade to 64-bit, where I
purchased an additional 4GB RAM and burned a bootonly amd64 disc.  It
wasn't a big deal for me since I knew my data was mirrored and
available.  However, I did consider purchasing a PS/2 keyboard to fix
the system... But, let's be honest, who can resist an upgrade? :-)

Here is the real reason for my post (besides archival purposes).
Because I never disconnected the secondary disk (from the original
mirror), it caused the loader to hang upon boot - no errors, just a
blinking cursor on the top-left side.  One answer I received about
this, which makes perfect sense considering what I saw when I was
trying to figure out what was happening (until I disconnected the
second disk to avoid writing over it accidentally), is that the new
loader and the previous loader were in conflict at boot.  Once the
secondary disk was disconnected, the system booted fine.  Which brings
me to my second question:

2.)  loader problem?  In hindsight, I can expect the loader to hang
with two MBRs, but should this be expected?  If the loader did not get
confused, any insight to what may have actually happened, since I
could not see any output whatsoever?

Regards,

-- 
Glen Barber
___
freebsd-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: Loader does not load after reinstall with previous mirrored disk attached

2009-11-18 Thread Glen Barber
Hi Rolf and Adam,

Since you both seemingly responded with the same solution, I'll
respond including the more verbose response:

On Wed, Nov 18, 2009 at 10:01 PM, Rolf Nielsen
listrea...@lazlarlyricon.com wrote:

 I recently, successfully, broke a gmirror by simply issuing gmirror clear on
 all the disks, three in my case. Since gmirror stores metadata in the last
 sector of the disks (according to the gmirror man page) and everything else
 is untouched, issuing a gmirror clear reverts the disks to single disk
 usage, and since the data isn't striped, the system will be able to read the
 data and mount the filesystem(s).


This makes sense, and hopefully I will not have to try it for some
time, next time I need to break a mirror, I will try 'clear'-ing it
first.

Thanks,

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


Re: no sshd on new server...

2009-11-19 Thread Glen Barber
Hi,

On Thu, Nov 19, 2009 at 9:21 PM, Randi Harper ra...@freebsd.org wrote:
 On Wed, Nov 18, 2009 at 3:12 PM, Gary Kline kl...@thought.org wrote:


         no joy on 8.0rcx.

        i got stuck in an infinite loop and decided to go back to my 7.2
 DVD.
        there i know i can get out to the net ; i always installed zsh.

        there are TWO kinds of gateways.  one gateway is my local 10.47.0.1;
        the other is my wide area 209.* that runs thru my pfsense firewall.

        i =am= getting more familiar with this rats nets of details.   i t
        hink we are severely oversue for a better way of doing a barebone
        install on virgin hardware.

        =sigh=


 This makes so little sense that I'm actually kind of amazed.

 1.) infinite loop? explain?

 2.) what does zsh have to do with getting out to the internet?


I presume he was either able to pkg_add(1) the binary or build from
ports, which assumes network connectivity in either case - either
downloading the binary installer or the source.

 3.) wtf is a barebone install on virgin hardware? What have you been doing
 to your hardware that you have specific definitions of virgin and not virgin
 hardware?


Allow me, speaking entirely on behalf of myself, to translate this to
minimal install.

 sysinstall has had some changes since 7.x, but no changes that would have
 affected network service configuration (yet). You ran through the install
 and didn't bother reading all of the dialogs before hitting enter, so you
 don't have ssh installed. Good job. Don't blame FreeBSD for your ineptitude.


Is this really necessary?

-- 
Glen Barber
___
freebsd-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: there will be a log in apache access.log?

2009-11-22 Thread Glen Barber
Hello,

On Sun, Nov 22, 2009 at 8:54 AM, IT民工 perfectxi...@gmail.com wrote:
 l install apache and svn ..  and now l input  http://192.168.0.100/svn/
 in website .  and it let me to input user name and password .  and l
 did not konw the username and password  ,so l quit ,close the
 website ... l know if l input the right ID and password there will be
 a record in apache access.log 
  does anyone know if  there will be a record in apache access.log to
 record this action if l input wrong ID or  quit beside input
 nothing ???
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


From my httpd-error.log with a failed username / password:

 [Sun Nov 22 15:46:12 2009] [error] [client 127.0.0.1] user test
not found: /

There are no correlating entries in httpd-access.log regarding the
login attempts.

HTH,

-- 
Glen Barber
___
freebsd-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: ndis driver: invalid argument (freebsd 8.0)

2009-12-06 Thread Glen Barber
Hi

On Sun, Dec 6, 2009 at 9:17 PM, Anh K. Huỳnh xky...@gmail.com wrote:
 Hi all,

 I compiled `bcmwl5` module by `ndisgen` then loaded that module successfully, 
 but I get the `invalid argument` error:

 $ ifconfig ndis0 ssid TOM-and-JERRY
 ifconfig: SIOCS80211: Invalid argument

 What's wrong to my ndis driver? I read /usr/src/UPDATING and wireless section 
 in the Handbook but found nothing special. So I post here for your helps.


1.) Are your kernel and userland in sync?

2.) What is the output of 'uname -a'?  If 8.X, read the 20080420 entry
in src/UPDATING.

Regards,


-- 
Glen Barber
___
freebsd-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: Chomium on FreeBSD?

2009-12-08 Thread Glen Barber
Hi

On Tue, Dec 8, 2009 at 8:40 PM, Sam Fourman Jr. sfour...@gmail.com wrote:
 On Mon, Jun 29, 2009 at 2:07 PM, Chad Perrin per...@apotheon.com wrote:
 On Sun, Jun 28, 2009 at 06:47:53PM -0400, Daniel Underwood wrote:
 Is there an effort to build a port of chromium for FreeBSD? I recently
 began using chromium on my Linux machine, and the HTML rendering speed
 is quite impressive.

 When it has the ability to synchronize bookmarks, I'll use it exclusively.

 I second this sentiment.  I quite like Chrome/Chromium thus far, and
 would love to have it available on FreeBSD -- combining my browser of
 choice with my OS of choice.  As things currently stand, I get to use a
 browser I like slightly less most of the time, and my browser of choice
 on an OS I quite dislike on the rare occasion I need to do cross-platform
 Web development testing.

 I don't know much about Chromium at this point, but has anyone tried
 to build the sources on FreeBSD?


This project [1] has been working on getting Chrom(ium) on FreeBSD for
some time.  I haven't used it recently (since I switched my main
machine to amd64), but it was pretty stable on i386.

[1] - http://chromium.jaggeri.com/


Regards,


-- 
Glen Barber
___
freebsd-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: What is proper process for source installs?

2009-12-08 Thread Glen Barber
Hi,

On Tue, Dec 8, 2009 at 10:00 PM, Olivier Nicole
olivier.nic...@cs.ait.ac.th wrote:
 Hi,

 and so on. So it's safe to say just merging the trees like this
 isn't the way to go. What is the proper process to finish a bsd
 image after installworld and installkernel is done?

 Not sure what you are trying to do, but usually you better follow the
 instructions from /usr/src/UPDATING.


+1

 By the way, I beleive a good part of /etc is installed/reinstalled by a
 make installworld and/or mergemaster.


Configuration files are untouched by 'installworld'.  I've found on
systems with major /etc/* changes, the following is the path of least
resistance, quickest, and best at providing a backup plan before
running mergemaster:


   # cd /
   # tar cvvf `hostname`.etcbak.tar etc
   # mv etc /somewhere/safe
   # mergemaster -iFUP

You can also set IGNORE_FILES in /etc/mergemaster.rc.  mergemaster(8)
for more information on that.

Regards,

-- 
Glen Barber
___
freebsd-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: What is proper process for source installs?

2009-12-08 Thread Glen Barber
Ugh, I hate simple typos...

On Tue, Dec 8, 2009 at 10:11 PM, Glen Barber glen.j.bar...@gmail.com wrote:
   # mv etc /somewhere/safe

Should be:

# mv `hostname`.etcbak.tar /somewhere/safe


-- 
Glen Barber
___
freebsd-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: What is proper process for source installs?

2009-12-08 Thread Glen Barber
On Tue, Dec 8, 2009 at 10:44 PM, Peter Steele pste...@maxiscale.com wrote:
 By the way, I beleive a good part of /etc is installed/reinstalled by
 a make installworld and/or mergemaster.

 I should have clarified my scenario better. I am building a BSD image from 
 scratch, as part of an automated process. I am not updating an existing 
 system. I had been doing this by installing the base collection, plus our 
 custom kernel (as well as man pages and various packages). Now that we are 
 also building world, I don't need to install the base collection from the 
 binary release. At least not everything in it. What *do* I need? Obviously 
 etc and the copyright notice. Anything else?



Ah, you _probably_ want to do 'make release' -- I have no experience
with this however to be much more help if that _is_ what you need.

-- 
Glen Barber
___
freebsd-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: googleearth complains about file instance-running-lock

2009-12-10 Thread Glen Barber
On Thu, Dec 10, 2009 at 8:39 PM, Yuri y...@rawbw.com wrote:
 Hi,

 I am getting this fatal error:
 Unable to create symlink for lock
 '/home/yuri/.googleearth/instance-running-lock'.  File exists.


Remove the file?  Or rename it?


-- 
Glen Barber
___
freebsd-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: googleearth complains about file instance-running-lock

2009-12-10 Thread Glen Barber
On Thu, Dec 10, 2009 at 8:46 PM, Yuri y...@rawbw.com wrote:
 Glen Barber wrote:

 Remove the file?  Or rename it?



 I wouldn't ask this question if it was that easy.
 There is even no such directory: /home/yuri/.googleearth

Could you provide possibly important information such as this in
future questions?

Have you tried creating the directory?



-- 
Glen Barber
___
freebsd-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: upgraded to 8, no mouse is broken

2009-12-10 Thread Glen Barber
On Thu, Dec 10, 2009 at 9:55 PM, mpd m...@jesters-court.net wrote:
 I just updated my system from 7.2 to 8.0 STABLE. What do I need to do to
 make my mouse work in X again? This system has an unbroken chain of
 fbsd since 2.2.6, but I'm about to drop it due to this. This is
 horrible.


Since you have given no information on what the symptoms are, nor on
what you have tried, I'll take a long-shot here:

Have a look ate the 20090124/20090123 entries of /usr/ports/UPDATING



-- 
Glen Barber
___
freebsd-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: upgraded to 8, no mouse is broken

2009-12-11 Thread Glen Barber
On Thu, Dec 10, 2009 at 11:38 PM, Warren Block wbl...@wonkity.com wrote:
 On Thu, 10 Dec 2009, Glen Barber wrote:

 On Thu, Dec 10, 2009 at 9:55 PM, mpd m...@jesters-court.net wrote:

 I just updated my system from 7.2 to 8.0 STABLE. What do I need to do to
 make my mouse work in X again? This system has an unbroken chain of
 fbsd since 2.2.6, but I'm about to drop it due to this. This is
 horrible.


 Since you have given no information on what the symptoms are, nor on
 what you have tried, I'll take a long-shot here:

 Have a look ate the 20090124/20090123 entries of /usr/ports/UPDATING

 That information was current a year ago, but is outdated now.  Please see
 the Handbook section on X11 configuration instead:


UPDATING is a more familiar source of reference for those without a
working Xorg - even moreso if they only have one machine.

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

 More specifically, AllowEmptyInput is a source of problems:

 http://lists.x.org/archives/xorg-devel/2009-December/003807.html


I suppose this falls under the works for me category - I haven't
ever used HAL on FreeBSD.



-- 
Glen Barber
___
freebsd-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 connect to host....

2009-12-12 Thread Glen Barber
Hi Gary

On Fri, Dec 11, 2009 at 11:03 PM, Gary Kline kl...@thought.org wrote:

        Regarding the sage of the migration to a new server, I thought
        things were working when I went to bed.  Turns out this was
        only because I had the old server going too.  (I did some edit
        on my new web server but the chances didn't show up.  Only the
        old server was replying.)

        Now, using lynx, I get the err that it 'Can't connect to
        host'.    The new server is 10.47.0.230, but dig is still
        seeing my old server, 10.47.0.240.

        Any ideas why lynx cannot connect outside the server itself??

Have a look in /etc/hosts (and /etc/resolv.conf to be save) for
explicit entries.


-- 
Glen Barber
___
freebsd-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: portupgrade failure

2009-12-16 Thread Glen Barber
Hi,

On Wed, Dec 16, 2009 at 11:19 PM, Warren Block wbl...@wonkity.com wrote:
 On Wed, 16 Dec 2009, Kevin wrote:

 [...]

 The only other symptoms I can identify right now are related to the
 following entries in my crontab:

 0 2 * * 6       /usr/local/sbin/portsclean -DD
 0 2 * * 5       /usr/local/sbin/portsclean -C

 The e-mailed results simply say env: ruby: No such file or
 directory. However, these commands seem to run fine from an
 interactive shell (while logged in).

 Paths.  When there's a problem with cron it's (almost) always paths.
 portsclean is a ruby script that starts with this line:


Interestingly, my homemade port rebuild script is recently broken with
similar symptoms, sans the dependencies on ruby.  It's a very simple,
low-level for i in `cat list` type script which recently has begun
to fail repeatedly on gettext and autoconf dependencies on multiple
machines, when I specifically have them set to be upon the first ports
to build.

More probably unrelated, but I thought I'd throw this out there just in case.

Regards,

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


Re: How to enable network manager in KDE?

2009-12-19 Thread Glen Barber
On Sat, Dec 19, 2009 at 8:59 PM, Yuri y...@rawbw.com wrote:
 How do I launch network manager that allows to visually manage WiFi and LAN
 connections?
 I have FreeBSD on a laptop and I have to establish WiFi connections manually
 -- it's very inconvenient.

You can always edit wpa_supplicant.conf(5) - you don't need to use WPA/WPA2...


 In Kubuntu this problem is solved and WiFi management is very easy. It's the
 same Looking for the same in FreeBSD.


Have a look at ports/net-mgmt/wifimgr


-- 
Glen Barber
___
freebsd-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: Need advise.

2010-05-19 Thread Glen Barber
Hi Chuck,

pa...@magi.magidesign.com wrote: 
 
 
 Guys, 
 
 I have a box that I need to add several software
 package, I can't use ports because it appears that they have blocked the
 ports to do a fetch. 

Who is they?  Some details would help us help you.

 
 So I am wondering what can I do?
 
 Chuck

Regards,

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


Autoresponders [pa...@magi.magidesign.com: [#24508600] Re: Need advise.]

2010-05-19 Thread Glen Barber
Headers attached, so we can stop this nonsense in the future.

- Forwarded message from pa...@magi.magidesign.com -

Delivered-To: glen.j.bar...@gmail.com
Received: from gmail-pop.l.google.com [74.125.113.109]
by glenbarber.us with POP3 (fetchmail-6.3.14)
for gbar...@localhost (single-drop); Wed, 19 May 2010 22:33:20 -0400
(EDT)
Received: by 10.231.40.13 with SMTP id i13cs11992ibe;
Wed, 19 May 2010 19:36:15 -0700 (PDT)
Received: by 10.142.55.20 with SMTP id d20mr6759641wfa.331.1274322975037;
Wed, 19 May 2010 19:36:15 -0700 (PDT)
Return-Path: pa...@magi.magidesign.com
Received: from secure.mpcustomer.com (secure.mpcustomer.com [208.43.146.75])
by mx.google.com with ESMTP id
4si11369005pzk.70.2010.05.19.19.36.11;
Wed, 19 May 2010 19:36:12 -0700 (PDT)
Received-SPF: neutral (google.com: 208.43.146.75 is neither permitted nor
denied by best guess record for domain of pa...@magi.magidesign.com)
client-ip=208.43.146.75;
Authentication-Results: mx.google.com; spf=neutral (google.com: 208.43.146.75
is neither permitted nor denied by best guess record for domain of
pa...@magi.magidesign.com) smtp.mail=pa...@magi.magidesign.com
Received: by secure.mpcustomer.com (Postfix, from userid 99)
id CACC615407D8; Wed, 19 May 2010 21:36:11 -0500 (CDT)
To: Glen Barber glen.j.bar...@gmail.com
Subject: [#24508600] Re: Need advise.
Date: Wed, 19 May 2010 21:36:11 -0500
From: pa...@magi.magidesign.com
Reply-To: supp...@mpcustomer.com
Message-ID: 23c180a83264bf123c83316d8eaec...@secure.mpcustomer.com
X-Priority: 3
X-Mailer: PHPMailer (phpmailer.sourceforge.net) [version 2.0.4]
X-Uberinst: uber_phase-support
X-Mailer: Ubersmith
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=utf-8

Hello,

This is an automated response to inform you that your question has been entered 
into our system, and will be reviewed shortly. Your ticket has been submitted 
into the General Support department.

We will respond to you as soon as possible.

==
Please keep this information, and use it when refering to your ticket:

Ticket subject: Re: Need advise. 
Ticket number: 24508600
Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=24508600
Ticket body: Hi Chuck,

pa...@magi.magidesign.com wrote: 
 
 
 Guys, 
 
 I have a box that I need to add several software
 package, I can't use ports because it appears that they have blocked the
 ports to do a fetch. 

Who is they?  Some details would help us help you.

 
 So I am wondering what can I do?
 
 Chuck

Regards,

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



- End forwarded message -

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


Re: Problem compiling lsof

2010-05-24 Thread Glen Barber
Hi Arthur,

On Mon, May 24, 2010 at 8:57 PM, Arthur Barlow arthurbar...@gmail.com wrote:
 On Mon, May 24, 2010 at 5:43 PM, Chuck Swiger cswi...@mac.com wrote:

 Hi--

 On May 24, 2010, at 5:41 PM, Arthur Barlow wrote:
  Sorry about the false start. Fat fingers.  I'm trying to compile the lsof
  program in FreeBSD 8.0 on an i686 machine.  There is a error referencing
  dlsof.h and it looks like there is an ugly hack in the header file.
  Any
  suggestions, besides playing with the code?

 Sure; how about:

  cd /usr/ports/sysutils/lsof  make install

 Regards,
 --
 -Chuck


 Chuck,

 That doesn't work, which was my point to begin with.  The compile process
 throws an error.


Despite not seeing the error, I'll ask if your kernel and userland are in sync.

Regards,

-- 
Glen Barber
___
freebsd-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 upgrade

2010-06-09 Thread Glen Barber

On 6/9/10 9:07 PM, Aiza wrote:

The upgrade function requires the -r newrelease flag.
The manpage does not state the formate of the newrelease value.

Is it just the release number like this 8.0 or is it like this 8.0-RELEASE?


8.0-RELEASE.  I believe you can pull 8.0-RELEASE-p2 using -r as well.

Regards,

--
Glen Barber
___
freebsd-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 upgrade

2010-06-09 Thread Glen Barber

On 6/9/10 9:26 PM, Fbsd1 wrote:

Glen Barber wrote:

On 6/9/10 9:07 PM, Aiza wrote:

The upgrade function requires the -r newrelease flag.
The manpage does not state the formate of the newrelease value.

Is it just the release number like this 8.0 or is it like this
8.0-RELEASE?


8.0-RELEASE. I believe you can pull 8.0-RELEASE-p2 using -r as well.

Regards,


Thanks.

Have another question.

When freebsd-update first entered the ports system, it was limited to
updating systems that not been changed from the basic release. IE:
Recompiling the kernel adding devices or removing them. Is that still
true now?



If you have a custom kernel installed, freebsd-update will overwrite it 
with GENERIC, which means you will need to recompile your custom kernel.


Regards,

--
Glen Barber
___
freebsd-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: closing X

2010-06-13 Thread Glen Barber

Hi Derek,

On 6/13/10 10:51 AM, Derek Funk wrote:

I have setup PCBSD and a Standard Freebsd with gui. and kbunto. They do
not close X completely. I get a flashing screen.
I can still type commands while the screen flashes. I have done a google
search but nothing seems to match my problem.

I installed opensolaris and it doesn't do this but I want bsd.

I have a Toshiba Satellite laptop that has intel mobile graphics. Is
this something with the intel graphics driver or an installed software
conflict.



Does it sound similar to this issue?

http://lists.freedesktop.org/archives/xorg/2009-August/046958.html

Regards,

--
Glen Barber
___
freebsd-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: closing X

2010-06-14 Thread Glen Barber

On 6/14/10 6:21 PM, Derek Funk wrote:

On 6/13/2010 7:12 PM, Glen Barber wrote:

Hi Derek,

On 6/13/10 10:51 AM, Derek Funk wrote:

I have setup PCBSD and a Standard Freebsd with gui. and kbunto. They do
not close X completely. I get a flashing screen.
I can still type commands while the screen flashes. I have done a google
search but nothing seems to match my problem.

I installed opensolaris and it doesn't do this but I want bsd.

I have a Toshiba Satellite laptop that has intel mobile graphics. Is
this something with the intel graphics driver or an installed software
conflict.



Does it sound similar to this issue?

http://lists.freedesktop.org/archives/xorg/2009-August/046958.html

Regards,


Yea, that is mostly what I am experiencing. I followed the thread and
didn't see a resolution.




Last I used that laptop, there still was no resolution.  The only thing 
I could find to prevent it from happening in the first place is to not 
use xscreensaver, xrander, etc.  Once I disabled those apps, the 
flashing console went away.


I did find that 'startx' from the flashing console, and immediately 
closing X would drop me back to a normal, visible console.


Regards,

--
Glen Barber
___
freebsd-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 cannot login as root

2010-06-15 Thread Glen Barber

Hi,

On 6/15/10 7:15 AM, Giorgos Tsiapaliokas wrote:

hello,

my system has 2 users the user terietor and the root user.

after a failed upgrade of my system with portmaster,i can't login as root
but i can login as terietor.
root was using the csh shell and terietor was using the bash shell.



Are you sure you don't have this backwards?

portmaster should not touch /bin/csh, since it is not a port - it is 
part of the base system.  However, if root's shell is set to bash and 
portmaster blew up upgrading that port, this would prevent you from 
logging in as root, and is a good example of why not to change root's 
default shell to something not in the base install.


If this is the case, and you have physical access to the machine, drop 
into single-user mode and use chsh(1) to reset root's shell to /bin/csh.


Regards,

--
Glen Barber
___
freebsd-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: system is under attack (what can I do more?)

2010-06-18 Thread Glen Barber

Hi,

On 6/18/10 11:29 AM, Kaya Saman wrote:

[...]

Look at ports/security/sshguard and ports/security/bruteblock.

I use sshguard with ipfilter, but it works with pf and ipfw as well.
It is very simple to set up and gets the job done.



Hi just wanted to say thanks for stating this as I'm also looking for a
BSD version of fail2ban which I couldn't find in the FreeBSD ports
collection..



security/py-fail2ban

Regards,

--
Glen Barber
___
freebsd-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: Followup On Perl Dumping Core

2010-06-18 Thread Glen Barber

Hi,

On 6/18/10 2:24 PM, Tim Daneliuk wrote:

I have rebuilt world to today's 8.1-PRERELEASE sources

I have forced a rebuild of every port on the system with:

 portupgrade -f *

I have rebooted.

I am still seeing these log messages:

 (perl5.10.1), uid 0: exited on signal 11

The long running perl processes on this system are associated with
MailScanner. MailScanner does periodically restart itself thereby
killing these perl processes, but I wouldn't expect this to throw a
signal 11...


Ideas anyone?




Have you recently upgraded perl without running perl-after-upgrade 
afterwards?


Regards,

--
Glen Barber
___
freebsd-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: Followup On Perl Dumping Core

2010-06-18 Thread Glen Barber

On 6/18/10 2:30 PM, Tim Daneliuk wrote:

Have you recently upgraded perl without running perl-after-upgrade
afterwards?



I did upgrade perl some time ago.  I do not recall if I  ran perl-after-upgrade.
Wouldn't the 'portupgrade -f *' take care of this, or should I go run the
script now, just in case?



portupgrade does not do this for you.  If you don't remember, I'd 
suggest running it.


Regards,

--
Glen Barber
___
freebsd-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: X11 problem

2010-06-22 Thread Glen Barber

On 6/22/10 2:39 PM, Gary Kline wrote:


guys,
what do i need to rebuild to fix this problem to get X working on my
server::


ethic# startx
xauth:  creating new authority file /root/.serverauth.1054

/libexec/ld-elf.so.1: Shared object libhal.so.1 not found, required by X
giving up.


Have you tried rebuilding sysutils/hal?

Regards,

--
Glen Barber
___
freebsd-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: X not responding

2010-06-22 Thread Glen Barber

On 6/22/10 1:52 PM, Andy Balholm wrote:

I am having a problem with Xorg under FreeBSD 8.0 RELEASE and 8.1 RC1:

When I type startx, the X server starts, and some xterm windows open, but it 
will not respond to keyboard or mouse input. The mouse pointer won't move, and 
the only keyboard input that does anything is CTRL-ALT-F1 etc. to switch 
virtual terminals.

If I install FreeBSD 7.1, which installs Xorg straight from the installation 
CD, it works fine. Under version 8, I've tried installing from ports and 
packages, and I get this problem.

When I first had this problem, I was running it under VirtualBox, so I thought 
maybe it was because VirtualBox's FreeBSD support is incomplete. But now I've 
tried it on real PC hardware, and I have the same problem.

Obviously some people must be running X under FreeBSD 8, so I must be doing 
something wrong in my installation or configuration, but I can't guess what it 
is.



Try adding the following to xorg.conf:

Section ServerFlags
option AllowEmptyInput off
option AutoAddDevices off
EndSection

Regards,

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


Re: pkg_add

2010-06-24 Thread Glen Barber

On 6/24/10 9:01 PM, zaxis wrote:



uname -a

FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #9: Sat Mar 27
15:06:39 CST 2010 r...@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL
i386


echo $PKG_PATH

PKG_PATH: Undefined variable.


cat .cshrc |grep -i package

setenv PACKAGESITE
ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/

So you should use PACKAGESITE instead of PKG_PATH you mentioned .




Not entirely true.

Using the above FTP URL, PKG_PATH will look for

ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/

Regards,

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


Re: pkg_add

2010-06-24 Thread Glen Barber

On 6/24/10 9:49 PM, Fbsd1 wrote:

Glen Barber wrote:


Using the above FTP URL, PKG_PATH will look for

ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/


Regards,


No I am not looking for the remote path to fetch the package
distribution file from. When doing pkg_add -Kr pkgname
will save the downloaded distribution pkg file.
My question is where is this file saved at on my host by default.
/usr/packages maybe



/usr/ports/packages, assuming it exists.  If not, it will save to the 
port directory.


Regards,

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


Re: pkg_add

2010-06-24 Thread Glen Barber

On 6/24/10 10:02 PM, Glen Barber wrote:

On 6/24/10 9:49 PM, Fbsd1 wrote:

Glen Barber wrote:


Using the above FTP URL, PKG_PATH will look for

ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/



Regards,


No I am not looking for the remote path to fetch the package
distribution file from. When doing pkg_add -Kr pkgname
will save the downloaded distribution pkg file.
My question is where is this file saved at on my host by default.
/usr/packages maybe



/usr/ports/packages, assuming it exists. If not, it will save to the
port directory.



Actually, to quote pkg_add(1):
 -K, --keep
 Keep any downloaded package in PKGDIR if it is defined or 
in current directory by default.


Therefore, if PKGDIR is not defined, it should use $PWD.

PKGDIR and PKG_PATH are two entirely different environment variables.

Regards,

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


Re: Boot to ZFS on FreeBSD 7.3

2010-06-28 Thread Glen Barber

On 6/28/10 5:13 PM, Dan D Niles wrote:


The release notes for FreeBSD 7.3 said that it could boot to zfs.  I did
not see any options for doing that via the normal install.  I followed
the instructions here:

http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot

When I reboot, I get:

can't load 'kernel'

I wiped the disk and tried again to verify I didn't miss a step.  Same
result.

I saw a suggestion that zfs.cache needed to be copied.  I did that
during the setup, but I tried doing it again from Fixit.  Same result.


You don't need this step for 7.3.


The other suggestion I saw was to do section 2 step 7 again.  That
shouldn't be necessary for 7.3, but I tried it anyway.  Still seeing
can't load 'kernel'.

Any suggestions for getting FreeBSD 7.3 to boot to ZFS?



Can you try the following at the loader prompt, where you see the 
FreeBSD boot options?


   load zfs
   load opensolaris # should not be necessary, but just to be safe
   boot

Regards,

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


Re: Boot to ZFS on FreeBSD 7.3

2010-06-28 Thread Glen Barber

On 6/28/10 7:27 PM, Glen Barber wrote:

On 6/28/10 5:13 PM, Dan D Niles wrote:


The release notes for FreeBSD 7.3 said that it could boot to zfs. I did
not see any options for doing that via the normal install. I followed
the instructions here:

http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot

When I reboot, I get:

can't load 'kernel'

I wiped the disk and tried again to verify I didn't miss a step. Same
result.

I saw a suggestion that zfs.cache needed to be copied. I did that
during the setup, but I tried doing it again from Fixit. Same result.


You don't need this step for 7.3.


The other suggestion I saw was to do section 2 step 7 again. That
shouldn't be necessary for 7.3, but I tried it anyway. Still seeing
can't load 'kernel'.


I quoted the wrong sentence - you don't need _this_ step.



Any suggestions for getting FreeBSD 7.3 to boot to ZFS?



Can you try the following at the loader prompt, where you see the
FreeBSD boot options?

load zfs
load opensolaris # should not be necessary, but just to be safe
boot

Regards,




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


Re: pkg_add

2010-07-01 Thread Glen Barber

Hi,

On 6/30/10 8:00 PM, Mr. Darren wrote:

Though this will not be the focus of my question.  Lots of ports are being 
created for FreeBSD and none submitted.  I don't know why.

My problem arises when trying to install one of these which is put together 
quite well.  pkg_add -r http://site/something.tbz, or pkg_add something.tbz 
doesn't work for the dependencies.  So how do I tell pkg_add to fetch the first 
pkg from one site and the rest from the main sites?  It is available in source 
but the system is void of pkg's at the moment and with the 1ghz processor and 
512mb ram could take quite a while.  And the funny part is it will work 
perfectly if I just place it in ports/multimedia.



Assuming the site structure is the same as the FreeBSD ftp structure, as 
it would be if the remote site is using Tinderbox, you can set the 
PACKAGESITE and PKG_PATH environment variables.


If using csh:
setenv PACKAGESITE http://site/All/
setenv PKG_PATH http://site/Latest/

If using sh/bash:
export PACKAGESITE=http://site/All/;
export PKG_PATH=http://site/Latest/;

Regards,

--
Glen Barber
___
freebsd-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: Reinstalling a package

2010-07-01 Thread Glen Barber

Hi,

On 7/1/10 5:28 AM, Alejandro Imass wrote:

On Thu, Jul 1, 2010 at 2:10 AM, Chris Stankevitz
chrisstankev...@yahoo.com  wrote:


http://lists.freebsd.org/pipermail/freebsd-gnome/2010-June/024394.html

In the above post, a FreeBSD GNOME team member recommends rebuilding and 
reinstalling sysutils/polkit, sysutils/policykit, and sysutils/consolekit.

Q: How do I rebuild and reinstall these applications when they were installed 
originally via pkg_add -r gnome2?

A: pkg_add -r polkit [fails with the message already installed]


I have the same problem and asked a while back but got no answer. My
Gnome is partially broken because of a stupid libpng and libjpg
upgrade and I would like to re-install the whole thing from binary.



If you are going to rebuild libpng and libjpg, you will need to rebuild 
all ports that depend on those libraries, not just the gnome-specific ports.


You might want to have a look at ports-mgmt/portmaster.  Also have a 
look at /usr/ports/UPDATING, entry 20100328 for libpng.


Regards,

--
Glen Barber
___
freebsd-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: Upgrading without building and without freebsd-update

2010-07-01 Thread Glen Barber

Hi,

On 7/1/10 6:48 AM, Anders Andersson wrote:

2010/7/1 Christer Solskogenchrister.solsko...@gmail.com


I've got two FreeBSD machines on two different networks(and two
different locations). One of them is as fast machine (i7-920) while
the other one is a Intel Atom. How can I build on the fast machine and
use those binaries on the slow one, without mounting /usr/obj using
nfs? first I was thinking about creating a dump file on the fast
machine and extract that on the slow, but that wont work on a
filesystem that is already populated. Would a tarfile work? (how about
/libexec/ld-elf.so.1?)

--
chs,



Hello!

I can provide some help at least. I found the page
http://onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html which says that
make package creates tgz packages which you can copy over to the slow
machine and use pkg_add to install.



This works for ports.  The OP is asking about the base system.


Commands that might be intresting to read about:
make fetch
portinstall

As I am quiet new to this as well, lets hope someone else can explain how to
extract all packages easily (make package seems to work on one single
package, portinstall has an option for making packages as it works through
the build process whihc can be handy to create all dependencies in one go)
and what to think about when building for different architectures (if that
is necessary).



You could use 'make package-recursive', or have a look at 
ports-mgmt/tinderbox, which does this by default.


Regards,

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


sshd logging with private key authentication

2010-07-01 Thread Glen Barber

Hi,

I've been seeing quite a bit of ssh bruteforce attacks which appear to 
be dictionary-based.  That's fine; I have proper measures in place, such 
as key-only access, bruteforce tables for pf(4), and so on.


What caught my interest is if I attempt to log in from a machine where I 
do not have my key, I see nothing logged about a failed publickey 
attempt.  If I attempt with an invalid username, as expected, I see 
'Invalid user foo from ${IP}.'


Is this to be expected?  If so, I am curious why.  Though I realize an 
attacker may not be able to see that a user is valid or invalid, might 
we want to know that a valid username is being used in an attack? 
(Unless, of course, the valid username is 'john'...)


Regards,

--
Glen Barber
___
freebsd-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: Convert all packages to ports

2010-07-01 Thread Glen Barber

Hi, Chris

On 7/1/10 5:23 PM, Chris Stankevitz wrote:

Hello,

I setup my system using packages.  I have 675 packages installed and 0 
ports installed.

Q: Is there a simple way to replace each package with the locally compiled 
port?

Ideally the procedure will not ask me any questions and will leave me with 0 installed 
packages and 675 installed ports.



You might have a look at ports-mgmt/portmaster.  It will prompt you for 
configuration settings before proceeding with building your ports.


Regards,

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


<    1   2   3   4   5   6   >