Re: Chromium build failure

2013-09-01 Thread Peter Harrison
Sunday,  1 September 2013 at 14:43:24 +0300, George Liaskos said:
> On Sun, Sep 1, 2013 at 1:15 PM, Peter Harrison
>  wrote:
> > Hi list,
> >
> > I'm getting a consistent build error when trying to build the latest 
> > version of Chromium in ports - here's the error:
> >
> > ninja: Entering directory `out/Release'
> > [65/11901] LINK libvpx_obj_int_extract
> > FAILED: g++46 -Wl,-rpath=/usr/local/lib/gcc46 -Wl,-z,now -Wl,-z,relro 
> > -pthread -Wl,-z,noexecstack -fPIC -Wl,--no-keep-memory -m32 -Wl,-O1 
> > -Wl,--as-needed -o libvpx_obj_int_extract -Wl,--start-group 
> > obj/third_party/libvpx/source/libvpx/build/make/libvpx_obj_int_extract.obj_int_extract.o
> >   -Wl,--end-group
> > obj/third_party/libvpx/source/libvpx/build/make/libvpx_obj_int_extract.obj_int_extract.o:
> >  In function `parse_elf':
> > obj_int_extract.c:(.text.parse_elf+0x71a): undefined reference to 
> > `__stack_chk_fail_local'
> > /usr/local/bin/ld: libvpx_obj_int_extract: hidden symbol 
> > `__stack_chk_fail_local' isn't defined
> > /usr/local/bin/ld: final link failed: Bad value
> > collect2: ld returned 1 exit status
> > [65/11901] ACTION Generating resources from app/generated_resources.grd
> > ninja: build stopped: subcommand failed.
> > *** [do-build] Error code 1
> >
> > Stop in /usr/ports/www/chromium.
> >
> > This is on:
> >
> > 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 20:30:17 UTC 2013 
> > r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
> >
> > Anyone offer me some advice on how to fix? The previous version of Chromium 
> > built fine on this machine.
> 
> Hm, please try the following
> 
> --- a/www/chromium/Makefile
> +++ b/www/chromium/Makefile
> @@ -18,6 +18,8 @@ COMMENT=  Mostly BSD-licensed web browser based
> on WebKit and Gtk+
>  LICENSE=   BSD LGPL21 MPL
>  LICENSE_COMB=  multi
> 
> +CFLAGS+=   -fno-stack-protector
> +
>  BUILD_DEPENDS= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \
> bash:${PORTSDIR}/shells/bash \
> yasm:${PORTSDIR}/devel/yasm \


That sorted it - thanks!



Peter.


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


Chromium build failure

2013-09-01 Thread Peter Harrison
Hi list,

I'm getting a consistent build error when trying to build the latest version of 
Chromium in ports - here's the error:

ninja: Entering directory `out/Release'
[65/11901] LINK libvpx_obj_int_extract
FAILED: g++46 -Wl,-rpath=/usr/local/lib/gcc46 -Wl,-z,now -Wl,-z,relro -pthread 
-Wl,-z,noexecstack -fPIC -Wl,--no-keep-memory -m32 -Wl,-O1 -Wl,--as-needed -o 
libvpx_obj_int_extract -Wl,--start-group 
obj/third_party/libvpx/source/libvpx/build/make/libvpx_obj_int_extract.obj_int_extract.o
  -Wl,--end-group 
obj/third_party/libvpx/source/libvpx/build/make/libvpx_obj_int_extract.obj_int_extract.o:
 In function `parse_elf':
obj_int_extract.c:(.text.parse_elf+0x71a): undefined reference to 
`__stack_chk_fail_local'
/usr/local/bin/ld: libvpx_obj_int_extract: hidden symbol 
`__stack_chk_fail_local' isn't defined
/usr/local/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
[65/11901] ACTION Generating resources from app/generated_resources.grd
ninja: build stopped: subcommand failed.
*** [do-build] Error code 1

Stop in /usr/ports/www/chromium.

This is on:

9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 20:30:17 UTC 2013 
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

Anyone offer me some advice on how to fix? The previous version of Chromium 
built fine on this machine.

Cheers,




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


Re: Status of Chromium port...

2013-05-15 Thread Peter Harrison
Wednesday, 15 May 2013 at 19:01:42 +0300, Volodymyr Kostyrko said:
> 15.05.2013 18:29, J. Porter Clark:
> > On Wed, May 15, 2013 at 11:32:31AM +0300, Volodymyr Kostyrko wrote:
> >> 14.05.2013 23:48, Peter Harrison:
> >>> Hello list!
> >>>
> >>> Does anyone know the status of the Chromium port? It's stuck at v25 with 
> >>> multiple vulnerabilities. Updated versions have been available for a 
> >>> while, but haven't been brought into ports. I've emailed the maintainer 
> >>> but not had a response. Anyone know better?
> >>
> >> I'm building v27 from port now. Looks like many things have changed
> >> since v25 - new dependencies, the build flows differently. Seems to
> >> be a major update.
> >
> > Indeed, seems a real mess now.  I told it not to use
> > pulseaudio, it wants to install it anyway, along with gdbm and
> > accessibility/speech-dispatcher.  WTF?  Might want to hold off
> > until some of this gets fixed...
> >
> 
> Oh, a friendly soul. To ditch pulseaudio I told speech-dispatcher to use 
> flite, this way we get really short list of extra deps.
> 
> I can't build port for now due too -Werror. Clang shrieks about really 
> bad things when compiling gcrypt (warning about deprecated interfaces) 
> whereas gcc4.6 says the same about gssapi.h.

Thanks both for the feedback. Having waited this far, I think I might hang on a 
little longer before attempting the upgrade.



Peter.

> 
> -- 
> Sphinx of black quartz, judge my vow.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Status of Chromium port...

2013-05-15 Thread Peter Harrison
Wednesday, 15 May 2013 at 11:32:31 +0300, Volodymyr Kostyrko said:
> 14.05.2013 23:48, Peter Harrison:
> > Hello list!
> >
> > Does anyone know the status of the Chromium port? It's stuck at v25 with 
> > multiple vulnerabilities. Updated versions have been available for a while, 
> > but haven't been brought into ports. I've emailed the maintainer but not 
> > had a response. Anyone know better?
> 
> I'm building v27 from port now. Looks like many things have changed 
> since v25 - new dependencies, the build flows differently. Seems to be a 
> major update.

Wow the irony - the port gets updated on the same day I message the list. 
Thanks for being more on top of this than I am!



Peter.


> 
> -- 
> Sphinx of black quartz, judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Status of Chromium port...

2013-05-14 Thread Peter Harrison
Hello list!

Does anyone know the status of the Chromium port? It's stuck at v25 with 
multiple vulnerabilities. Updated versions have been available for a while, but 
haven't been brought into ports. I've emailed the maintainer but not had a 
response. Anyone know better?

Thanks all,




Peter Harrison.

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


Re: No sound with Thinkpad X60

2013-03-23 Thread Peter Harrison
Friday, 22 March 2013 at 12:30:37 -0400, Lowell Gilbert said:
> Jerry  writes:
> 
> > On Fri, 22 Mar 2013 06:28:57 +0100
> > Bernt Hansson articulated:
> >
> >> 2013-03-22 00:42, Peter Harrison skrev:
> >> 
> >> Put this in your /boot/loader.conf and report back.
> >> 
> >> hw.snd.default_unit="0"
> >> 
> >> Test with other nubers if 0 do not work.
> >
> > Using an nVidia card, I had to do the following:
> >
> > /etc/sysctl.conf
> >   hw.snd.default_unit=4
> >
> > Rebooted and the sound worked. I never found any truly accurate
> > information on it, it was basically just a trail and error experiment.
> > And YES, it sucks that in all to many cases, sound doesn't "just work".
> 
> You don't actually need to reboot for each trial. Running sysctl(8) from
> the command line will do. And /dev/sndstat would probably tell you the
> right value to try. These things are covered in the Handbook..
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Indeed. I've been faffing around with various sysctl settings from the command 
line without rebooting. As I mentioned in a slightly earlier email though, it's 
working now - although I can't figure out why, it is.

Thanks for your help.



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


Re: No sound with Thinkpad X60

2013-03-23 Thread Peter Harrison
Friday, 22 March 2013 at  6:28:57 +0100, Bernt Hansson said:
> 2013-03-22 00:42, Peter Harrison skrev:
> 
> Put this in your /boot/loader.conf and report back.
> 
> hw.snd.default_unit="0"
> 
> Test with other nubers if 0 do not work.

Thanks Bernt.

Here's the relevant bit of rc.conf

snddetect_enable="YES"
mixer_enable="YES"

and I have 

snd_hda_load="YES"

in my loader.conf, so shouldn't need the sound_enable you suggested I think?

I also have this in my device.hints:

hint.hdac.0.cad0nid7.config="as=1"

but I think that's a typo and there should be an extra period in there somewhere

That said, I'm not going to change anything because all of a sudden and for no 
reason that I can figure out, it is now working. I have sound. 

Go figure.

Thanks for your help.



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


Re: No sound with Thinkpad X60

2013-03-21 Thread Peter Harrison
Saturday, 16 March 2013 at  0:17:18 +0100, Michael Ross said:
> On Sat, 16 Mar 2013 00:28:27 +0100, Peter Harrison  
>  wrote:
> 
> > Friday, 15 March 2013 at 18:48:24 +0100, Michael Ross said:
> >> On Thu, 14 Mar 2013 23:59:09 +0100, Peter Harrison
> >>  wrote:
> >>
> >> > Hi list,
> >> >
> >> > I've a problem with sound on a Thinkpad X60, which has an Intel HDA  
> >> chip.
> >> >
> >> > This is what I see in dmesg:
> >> >
> >> > hdac0:  mem 0xee24-0xee243fff irq 17  
> >> at
> >> > device 27.0 on pci0
> >> > hdacc0:  at cad 0 on hdac0
> >> > hdaa0:  at nid 1 on  
> >> hdacc0
> >> > pcm0:  at nid 5 and 25,8 on hdaa0
> >> > hdacc1:  at cad 1 on hdac0
> >> > unknown:  at nid 2  
> >> on
> >> > hdacc1 (no driver attached)
> >> >
> >> > and from sndstat:
> >> >
> >> > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
> >> > Installed devices:
> >> > pcm0:  (play/rec) default
> >> >
> >> > and from mixer:
> >> >
> >> > Mixer vol  is currently set to 100:100
> >> > Mixer pcm  is currently set to 100:100
> >> > Mixer speaker  is currently set to 100:100
> >> > Mixer cd   is currently set to   1:1
> >> > Mixer rec  is currently set to   1:1
> >> > Mixer igainis currently set to  42:42
> >> > Mixer ogainis currently set to 100:100
> >> > Mixer monitor  is currently set to  67:67
> >> > Recording source: cd
> >> >
> >> > But I have no sound. This is using Gnome 2.32 on 9.1-R. I did  
> >> initially
> >> > accidentally install Pulseaudio, but have subsequently deleted it and
> >> > reinstalled everything that depended on it without the Pulseaudio
> >> > dependency.
> >> >
> >> > Any thoughts on what I'm doing wrong?
> >> >
> >> > Thanks in advance.
> >>
> >> Possibly not helping a lot:
> >>
> >> I have a T510 thinkpad with Intel HDA audio, running Windows 7.
> >> I need to have the audio driver *and* the modem driver installed for any
> >> sound to work.
> >> So possibly the modem part has to be initialised or something.
> >> You have "no driver attached" on your modem, so maybe that's worth  
> >> looking
> >> at.
> >>
> >> You could also try if sound works from a terminal without running Gnome  
> >> at
> >> all,
> >> just to be sure it's not some Gnome configuration thing.
> >>
> >> Regards,
> >>
> >> Michael
> >
> > Thanks Michael.
> >
> > Tried turning gnome off. Still no sound from the console. Is there a  
> > FreeBSD kernel module for the modem?
> >
> 
> Don't know.
> But stepping back, do you have snd_hda loaded?
> ( Silly me, should have been the first question. )
> 
> Found this:
> http://www.bmichelsen.no/blog/2012/01/28/configuring-freebsd-for-x60s/
> 
> Regards,
> 
> Michael

Sorry for the late reply, been away from the keyboard for a while.

I'm not loading snd_hda separately, but it's definitely there:

root@thinkpad:/home/peter # kldload snd_hda
kldload: can't load snd_hda: File exists

I've seen that blog and a couple of other sites describing configure FreeBSD on 
the X60, and they all seem to infer that sound works without a problem.

So for the moment at least I'm stumped.

Thanks for trying to help.

Cheers,



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


Re: No sound with Thinkpad X60

2013-03-15 Thread Peter Harrison
Friday, 15 March 2013 at 18:48:24 +0100, Michael Ross said:
> On Thu, 14 Mar 2013 23:59:09 +0100, Peter Harrison  
>  wrote:
> 
> > Hi list,
> >
> > I've a problem with sound on a Thinkpad X60, which has an Intel HDA chip.
> >
> > This is what I see in dmesg:
> >
> > hdac0:  mem 0xee24-0xee243fff irq 17 at  
> > device 27.0 on pci0
> > hdacc0:  at cad 0 on hdac0
> > hdaa0:  at nid 1 on hdacc0
> > pcm0:  at nid 5 and 25,8 on hdaa0
> > hdacc1:  at cad 1 on hdac0
> > unknown:  at nid 2 on  
> > hdacc1 (no driver attached)
> >
> > and from sndstat:
> >
> > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
> > Installed devices:
> > pcm0:  (play/rec) default
> >
> > and from mixer:
> >
> > Mixer vol  is currently set to 100:100
> > Mixer pcm  is currently set to 100:100
> > Mixer speaker  is currently set to 100:100
> > Mixer cd   is currently set to   1:1
> > Mixer rec  is currently set to   1:1
> > Mixer igainis currently set to  42:42
> > Mixer ogainis currently set to 100:100
> > Mixer monitor  is currently set to  67:67
> > Recording source: cd
> >
> > But I have no sound. This is using Gnome 2.32 on 9.1-R. I did initially  
> > accidentally install Pulseaudio, but have subsequently deleted it and  
> > reinstalled everything that depended on it without the Pulseaudio  
> > dependency.
> >
> > Any thoughts on what I'm doing wrong?
> >
> > Thanks in advance.
> 
> Possibly not helping a lot:
> 
> I have a T510 thinkpad with Intel HDA audio, running Windows 7.
> I need to have the audio driver *and* the modem driver installed for any  
> sound to work.
> So possibly the modem part has to be initialised or something.
> You have "no driver attached" on your modem, so maybe that's worth looking  
> at.
> 
> You could also try if sound works from a terminal without running Gnome at  
> all,
> just to be sure it's not some Gnome configuration thing.
> 
> Regards,
> 
> Michael

Thanks Michael.

Tried turning gnome off. Still no sound from the console. Is there a FreeBSD 
kernel module for the modem?

Thanks again,



Peter Harrison.

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


No sound on Thinkpad X60

2013-03-14 Thread peter harrison
Hi list,

I've a problem with sound on a Thinkpad X60, which has an Intel HDA chip.

This is what I see in dmesg:

hdac0:  mem 0xee24-0xee243fff irq 17 at
device
27.0 on pci0
hdacc0:  at cad 0 on hdac0
hdaa0:  at nid 1 on hdacc0
pcm0:  at nid 5 and 25,8 on hdaa0
hdacc1:  at cad 1 on hdac0
unknown:  at nid 2 on
hdacc1 (
no driver attached)

and from sndstat:

FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0:  (play/rec) default

and from mixer:

Mixer vol  is currently set to 100:100
Mixer pcm  is currently set to 100:100
Mixer speaker  is currently set to 100:100
Mixer cd   is currently set to   1:1
Mixer rec  is currently set to   1:1
Mixer igainis currently set to  42:42
Mixer ogainis currently set to 100:100
Mixer monitor  is currently set to  67:67
Recording source: cd

But I have no sound. This is using Gnome 2.32 on 9.1-R. I did initially
accidentally install Pulseaudio, but have subsequently deleted it and
reinstalled everything that depended on it without the Pulseaudio
dependency.

Any thoughts on what I'm doing wrong?

Thanks in advance.



Peter Harrison.

ps copying this via the gmail web interface as it didn't seem to make it
through from Mutt. Apologies if it appears twice.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


No sound with Thinkpad X60

2013-03-14 Thread Peter Harrison
Hi list,

I've a problem with sound on a Thinkpad X60, which has an Intel HDA chip.

This is what I see in dmesg:

hdac0:  mem 0xee24-0xee243fff irq 17 at device 
27.0 on pci0
hdacc0:  at cad 0 on hdac0
hdaa0:  at nid 1 on hdacc0
pcm0:  at nid 5 and 25,8 on hdaa0
hdacc1:  at cad 1 on hdac0
unknown:  at nid 2 on hdacc1 
(no driver attached)

and from sndstat:

FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0:  (play/rec) default

and from mixer:

Mixer vol  is currently set to 100:100
Mixer pcm  is currently set to 100:100
Mixer speaker  is currently set to 100:100
Mixer cd   is currently set to   1:1
Mixer rec  is currently set to   1:1
Mixer igainis currently set to  42:42
Mixer ogainis currently set to 100:100
Mixer monitor  is currently set to  67:67
Recording source: cd

But I have no sound. This is using Gnome 2.32 on 9.1-R. I did initially 
accidentally install Pulseaudio, but have subsequently deleted it and 
reinstalled everything that depended on it without the Pulseaudio dependency.

Any thoughts on what I'm doing wrong?

Thanks in advance.



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


Re: Making Music / Video folders on FreeBSD visible on HD TV

2012-03-14 Thread Peter Harrison

   So= rry for top posting - my 'phone makes it difficult.
   I use Mediatomb = very successfully to serve video from my FreeBSD
   server to my DLNA digibox.= Moderately easy to setup and a breeze once
   up and running.
   <= span id="signature">

   --
   Peter Harrison

   = From: Carmel
   Sent: Wednesday, 14 March 2012 10= :39
   To: FreeBSD
   Subject: Re: Making Music / Video folde= rs on FreeBSD visible on HD
   TV
   On Wed, 14 Mar 2012 10:26:43 += 
   Arthur Chance articulated:
   
   > On 03/13/12 19:54, = Carmel wrote:
   > > On Tue, 13 Mar 2012 13:59:45 -0500
   >= > Adam Vande More articulated:
   > >
   > >> Are = you sure these devices aren't trying to connect to a
   DLNA
   > >&g= t; server? Such need can be met by net/mediatomb or other
   port.
   >= >
   > > A couple of people have replied to this thread. The S= amba shares
   are
   > > configured correctly and are visible on my = Windows based PCs.
   I
   > > have no idea if the TVs are using DLNA= . I never had to
   configure
   > > anything, other than sharing t= he folders, on my Microsoft PCs,
   so
   > > am I to assume that DLN= A is always available on that OS? Anyway,
   I
   > > will try your s= uggestion.
   > 
   > I have a Sony networked TV, and it defini= tely needs a DLNA server
   and
   > is very picky about what formats ar= e served. I'm not a Windows
   user
   > but I have the impression Home = or Home Premium versions of
   Vista/Win7
   > have DLNA support built i= n.
   > 
   > Alexander Leidinger has written a couple of blog = posts on
   getting
   > Sony TVs working with FBSD. Take a look at this= and the related
   posts:
   > 
   > http://www.leidinger.net/blo   g/2011/09/15/sony-bravia-tv-dlna-formats/
   
   I did some checking.= Win7, all versions, have support built into
   it.
   Apparently Vista and= WinXP were updated with support via the
   Microsoft
   Update system. I h= ave to admit, that does make for a very "user
   friendly" environment. = Obviously Microsoft anticipated user needs
   quite
   successfully. I have= several friends who have integrated their TVs
   with
   their home PC qui= te successfully and painlessly.
   
   I am still studying how to mak= e FreeBSD similarly "user
   friendly".
   Thanks for the link.
   
-- 
   Carmel
   carmel...@hotmail.com
   
   ___= 
   freebsd-questions@freebsd.org mailin= g list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   "freebsd-questions-unsubscribe@freebsd= .org"

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


RE: Still having trouble with package upgrades

2012-03-08 Thread Peter Harrison

   Da= vid,
   Sorry for top posting - my 'phone makes it difficult.
   Do= we really have to have this debate again?
   You made the same points = a short while ago, and there was a long
   on-list debate about the strengths = and shortfalls of the existing
   ports and packages system.
   I don't se= e what value is added by having that debate again?
   I have certainly = been able to do binary package updates between
   releases in the past, so I c= an't agree that it doesn't work at all.
   Be that as it may, if you ca= n't or won't contribute programming
   time, money, or server resources to cre= ate the kind of package
   system you're talking about I don't see how it help= s to continually
   harangue the user community about your wish to make FreeBS= D work
   like Debian.
   Regards,

   --
   Peter Harrison

   From:= David Jackson
   Sent: Wednesday, 7 March 2012 16:29
   To:<= /b> freebsd-questions@freebsd.org
   Subject: Still having trouble w= ith package upgrades
   I still have yet to find a resolution to= the problems I have had
   with
   binary packages and upgrades on FreeBSD= . Binary upgrading is
   broken with
   every tool I have tried.
   = 
   There is no real reason why FreeBSD should not provide a facility fo   r 
users
   to be able to binary upgrade to the most recent version of al= l
   packages
   with a simple upgrade command.
   
   One faulty arg= ument I heard was that it is often not a good idea to
   upgrade
   to new = software release. The whole purpose of having a release cycle
   for
   pro= grams is to provide stable, tested releases for the public to
   install
   that will will work properly, and improve upon and fix problems with
   older= 
   releases. This is why mainline release are differentiated from betas   and
   the CVS downloads which are experimental. So you really do want = the
   most
   recent release, especially for corrections to any security p= roblem.
   Making
   upgrades more difficult actually makes the system more= insecure by
   exposing
   people for a long time to security problems tha= t were fixed in
   software but
   making it difficult for people to upgrad= e.
   
   
   As for the security issues of downloading binary pac= kages. The fact
   is
   source packages are not safer than binary packages= , more on that in
   a bit.
   I am astonished that people here would not r= ealise the obvious,
   having safe
   binary installs is do-able from mirro= r sites, just have the
   package
   management software download MD5s from= many mirror sites, compare
   them and
   test the downloaded package, is = they are off, then the package will
   not be
   installed the user will be= prompted to allow a notification of the
   problem
   to be sent to the Fr= eeBSD administrators. The fact is, binary
   releases are
   no more danger= ous than source releases, someone could just as easily
   insert
   bad cod= e in a source code package on a mirror, you need automated
   MD5
   checki= ng anyway, for both binary or source upgrades. So the idea
   that
   sourc= e upgrades are safer is false, just dead wrong.
   
   As for compile= options, the solution is simple, compile in all
   feature
   options and = the most commonly used settings into the binary
   packages, for
   the sta= ndard i386 CPU. If people want customisations then they can
   build
   the= software for themselves.
   
   A good software philosophy is to all= ow software to work out of the
   box with
   as little configuration as po= ssible, but allow everything to be
   configured
   by the user if they wan= t, by shipping software with reasonable
   defaults
   which can be overrid= den by the user. Make simple things easy and
   complicated things doabl= e. In GUI, by default, complexity can be
   hidden
   from users, but if pe= ople want fine grain control, they should be
   free to
   use advanced scr= eens of the GUI to get complex, fine grained
   control. In
   GUI design, = more commonly used settings can be provided more upfront
   while
   advanc= ed features for use by experts can be placed deeper in
   advanced or
   ex= pert screens oft the GUI. Everything should be able to be
   configured or
<= br>accomplished by both GUI and CLI and API.
   
   A good user frien= dly model for a useable OS is to allow for binary
   packages
   of the ent= ire system to be upgraded with a single upgrade command.
   It
   should wo= rk out of the box without hassle. Keeping software up to
   date to
   rece= nt releases is good practice, remember what I said about the
   purpose of
<= br>software releases. make it easy.
   
   why dont the freebsd admin= istrators just have a build machine
   that
   automatically compiles the s= oftware and makes them available as the
   ports
   are updated.
   
<= br>The user should be able to keep their system up to date
   without doing a= ny
   system wide all at once

Re: Realtek RTL8191SEvB Linux driver?

2012-01-05 Thread Peter Harrison
Thursday,  5 January 2012 at  9:04:40 +1000, Da Rock said:
> On 01/05/12 07:01, Peter Harrison wrote:
> >On 4 Jan 2012, at 01:08, Da Rock wrote:
> >
> >>On 01/04/12 10:38, Daniel Feenberg wrote:
> >>>
> >>>On Wed, 4 Jan 2012, Da Rock wrote:
> >>>
> >>>>On 01/04/12 02:10, Daniel Feenberg wrote:
> >>>>>
> >>>>>On Wed, 4 Jan 2012, Da Rock wrote:
> >>>>>
> >>>>>>On 01/03/12 22:10, Jerry wrote:
> >>>>>>>On Tue, 03 Jan 2012 16:44:30 +1000
> >>>>>>>Da Rock articulated:
> >>>>>>>
> >>>>>>>>On 01/03/12 11:15, Jeffrey McFadden wrote:
> >>>>>
> >>>>>Don't ndis(4) ndiscvt and ndisgen(8)  essentially accomplish what the 
> >>>>>OP is requesting? See the handbook section 12.8.1.1:
> >>>>>
> >>>>>
> >>>>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html
> >>>>>
> >>>>>or the man page for ndiscvt:
> >>>>>
> >>>>>  http://www.gsp.com/cgi-bin/man.cgi?section=8&topic=ndiscvt
> >>>>>
> >>>>>
> >>>>>While doing the conversion looks a bit beyond what we would expect of 
> >>>>>an end-user, it does seem to offer a path for using hardware whose 
> >>>>>manufacturer does not support FreeBSD. Is there anything beyond 
> >>>>>licensing issues preventing such drivers from being included in the 
> >>>>>distribution, or made downloadable in FreeBSD form?
> >>>>Oh yes, it is possible, just not probable :)
> >>>At
> >>>
> >>>  
> >>> http://sourceforge.net/apps/mediawiki/ndiswrapper/index.php?title=Category:USB
> >>>
> >>>almost 800 compatible devices are listed. Not everything, but I have 
> >>>found that a willingness to spend a few dollars on a different card 
> >>>helps immensely in enjoying FreeBSD and Linux. For me at least it is 
> >>>easier to find a compatible card than to write a compatible driver.
> >>Indeed :)
> >>
> >>I did notice that the card in question wasn't on that list. But my own 
> >>experience with ndiswrapper and wifi cards were far less than 
> >>satisfactory- the firmware always got in the road. But I may have just 
> >>been too stupid at the time :)
> >>>I would also observe that most people involved with computers, whether 
> >>>as users or developers, have little symphathy for people with different 
> >>>needs from the device. This is a great impediment to progress. It is a 
> >>>mistake to assume that because you don't need something, another 
> >>>person's desire for it is illegitimate. In this case, I fully agree that 
> >>>it is an injustice that hardware vendors do not supply FreeBSD drivers, 
> >>>but that does not mean that users requiring such drivers are immoral or 
> >>>of poor character, and therefore to be ignored or insulted. There is 
> >>>little that FreeBSD coders and users can do about that injustice 
> >>>directly, however it is within their power to mitigate it with the NDIS 
> >>>wrapper. If that wrapper allows another user to enter the FOSS world, 
> >>>that will (in the fullness of time) contribute to reforming the vendor.
> >>No they are absolutely not of poor character, I agree. Some messages can 
> >>be misconstrued, though, in that the replies can be terse and more 
> >>logical than sympathetic. Sometimes it is easier to replace with a 
> >>different card than flog a dead horse, although a user may take offense 
> >>for emotional or financial reasons more than logical.
> >>
> >>Mitigation is a difficult path as I have found personally, although NDIS 
> >>helps immensely with wired nics (not so much of a problem these days), 
> >>and I believe Luigi Rizzo's work with the linuxulator and drivers is to 
> >>be applauded ten fold. It takes a great deal of time though- I put 
> >>forward the idea when I was still a BSD pup not entirely realising the 
> >>challenges :) Luigi (and his colleagues) has been working hard ever since 
> >>to facilitate the more challenging aspects of multimedia drivers (whether 
> >>or not that had to do with my comments or not, I don't know).
> >Da Rock,
> >
> >I've been using n

Re: Browser

2012-01-04 Thread Peter Harrison

On 4 Jan 2012, at 21:26, Chad Perrin wrote:

> On Wed, Jan 04, 2012 at 08:48:35PM +0000, Peter Harrison wrote:
>> 
>> Chad,
>> 
>> xxxterm is in ports - at least I have it installed on my netbook and
>> although I can't remember how it got there, I never (ever) install
>> stuff that's not in ports.
> 
> Thanks for correcting that.  I did not find it last time I looked, though
> I may have relied on a nonstandard ports tree search tool that sometimes
> (unexpectedly) fails to update its search database.  It's good to hear
> xxxterm is available in ports.
> 
> 
>> 
>> I installed for exactly the same reasons you're looking at it - fast
>> lean browser with good (vi-like) keybindings.
> 
> I'm playing with it now.  I find I need to rebind a lot of functionality
> to make it feel really vi-like, and some of the bindings I would like to
> use are not possible with the keybinding configuration capabilities of
> xxxterm as they are currently implemented.  The maintainer has invited me
> to submit a patch; whether I do so will definitely depend on how much
> time I have to figure it all out.  In the meantime, I'm checking to see
> how well I can get by using it as my primary browser for a while.
> 
> 
>> 
>> Firefox runs like a dog on my atom processor, but I do still keep it
>> around for some stuff although compiling to keep their release schedule
>> is gradually turning me off.
> 
> I don't blame you.
> 
> 
>> 
>> First impressions of xxxterm are that it's very good. The keybinding is
>> quite as good as uzbl or vimperator on firefox, but it's live-able
>> with, and it seems to have fewer performance or configuration
>> downsides.
>> 
> 
> I find the keybindings of Uzbl and Pentadactyl better than those of
> xxxterm so far; I stopped using Vimperator in favor of Pentadactyl a
> while back, so I'm probably not qualified to comment on its current
> state.
> 
> Did you mean to say "The keybinding is *not* quite as good . . ." or did
> you mean it is, as you wrote it here?

Chad,

Perils of typing too fast.

Yes, I meant "the keybinding is /not/ quite as good"



Peter Harrison.

> 
> -- 
> Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

___
freebsd-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: Realtek RTL8191SEvB Linux driver?

2012-01-04 Thread Peter Harrison

On 4 Jan 2012, at 01:08, Da Rock wrote:

> On 01/04/12 10:38, Daniel Feenberg wrote:
>> 
>> 
>> On Wed, 4 Jan 2012, Da Rock wrote:
>> 
>>> On 01/04/12 02:10, Daniel Feenberg wrote:
>>>> 
>>>> 
>>>> On Wed, 4 Jan 2012, Da Rock wrote:
>>>> 
>>>>> On 01/03/12 22:10, Jerry wrote:
>>>>>> On Tue, 03 Jan 2012 16:44:30 +1000
>>>>>> Da Rock articulated:
>>>>>> 
>>>>>>> On 01/03/12 11:15, Jeffrey McFadden wrote:
>>>> 
>>>> 
>>>> Don't ndis(4) ndiscvt and ndisgen(8)  essentially accomplish what the OP 
>>>> is requesting? See the handbook section 12.8.1.1:
>>>> 
>>>>
>>>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html
>>>> 
>>>> or the man page for ndiscvt:
>>>> 
>>>>  http://www.gsp.com/cgi-bin/man.cgi?section=8&topic=ndiscvt
>>>> 
>>>> 
>>>> While doing the conversion looks a bit beyond what we would expect of an 
>>>> end-user, it does seem to offer a path for using hardware whose 
>>>> manufacturer does not support FreeBSD. Is there anything beyond licensing 
>>>> issues preventing such drivers from being included in the distribution, or 
>>>> made downloadable in FreeBSD form?
>> 
>>> Oh yes, it is possible, just not probable :)
>> 
>> At
>> 
>>  
>> http://sourceforge.net/apps/mediawiki/ndiswrapper/index.php?title=Category:USB
>> 
>> almost 800 compatible devices are listed. Not everything, but I have found 
>> that a willingness to spend a few dollars on a different card helps 
>> immensely in enjoying FreeBSD and Linux. For me at least it is easier to 
>> find a compatible card than to write a compatible driver.
> Indeed :)
> 
> I did notice that the card in question wasn't on that list. But my own 
> experience with ndiswrapper and wifi cards were far less than satisfactory- 
> the firmware always got in the road. But I may have just been too stupid at 
> the time :)
>> I would also observe that most people involved with computers, whether as 
>> users or developers, have little symphathy for people with different needs 
>> from the device. This is a great impediment to progress. It is a mistake to 
>> assume that because you don't need something, another person's desire for it 
>> is illegitimate. In this case, I fully agree that it is an injustice that 
>> hardware vendors do not supply FreeBSD drivers, but that does not mean that 
>> users requiring such drivers are immoral or of poor character, and therefore 
>> to be ignored or insulted. There is little that FreeBSD coders and users can 
>> do about that injustice directly, however it is within their power to 
>> mitigate it with the NDIS wrapper. If that wrapper allows another user to 
>> enter the FOSS world, that will (in the fullness of time) contribute to 
>> reforming the vendor.
> No they are absolutely not of poor character, I agree. Some messages can be 
> misconstrued, though, in that the replies can be terse and more logical than 
> sympathetic. Sometimes it is easier to replace with a different card than 
> flog a dead horse, although a user may take offense for emotional or 
> financial reasons more than logical.
> 
> Mitigation is a difficult path as I have found personally, although NDIS 
> helps immensely with wired nics (not so much of a problem these days), and I 
> believe Luigi Rizzo's work with the linuxulator and drivers is to be 
> applauded ten fold. It takes a great deal of time though- I put forward the 
> idea when I was still a BSD pup not entirely realising the challenges :) 
> Luigi (and his colleagues) has been working hard ever since to facilitate the 
> more challenging aspects of multimedia drivers (whether or not that had to do 
> with my comments or not, I don't know).

Da Rock,

I've been using ndis drivers successfully with a Broadcom chip in my Lenovo 
s10-e since I bought it some years ago - to the extent that I've not yet 
switched over to the native drivers now available.

I didn't find using ndisgen too problematic. Just a case of finding the right 
driver files and following the manpage. I'd strongly recommend trying it in 
preference to a usb stick (been there, done that) or buying new hardware - 
although I'd agree that depending on the model changing a mini-PCI card isn't 
necessarily that difficult (I changed it t an Intel card in my other Dell 
laptop some time ago - remember to attach the internal aerial cable!).

Regards,




Peter Harrison.


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

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

2012-01-04 Thread Peter Harrison

On 4 Jan 2012, at 16:54, Chad Perrin wrote:

> On Wed, Jan 04, 2012 at 07:17:47AM -0500, Daniel Lewis wrote:
>> Im running Free BSD 8.2 and was wondering whats a good web browser for
>> version 8.2?
>> Where and how would we install it? ( Im really new to unix)
> 
> There are at least as many answers to this as there are browsers, and
> probably quite a few more answers than that.
> 
> For minimalist browsers in the X Window System environment, I quite like
> Surf.
> 
> For its incredibly rich extension system, I use Firefox (and extensions
> such as Pentadactyl, Perspectives, HTTPS Everywhere, and Scrapbook).
> 
> For a combination of excellent GUI design, smooth built-in features, and
> stability (relative to Firefox), Chromium is a good choice (that's the
> open source project behind Google Chrome).
> 
> For a relatively lightweight, modular design that offers an interesting
> alternative interface for people who prefer keyboard navigation rather
> than mouse navigation, there's Uzbl (though the Pentadactyl extension for
> Firefox offers some of the same benefits).
> 
> For the most complete feature set of any console-based browser I've used
> (which means I don't necessarily need a running X Window System session
> to use it), there's w3m.
> 
> Some OpenBSD people have started working on the xxxterm project, which
> looks quite promising to me, and I intend to give it a serious look very
> soon.
> 
> There are others as well.  Others have already mentioned Epiphany,
> Midori, and Opera.  Lynx and Links are a couple more console-based
> browsers.  In addition to Firefox, the Mozilla guys also offer SeaMonkey.
> Konqueror is the canonical choice amongst KDE users, I think, and Flock
> has a small but dedicated following.  Conkeror, despite the similarity of
> its name to Konqueror, is not a KDE browser; instead, it appears to be a
> Firefox variant specifically designed for keyboard navigation (with a
> less vi-like set of default keybindings than Pentadactyl provides).  I
> think NetSurf is a popular browser for the Haiku OS, but has been ported
> to other OSes such as FreeBSD.
> 
> I don't have a favorite.  All browsers I have encountered disappoint me
> in some way (though I hold hope for xxxterm when I get around to giving
> it a try).  Each of the browsers I mentioned in their own paragraphs are
> browsers that I use at least occasionally, except for xxxterm -- which
> gets its own mention basically because it looks promising.  For the
> negatives:
> 
> Surf - It's so feature-minimal that I would need to build a bunch of
> custom scripts to interact with it and give me the functionality I need.
> I have not tried yet.
> 
> Firefox - It's getting huge, bloated, and unstable for my purposes, and
> its recent rapid iteration model regularly breaks the very things that
> keep me using it at all: the extensions.
> 
> Chromium - The extension system is (intentionally) brain-dead.
> 
> Uzbl - It's a bit of a pain in the butt to configure to my preferences,
> and the extension "system" is very, very ad-hoc.  I like some of the
> principles of the underlying architecture, but in practice I do not think
> it is as well executed as it should have been.
> 
> w3m - I find its keyboard navigation capabilities somewhat less than
> convenient and, as a console-based browser, that's kind of a fatal flaw.
> It's still better than any other console-based browser I've used though.
> Then, of course, there's the fact that it lacks the conveniences of the
> major GUI browsers (plugin support, for instance).
> 
> xxxterm - It's not in FreeBSD's ports system (yet), and I don't need a
> new custom software installation project this week.  Beyond that, I don't
> know what I may or may not dislike about it.

Chad,

xxxterm is in ports - at least I have it installed on my netbook and although I 
can't remember how it got there, I never (ever) install stuff that's not in 
ports.

I installed for exactly the same reasons you're looking at it - fast lean 
browser with good (vi-like) keybindings.

Firefox runs like a dog on my atom processor, but I do still keep it around for 
some stuff although compiling to keep their release schedule is gradually 
turning me off.

First impressions of xxxterm are that it's very good. The keybinding is quite 
as good as uzbl or vimperator on firefox, but it's live-able with, and it seems 
to have fewer performance or configuration downsides.



Peter Harrison.


> 
> the stuff in the paragraph listing a bunch of browsers - I like all of
> these less than any of the browsers I mentioned before this paragraph,
> for a variety of reasons.
>

Re: Realtek RTL8191SEvB Linux driver?

2012-01-03 Thread Peter Harrison

   Jerry,
   Sorry for top posting. Take offense if you like.
   The o= nly thing I have to say after experiencing the last few days
   on-list is to = (gently) point out that not everyone's goal in life is
   to run a system like= Windows. If that was what I wanted I'd be
   running Windows.
   I find F= reeBSD more intuitive and easier to use. And I'm prepared to
   accept that I = have to be a bit picky about the hardware I buy. I
   consider it a price wort= h paying.
   Would I like better hardware support? Of course! But if th= e price of
   that is a fundamental change to the OS interface, then I think t= he
   price is too high.
   It strikes me that Ubuntu are running very fas= t to turn Linux into
   Windows. They'll have good device support and a strong= GUI layer. I'm
   sure that will fit a lot of users needs, but /not mine/.
   People who wa= nt that should use Ubuntu. Or Windows. People who like
   the freedom and "con= figurability" offered by FreeBSD should use
   FreeBSD and accept the payoff. = And we should all just rub along,
   happy in the knowledge that we have chose= n the system we want.

   --
   Pe= ter Harrison
 _

   On 3 Jan 201= 2 12:11, Jerry  wrote:
   On Tue, 03= Jan 2012 16:44:30 +1000
   Da Rock articulated:
   
   > On 01= /03/12 11:15, Jeffrey McFadden wrote:
   > > I have a Toshiba Sate= llite U505-S2950 laptop with a Realtek
   > > RTL8191SEvB wireless= card built in. FreeBSD doesn't recognize
   this
   > > card and ca= n't use it, but Ubuntu does.
   > >
   > > Would it be po= ssible to go glom a Linux driver off the web
   > > someplace and = install it in my FreeBSD and get the wireless
   to
   > > work? I'm= using a USB Belkin in it now, but that's an unhandy
   > > thing = sticking out like it does.
   > >
   > Unfortunately the API= 's are completely different. Adrian Chadd
   does a 
   > lot of work on= Wifi in FreeBSD, but I'm not sure if its on the
   todo
   > list or no= t. Try a search on google...
   
   This is what drives me to pull my= hair out. I have stated several
   times
   that all the *nix/*BSD consort= ium needs to do to become truly
   competitive in the market is to devis= e a uniform API that works the
   same
   on FreeBSD as on Ubuntu and every= other non-windows based system.
   The
   concept is so simple that it ama= zes me that it was not
   implemented
   eons ago.
   
   The problem= is that the non-windows operating system authors all
   behave
   live lit= tle children. None of them can simply get along. The all
   have
   to insi= st that "they" have the best and everyone else is wrong.
   They
   swing b= etween Narcissism and Paranoia on any given day. You would
   have
   an ea= sier time getting a Jew and a Muslim to sit down at a table
   and
   enjoy= a ham dinner than you have of getting the powers that be in
   the
   non-= windows community to agree to anything, other than their hatred
   of
   Mi= crosoft of course.
   
   I have spoken with representatives of compa= nies, the last one
   being
   Brother International, who plain out stated = that they only
   support
   Microsoft (naturally - they offer the easiest = and best documented
   system for driver installation) and a vanilla Lin= ux solution.
   They
   openly stated that there is no way that they would = even attempt
   to
   write software for a market as fractured as the *nix/= *BSD community
   and
   then be straddled with the problem of supporting s= uch software.
   Hell,
   every time someone in the BSD community dotted an= "i" in the
   kernel
   source code the poor driver authors would have to = rewrite their
   device
   code. Certainly a task I would not want to be as= signed.
   
   Ubuntu is years ahead of FreeBSD in creating a useful = and fully
   functional desktop, I read where they were working on makin= g it
   possible to use a driver disk intended for Microsoft's Windows O= S
   usable in Ubuntu. They were working on a method of simply extractin   g
   the code needed directly from a CD and using it directly on Ubuntu.   Now
   that is what I call true "forward" thinking.
   
   The au= thors of FreeBSD, and to a lesser extend Linux remind me of
   group
   of = of passengers left floating in the ocean after their ship sank.
   The
   b= est case scenario at that point would be to be rescued by
   another
   pas= sing ship. However, while waiting for that to occur it would
   seem
   log= ical to grab onto any object that floated by and thereby allow
   the
   st= randed individual a better chance at survival. If these were
   Ubuntu
   s= urvivors there would be no question as to what they would choose
   to
   d= o, as well as some of the more enlighten *nix" users. However,
   the
   *B= SD users, especially the FreeBSD ones would rather drown than
   accept
   = a solution that was not counter to what everyone else was trying
   to
   a= ccomplish.
   
   I hav

Re: Default Samba port?

2011-11-14 Thread Peter Harrison

   Sorry for top posting - curse you 'phone mail client!
   OK that's exac= tly what I needed to know. Thanks.

   --
   Peter Harrison
 _

   On 13 Nov= 2011 15:37, Robert Simmons  wrote:
   On Sun, Nov 13, 2011 at 7:37 AM, Peter Harrison
wrote:
   > Can anyone advise me the appropriate = Samba port to install - the
   handbook refers to samba34, but I see samba35 a= nd samba36 in in
   ports. This is for a home server, so I'm not necessarily l= ooking for
   production standard, but something that "just works" on RELEASE-= 8.2
   amd64.
   
   samba36 is the current stable version. The other t= wo are kept for
   legacy compatibility. 35 and 34 are the last version= in those
   branches. Don't worry about them. The handbook has not be= en
   updated
   for two major revisions of samba.
   
   This is a c= omment for the others on the list, not directly at
   you:
   maybe ports l= ike this should have a directory samba that always
   points
   to the most= recent stable version. Then the handbook would not
   need
   to be updat= ed to reflect version changes like this. It would only
   need to be up= dated if the actual instructions change or become
   outdated?
   ___= 
   freebsd-questions@freebs= d.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-= questions
   To unsubscribe, send any mail to "freebsd-questions-unsubsc   
r...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Default Samba port?

2011-11-14 Thread Peter Harrison

   Sorry for top posting - my 'phone makes it awkward.
   Thanks for the s= uggestion. What default package would be delivered
   in this way on 8.2-R?

   --
   Peter Harrison
 _

   On 13 Nov 2011 14:39, pete wright  wrote:
   On Sun, Nov 13, 2011 at 4:37 AM, Pe= ter Harrison
wrote:
   > = Hello list,
   >
   > Can anyone advise me the appropriate Samb= a port to install - the
   handbook refers to samba34, but I see samba35 and s= amba36 in in
   ports. This is for a home server, so I'm not necessarily looki= ng for
   production standard, but something that "just works" on RELEASE-8.2amd64.
   >
   
   your best bet may be to install a prebuilt p= ackage via:
   pgk_add -r samba
   
   that is unless you need som= e non-standard knobs tuned.
   
   -pete
   
   
   -- 
pete wright
   www.nycbug.org

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

Default Samba port?

2011-11-13 Thread Peter Harrison
Hello list,

Can anyone advise me the appropriate Samba port to install - the handbook 
refers to samba34, but I see samba35 and samba36 in in ports. This is for a 
home server, so I'm not necessarily looking for production standard, but 
something that "just works" on RELEASE-8.2 amd64.

Thanks,




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


Re: GEOM_MIRROR GPT table corrupt or invalid

2011-09-27 Thread peter harrison
On 27 September 2011 22:58, Johan Hendriks  wrote:

> peter harrison schreef:
>
>  Hello list,
>>
>> I have a problem with a software RAID1. This was created under Freenas
>> 0.7.2
>> (using the web interface - FreeBSD 7.3 under the hood) which as I
>> understand
>> it uses GPT and GEOM_MIRROR. This Freenas is running on AMD64 on an ESXi
>> 4.1
>> host with the 2 drives for the mirror passed through as raw disks to the
>> Freenas guest - if that makes a difference.
>>
>> This mirror now fails to mount on boot. Checking the boot messages I see
>> this straight after the drives are detected:
>>
>> GEOM: da1: the secondary GPT table is corrupt or invalid.
>> GEOM: da1: using the primary only -- recovery suggested
>>
>> Further on I see:
>>
>> GEOM_MIRROR: Force device data start due to timeout
>> GEOM_MIRROR: Device mirror/data launched (1/2)
>>
>> The mirror is not mounted when booting is completed - no further messages
>> during boot - mount says:
>>
>> freenas:~# mount
>> /dev/da0s1a on / (ufs, local, soft-updates)
>> devfs on /dev (devfs, local)
>> procfs on /proc (procfs, local)
>>
>> When I try to mount it manually I get a continually scrolling g_vfs error:
>>
>> g_vfs_done():mirror/datap1[**READ(offset=-**636932692096956416, length
>> =16384)]
>> error = 5
>>
>> and the guest becomes unresponsive.
>>
>> GEOM isn't something I'm really familiar with - so any insight on how this
>> happened would be interesting. But the main question is, is there anyway
>> of
>> getting the data off this disk? (I have some backups, but they're not
>> complete).
>>
>> Thanks for any help.
>>
>>
>>
>> Peter Harrison.
>>
>>  You can not use gmirror and GPT at the same time on the whole disk.
>
> Both use the same diskspace to write there meta data.
> What you can do is to mirror the partitions seperately.
> A nice howto you can find here
> http://www.unix-heaven.org/**node/20 <http://www.unix-heaven.org/node/20>
>


Thanks Johan, I'll check the link out. This mirror has been running OK for
the last 6 months - so perhaps I misunderstood how FreeNAS set it up in the
first place?


>
> You can recover the GPT, but then the mirror can not load.
> if you recreate the mirror after that, the gpt label gets corrupt.
>

No hope of being able to recover any data then?

Thanks again,



Peter Harrison.

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


GEOM_MIRROR GPT table corrupt or invalid

2011-09-27 Thread peter harrison
Hello list,

I have a problem with a software RAID1. This was created under Freenas 0.7.2
(using the web interface - FreeBSD 7.3 under the hood) which as I understand
it uses GPT and GEOM_MIRROR. This Freenas is running on AMD64 on an ESXi 4.1
host with the 2 drives for the mirror passed through as raw disks to the
Freenas guest - if that makes a difference.

This mirror now fails to mount on boot. Checking the boot messages I see
this straight after the drives are detected:

GEOM: da1: the secondary GPT table is corrupt or invalid.
GEOM: da1: using the primary only -- recovery suggested

Further on I see:

GEOM_MIRROR: Force device data start due to timeout
GEOM_MIRROR: Device mirror/data launched (1/2)

The mirror is not mounted when booting is completed - no further messages
during boot - mount says:

freenas:~# mount
/dev/da0s1a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
procfs on /proc (procfs, local)

When I try to mount it manually I get a continually scrolling g_vfs error:

g_vfs_done():mirror/datap1[READ(offset=-636932692096956416, length =16384)]
error = 5

and the guest becomes unresponsive.

GEOM isn't something I'm really familiar with - so any insight on how this
happened would be interesting. But the main question is, is there anyway of
getting the data off this disk? (I have some backups, but they're not
complete).

Thanks for any help.



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


RE: em0 NIC slow on 8.2-p1 amd64?

2011-07-21 Thread Peter Harrison
Sorry for top posting. My 'phone makes it awkward.

I use ndis for the wifi connection in my netbook. Was trivial to convert the 
Windows driver, and it works without issue.

Anyone know whether it could do 'N' class devices, to address Jerry's 
longstanding (and vocal, and justified) complaint - so that we can have an 
argument about why I'd rather configure my wireless manually in a text file and 
not have it done automagically by the OS and not be side-tracked by the 
non-availability of drivers?



--
Peter Harrison
www.4harrisons.blogspot.com
-Original Message-
From: per...@pluto.rain.com
Sent:  21/07/2011 13:05:54
To: nec...@retena.com
Cc: questi...@freebsd.org; mwlu...@blackhelicopters.org
Subject:  Re: em0 NIC slow on 8.2-p1 amd64?

Eduardo Morras  wrote:

> If it's not connected at 1 gigabit or not full duplex you can
> force it with ifconfig. If there are too much errors check the
> cable.

Last I heard, this does _not_ work with gigabit unless you can
force-configure both ends of the link.  The negotiation protocol is
such that force-configuring just one end _guarantees_ a mismatch.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

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


Re: Managing ESXi from FreeBSD...

2011-01-24 Thread Peter Harrison
Krad,

Sorry for top posting - my phone makes it awkward.

Thanks - although I don't intend to admin this over the internet, just within 
my home network. Are there any pre-built appliances specifically to admin the 
host?

Thanks again,


Peter.

-original message-
Subject: Re: Managing ESXi from FreeBSD...
From: krad 
Date: 24/01/2011 10:22

On 23 January 2011 22:41, Peter Harrison  wrote:
> Hello list,
>
> I've just started messing around with my new Proliant. I've installed ESXi 
> 4.1 and have a VM up and running with 8.2-RC2 using the (Windows only) 
> vSphere client.
>
> I don't want to be stuck using Windows to manage this machine though. What 
> are my options for managing this machine and the VM's from my FreeBSD laptop? 
> I've enable ssh access, but can I control all the VM's this way? Is there a 
> command line or X-Windows option for remotely management?
>
> Any tips or suggestions gratefully receivied!
>
> TIA.
>
>
>
> Peter Harrison.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>


There are command line tools for linux I believe, not sure if they
will work on freebsd though. However what I have done on my esx is
install a freebsd host, that has 2x virtual nics. One has a public ip
and the other goes into the vmware management lan. I then enabled ssh
on the esxi host. I can then get a shell and do all manner of
wonderful things 8). The freebsd box provided the security for the
esxi host by locking down access with pf and a limited number of accts

___
freebsd-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: Managing ESXi from FreeBSD...

2011-01-24 Thread Peter Harrison
Kevin,

Sorry for top posting - my phone makes it awkward.

I hadn't thought of running a Windows vm. Do you think that would work as a vm 
on the server with a connection via RDP?

Disappointing that the tools are so Windows-centric. Happy to consider Xen - is 
that harder to deploy though?

Thanks,


Peter.

-original message-
Subject: Re: Managing ESXi from FreeBSD...
From: Kevin Wilcox 
Date: 23/01/2011 22:46

On 23 January 2011 17:41, Peter Harrison  wrote:

> I don't want to be stuck using Windows to manage this machine though. What 
> are my options for managing this machine and the VM's from my FreeBSD laptop? 
> I've enable ssh access, but can I control all the VM's this way? Is there a 
> command line or X-Windows option for remotely management?

I don't have SSH access to our ESX servers at work but I do have
vSphere access. I've found that the easiest thing for me to do is to
just keep a Windows VM via VirtualBox.

Sadly, it looks like XenServer has the same issue - the really nice
GUI is basically Windows only. At least Xen still has a rich CLI
option, my understanding is that as VMWare does away with the console,
they're going GUI/Windows-management only.

kmw

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


Managing ESXi from FreeBSD...

2011-01-23 Thread Peter Harrison
Hello list,

I've just started messing around with my new Proliant. I've installed ESXi 4.1 
and have a VM up and running with 8.2-RC2 using the (Windows only) vSphere 
client.

I don't want to be stuck using Windows to manage this machine though. What are 
my options for managing this machine and the VM's from my FreeBSD laptop? I've 
enable ssh access, but can I control all the VM's this way? Is there a command 
line or X-Windows option for remotely management?

Any tips or suggestions gratefully receivied!

TIA.



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


hald doesn't start on boot...

2010-11-04 Thread Peter Harrison
Dear all,

I'm having a problem with hald.

I have the following in my rc.conf:

hald_enable="YES"
dbus_enable="YES"

and I see a "starting hald" message on boot, with seemingly no errors. Yet 
afterwards hald is not running - but if I then run

/usr/local/etc/rc.d/hald start

hald starts without complaint, no messages, no problems. So why won't it start 
at boot?

This is on 8.1-RELEASE.

Does anyone have any ideas on how to track down what the problem is, and fix it?

TIA.



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


Re: ssh key authentication problem...

2010-10-30 Thread Peter Harrison
On Thu, Oct 28, 2010 at 10:18:41PM -0400, Mikel King wrote:
> Peter,
> 
> Have you verified permissions of 700 on .ssh and 640 on authorized_keys and 
> authorized_keys2? If you do not have an authorized_keys2 simply copy the 
> former to that name and give it a go.
> 
> Cheers,
> Mikel King

Mikel - you were right I didn't have the permission correct, but it doesn't 
work if I have it set to anything other than 0600 for authorized_keys? Thanks 
for the help.


Peter Harrison.

> 
>   _  
> 
> From: Peter Harrison [mailto:peter.piggy...@virgin.net]
> To: questi...@freebsd.org
> Sent: Thu, 28 Oct 2010 15:39:53 -0400
> Subject: ssh key authentication problem...
> 
> Can anyone help me debug an ssh key-based authentication problem?
>   
>   I have an 8.1-R server running sshd, with one user account. On the server, 
> I've used ssh-keygen to generate id_rsa  and id_rsa.pub.
>   
>   On my laptop I then pulled the id_rsa.pub file over and:
>   
>   % cat id_rsa.pub >> .ssh/authorized_keys
>   
>   Now I try to login from the laptop (also 8.1-R) to the server. It pauses 
> for a second and presents me with a 'Password:' prompt, so obviously the key 
> authentication isn't working.
>   
>   He's a debugging chunk from sshd run with '-ddd' flags:
>   
>   debug1: PAM: initializing for "peter"
>   debug1: userauth-request for user peter service ssh-connection method 
> publickey
>   debug1: attempt 1 failures 0
>   debug2: input_userauth_request: try method publickey
>   debug1: test whether pkalg/pkblob are acceptable
>   debug3: mm_key_allowed entering
>   debug3: mm_request_send entering: type 20
>   debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED
>   debug3: mm_request_receive_expect entering: type 21
>   debug3: mm_request_receive entering
>   debug1: PAM: setting PAM_RHOST to "192.168.1.4"
>   debug2: monitor_read: 45 used once, disabling now
>   debug3: mm_request_receive entering
>   debug3: monitor_read: checking request 3
>   debug3: mm_answer_authserv: service=ssh-connection, style=
>   debug2: monitor_read: 3 used once, disabling now
>   debug3: mm_request_receive entering
>   debug3: monitor_read: checking request 20
>   debug3: mm_answer_keyallowed entering
>   debug3: mm_answer_keyallowed: key_from_blob: 0x286067c0
>   debug1: trying public key file /home/peter/.ssh/authorized_keys
>   debug1: fd 4 clearing O_NONBLOCK
>   debug3: secure_filename: checking '/usr/home/peter/.ssh'
>   debug3: secure_filename: checking '/usr/home/peter'
>   debug3: secure_filename: terminating check at '/usr/home/peter'
>   debug2: key not found
>   debug1: trying public key file /home/peter/.ssh/authorized_keys2
>   Failed publickey for peter from 192.168.1.4 port 43046 ssh2
>   debug3: mm_answer_keyallowed: key 0x286067c0 is not allowed
>   debug3: mm_request_send entering: type 21
>   debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa
>   debug3: mm_request_receive entering
>   debug1: userauth-request for user peter service ssh-connection method 
> keyboard-interactive
>   debug1: attempt 2 failures 1
>   debug2: input_userauth_request: try method keyboard-interactive
>   debug1: keyboard-interactive devs 
>   
>   Anyone suggest what I'm doing wrong?
>   
>   TIA.
>   
>   
>   Peter Harrison.
>   
>   
>   
>   ___
>   freebsd-questions@freebsd.org mailing list
>   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>   To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> 
___
freebsd-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: ssh key authentication problem...

2010-10-30 Thread Peter Harrison
On Thu, Oct 28, 2010 at 02:17:14PM -0700, Chuck Swiger wrote:
> Hi--
> 
> On Oct 28, 2010, at 12:39 PM, Peter Harrison wrote:
> > debug1: trying public key file /home/peter/.ssh/authorized_keys
> > debug1: fd 4 clearing O_NONBLOCK
> > debug3: secure_filename: checking '/usr/home/peter/.ssh'
> > debug3: secure_filename: checking '/usr/home/peter'
> > debug3: secure_filename: terminating check at '/usr/home/peter'
> > debug2: key not found
> 
> It's likely that the permissions to the private key are wrong somewhere in 
> the path.  Something like "chmod go-w / /usr /usr/home /usr/home/peter 
> /usr/home/peter/.ssh /usr/home/peter/.ssh/id_rsa" is likely to help
> 
> Regards,
> -- 
> -Chuck
> 

You were right that there was a permissions problem in there too. It's sorted 
now, thanks for the assist.



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


Re: ssh key authentication problem...

2010-10-30 Thread Peter Harrison
On Thu, Oct 28, 2010 at 10:13:12PM +0100, krad wrote:
> On 28 October 2010 20:39, Peter Harrison  wrote:
> 
> > Can anyone help me debug an ssh key-based authentication problem?
> >
> > I have an 8.1-R server running sshd, with one user account. On the server,
> > I've used ssh-keygen to generate id_rsa  and id_rsa.pub.
> >
> > On my laptop I then pulled the id_rsa.pub file over and:
> >
> > % cat id_rsa.pub >> .ssh/authorized_keys
> >
> > Now I try to login from the laptop (also 8.1-R) to the server. It pauses
> > for a second and presents me with a 'Password:' prompt, so obviously the key
> > authentication isn't working.
> >
> > He's a debugging chunk from sshd run with '-ddd' flags:
> >
> > debug1: PAM: initializing for "peter"
> > debug1: userauth-request for user peter service ssh-connection method
> > publickey
> > debug1: attempt 1 failures 0
> > debug2: input_userauth_request: try method publickey
> > debug1: test whether pkalg/pkblob are acceptable
> > debug3: mm_key_allowed entering
> > debug3: mm_request_send entering: type 20
> > debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED
> > debug3: mm_request_receive_expect entering: type 21
> > debug3: mm_request_receive entering
> > debug1: PAM: setting PAM_RHOST to "192.168.1.4"
> > debug2: monitor_read: 45 used once, disabling now
> > debug3: mm_request_receive entering
> > debug3: monitor_read: checking request 3
> > debug3: mm_answer_authserv: service=ssh-connection, style=
> > debug2: monitor_read: 3 used once, disabling now
> > debug3: mm_request_receive entering
> > debug3: monitor_read: checking request 20
> > debug3: mm_answer_keyallowed entering
> > debug3: mm_answer_keyallowed: key_from_blob: 0x286067c0
> > debug1: trying public key file /home/peter/.ssh/authorized_keys
> > debug1: fd 4 clearing O_NONBLOCK
> > debug3: secure_filename: checking '/usr/home/peter/.ssh'
> > debug3: secure_filename: checking '/usr/home/peter'
> > debug3: secure_filename: terminating check at '/usr/home/peter'
> > debug2: key not found
> > debug1: trying public key file /home/peter/.ssh/authorized_keys2
> > Failed publickey for peter from 192.168.1.4 port 43046 ssh2
> > debug3: mm_answer_keyallowed: key 0x286067c0 is not allowed
> > debug3: mm_request_send entering: type 21
> > debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa
> > debug3: mm_request_receive entering
> > debug1: userauth-request for user peter service ssh-connection method
> > keyboard-interactive
> > debug1: attempt 2 failures 1
> > debug2: input_userauth_request: try method keyboard-interactive
> > debug1: keyboard-interactive devs
> >
> > Anyone suggest what I'm doing wrong?
> >
> > TIA.
> >
> >
> > Peter Harrison.
> >
> >
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > freebsd-questions-unsubscr...@freebsd.org"
> >
> 
> 
> you have the setup the keys the wrong way around by the sound of it. The ssh
> server should have the public keys only in the authorized_keys files, and
> your client/desktop should have the private keys in your ~/.ssh

Now I feel like a right berk. Thanks for putting me on the right track, I have 
it working now.

Regards,



Peter Harrison.
C
C
B
D
Now I feel like a right berk. Thanks I have it sorted and working now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ssh key authentication problem...

2010-10-28 Thread Peter Harrison
Can anyone help me debug an ssh key-based authentication problem?

I have an 8.1-R server running sshd, with one user account. On the server, I've 
used ssh-keygen to generate id_rsa  and id_rsa.pub.

On my laptop I then pulled the id_rsa.pub file over and:

% cat id_rsa.pub >> .ssh/authorized_keys

Now I try to login from the laptop (also 8.1-R) to the server. It pauses for a 
second and presents me with a 'Password:' prompt, so obviously the key 
authentication isn't working.

He's a debugging chunk from sshd run with '-ddd' flags:

debug1: PAM: initializing for "peter"
debug1: userauth-request for user peter service ssh-connection method publickey
debug1: attempt 1 failures 0
debug2: input_userauth_request: try method publickey
debug1: test whether pkalg/pkblob are acceptable
debug3: mm_key_allowed entering
debug3: mm_request_send entering: type 20
debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED
debug3: mm_request_receive_expect entering: type 21
debug3: mm_request_receive entering
debug1: PAM: setting PAM_RHOST to "192.168.1.4"
debug2: monitor_read: 45 used once, disabling now
debug3: mm_request_receive entering
debug3: monitor_read: checking request 3
debug3: mm_answer_authserv: service=ssh-connection, style=
debug2: monitor_read: 3 used once, disabling now
debug3: mm_request_receive entering
debug3: monitor_read: checking request 20
debug3: mm_answer_keyallowed entering
debug3: mm_answer_keyallowed: key_from_blob: 0x286067c0
debug1: trying public key file /home/peter/.ssh/authorized_keys
debug1: fd 4 clearing O_NONBLOCK
debug3: secure_filename: checking '/usr/home/peter/.ssh'
debug3: secure_filename: checking '/usr/home/peter'
debug3: secure_filename: terminating check at '/usr/home/peter'
debug2: key not found
debug1: trying public key file /home/peter/.ssh/authorized_keys2
Failed publickey for peter from 192.168.1.4 port 43046 ssh2
debug3: mm_answer_keyallowed: key 0x286067c0 is not allowed
debug3: mm_request_send entering: type 21
debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa
debug3: mm_request_receive entering
debug1: userauth-request for user peter service ssh-connection method 
keyboard-interactive
debug1: attempt 2 failures 1
debug2: input_userauth_request: try method keyboard-interactive
debug1: keyboard-interactive devs 

Anyone suggest what I'm doing wrong?

TIA.


Peter Harrison.



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


Re: ACPI & battery issues

2010-10-04 Thread Peter Harrison
Saturday,  2 October 2010 at 17:01:41 -0400, Eitan Adler said:
> On Sat, Oct 2, 2010 at 4:01 PM,   wrote:
> > I get the same messages with the stock acpi on a Lenovo S10e. Someone on 
> > the acpi list (who's name I forget) wrote a patch which removes the error. 
> > If you think it might help I'll root it out and forward it on.
> 
> 
> I'll be happy to take a look at the patch and see if it solves my
> problem. does the patch just remove the error message or solve a
> specific problem that might be causing the issue?

Eitan,

I've attached the patch - this came from David Naylor on the ACPI list. If I 
understand what he told me at the time, it doesn't fix the problem entirely - 
but I can't pretend I understand ACPI. I know it means that on my S10e I no 
longer get spammed with ACPI errors - and that my battery status and shutdown 
work properly.

The patch applies to /usr/src/sys/dev/acpica/acpi_ec.c

It needs some new entries in /boot/loader.conf to adjust the timeouts and 
delays - which you can tinker with. The settings given are what works for me - 
but search the acpi list archives for David's original email:

debug.acpi.ec.delay="200"
debug.acpi.ec.gpe="1"
debug.acpi.ec.timeout="100"

Hope it helps,



Peter Harrison.

> 
> 
> 
> 
> >
> ...
> > I see
> > ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for
> > [EmbeddedControl] (20100331/evregion-588)
> > ACPI Error (psparse-0633): Method parse/execution failed
> > [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6adba60),
> > AE_NO_HARDWARE_RESPONSE
> >
> > repeatedly in dmesg
> >
> > sysctl's relating to battery information is also slow:
> > % time sysctl hw.acpi.battery.state
> > hw.acpi.battery.state: 7
> > sysctl hw.acpi.battery.state  0.00s user 2.18s system 72% cpu 3.006 total
> >
> > % time sysctl hw.acpi.battery
> > hw.acpi.battery.life: -1
> > hw.acpi.battery.time: -1
> > hw.acpi.battery.state: 7
> > hw.acpi.battery.units: 1
> > hw.acpi.battery.info_expire: 5
> > sysctl hw.acpi.battery  0.00s user 6.58s system 67% cpu 9.779 total
> >
> > also note that the life and time are both negative one.
> >
> > This is on a Lenovo G530 laptop.
> -- 
> Eitan Adler
___
freebsd-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: Why network doesn't get initialized on system startup?

2010-08-19 Thread Peter Harrison
Thursday, 19 August 2010 at  9:08:21 -0700, Yuri said:
> On 08/19/2010 03:10, Glen Barber wrote:
> >Are you loading the ndis(4) kernel module at boot via loader.conf?
> >   
> 
> Yes, all ndis-related drivers (ndis.ko, if_ndis.ko and actual ndis 
> driver converted from windows one) are loaded from loader.conf.
> When system comes up ndis0 is fully functional and I can initialize it 
> by hand fine. It just doesn't happen on startup.

I can't remember where I saw this, but when you're using ndis you need to use 
SYNCDHCP instead of DHCP in ifconfig/rc.conf. Works for me no problem with a 
broadcom chip using ndis.

Regards,



Peter Harrison.

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


RE: Nanobsd not booting...

2010-06-15 Thread peter harrison
Never mind - I found what I needed in the nanobsd script itself. I
needed to set the boot drive and avoid a serial console. Thanks
anyway.

Peter.

-Original Message-
From: Peter Harrison 
Sent: 14 June 2010 21:57
To: questi...@freebsd.org 
Subject: Nanobsd not booting...


I need some help with Nanobsd. I've built an image for testing
purposes with the sample conf file from the howto, and using the
generic kernel config. The build runs without errors.

After dd'ing the image to a usb stick, I can mount the partitions and
see the contents (.COPYRIGHT file and root directory for instance),
fdisk shows partition 1 marked active. But the stick won't boot - the
machine in question definitely supports usb boot (it boots the
8.0-RELEASE image off the same usb stick without problem).

It POSTs fine, then says "Verifying DMI pool data..."

And then I just get a flashing underscore.

Any thoughts as to what I've done wrong and how to fix it?


TIA


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


Nanobsd not booting...

2010-06-14 Thread Peter Harrison
I need some help with Nanobsd. I've built an image for testing purposes with 
the sample conf file from the howto, and using the generic kernel config. The 
build runs without errors.

After dd'ing the image to a usb stick, I can mount the partitions and see the 
contents (.COPYRIGHT file and root directory for instance), fdisk shows 
partition 1 marked active. But the stick won't boot - the machine in question 
definitely supports usb boot (it boots the 8.0-RELEASE image off the same usb 
stick without problem).

It POSTs fine, then says "Verifying DMI pool data..."

And then I just get a flashing underscore.

Any thoughts as to what I've done wrong and how to fix it?


TIA


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


RE: Small webserver recommendations

2010-06-10 Thread peter harrison
Thanks for the recommendation. I'm pretty much settled on thttpd now
though - small, does cgi, no dependencies.

Thanks,

Peter.

-Original Message-
From: Nathan Peet Maier 
Sent: 09 June 2010 23:38
To: freebsd-questions@freebsd.org 
Subject: Re: Small webserver recommendations


There is a webserver bundled with a framework called web2py.
www.web2py.org.  You can run it as a user from BSD or Linux.
-Nate Maier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Small webserver recommendations

2010-06-07 Thread peter harrison
Thanks, I never realised thttpd could run cgi. Looks simple to configure too.

Cheers,

Peter.


-Original Message-
From: andrew clarke 
Sent: 07 June 2010 11:08
To: peter harrison 
Cc: questi...@freebsd.org 
Subject: Re: Small webserver recommendations


On Sun 2010-06-06 18:44:10 UTC+0100, peter harrison
(four.harris...@googlemail.com) wrote:

> I'm looking for a small webserver to add to a nanobsd image, so preferably
> with few dependencies too. Needs to be able to run Perl cgi's as well.
> Anyone willing to make a recommendation?

thttpd?

http://acme.com/software/thttpd/
___
freebsd-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: Small webserver recommendations

2010-06-06 Thread peter harrison
Sorry for top posting (cheapo windows phone). Will it run cgi? Thanks
for the suggestion.

Peter.


-Original Message-
From: Eitan Adler 
Sent: 06 June 2010 21:42
To: peter harrison 
Cc: questi...@freebsd.org 
Subject: Re: Small webserver recommendations


On Sun, Jun 6, 2010 at 8:44 PM, peter harrison
 wrote:
> Hello all,
>
> I'm looking for a small webserver to add to a nanobsd image, so preferably
> with few dependencies too. Needs to be able to run Perl cgi's as well.
> Anyone willing to make a recommendation?
>

lighttpd is a decent lightweight web server

% pwd
/usr/ports/www/lighttpd

% make all-depends-list
/usr/ports/devel/libtool22
/usr/ports/devel/pkg-config
/usr/ports/devel/pcre
/usr/ports/www/spawn-fcgi
/usr/ports/devel/gmake



-- 
Eitan Adler
___
freebsd-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: Small webserver recommendations

2010-06-06 Thread peter harrison
Sorry for top posting (damn windows phone). I never thought of using
Perl directly, I'll look at that, thanks for the suggestion.

Peter.


-Original Message-
From: Alejandro Imass 
Sent: 06 June 2010 19:58
To: peter harrison 
Cc: questi...@freebsd.org 
Subject: Re: Small webserver recommendations


On Sun, Jun 6, 2010 at 1:44 PM, peter harrison
 wrote:
> Hello all,
>
> I'm looking for a small webserver to add to a nanobsd image, so preferably
> with few dependencies too. Needs to be able to run Perl cgi's as well.

If you are using Perl, might as well use any of the http servers
already implemented in Perl, for example:
HTTP::Server::Simple, and of course it's integrated with Perl CGI

Best,
Alejandro Imass

> Anyone willing to make a recommendation?
>
> Thanks in advance,
>
> Peter.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Small webserver recommendations

2010-06-06 Thread peter harrison
Hello all,

I'm looking for a small webserver to add to a nanobsd image, so preferably
with few dependencies too. Needs to be able to run Perl cgi's as well.
Anyone willing to make a recommendation?

Thanks in advance,

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


Automounting large fat usb drive...

2010-02-28 Thread Peter Harrison
I'm having a problem automounting a large (298gb) usb hard disk.

I use Xfce and have thunar set up to automount via hal. This works fine for ufs 
formatted usb disks and small fat usb disks.

But it won't mount my 298gb disk, failing with the error:

mount_msdosfs: /dev/msdosfs/ELEMENTS: Disk too big, try '-o large' mount 
option: Invalid argument .

My /usr/local/etc/hal/fdi/policy/preferences.fdi looks like this:



 
  

  
true


  



and I can see the 'large' option listed against the device in lshal.

Mounting from the command line with

% mount_msdosfs -o large /dev/da0s1 mnt/

works fine

Any advice on what I need to do to make hal mount this thing?

Thanks in advance.


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


Re: Perl upgrade problem...

2010-02-12 Thread Peter Harrison
Friday, 12 February 2010 at 21:03:54 +, Matthew Seaman said:
> On 12/02/2010 20:50, Adam Vande More wrote:
> > On Fri, Feb 12, 2010 at 2:44 PM, Peter Harrison
> > wrote:
> > 
> >> Up till now I've kept Perl on my machine at 5.8.9. I now see from UPDATING
> >> that upgrading to 5.10 is recommended.
> >>
> >> However, when I follow the instructions, I get the following error:
> >>
> >> laptop# portupgrade -o lang/perl5.10 -f perl-5.8.9_3
> >>
> > 
> > if you're referring to this:
> > 
> > 20090911:
> >   AFFECTS: users of lang/perl5.10
> >   AUTHOR: s...@freebsd.org
> > 
> >   lang/perl5.10 has been updated to 5.10.1.  You should update everything
> >   that depends on perl.  The easiest way to do that is to use
> >   "perl-after-upgrade" script supplied with lang/perl5.10.  Please see its
> >   manual page for details.
> > 
> >   If you want switch to lang/perl5.10 from lang/perl5.8 please follow
> >   instructions in the entry 20090328 in this file.
> > 
> > Then you have misunderstood what it's saying.  That only applies to folks
> > already running 5.10 and if you have no need for that then do nothing
> > further.  If you really believe you need to run 5.10 then you should follow
> > the complete instructions from the entry.
> > 
> 
> Err... he's following the right instructions.  It's just that since
> those instructions were written there have been some badly thought-out
> changes in bsd.ports.mk.  Any time you try and use portupgrade to
> replace one port with another now, you'll likely need to tell it to
> ignore CONFLICTS settings:
> 
># portupgrade -m DISABLE_CONFLICTS=yes -o lang/perl5.10 \
> -f perl-5.8.9_3
> 
> Then reinstall every port that depends on perl -- you can't use
> perl_after_upgrade for this update: the delta in version numbers is too
> large.
> 
>   Cheers,
> 
>   Matthew


OK - that seems inconvenient, but I guess it makes sense.

I remember some stuff on the list about this earlier now that you mention it. 
Seems to have made a bit of a hassle of replacing one port with another.

Thanks for the advice.


Peter.



> 
> -- 
> Dr Matthew J Seaman MA, D.Phil.  7 Priory Courtyard, Flat 3
> Black Earth Consulting   Ramsgate
>  Kent, CT11 9PW
> Free and Open Source Solutions   Tel: +44 (0)1843 580647
> 


___
freebsd-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: Perl upgrade problem...

2010-02-12 Thread Peter Harrison
Friday, 12 February 2010 at 14:50:56 -0600, Adam Vande More said:
> On Fri, Feb 12, 2010 at 2:44 PM, Peter Harrison
> wrote:
> 
> > Up till now I've kept Perl on my machine at 5.8.9. I now see from UPDATING
> > that upgrading to 5.10 is recommended.
> >
> > However, when I follow the instructions, I get the following error:
> >
> > laptop# portupgrade -o lang/perl5.10 -f perl-5.8.9_3
> >
> 
> if you're referring to this:
> 
> 20090911:
>   AFFECTS: users of lang/perl5.10
>   AUTHOR: s...@freebsd.org
> 
>   lang/perl5.10 has been updated to 5.10.1.  You should update everything
>   that depends on perl.  The easiest way to do that is to use
>   "perl-after-upgrade" script supplied with lang/perl5.10.  Please see its
>   manual page for details.
> 
>   If you want switch to lang/perl5.10 from lang/perl5.8 please follow
>   instructions in the entry 20090328 in this file.
> 
> Then you have misunderstood what it's saying.  That only applies to folks
> already running 5.10 and if you have no need for that then do nothing
> further.  If you really believe you need to run 5.10 then you should follow
> the complete instructions from the entry.

I don't need 5.10, but I was prompted to think about upgrading from 20100205.

I was trying to follow 20090328, I ran

pkgdb -Ff (no problem)
then
portupgrade -o lang/per5.10 -f perl-5.8.9

which generated the error given.


Peter Harrison.


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


Perl upgrade problem...

2010-02-12 Thread Peter Harrison
Up till now I've kept Perl on my machine at 5.8.9. I now see from UPDATING that 
upgrading to 5.10 is recommended.

However, when I follow the instructions, I get the following error:

laptop# portupgrade -o lang/perl5.10 -f perl-5.8.9_3
--->  Upgrading 'perl-5.8.9_3' to 'perl-5.10.1' (lang/perl5.10)
--->  Building '/usr/ports/lang/perl5.10'
===>  Cleaning for perl-5.10.1

===>  perl-5.10.1 conflicts with installed package(s): 
  perl-5.8.9_3

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/lang/perl5.10.
*** Error code 1

Stop in /usr/ports/lang/perl5.10.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20100212-42732-1onozbt-0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=perl-5.8.9_3 UPGRADE_PORT_VER=5.8.9_3 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! lang/perl5.10 (perl-5.8.9_3)  (unknown build error)


Any advice on how to fix?

Thanks in advance.


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


RE: Any chance ZFS becoming default?

2009-12-19 Thread peter harrison
-Original Message-
From: Victor Lyapunov 
Sent: 19 December 2009 14:42
To: FreeBSD Mailing List 
Subject: Any chance ZFS becoming default?

Hi everybody,
Sorry for asking dumb questions, but is there any chance zfs becoming
default FS in FreeBSD? If so, how soon might this happen?

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


I hope not. I run FreeBSD on a netbook, an old laptop, and an old P3
server. ZFS would be a disaster for me.

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


Re: Problem installing dvdauthor...

2009-11-02 Thread Peter Harrison
Sunday,  1 November 2009 at 23:43:26 +0100, usleepl...@gmail.com said:
> Dear Peter,
> 
> On Sat, Oct 31, 2009 at 8:18 PM, Peter Harrison
> wrote:
> 
> > Hi all,
> >
> > Can anyone advise what I'm doing wrong trying to install
> > multimedia/dvdauthor. Here's the end of the error:
> >
> > if cc -DHAVE_CONFIG_H -I. -I. -I.  -DSYSCONFDIR="\"/usr/local/etc\""
> > -I/usr/local/include/libxml2 -I/usr/local/include
> > -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2
> > -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include
> > -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP -MF
> > ".deps/subreader.Tpo" -c -o subreader.o subreader.c; \
> >then mv -f ".deps/subreader.Tpo" ".deps/subreader.Po"; else rm -f
> > ".deps/subreader.Tpo"; exit 1; fi
> > subreader.c: In function 'sub_read_line_aqt':
> > subreader.c:661: warning: comparison with string literal results in
> > unspecified behaviour
> > subreader.c:661: warning: comparison with string literal results in
> > unspecified behaviour
> > subreader.c: In function 'sub_read_line_subrip09':
> > subreader.c:717: warning: comparison with string literal results in
> > unspecified behaviour
> > subreader.c: In function 'sub_fribidi':
> > subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this
> > function)
> > subreader.c:1082: error: (Each undeclared identifier is reported only once
> > subreader.c:1082: error: for each function it appears in.)
> > subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this
> > function)
> > subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis' from
> > incompatible pointer type
> > gmake[2]: *** [subreader.o] Error 1
> > gmake[2]: Leaving directory
> > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
> > gmake[1]: *** [all] Error 2
> > gmake[1]: Leaving directory
> > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
> > gmake: *** [all-recursive] Error 1
> > *** Error code 1
> >
> > This is on:
> >
> > FreeBSD laptop.piggybox 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Oct 10
> > 13:54:52 BST 2009 r...@laptop.piggybox:/usr/obj/usr/src/sys/LAPTOP
> >  i386
> >
> > With a ports tree updated last night.
> >
> > What am I missing?
> >
> 
> i don't think you are missing anything:  i have a slighty older ports tree
> from september, and it fails as well.
> 
> i assume the port is "broken". ( i will take a look if i can identitfy the
> problem )

Thanks - good to know it's not just me. I'll drop a line to the maintainer.

Peter.


> 
> regards,
> 
> usleep
___
freebsd-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: dvdauthor can't find fribidi headers?

2009-11-01 Thread Peter Harrison
Sunday,  1 November 2009 at 11:04:26 -0700, Steve Franks said:
> Seems as dvdauthor is broken on 8-rc1...anything I might have done?
> 
> Steve
> 
> [st...@fyre /usr/ports/multimedia/dvdauthor]$ sudo make install clean
> ===>  Building for dvdauthor-0.6.14_4
> Making all in doc
> gmake[1]: Entering directory
> `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
> gmake[1]: Nothing to be done for `all'.
> gmake[1]: Leaving directory
> `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
> Making all in src
> gmake[1]: Entering directory
> `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
> gmake  all-am
> gmake[2]: Entering directory
> `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
> if cc -DHAVE_CONFIG_H -I. -I. -I.  -DSYSCONFDIR="\"/usr/local/etc\""
> -I/usr/local/include/libxml2 -I/usr/local/include
> -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2
> -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include
>   -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP
> -MF ".deps/subreader.Tpo" -c -o subreader.o subreader.c; \
>   then mv -f ".deps/subreader.Tpo" ".deps/subreader.Po"; else rm -f
> ".deps/subreader.Tpo"; exit 1; fi
> subreader.c: In function 'sub_read_line_aqt':
> subreader.c:661: warning: comparison with string literal results in
> unspecified behaviour
> subreader.c:661: warning: comparison with string literal results in
> unspecified behaviour
> subreader.c: In function 'sub_read_line_subrip09':
> subreader.c:717: warning: comparison with string literal results in
> unspecified behaviour
> subreader.c: In function 'sub_fribidi':
> subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this 
> function)
> subreader.c:1082: error: (Each undeclared identifier is reported only once
> subreader.c:1082: error: for each function it appears in.)
> subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this 
> function)
> subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis'
> from incompatible pointer type
> gmake[2]: *** [subreader.o] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory
> `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
> gmake: *** [all-recursive] Error 1
> *** Error code 1
> 
> Stop in /usr/ports/multimedia/dvdauthor.
> [st...@fyre /usr/ports/multimedia/dvdauthor]$

Just a "me too" I'm afraid. I'm having the same problem on 7.2-STABLE, but:

pkg_info | grep fribidi

fribidi-0.19.2_1A Free Implementation of the Unicode Bidirectional Algorith



Peter Harrison


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


Problem installing dvdauthor...

2009-10-31 Thread Peter Harrison
Hi all,

Can anyone advise what I'm doing wrong trying to install multimedia/dvdauthor. 
Here's the end of the error:

if cc -DHAVE_CONFIG_H -I. -I. -I.  -DSYSCONFDIR="\"/usr/local/etc\"" 
-I/usr/local/include/libxml2 -I/usr/local/include 
-I/usr/local/include/ImageMagick -I/usr/local/include/freetype2 
-I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include   
-I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP -MF 
".deps/subreader.Tpo" -c -o subreader.o subreader.c; \
then mv -f ".deps/subreader.Tpo" ".deps/subreader.Po"; else rm -f 
".deps/subreader.Tpo"; exit 1; fi
subreader.c: In function 'sub_read_line_aqt':
subreader.c:661: warning: comparison with string literal results in unspecified 
behaviour
subreader.c:661: warning: comparison with string literal results in unspecified 
behaviour
subreader.c: In function 'sub_read_line_subrip09':
subreader.c:717: warning: comparison with string literal results in unspecified 
behaviour
subreader.c: In function 'sub_fribidi':
subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this function)
subreader.c:1082: error: (Each undeclared identifier is reported only once
subreader.c:1082: error: for each function it appears in.)
subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this function)
subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis' from 
incompatible pointer type
gmake[2]: *** [subreader.o] Error 1
gmake[2]: Leaving directory 
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory 
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
gmake: *** [all-recursive] Error 1
*** Error code 1

This is on:

FreeBSD laptop.piggybox 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Oct 10 13:54:52 
BST 2009     r...@laptop.piggybox:/usr/obj/usr/src/sys/LAPTOP  i386

With a ports tree updated last night.

What am I missing?

Thanks for the help.


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


Re: Firefox 3.5...

2009-08-26 Thread Peter Harrison
Wednesday, 26 August 2009 at 10:37:48 -0400, Jerry said:
> On Wed, 26 Aug 2009 11:32:09 +0100
> Peter Harrison  wrote:
> 
> > I've Firefox 3.0.11,1 on my 7.2-release system at the moment. Anyone
> > offer some advice on moving up to 3.5?
> > 
> > Is it as simple as pkg_delete'ing 3.0 and then installing 3.5?
> 
> I used: pkg_delete -dfv Firefox 3.0.11,1
> 
> It worked fine. Then build and install the new version. Depending on
> how you manage your ports, you might need to run something like:
> "pkgdb -Ffuv" after installing the new port.

Thanks Jerry. I tend to build ports on one machine and then install packages on 
another so I'll be doing it with packages, but thanks for the info.


Peter.

> 
> 
> -- 
> Jerry
> ges...@yahoo.com
> 
> Parts that positively cannot be assembled in improper order will be.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Firefox 3.5...

2009-08-26 Thread Peter Harrison
Wednesday, 26 August 2009 at 11:55:38 -0400, ill...@gmail.com said:
> 2009/8/26 Wayne Sierke :
> > On Wed, 2009-08-26 at 11:32 +0100, Peter Harrison wrote:
> >> I've Firefox 3.0.11,1 on my 7.2-release system at the moment. Anyone
> >> offer some advice on moving up to 3.5?
> >>
> >> Is it as simple as pkg_delete'ing 3.0 and then installing 3.5?
> >>
> >> Thanks for any thoughts.
> >
> > Should be, or if you use portupgrade:
> >
> > http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202568.html
> >
> 
> 2nd'd.  portupgrade -o www/firefox35 firefox\* worked perfectly here.

Thanks for confirming.


Peter

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


Re: Firefox 3.5...

2009-08-26 Thread Peter Harrison
Wednesday, 26 August 2009 at 23:54:12 +0930, Wayne Sierke said:
> On Wed, 2009-08-26 at 11:32 +0100, Peter Harrison wrote:
> > I've Firefox 3.0.11,1 on my 7.2-release system at the moment. Anyone
> > offer some advice on moving up to 3.5?
> > 
> > Is it as simple as pkg_delete'ing 3.0 and then installing 3.5?
> > 
> > Thanks for any thoughts.
> 
> Should be, or if you use portupgrade:
> 
> http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202568.html

OK thanks, I'll check that out.


Peter.


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


Firefox 3.5...

2009-08-26 Thread Peter Harrison
I've Firefox 3.0.11,1 on my 7.2-release system at the moment. Anyone offer some 
advice on moving up to 3.5?

Is it as simple as pkg_delete'ing 3.0 and then installing 3.5?

Thanks for any thoughts.


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


Re: netbooks for freebsd?

2009-08-25 Thread Peter Harrison
Monday, 24 August 2009 at  5:45:20 -0700, Jeff Hamann said:
> thanks.
> 
> i've looked at both an acer and lenovo models and like the lenovo  
> model better.

I like my s10e too - but remember I don't have native wireless, I'm using ndis. 
There are also some acpi glitches which the currently available patch only 
partially resolves.

Peter Harrison.

> 
> as for linux... no way.. had too many hack experiences during the  
> early years. that's why i made the switch to bsd. i would like to make  
> my own port (super-port?), build a distro, and dump it onto a machine.  
> haven't tested on virtual machine yet, but think that would be the  
> smartest method.
> 
> thanks again.
> 
> On Aug 23, 2009, at 11:39 AM, ill...@gmail.com wrote:
> 
> >2009/8/19 Jeff Hamann :
> >>I would like to try some experimental software on a netbook. Can  
> >>somebody
> >>recommend a netbook that can do FreeBSD.
> >>
> >
> >Late to the discussion, sorry I can't give positive
> >advice, but:
> >
> >I can explicity UNADVISE the (ee?)pc 1005ha
> >
> >Networking (atheros 9285, iirc) might work under
> >ndis, wired (I forget which chipset) doesn't work.
> >
> >I put ubuntu on it, and even _that_ took some hacks.
> >
> >-- 
> >--
> 
> Jeff Hamann, PhD
> PO Box 1421
> Corvallis, Oregon 97339-1421
> 541-754-2457
> jeff.hamann[at]forestinformatics[dot]com
> http://www.forestinformatics.com
> 
> 
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-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: netbooks for freebsd?

2009-08-23 Thread Peter Harrison
Wednesday, 19 August 2009 at 16:00:25 -0700, Steve Franks said:
> >> Al Plant wrote:
> >> > Jeff Hamann wrote:
> >> >> I would like to try some experimental software on a netbook. Can
> >> >> somebody recommend a netbook that can do FreeBSD.
> 
> I'm displeased with my Lenovo S10.  On the upside, all the hardware
> worked on 7.2 out of the box, after I swapped the internal broadcom
> wifi for a highpower atheros.  The ACPI is a real nightmare on it,
> however.  dmesg is constantly full of acpi barfs, and it hangs on
> shutdown, and won't suspend, which is pretty much a requirement for a
> notebook at my house.  Tried all the standard lenovo acpi hacks, but
> no luck.

I'm running 7.2 release on an s10e. The acpi is a problem - but David Naylor on 
the acpi@ list gave me a patch which eliminated most of the errors. Let me know 
if you're interested and I'll ping it over (or try the acpi list to see if 
there's an update).

Haven't tried suspend-resume, but I am running the broadcom wireless 
successfully with ndis.


Peter Harrison.


> 
> Steve
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-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: Announcing: FreeBSD Custom XFCE ISO (take II) - Openoffice packages

2009-06-20 Thread Peter Harrison
Wednesday, 17 June 2009 at 10:02:47 +0300, Manolis Kiagias said:
> Chris Whitehouse wrote:
> >
> >
> > I would vote for including openoffice, it takes much longer to compile
> > than to download, or maybe make the package and any dependencies that
> > are not already included available as a separate tarball.
> >
> 
> I've implemented this neat idea, the tarball is here:
> 
> http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/openoffice.tar.gz
> 
> Instructions:
> 
> http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/README.openoffice

Manolis,

Just wanted to say thanks so much for the openoffice package and clear 
instructions. I've never managed to successfully run openoffice on FreeBSD, but 
now I'm up and running.

Great job, thanks.


Peter Harrison.


> 
> As a matter of fact, I noticed only the main openoffice package is
> needed - every other run dependency is already present in the XFCE iso.
> The few other packages in the tarball are build dependencies.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Lenovo s9e or well supported netbook

2009-05-20 Thread Peter Harrison
Tuesday, 19 May 2009 at  6:38:05 -0600, Tim Judd said:
> On Tue, May 19, 2009 at 5:32 AM, Peter Harrison
> wrote:
> 
> > Is anyone running FreeBSD on a Lenovo s9e? I'm in the market for a netbook,
> > and have seen these fairly cheap but can't find anything on Google about
> > anyone trying FreeBSD on one.
> >
> > I'd rather not run Linux, so can anyone share experiences of the Lenovo, or
> > suggest a better supported netbook?
> >
> > Thanks,
> >
> > Peter Harrison
> >
> 
> 
> Look at the T-series.  Google can probably confirm the general answer that
> they run unixen well.  The X series I think work, but you might and might
> not have better success with them.
> 
> I use BSD on a Lenovo T60 with no problems. The USB bio-reader isn't
> recognized and sometimes the wpi0 looses it's link (but it looses it
> sometimes in Windows too).  Bring the link back up by
>   ifconfig wpi0 up scan
> 
> I don't know about the other series, but the T and X have got lots of google
> hits last time I checked.

Thanks for the suggestion Tim - and everyone else who replied. Sorry for not 
responding earlier.

I can certainly pick up a T23 reasonably cheaply, but I was thinking more of 
something kind of netbook sized - ie. with a 9in screen. Something that's a bit 
easier to lug around.

The s9e runs an Intel 945GSE chipset apparently. Any thoughts on that?

Thanks for the help.


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


Lenovo s9e or well supported netbook

2009-05-19 Thread Peter Harrison
Is anyone running FreeBSD on a Lenovo s9e? I'm in the market for a netbook, and 
have seen these fairly cheap but can't find anything on Google about anyone 
trying FreeBSD on one.

I'd rather not run Linux, so can anyone share experiences of the Lenovo, or 
suggest a better supported netbook?

Thanks,

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


Re: 7.2 fsck weirdness

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

Thanks for this.

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

Thanks again.


Peter Harrison.

> 
> -- 
> Adam Vandemore
> Systems Administrator
> IMED Mobility
> (605) 498-1610
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


7.2 fsck weirdness

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

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

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

Thanks,


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


Re: LAPTOP COMPATIBILITY w FreeBSD : Toshiba Satellite A300-13I

2009-03-08 Thread Peter Harrison
Sunday,  8 March 2009 at 20:59:43 +0100, George Katsanos said:
> Hello users,
> 
>  
> 
> I am strongly considering of installing FreeBSD on my laptop
> as my primary O/S but before I do so I would like to ask if someone between
> you has already done it and if so, if all hardware parts function as they
> should. 
> 

Have you checked the laptop compatibility list for your model?

http://laptop.bsdgroup.de/freebsd/


Peter Harrison.

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


Re: portupgrade failed with...wrong errors

2009-02-11 Thread Peter Harrison
Wednesday, 11 February 2009 at 16:43:37 +0100, Albert Shih said:
> Hi all,
> 
> I've very strange thing with portupgrade. He failed on upgrade and tell me 
> 
> ===>   Running ldconfig
> /sbin/ldconfig -m /usr/local/lib
> ===>   Registering installation for libxcb-1.1.93
> ===>  Cleaning for libxcb-1.1.93
> --->  Cleaning out obsolete shared libraries
> [Updating the pkgdb  in /var/db/pkg ... - 251 packages 
> found (-0 +1) . done]
> --->  Skipping 'x11/xcb-util' (xcb-util-0.3.0) because a requisite package 
> 'libxcb-1.1.90.1' () failed (specify -k to force)
> 
> 
> but as you can see he just make the update of libxcb-1.1.90.1 to libxcb-1.1.93
> 
> And this happen for many packages.
> 
> Of course I just have to re-run portupgradeand re-reun, and re-run
> 
> I've clean /var/db/pkg/pkgdb.db but no effect.
> 
> Any idea ? 

Did you read /usr/ports/UPDATING entry 20090123?

  AFFECTS: users of x11/libxcb
  AUTHOR: f...@freebsd.org

  Libxcb shared library version was bumped from 1 to 2.  You need to
  rebuild any consumer of libxcb.so.1 or some applications will be
  linked against two versions of libxcb once libX11 is upgraded.

  For portupgrade users:

# portupgrade -rf libxcb


Peter Harrison.


> 
> Regards.
> -- 
> Albert SHIH
> SIO batiment 15
> Observatoire de Paris Meudon
> 5 Place Jules Janssen
> 92195 Meudon Cedex
> Téléphone : 01 45 07 76 26
> Heure local/Local time:
> Mer 11 fév 2009 16:41:23 CET
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Localized keyboard under Xorg 7.4...

2009-02-11 Thread Peter Harrison
Tuesday, 10 February 2009 at 16:41:37 -0600, Matt said:
> On Tue, Feb 10, 2009 at 3:52 PM, Peter Harrison
>  wrote:
> > So I've run the Xorg update. I've come across a number of problems (the 
> > biggest of which was needed to rebuilt xfce and losing all my settings).
> >
> > The one I'm having real difficulty with at the moment is using a UK 
> > keyboard layout. Previously I had this line in my xorg.conf under the 
> > "Keyboard" InputDevice section:
> >
> > Option  "XkbLayout" "gb"
> >
> > This doesn't work any more, so I followed the advice in this post:
> >
> > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=140908+0+archive/2009/freebsd-questions/20090208.freebsd-questions
> >
> > to put the relevant entry in /usr/local/etc/hal/fdi/policy/x11-input.fdi
> >
> > Still no joy. I get these lines in Xorg.0.log:
> >
> > (II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so
> > (II) Module kbd: vendor="X.Org Foundation"
> >compiled for 1.5.3, module version = 1.3.2
> >Module class: X.Org XInput Driver
> >ABI class: X.Org XInput driver, version 2.1
> > (**) AT Keyboard: always reports core events
> > (**) Option "Protocol" "standard"
> > (**) AT Keyboard: Protocol: standard
> > (**) Option "AutoRepeat" "500 30"
> > (**) Option "XkbRules" "xorg"
> > (**) AT Keyboard: XkbRules: "xorg"
> > (**) Option "XkbModel" "pc105"
> > (**) AT Keyboard: XkbModel: "pc105"
> > (**) Option "XkbLayout" "us"
> > (**) AT Keyboard: XkbLayout: "us"
> >
> > I'm getting around it at the moment by getting xfce to run this at startup:
> >
> > setxkbmap gb
> >
> > But that's hardly an ideal solution. Can anyone suggest a better one?
> 
> Have you tried adding the:
> 
> Option "AutoAddDevices" "off"
> Option "AutoEnableDevices" "off"
> 
> settings in the ServerFlags section of xorg.conf?  That should disable
> the hal/dbus detections and use just the settings you have spelled out
> in xorg.conf (which shouldn't be too much of an issue if you already
> had a fully configured xorg.conf before the upgrade to 7.4).
> 
> Matt


Thanks for this Matt, that was the answer - I hadn't figured how to get hal 
turned off for xorg.

Thanks again,


Peter Harrison.



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


Localized keyboard under Xorg 7.4...

2009-02-10 Thread Peter Harrison
So I've run the Xorg update. I've come across a number of problems (the biggest 
of which was needed to rebuilt xfce and losing all my settings).

The one I'm having real difficulty with at the moment is using a UK keyboard 
layout. Previously I had this line in my xorg.conf under the "Keyboard" 
InputDevice section:

Option  "XkbLayout" "gb"

This doesn't work any more, so I followed the advice in this post:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=140908+0+archive/2009/freebsd-questions/20090208.freebsd-questions

to put the relevant entry in /usr/local/etc/hal/fdi/policy/x11-input.fdi

Still no joy. I get these lines in Xorg.0.log:

(II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
compiled for 1.5.3, module version = 1.3.2
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.1
(**) AT Keyboard: always reports core events
(**) Option "Protocol" "standard"
(**) AT Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) AT Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) AT Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) AT Keyboard: XkbLayout: "us"

I'm getting around it at the moment by getting xfce to run this at startup:

setxkbmap gb

But that's hardly an ideal solution. Can anyone suggest a better one?

TIA.


Peter Harrison.


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


Acroread plugin problem...

2009-02-10 Thread Peter Harrison
I had the firefox plugin for acroread8 working perfectly until I ran a 
portupgrade recently. I ended up running portupgrade -af so alot of stuff got 
touched that might not otherwise.

Now I'm getting the following message when I open firefox:

LoadPlugin: failed to initialize shared library 
/usr/home/peter/.mozilla/plugins/nppdf.so [Shared object "libc.so.6" not found, 
required by "nppdf.so"]

and the plugin doesn't work.

Standalone, acroread still works fine.

Any ideas what I'm missing?

This is on:

FreeBSD laptop.piggybox 7.1-STABLE FreeBSD 7.1-STABLE #11: Sat Jan 17 17:08:22 
GMT 2009 r...@laptop.piggybox:/usr/obj/usr/src/sys/GENERIC  i386

with:

linux-atk-1.9.1_1   Accessibility Toolkit, Linux/i386 binary
linux-cairo-1.0.2   Linux cairo binary
linux-expat-1.95.8  Linux/i386 binary port of Expat XML-parsing library
linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
linux-gtk2-2.6.10_1 GTK+ library, version 2.X, Linux binary
linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the 
FreeDesktop project
linux-jpeg-6b.34RPM of the JPEG lib
linux-nvu-1.0_1 A complete Web Authoring System
linux-pango-1.10.2_1 Linux pango binary
linux-png-1.2.8_2   RPM of the PNG lib
linux-realplayer-10.0.9.809.20070726 Linux RealPlayer 10 from RealNetworks
linux-scim-gtk-fc4-1.4.4 Smart Common Input Method platform, gtk module, Linux 
binar
linux-scim-libs-fc4-1.4.4_1 Smart Common Input Method platform, library part, 
Linux bin
linux-tiff-3.7.1TIFF library, Linux/i386 binary
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
linux_base-fc-4_14  Base set of packages needed in Linux mode (for i386/amd64)
linux_dri-7.0   Binary Linux DRI libraries for 3D hardware acceleration of 
linuxdoc-1.1_1  The Linuxdoc SGML DTD

Any thoughts on how I can get this working again?

TIA.


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


Re: iwi on 7-STABLE

2009-01-06 Thread Peter Harrison
Sunday,  4 January 2009 at 20:43:24 +0100, Per olof Ljungmark said:
> Peter Harrison wrote:
> >Wednesday, 31 December 2008 at  2:06:55 +0100, Per olof Ljungmark said:
> >>Peter Harrison wrote:
> >>>Tuesday, 30 December 2008 at 23:49:23 +0100, Per olof Ljungmark said:
> >>>
> >>>>Hi all,
> >>>>
> >>>>Here I am away with the family visiting friends and I REALLY need
> >>>>to get the iwi if up and running.
> >>>>
> >>>>It's a recently updated system (7.1RC2). Read the man pages, tried 
> >>>>different variations on legal.intel_iwi.license_ack=1, iwi_load, 
> >>>>firmware_load etc. in /boot/loader.conf but I cannot get a
> >>>>connection to the router.
> >>>>
> >>>>It used to work on this box with my basic config, a Thinkpad T42,
> >>>>and it still does with XP.
> >>>>
> >>>>The interface is associated to the access point ok.
> >>>>
> >>>>Anyone who can hint me on how to debug this? Would sysctl
> >>>>debug.iwi.0=1 help? Of course, ANY information is of interest. Does
> >>>>iwi have a problem with certain routers?
> >>>>
> >>>>Sorry, no config files, I'm without connectivity when booting
> >>>>FreeBSD...
> >>>>
> >>>>Any help appriciated!
> >>>I don't know whether iwi has issues with particular routers, however
> >>>I do have it working on 7-STABLE i386 without difficulty.
> >>>
> >>>Does it help to see the relevant bits from my config?
> >>>
> >>>/boot/loader.conf:
> >>>
> >>>if_iwi_load=YES wlan_load=YES firmware_load=YES iwi_bss_load=YES 
> >>>iwi_ibss_load=YES iwi_monitor_load=YES legal.intel_iwi.license_ack=1
> >>>
> >>>/etc/rc.conf:
> >>>
> >>>ifconfig_iwi0="inet 192.168.1.4  netmask 255.255.255.0  ssid
> >>>***  bssid 00:14:bf:94:1e:75  channel 11  wepmode on wepkey
> >>>  deftxkey 1"
> >>>
> >>>(yes, I know I shouldn't still be using WEP).
> >>>
> >>>Works without difficult connecting to a Linksys router.
> >>>
> >>>I did have some difficulty I seem to recall when I turned off SSID
> >>>broadcast on the router. I'd suggest trying with all the security
> >>>turned off if you haven't already to see if you can connect at all,
> >>>and then reintroduce the security measures later.
> >>Thanks for your reply.
> >>
> >>Your config is identical to mine. I think something fishy is going on
> >>here but don't know what it is - yet..
> >>
> >>The router is a Netgear WNR854T.
> >
> >Have you tried running without WEP or WPA and with the router broadcasting 
> >the SSID, to test whether that's the issue?
> >
> 
> Yes, did that. In all the cases I've tested iwi is associated but no IP. 
> Several XP boxes works fine with same router and settings. A guess then 
> would be that the problem lies with the routers DHCP server rather than 
> the wireless.
> 
> Now back home, I tried same config with our Linksys router and no problem.
> 
> I could not find anything odd or unusual in the setup for the Netgear so 
> why this happened is still obscure to me.
> 

Well that leaves me a bit stumped too I'm afraid. It could just be a 
compatibility issue with the router - possibly worth noting that I'm also 
successfully using a Linksys here.

Have you tried assigning a static IP address?


Peter Harrison.

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


Re: iwi on 7-STABLE

2009-01-04 Thread Peter Harrison
Wednesday, 31 December 2008 at  2:06:55 +0100, Per olof Ljungmark said:
> Peter Harrison wrote:
> > Tuesday, 30 December 2008 at 23:49:23 +0100, Per olof Ljungmark said:
> > 
> >> Hi all,
> >> 
> >> Here I am away with the family visiting friends and I REALLY need
> >> to get the iwi if up and running.
> >> 
> >> It's a recently updated system (7.1RC2). Read the man pages, tried 
> >> different variations on legal.intel_iwi.license_ack=1, iwi_load, 
> >> firmware_load etc. in /boot/loader.conf but I cannot get a
> >> connection to the router.
> >> 
> >> It used to work on this box with my basic config, a Thinkpad T42,
> >> and it still does with XP.
> >> 
> >> The interface is associated to the access point ok.
> >> 
> >> Anyone who can hint me on how to debug this? Would sysctl
> >> debug.iwi.0=1 help? Of course, ANY information is of interest. Does
> >> iwi have a problem with certain routers?
> >> 
> >> Sorry, no config files, I'm without connectivity when booting
> >> FreeBSD...
> >> 
> >> Any help appriciated!
> > 
> > I don't know whether iwi has issues with particular routers, however
> > I do have it working on 7-STABLE i386 without difficulty.
> > 
> > Does it help to see the relevant bits from my config?
> > 
> > /boot/loader.conf:
> > 
> > if_iwi_load=YES wlan_load=YES firmware_load=YES iwi_bss_load=YES 
> > iwi_ibss_load=YES iwi_monitor_load=YES legal.intel_iwi.license_ack=1
> > 
> > /etc/rc.conf:
> > 
> > ifconfig_iwi0="inet 192.168.1.4  netmask 255.255.255.0  ssid
> > ***  bssid 00:14:bf:94:1e:75  channel 11  wepmode on wepkey
> >   deftxkey 1"
> > 
> > (yes, I know I shouldn't still be using WEP).
> > 
> > Works without difficult connecting to a Linksys router.
> > 
> > I did have some difficulty I seem to recall when I turned off SSID
> > broadcast on the router. I'd suggest trying with all the security
> > turned off if you haven't already to see if you can connect at all,
> > and then reintroduce the security measures later.
> 
> Thanks for your reply.
> 
> Your config is identical to mine. I think something fishy is going on
> here but don't know what it is - yet..
> 
> The router is a Netgear WNR854T.

Have you tried running without WEP or WPA and with the router broadcasting the 
SSID, to test whether that's the issue?


Peter Harrison

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


USB hard drive problem...

2008-12-19 Thread Peter Harrison
I need some help with a USB connected hard drive.

It's the old drive from my 6.3-RELEASE desktop (now de-commissioned), placed 
into a IDE-USB enclosure.

It has 4 slices - a FAT32 one, a UFS2 1, a Linux (ext3 I think - was Ubuntu) 
and a Linux swap. 7.1 can see all the partitions:

*** Working on device /dev/da0 ***
parameters extracted from in-core disklabel are:
cylinders=4863 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=4863 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
start 63, size 39070017 (19077 Meg), flag 80 (active)
beg: cyl 256/ head 0/ sector 0;
end: cyl 1023/ head 15/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 39070080, size 20964825 (10236 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 6/ sector 63
The data for partition 3 is:
sysid 131 (0x83),(Linux native)
start 60034905, size 17575110 (8581 Meg), flag 0
beg: cyl 1023/ head 254/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 130 (0x82),(Linux swap or Solaris x86)
start 77610015, size 546210 (266 Meg), flag 0
beg: cyl 1023/ head 254/ sector 63;
end: cyl 1023/ head 254/ sector 63

and it appears in dmesg:

Dec 19 21:29:04 laptop kernel: umass0:  on uhub4
Dec 19 21:29:04 laptop root: Unknown USB device: vendor 0x14cd product 0x6600 
bus uhub4
Dec 19 21:29:04 laptop kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Dec 19 21:29:04 laptop kernel: da0:  Fixed 
Direct Access SCSI-0 device 
Dec 19 21:29:04 laptop kernel: da0: 40.000MB/s transfers
Dec 19 21:29:04 laptop kernel: da0: 38146MB (78125000 512 byte sectors: 255H 
63S/T 4863C)

I can successfully mount the FAT32 slices and the UFS2 partitions, but once 
mounted I can't see any files.

My son's Win XP desktop can see the FAT32 slice and all the files on it - but 
not the UFS2 or Linux slices.

The drive inside the enclosure is set to cable-select. The manual recommends 
master, but if I set it to that neither FreeBSD nor Win XP see anything (ie. 
nothing in dmesg).

Any suggestions as to what I can do to get FreeBSD to 'see' my files?


TIA.


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


Re: Why FreeBSD not popular on hardware vendors

2008-12-11 Thread Peter Harrison
Thursday, 11 December 2008 at 12:28:00 +0100, Wojciech Puchar said:
> >
> >The possibility here is the bells and whistles strangely enough DO work
> >in tune and without sore lips... FreeBSD could be THAT good.
> 
> in bells and whistles windows is best. for those who require it paying a 
> bit for windows is not a problem.

Well, I've been using FreeBSD for my main desktop since 4.6.2. I'm currently 
running 7.1-PRERELEASE on a Dell laptop where everything works except the 
modem. I'm typing this whilst listening to the BBC radio through the iplayer on 
the net in Firefox (mplayer plugin). I can connect my Palm TX and Ipod without 
problem when I need to. My removable drives are automatically mounted and 
unmounted using the thunar volume manager under Xfce.

Personally, I don't see the issue with FreeBSD on the desktop - unless you need 
flash or nvidia graphics on amd64 (which I don't). But I suppose YMMV.

Regards,


Peter Harrison.


> 
> Those who need to do actual work, we have FreeBSD for example
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-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: ipw2200 freebsd 7 firmware problem

2008-05-22 Thread peter harrison
Thursday, 22 May 2008 at 14:04:46 +0100, Vince Hoffman said:
> peter harrison wrote:
> > Thursday, 22 May 2008 at  9:13:41 +0100, Vince Hoffman said:
> >> Fernando Apesteguía wrote:
> >>> On 5/22/08, Vince Hoffman <[EMAIL PROTECTED]> wrote:
> >>>> Fernando Apesteguía wrote:
> >>>>> On Wed, May 21, 2008 at 10:33 AM, Vince Hoffman <[EMAIL PROTECTED]>
> >>>> wrote:
> 
> >>>>>> Have you read the manpage for iwi?
> >>>>>>
> >>>>> No, I tried with iwi-firmware and iwicontrol and none of them existed.
> >>>>>
> >>>>>
> >>>>>> no ports are needed the firmware is now in the base system, Just add 
> >>>>>> the
> >>>>>> entries as specified in this snippet from man iwi
> >>>>>>
> >>>>> So... shouldn't this port be removed?
> >>>>>
> >>>>>
> >>>> I'm pretty sure that things changed between 6.x and 7.x, I'd imagine the
> >>>> port is needed for <7.x
> >>>>
> >>>>>>  Alternatively, to load the driver as a module at boot time, place the
> >>>>>>following lines in loader.conf(5):
> >>>>>>
> >>>>>>  if_iwi_load="YES"
> >>>>>>  wlan_load="YES"
> >>>>>>  firmware_load="YES"
> >>>>>>
> >>>>>>In both cases, place the following lines in loader.conf(5) to load
> >>>> the
> >>>>>>firmware modules:
> >>>>>>
> >>>>>>  iwi_bss_load="YES"
> >>>>>>  iwi_ibss_load="YES"
> >>>>>>  iwi_monitor_load="YES"
> >>>>>>
> >>>>>> and
> >>>>>>
> >>>>>>  This driver requires firmware to be loaded before it will work.  For
> >>>>>> the loaded firmware to work the license at
> >>>>>>/usr/share/doc/legal/intel_iwi/LICENSE must be
> >>>> agreed to and the
> >>>>>> follow-ing line be added to loader.conf(5):
> >>>>>>
> >>>>>>  legal.intel_iwi.license_ack=1
> >>>>>>
> >>>>>>
> >>>>> I'll try it. But AFAIK, I have to recompile the kernel cause the
> >>>>> "device iwi" line is missing.
> >>>>>
> >>>>> Am i right?
> >>>>>
> >>>>>
> >>>> I think they should all be loadable as modules if they arent in generic.
> >>>>
> >>>> To try without rebooting I believe the commands you want are:
> >>>> kenv legal.intel_iwi.license_ack=1
> >>>> kldload if_iwi
> >>>> kldload wlan
> >>>> kldload firmware
> >>>> kldload iwi_bss
> >>>> kldload iwi_ibss
> >>>> kldload iwi_monitor
> >>>>
> >>>> However, I just had a look in my /boot/kernel for the if_iwi module and 
> >>>> its
> >>>> not there so you may be correct. (I'm a touch supprised as the do exist 
> >>>> on
> >>>> my i386 box)
> >>> The same on my machine. The line is not in GENERIC and that modules
> >>> don't exist. I will recompile my module as soon as I have some spare
> >>> time.
> >>> Thanks for your help.
> >>>
> >> In theory you should be able to just
> >> cd /usr/src/sys/modules/iwi
> >> make && make install
> >> cd /usr/src/sys/modules/iwifw
> >> make && make install
> >>
> >>
> >> without rebuilding the entire kernel. I'm just puzzled why they dont
> >> build by default.
> > 
> > I'm running a stock 7.0-STABLE with GENERIC and a default make.conf and I 
> > get the iwi modules no problem. I just followed the instructions in the man 
> > page and was up and running in 5 minutes.
> > 
> > 
> Are you running AMD64? the modules are there on my i386 laptop but not
> my AMD64 server (I dont use iwi on either though.)

I'm running i386, so that may be the difference. I don't have an AMD64 system 
to check I'm afraid.


Peter Harrison.

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


Re: ipw2200 freebsd 7 firmware problem

2008-05-22 Thread peter harrison
Thursday, 22 May 2008 at  9:13:41 +0100, Vince Hoffman said:
> Fernando Apesteguía wrote:
> > On 5/22/08, Vince Hoffman <[EMAIL PROTECTED]> wrote:
> >> Fernando Apesteguía wrote:
> >>> On Wed, May 21, 2008 at 10:33 AM, Vince Hoffman <[EMAIL PROTECTED]>
> >> wrote:
> >>>> Fernando Apesteguía wrote:
> >>>>
> >>>>> Hi all,
> >>>>>
> >>>>> I have an ipw2200 bg. I can't make it work under FreeBSD 7 on AMD64.
> >>>>>
> >>>>> This is the output of pciconf -lv
> >>>>>
> >>>>> [EMAIL PROTECTED]:0:5:0:   class=0x028000 card=0x27028086 
> >>>>> chip=0x42208086
> >>>>> rev=0x05 hdr=0x00
> >>>>>vendor = 'Intel Corporation'
> >>>>>device = 'MPCI3B  driverIntel PRO/Wireless 2200BG'
> >>>>>class  = network
> >>>>>
> >>>>> dmesg shows the following:
> >>>>>
> >>>>> pci0:  at device 5.0 (no driver attached)
> >>>>>
> >>>>> I tried to instal the iwi-firmware from ports:
> >>>>>
> >>>>>
> >>>> Have you read the manpage for iwi?
> >>>>
> >>> No, I tried with iwi-firmware and iwicontrol and none of them existed.
> >>>
> >>>
> >>>> no ports are needed the firmware is now in the base system, Just add the
> >>>> entries as specified in this snippet from man iwi
> >>>>
> >>> So... shouldn't this port be removed?
> >>>
> >>>
> >> I'm pretty sure that things changed between 6.x and 7.x, I'd imagine the
> >> port is needed for <7.x
> >>
> >>>>  Alternatively, to load the driver as a module at boot time, place the
> >>>>following lines in loader.conf(5):
> >>>>
> >>>>  if_iwi_load="YES"
> >>>>  wlan_load="YES"
> >>>>  firmware_load="YES"
> >>>>
> >>>>In both cases, place the following lines in loader.conf(5) to load
> >> the
> >>>>firmware modules:
> >>>>
> >>>>  iwi_bss_load="YES"
> >>>>  iwi_ibss_load="YES"
> >>>>  iwi_monitor_load="YES"
> >>>>
> >>>> and
> >>>>
> >>>>  This driver requires firmware to be loaded before it will work.  For
> >>>> the loaded firmware to work the license at
> >>>>/usr/share/doc/legal/intel_iwi/LICENSE must be
> >> agreed to and the
> >>>> follow-ing line be added to loader.conf(5):
> >>>>
> >>>>  legal.intel_iwi.license_ack=1
> >>>>
> >>>>
> >>> I'll try it. But AFAIK, I have to recompile the kernel cause the
> >>> "device iwi" line is missing.
> >>>
> >>> Am i right?
> >>>
> >>>
> >> I think they should all be loadable as modules if they arent in generic.
> >>
> >> To try without rebooting I believe the commands you want are:
> >> kenv legal.intel_iwi.license_ack=1
> >> kldload if_iwi
> >> kldload wlan
> >> kldload firmware
> >> kldload iwi_bss
> >> kldload iwi_ibss
> >> kldload iwi_monitor
> >>
> >> However, I just had a look in my /boot/kernel for the if_iwi module and its
> >> not there so you may be correct. (I'm a touch supprised as the do exist on
> >> my i386 box)
> > 
> > The same on my machine. The line is not in GENERIC and that modules
> > don't exist. I will recompile my module as soon as I have some spare
> > time.
> > Thanks for your help.
> > 
> In theory you should be able to just
> cd /usr/src/sys/modules/iwi
> make && make install
> cd /usr/src/sys/modules/iwifw
> make && make install
> 
> 
> without rebuilding the entire kernel. I'm just puzzled why they dont
> build by default.

I'm running a stock 7.0-STABLE with GENERIC and a default make.conf and I get 
the iwi modules no problem. I just followed the instructions in the man page 
and was up and running in 5 minutes.


Peter Harrison

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


Re: Xfce and shutting down...

2008-04-17 Thread Peter Harrison
Tuesday, 15 April 2008 at 22:53:55 +0100, Peter Harrison said:
> I upgraded my ports a week or so ago (after the Gnome 2.20 upgrade if that 
> helps).
> 
> I'm running Xfce on both 7.0 and 6.3. Before the upgrade, I could use the 
> Xfce opanel shutdown button to poweroff the system (with the appropriate 
> entry in sudoers).
> 
> Following the upgrade, I simply get returned to the login screen, with the 
> following message repeated twice in /var/log/messages:
> 
> console-kit-daemon[839]: GLib-CRITICAL: g_hash_table_destroy: assertion 
> `hash_table != NULL' failed
> 
> Can anyone shed any light on what's changed to prevent Xfce from being able 
> to shut the system down? (Note, I can still poweroff by su-ing to root and 
> running 'shutdown -p now').
> 
> Can anyone shed any light?
> 
> Thanks for your help.


Answering my own question, but for the sake of the archives...

It seems that xfsm-shutdown-helper no longer uses sudo to gain the necessary 
privileges to shut the system down - instead it uses hal & policykit.

Unfortunately this changeover doesn't seem to be documented anywhere - either 
for freebsd or xfce. However, give the user the appropriate permissions in 
/usr/local/etc/PolicyKit/PolicyKit.conf (see the man page for details) and it 
all starts working again.



Peter Harrison



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


Xfce and shutting down...

2008-04-15 Thread Peter Harrison
I upgraded my ports a week or so ago (after the Gnome 2.20 upgrade if that 
helps).

I'm running Xfce on both 7.0 and 6.3. Before the upgrade, I could use the Xfce 
opanel shutdown button to poweroff the system (with the appropriate entry in 
sudoers).

Following the upgrade, I simply get returned to the login screen, with the 
following message repeated twice in /var/log/messages:

console-kit-daemon[839]: GLib-CRITICAL: g_hash_table_destroy: assertion 
`hash_table != NULL' failed

Can anyone shed any light on what's changed to prevent Xfce from being able to 
shut the system down? (Note, I can still poweroff by su-ing to root and running 
'shutdown -p now').

Can anyone shed any light?

Thanks for your help.


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


USB bluetooth problem...

2008-04-08 Thread Peter Harrison
I'm trying to get a no-name usb bluetooth dongle working without luck so far.

I'm reading through the handbook, so I've run:

# kldload ng_ubt

then I plug the dongle in, this is what I see in /var/log/messages:

Apr  8 20:23:23 laptop root: Unknown USB device: vendor 0x1131 product 0x1001 
bus uhub0
Apr  8 20:23:28 laptop kernel: ubt0:  on uhub0
Apr  8 20:23:28 laptop kernel: ubt0: Interface 0 endpoints: interrupt=0x81, 
bulk-in=0x82, bulk-out=0x2
Apr  8 20:23:28 laptop kernel: ubt0: Interface 1 (alt.config 5) endpoints: 
isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294
Apr  8 20:23:29 laptop kernel: WARNING: attempt to net_add_domain(bluetooth) 
after domainfinalize()
Apr  8 20:23:29 laptop kernel: WARNING: attempt to net_add_domain(netgraph) 
after domainfinalize()
Apr  8 20:23:35 laptop kernel: ng_hci_process_command_timeout: ubt0hci - unable 
to complete HCI command OGF=0x3, OCF=0x3. Timeout
Apr  8 20:23:36 laptop root: /etc/rc.d/bluetooth: ERROR: Unable to setup 
Bluetooth stack for device ubt0
Apr  8 20:28:22 laptop root: rc.d/bluetooth: ERROR: Unsupported device: 

and I don't get a /dev/ubt0 so none of the other commands will work. I also 
don't have a /usr/share/examples/netgraph/bluetooth/rc.bluetooth as suggested, 
but I do have a /etc/rc.d/bluetooth which seems to attempt to start the stack.

This is on:

FreeBSD laptop.piggybox 7.0-STABLE FreeBSD 7.0-STABLE #4: Wed Apr  2 21:38:37 
BST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


Any thoughts? Thanks in advance,


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


Re: Problem with gio-fam-backend, portupgrade failing...

2008-04-08 Thread Peter Harrison
Tuesday,  8 April 2008 at 15:41:04 +0200, Matthias Apitz said:
> El día Monday, April 07, 2008 a las 10:06:02PM +0100, Peter Harrison escribió:
> 
> > > I have seen this before, if ( /devel/ ) gio-fam-backend needs a library 
> > > that 
> > > is outdated, it gives this sort of error.  I know when I had the issue, 
> > > it 
> > > was that it needs glib 2.16 and I had 2.14.  Thankfully it doesn't have 
> > > too 
> > > many dependancies so it isn't hard to check them all.
> > 
> > 
> > Right, I'll start looking through the gio-fam-backend dependencies and 
> > report back.
> > Thanks for the quick response.
> > 
> > Peter Harrison.
> > 
> > 
> > > 
> > > Mark Moellering
> 
> I've installed last weekend a 7.0R, did portsnap fetch/extract and fired
> up my script to run in BATCH mode through the ~200 ports I wanted have
> installed on the box; when I came back late night and was hoping all
> went fine, some of the ports failed as well with gio-fam-backend; it
> took me some time to go to /usr/ports/devel/glib20, deinstall and
> install it fresh which changed it from glib-2.14.2 to 2.16.x (don't know
> the x from the top of my head now); after this all was fine again;
> 
> really, I did not understand how this was possible after portsnap
> fetch/extract on a real new system, just installed from boot CD;
> 
>   matthias


Seems to me there might have been a problem with the port.

I noticed that gio-fam-backend had been updated to 2.16.3, ran portsnap and it 
then installed without problem. No other intervention required. I'm running 
portupgrade -a again now with no problems so far.

Thanks all for the responses.


Peter Harrison.




> 
> -- 
> Matthias Apitz
> Manager Technical Support - OCLC GmbH
> Gruenwalder Weg 28g - 82041 Oberhaching - Germany
> t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
> e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
> b http://gurucubano.blogspot.com/
> Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
> A: Because it messes up the order in which people normally read text.
> Q: Why is it such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing on Usenet and in e-mail?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with gio-fam-backend, portupgrade failing...

2008-04-07 Thread Peter Harrison
Monday,  7 April 2008 at 16:28:07 -0400, Forrest Aldrich said:
> I'm having the same type of problems when compiling scanlogd (just 
> posted a separate message about it).  I installed the binary *.tbz 
> package from freebsd.org, and that didn't quite work, there are other 
> dependencies it needs.   It's been a little frustrating.

I'm also having trouble using downloaded packages - but I think that's mostly 
because of different compiled in options to the defaults further up the 
dependency chain.
This is the first time I've had a problem with portupgrade where the solution 
didn't seem reasonably obvious.

Thanks for the response.

Peter Harrison.

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


Re: Problem with gio-fam-backend, portupgrade failing...

2008-04-07 Thread Peter Harrison
Monday,  7 April 2008 at 16:35:06 -0400, Mark Moellering said:
> On Monday 07 April 2008 03:54:12 pm peter harrison wrote:
> > I'm having a problem running portupgrade -a. The original run was
> > interrupted by a system crash. Now when I try to repeat it fails asking for
> > pkgdb -fF to be run.
> >
> > When I run this, I get stale dependencies on policykit, but when I say
> > "yes" to install, the install of policykit fails on gio-fam-backend (not a
> > port I had installed before the attempted upgrade).
> >
> > Here's an extract from the build:
> >
> >
> >  -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -pthread
> > -DG_LOG_DOMAIN=\"GLib-GIO\" -I../.. -I../../glib -I../../gmodule
> > -I../../gio -DG_DISABLE_CAST_CHECKS
> > -DGIO_MODULE_DIR=\"/usr/local/lib/gio/modules\" -DGIO_COMPILATION
> > -DG_DISABLE_DEPRECATED -O2 -fno-strict-aliasing -pipe -Wall -MT
> > libgiofam_la-gfamfilemonitor.lo -MD -MP -MF
> > .deps/libgiofam_la-gfamfilemonitor.Tpo -c gfamfilemonitor.c -o
> > libgiofam_la-gfamfilemonitor.o >/dev/null 2>&1 mv -f
> > .deps/libgiofam_la-gfamfilemonitor.Tpo
> > .deps/libgiofam_la-gfamfilemonitor.Plo gmake: *** No rule to make target
> > `../../gio/libgio-2.0.la', needed by `libgiofam.la'.  Stop. *** Error code
> > 2
> >
> > Stop in /usr/ports/devel/gio-fam-backend.
> > ** Command failed [exit code 1]: /usr/bin/script -qa
> > /tmp/portinstall.72819.0 env make ** Fix the problem and try again.
> > --->  Skipping 'sysutils/policykit' because a requisite port
> > 'devel/gio-fam-backend' failed (specify -k to force) ** Listing the failed
> > packages (-:ignored / *:skipped / !:failed)
> > ! devel/gio-fam-backend (unknown build error)
> > * sysutils/policykit
> > Command failed [exit code 1]: /usr/local/sbin/portinstall
> > sysutils/policykit
> >
> > So now I'm stuck halfway through a portupgrade.
> >
> > This is on
> >
> > FreeBSD desktop.piggybox 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #5: Wed Apr 
> > 2 03:41:26 BST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC 
> > i386
> >
> > Can anyone offer a suggestion for how I fix this?
> >
> > Thanks in advance.
> >
> > Peter Harrison
> >
> I have seen this before, if ( /devel/ ) gio-fam-backend needs a library that 
> is outdated, it gives this sort of error.  I know when I had the issue, it 
> was that it needs glib 2.16 and I had 2.14.  Thankfully it doesn't have too 
> many dependancies so it isn't hard to check them all.


Right, I'll start looking through the gio-fam-backend dependencies and report 
back.
Thanks for the quick response.

Peter Harrison.


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


Problem with gio-fam-backend, portupgrade failing...

2008-04-07 Thread peter harrison
I'm having a problem running portupgrade -a. The original run was interrupted 
by a system crash. Now when I try to repeat it fails asking for pkgdb -fF to be 
run.

When I run this, I get stale dependencies on policykit, but when I say "yes" to 
install, the install of policykit fails on gio-fam-backend (not a port I had 
installed before the attempted upgrade).

Here's an extract from the build:


 -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -pthread 
-DG_LOG_DOMAIN=\"GLib-GIO\" -I../.. -I../../glib -I../../gmodule -I../../gio 
-DG_DISABLE_CAST_CHECKS -DGIO_MODULE_DIR=\"/usr/local/lib/gio/modules\" 
-DGIO_COMPILATION -DG_DISABLE_DEPRECATED -O2 -fno-strict-aliasing -pipe -Wall 
-MT libgiofam_la-gfamfilemonitor.lo -MD -MP -MF 
.deps/libgiofam_la-gfamfilemonitor.Tpo -c gfamfilemonitor.c -o 
libgiofam_la-gfamfilemonitor.o >/dev/null 2>&1
mv -f .deps/libgiofam_la-gfamfilemonitor.Tpo 
.deps/libgiofam_la-gfamfilemonitor.Plo
gmake: *** No rule to make target `../../gio/libgio-2.0.la', needed by 
`libgiofam.la'.  Stop.
*** Error code 2

Stop in /usr/ports/devel/gio-fam-backend.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.72819.0 
env make
** Fix the problem and try again.
--->  Skipping 'sysutils/policykit' because a requisite port 
'devel/gio-fam-backend' failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/gio-fam-backend (unknown build error)
* sysutils/policykit
Command failed [exit code 1]: /usr/local/sbin/portinstall sysutils/policykit

So now I'm stuck halfway through a portupgrade.

This is on 

FreeBSD desktop.piggybox 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #5: Wed Apr  2 
03:41:26 BST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Can anyone offer a suggestion for how I fix this?

Thanks in advance.

Peter Harrison

__

"Trillian did a little research in the ship's copy of 
THHGTTG. It had some advice to offer on drunkenness.
`Go to it,' it said, `and good luck.'
It was cross-referenced to the entry concerning the size of 
the Universe and ways of coping with that."

- One of the more preferable pieces of advice contained in the Guide. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


POP3 recommendations...

2008-02-21 Thread Peter Harrison
I've not run a POP3 server before, but now I'm getting tired of confusing 
myself pulling my email down from my ISP across my laptop, desktop, and home 
server. Could someone recommend a solution for me?

The situation is that I have a home server (running NFS, Samba, FTP, Apache, 
Mysql), plus a desktop and laptop (which generally gets used just around the 
house). The desktop and laptop both run fetchmail to collect my email from my 
ISP - but obviously this means some of my email ends up on the laptop, and some 
on the desktop.

I'm after something like using fetchmail on the server to collect the mail, 
then probably sort it with procmail before making it available to my home 
network. The aim is for the mail to remain on the home server - Ie. In one 
central location on my network.

Any recommendations for a POP3 server that would fit into a home network and 
make this easy to understand for the newbie?

Thanks for your help.


Peter Harrison

Peter, Deb, Jessica, & Alex
Visit us online at www.4harrisons.blogspot.com

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


Re: usb wifi

2008-02-04 Thread Peter Harrison
I don't know about the adaptor you've mentioned, but I'm using an Asus WL-167g 
(a ralink chipset) without problem using the native ural driver. Check the 
manpage for other supported devices.

Peter Harrison

Peter, Deb, Jessica, & Alex
Visit us online at www.4harrisons.blogspot.com

-Original Message-

From:  Brian <[EMAIL PROTECTED]>
Subj:  usb wifi
Date:  Mon 4 Feb 2008 6:39
Size:  386 bytes
To:  freebsd-questions@freebsd.org

Has anyone tried the usb based wifi adapters, something like this 
http://catalog.belkin.com/IWCatProductPage.process?Product_Id=179211 
with freebsd?

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


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


Re: Build server for ports and world...

2008-01-19 Thread peter harrison
On Sat, Jan 19, 2008 at 03:07:54AM +0300, Yuri Pankov wrote:
> On Fri, Jan 18, 2008 at 11:32:37PM +0000, peter harrison wrote:
> > I'd like to set up a build server at home to save me time when running 
> > portupgrade and building world.
> > 
> > I've read the handbook on this, and I'm happy with the process of NFS 
> > mounting /usr/src /usr/obj and /usr/ports etc..
> > 
> > I've two questions though.
> > 
> > First, my home server currently runs 6.2-RELEASE - I update it using 
> > freebsd-update and it doesn't have the source for world & kernel.
> > Is it possible to put the 7.0 source on this and build for installation on 
> > my desktop, or do I need to take the server to 7.0 before I do this?
> 
> Yes, it should be possible.
> 
> > Second, is there anyway of building packages without installing them?
> > I'm not keen to put X and all my desktop gubbins on the server when I only 
> > need it to build the packages.
> 
> Look at ports-mgmt/tinderbox, does exactly what you want :-)
> 
> > Thanks for any help.
> > 
> > 
> > Peter Harrison.
> > -- 
> > "`That young girl is one of the least benightedly 
> > unintelligent organic life forms it has been my profound 
> > lack of pleasure not to be able to avoid meeting.'" 
> > 
> > - Marvin's first ever compliment about anybody. 
> 
> HTH,
> Yuri
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Thanks Yuri, I'll take a look at Tinderbox.


Peter Harrison.

-- 
"`Maybe somebody here tipped off the Galactic Police,' said 
Trillian. `Everybody saw you come in.'
`You mean they want to arrest me over the phone?' said 
Zaphod, `Could be. I'm a pretty dangerous dude when I'm 
cornered.'
`Yeah,' said a voice from under the table [Ford's now 
completely rat-arsed at this point], `you go to pieces so 
fast people get hit by the shrapnel.'"

- Zaphod getting paranoid over a phone call. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Build server for ports and world...

2008-01-18 Thread peter harrison
I'd like to set up a build server at home to save me time when running 
portupgrade and building world.

I've read the handbook on this, and I'm happy with the process of NFS mounting 
/usr/src /usr/obj and /usr/ports etc..

I've two questions though.

First, my home server currently runs 6.2-RELEASE - I update it using 
freebsd-update and it doesn't have the source for world & kernel.
Is it possible to put the 7.0 source on this and build for installation on my 
desktop, or do I need to take the server to 7.0 before I do this?

Second, is there anyway of building packages without installing them?
I'm not keen to put X and all my desktop gubbins on the server when I only need 
it to build the packages.

Thanks for any help.


Peter Harrison.
-- 
"`That young girl is one of the least benightedly 
unintelligent organic life forms it has been my profound 
lack of pleasure not to be able to avoid meeting.'" 

- Marvin's first ever compliment about anybody. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem with wireless on 7.0 BETA3...

2007-12-04 Thread Peter Harrison
I've just installed 7.0-BETA3 on my laptop. It was running 6-STABLE, but rather 
than buildworld etc. I opted for a fresh install from CD (subsequently updated 
to catch the security notification).

It's a cheap Dell Inspiron and doesn't come with wireless, so I use an Asus 
WL-167g USB adaptor, which is supported  natively by the ural driver.

This line from rc.conf would initialise the network on 6-STABLE:

ifconfig_ural0="inet 192.168.1.4 netmask 255.255.255.0 ssid  channel 11 
wepmode on wepkey 1:0x?? deftxkey 1"

I have the router set to use WEP (ural didn't support WPA in 6-*) and not to 
broadcast the ssid.

After installing 7.0 it took over an hour of experimenting to get the network 
back up. I eventually had ifconfig showing all the correct setting, but still 
failing to associate. After much fiddling I set the router to broadcast the 
ssid and changed the ifconfig line to:

ifconfig_ural0="inet 192.168.1.4  netmask 255.255.255.0  ssid   bssid 
00:14:bf:94:1e:75  channel 11  wepmode on wepkey 0x??  
deftxkey 1"

I found that if I didn't put the options in just the right order, it wouldn't 
pick up the right settings.

Can anyone shed any light on what I did wrong? Or how I can get 7.0 to connect 
without having to broadcast my ssid to the world?

Thanks for your help.


Peter Harrison.

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


Odd ppp and route problem...

2006-03-09 Thread peter harrison
Hello all,

I'm trying to get inbound ppp working on my freebsd box. I've reached the point 
where I can get the other machine to connect to my box via tun0, and the 2 can 
ping each other.

However, the client on the other end can ping anything else on my LAN. My set 
up looks like this:

Gateway (192.168.1.1)
|
|
|
FreeBSD (192.168.1.2)
|
|
|
ppp connection (192.168.1.10)

So 192.168.1.10 can ping 192.168.1.2 but can't ping 192.168.1.1

The command I'm running is /usr/sbin/ppp -auto palm, and this is on 
6.0-RELEASEp4

The ppp client making the connection to the FreeBSD box is a Palm Tungsten E 
via USB cable.

I've read the (brief) handbook section on inbound ppp, the ppp man page, and 
googled a bit and I can't work out what I'm doing wrong - but it's probably 
something basic!

Any help or advice greatly appreciated!

Peter Harrison (see further info below)

---

Here's the output of netstat while the connection's up:

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.1.1UGS 0  699   sis0
127.0.0.1  127.0.0.1  UH  0   22lo0
192.168.1  link#1 UC  00   sis0
192.168.1.100:14:bf:94:1e:75  UHLW212368   sis0548
192.168.1.10   192.168.1.2UH  00   tun0

And here's my ppp.conf:

#
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by [EMAIL PROTECTED]
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.10 2004/11/19 17:12:56 obrien Exp $
#

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 # Ensure that "device" references the correct serial port
 # for your modem. (cuad0 = COM1, cuad1 = COM2)
 #
 set device /dev/cuad1

 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
   \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 180# 3 minute idle timer (the default)
# enable dns# request DNS info (for resolv.conf)

papchap:
 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #

 set phone PHONE_NUM
 set authname USERNAME
 set authkey PASSWORD

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR# Add a (sticky) default route

palm:
set device /dev/ttyU0
set cd off
set dial
set speed 57600
set timeout 300
set redial 5 0
set reconnect 3 5
set ctsrts on
set ifaddr 192.168.1.2 192.168.1.10 255.255.255.255
open
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


USB Mass Storage problem after upgrade...

2006-02-14 Thread peter harrison
I upgraded last night from 6.0-RELEASE p2 to 6.0-RELEASE p4, and I'm now having 
difficulty mounting my cheap USB mass storage MP3 player.

When I plug it in, the device is created properly, but when I try to mount it 
with "mount -t msdos /dev/da0s1 ~/mnt" I get "mount_msdosfs: /dev/da0s1: 
Invalid argument".

I've umass.ko loaded as a module. The kernel is custom, but consists of GENERIC 
minus the uscanner device. My SD Card reader still mounts fine.

Here's a tail of /var/log/messages:

Feb 14 09:35:05 desktop kernel: umass0: detached
Feb 14 09:45:58 desktop kernel: umass0:  , rev 1.10/10.01, 
addr 2
Feb 14 09:45:58 desktop kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Feb 14 09:45:58 desktop kernel: da0:  Removable Direct 
Access SCSI-4 device 
Feb 14 09:45:58 desktop kernel: da0: 1.000MB/s transfers
Feb 14 09:45:58 desktop kernel: da0: 241MB (493568 512 byte sectors: 64H 32S/T 
241C)
Feb 14 09:46:07 desktop kernel: Next free cluster in FSInfo (122912) exceeds 
maxcluster (122896)

Can anyone offer me advice on how to resolve this?


Peter Harrison


-- 
You have a strong appeal for members of the opposite sex.

Oops - this is what you get for piping fortune into your sig, don't take 
offence!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"