Wireless network

2008-05-17 Thread Harry Matthiesen Jensen
Hello there,

I just installed FreeBSD on my laptop, a Toshiba Satellite Pro L40.
Everything is working nicely, even X with the intel driver.

The laptop has a buildin wireless network, presenting itself during boot
as:

ugen0: vendor 0x0bda RTL8187B_WLAN_Adapter,
class 0/0, rev 2.00/2.00,addr 2 on uhub2

For some reason it is registered as an USB item.

I have not been able to find a driver for this, and I know that it can
be tricky to get it up running.

Have any of you guys had any luck with this type of wireless? ..or
should I just stick to a new USB wireless adapter, known to be working in
FreeBSD?

-- 
Mvh/Brgds Harry
FreeBSD 8.0-CURRENT Compiled at Mon May 12 19:58:10 CEST 2008  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Very slow xfce

2008-05-17 Thread Nishita Desai
Hello,

I am having a very strange problem. I just finished installing
Xfce-4.4 and got it to work with XDM. But all xfce native applications
are behaving very strangely:

1. The terminal doesn't echo back my characters till I've typed the
next character. This is applicable to backspace key and password
prompts (which wont show up till _after_ if finished typing and
pressed enter)
2. The menus dont render properly. Again, I can see the the items only
when I hover over them.

xterm works fine, so do menus within Firefox. Although my cursor
disappears in Firefox's text-boxes sometimes.

I have just installed exactly this combination on another system and
it works fine. I am quite at a loss where to even start looking. Any
help would be appreciated.

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


Re: JRE problem after installing linux-sun-jre1.6.0

2008-05-17 Thread Jonathan Chen
On Fri, May 16, 2008 at 05:15:42PM +0200, bsd wrote:
 Hello,
 
 
 I have installed linux-sun-jre1.6.0 and I have an error stating
 
 # java -version
 /usr/local/linux-sun-jre1.6.0/bin/java: error while loading shared  
 libraries: libjli.so: cannot open shared object file: No such file or  
 directory
 
 
 What do you suggest me to make that work properly - I just need to  
 have a little java app working?

Use the ports. Install java/jdk16.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Opportunity does not knock,
   it presents itself when you beat down the door - W.E. Channing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Very slow xfce

2008-05-17 Thread Glyn Millington
Nishita Desai [EMAIL PROTECTED] writes:

 Hello,

 I am having a very strange problem. I just finished installing
 Xfce-4.4 and got it to work with XDM. But all xfce native applications
 are behaving very strangely:

 1. The terminal doesn't echo back my characters till I've typed the
 next character. This is applicable to backspace key and password
 prompts (which wont show up till _after_ if finished typing and
 pressed enter)
 2. The menus dont render properly. Again, I can see the the items only
 when I hover over them.

 xterm works fine, so do menus within Firefox. Although my cursor
 disappears in Firefox's text-boxes sometimes.

 I have just installed exactly this combination on another system and
 it works fine. I am quite at a loss where to even start looking. Any
 help would be appreciated.


Just as a start, until the experts arrive ..

Is Xfce just too much for the system?  It ran nicely here a while back on
a 900mhz machine - but was noticeably slower than fvwm, so I ditched it
:-)

Firefox works - but does it take forever for ff to start?


Xterm works - close down firefox and everything else, fire up an xterm
and run top - is there anything using up a lot of memory or cpu that
shouldn't be there at all?

Have a look at /var/log/Xorg.0.log  - any interesting error messages?


What does your .xinitrc look like?  


atb



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


Re: 486 Install??

2008-05-17 Thread Bogdan Ćulibrk

Thomas F Simpson Jr wrote:

I have a 486 DEEP GREEN system I would like to put some version of FreeBSD on 
(I have my reasons).

I have other inquiries out on this, but if I correctly recall (and that is a 
real rusty recall at best), the max memory you could get on one of these beasts 
was 48MB, unless they made some bigger, recognizable, 72-pin modules.

I have 8 MB of hard drive space free for a FreeBSD partition and I am actually 
running an Intel P24T Overdrive for my CPU. All work fine on the DOS 6.2.2 
partition I need to run.

Would any version of FreeBSD work with just 48MB of RAM? Or do I need to figure 
out a way to get more RAM on the board, IF POSSIBLE?


Go for 4.x series.
You can find it on ftp-archive.freebsd.org.
Trying to pump 6.x or 7.x on that hardware is equal to masohism.

--
Best regards,
Bogdan Culibrk
[EMAIL PROTECTED] http://default.co.yu/~bc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Very slow xfce

2008-05-17 Thread Nishita Desai
On Sat, May 17, 2008 at 1:48 PM, Glyn Millington [EMAIL PROTECTED] wrote:
 Is Xfce just too much for the system?  It ran nicely here a while back on
 a 900mhz machine - but was noticeably slower than fvwm, so I ditched it
 :-)

It's a brand-new laptop, so I don't think it's got to do with memory
or processor speed. Top doesn't show anything. Maximum cpu usage
percentage is within single digits and so is the memory usage.

 Have a look at /var/log/Xorg.0.log  - any interesting error messages?
Nothing I can spot.


 What does your .xinitrc look like?

It has only one line:
/usr/local/bin/startxfce4

reg,
Nishita



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


Login with ssh using pam_radius and a template_user

2008-05-17 Thread Jacco van Buuren
Hello list,

I've searched and googled quite a bit for a solution to this, but didn't find 
any. I can't get PAM_RADIUS working with
a TEMPLATE_USER for remote logins with SSHD. If I overlooked anything, any 
hints will be highly appreciated.

The situation is as follows:

A radius authorization backend system, server A, has user ALICE, with a 
password, and user BOB, with a password.
Another server, server B, is using PAM_RADIUS for radius authentication on SSHD 
for remote logins. While attempting to
figure out how pam_radius works on server B, pam (/etc/pam.d/sshd) is 
configured like this:

authsufficient  pam_radius.so   try_first_pass 
template_user=bob debug
account sufficient  pam_radius.so   template_user=bob debug
passwordsufficient  pam_radius.so   try_first_pass 
template_user=bob debug

On server B, Bob has a plain vanilla Unix account in /etc/passwd, with an 
existing shell and homedirectory. When using
the pam config shown above, Bob is asked for his radius password from server A 
(as expected) when he tries to login
with ssh. This works perfectly Ok for Bob: Radius authentication is working on 
server B when using ssh to login - in
this case regardless of his password. So far so good.

Since Bob has special privileges on server B, his account will be the template 
for a small group of other users,
effectively sharing the bob-account - not Bobs' password - with others. 
Template_user should provide for this, from
the pam_radius man-page:

 template_user=username
 specifies a user whose passwd(5) entry will be used as a tem- 
plate to create the session environment
if the supplied user- name does not exist in local password database.  The user 
will be authenticated with the
supplied username and pass- word, but his credentials to the system will be 
presented as the ones for username, i.e.,
his login class, home directory, resource limits, etc. will be set to ones 
defined for username.

 If this option is omitted, and there is no username in the 
system databases equal to the supplied one
(as determined by call to getpwnam(3)), the authentication will fail.

As pam is configured with 'template_user=bob', it would be expected that user 
'alice' - an account that doesn't exist
on server B in /etc/passwd - should be able to login with ssh since Bob can 
login... Oddly enough, logging in ONLY
works for user 'alice' when the account exists in /etc/passwd on server B. 
Which would still require all the accounts
being present on server B, and thus defeating the purpose of a template_user. 
It seems that template_user has no
effect, no matter which password (alice/bob) is used. Sshd is actually 
complaining about pam: fatal: Internal error:
PAM auth succeeded when it should have failed.

From what I've googled it seems that this topic is returning every now and 
then, without any clear solution. Some do
indeed point to OpenSSH
(http://www.usenet-forums.com/openssh-development/336942-sshd-pam_radius-under-freebsd.html#post706102).
 I haven't
tested this with telnetd or others. To put it another way: I've found no 
document that explains why a pam_radius
template_user shouldn't work with sshd.

Can this be done at all? Am I overlooking anything? Should I send-pr this? Or 
am I totally misreading the man-page?
Any help is much appreciated.


Thanks!

Jacco








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


xf86-video-intel with G33 without agp?

2008-05-17 Thread Roland Smith
Hi list,

I just got a new machine (Asus P5KPL-VM motherboard) with a intel G33
graphics chip in the northbridge. Xorg recognizes it as a G33;

(II) Primary Device is: PCI 00:02:0
(--) Chipset G33 found
(II) intel(0): Integrated Graphics Chipset: Intel(R) G33

The problem is that the chip cannot allocate video memory.

(EE) intel(0): Couldn't allocate video memory

According to intel(4) allocating memory is usually done with the agp(4)
driver. This motherboard doesn't have agp, though. I've tried loading
the agp, i915 and drm kernel modules, but that doesn't help.

Is there any way to make this work? I've got X running with the VESA
driver but doesn't give a really good image.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpPsxBSlPBDn.pgp
Description: PGP signature


Re: Very slow xfce

2008-05-17 Thread Nishita Desai
On Sat, May 17, 2008 at 3:27 PM, Glyn Millington [EMAIL PROTECTED] wrote:
 Have a look at /var/log/Xorg.0.log  - any interesting error messages?

 Nishita Desai [EMAIL PROTECTED] writes:
 Nothing I can spot.

Okay, I didn't see this earlier.

[drm] failed to load kernel module i915
(EE) [drm] drmOpen failed.
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.

I have dri-7.0.3_1,2 installed

xdriinfo gives
# xdriinfo
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

Error: Couldn't open display

--

reg.,
Nishita



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


Re: Very slow xfce

2008-05-17 Thread Ashish Shukla आशीष शुक्ल
 Nishita Desai writes:

Nishita Okay, I didn't see this earlier.

Nishita [drm] failed to load kernel module i915
Nishita (EE) [drm] drmOpen failed.
Nishita (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.

Nishita I have dri-7.0.3_1,2 installed

DRI support for 965G in FreeBSD is available in CVS, and I'm using that
with no issues. I've not checked-out complete tree only the
'src/sys/dev/drm' directory.

1. Backup /usr/src/sys/dev/drm somewhere .
2. Check out
':pserver:[EMAIL PROTECTED]:/home/ncvs/src/sys/dev/drm'
using cvs and place the checked-out 'drm' at /usr/src/sys/dev .
3. Now compile again drm module by executing:

# make -C /usr/src/sys/modules/drm all install

HTH
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


pgpt3d2FBYZCA.pgp
Description: PGP signature


Re: Very slow xfce

2008-05-17 Thread Glyn Millington
Nishita Desai [EMAIL PROTECTED] writes:

 On Sat, May 17, 2008 at 3:27 PM, Glyn Millington [EMAIL PROTECTED] wrote:
 Have a look at /var/log/Xorg.0.log  - any interesting error messages?

 Nishita Desai [EMAIL PROTECTED] writes:
 Nothing I can spot.

 Okay, I didn't see this earlier.

 [drm] failed to load kernel module i915
 (EE) [drm] drmOpen failed.
 (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.

 I have dri-7.0.3_1,2 installed

 xdriinfo gives
 # xdriinfo
 Xlib: connection to :0.0 refused by server
 Xlib: No protocol specified

 Error: Couldn't open display


Try adding this to xorg.conf


Section DRI
Mode0666
EndSection



hth







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


Re: Wireless network

2008-05-17 Thread Wojciech Puchar


The laptop has a buildin wireless network, presenting itself during boot
as:

ugen0: vendor 0x0bda RTL8187B_WLAN_Adapter,
class 0/0, rev 2.00/2.00,addr 2 on uhub2

For some reason it is registered as an USB item.


it may be actually USB chip, just soldered on motherboard.

but i can't help you with driver.



I have not been able to find a driver for this, and I know that it can
be tricky to get it up running.

Have any of you guys had any luck with this type of wireless? ..or
should I just stick to a new USB wireless adapter, known to be working in
FreeBSD?

--
Mvh/Brgds Harry
FreeBSD 8.0-CURRENT Compiled at Mon May 12 19:58:10 CEST 2008  i386
___
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: xf86-video-intel with G33 without agp?

2008-05-17 Thread Wojciech Puchar

(EE) intel(0): Couldn't allocate video memory

According to intel(4) allocating memory is usually done with the agp(4)
driver. This motherboard doesn't have agp, though. I've tried loading


it may have - internally.



the agp, i915 and drm kernel modules, but that doesn't help.


is agp compiled in kernel and loaded when booting. it doesn't work right 
when started after boot - at least didn't for me.




Is there any way to make this work? I've got X running with the VESA
driver but doesn't give a really good image.

Roland
--
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


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


Re: xf86-video-intel with G33 without agp?

2008-05-17 Thread Roland Smith
On Sat, May 17, 2008 at 02:26:50PM +0200, Wojciech Puchar wrote:
 (EE) intel(0): Couldn't allocate video memory
 
 According to intel(4) allocating memory is usually done with the agp(4)
 driver. This motherboard doesn't have agp, though. I've tried loading
 
 it may have - internally.

Wouldn't that show up in 'pciconf -lv'? I see no mention of agp in it's output.
 
 the agp, i915 and drm kernel modules, but that doesn't help.
 
 is agp compiled in kernel and loaded when booting. it doesn't work right 
 when started after boot - at least didn't for me.

I'm using GENERIC now. I'll go and built a custom kernel.
 
 Is there any way to make this work? I've got X running with the VESA
 driver but doesn't give a really good image.
 
 Roland
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpkw9szRVDxP.pgp
Description: PGP signature


Re: Wireless network

2008-05-17 Thread Mel
On Saturday 17 May 2008 09:03:31 Harry Matthiesen Jensen wrote:

 ugen0: vendor 0x0bda RTL8187B_WLAN_Adapter,
 class 0/0, rev 2.00/2.00,addr 2 on uhub2

 For some reason it is registered as an USB item.

Cause it's an USB wlan card:
http://www.realtek.com.tw/products/productsView.aspx?Langid=1PFid=1Level=6Conn=5ProdID=143

Maybe poke Warner Losh:
http://bsdimp.blogspot.com/2007/05/found-cheap-sdio-80211b-card.html

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need to lcase/tolower/strlwr a directory hierarchy, is there an intrinsic util?

2008-05-17 Thread Lowell Gilbert
Steve Franks [EMAIL PROTECTED] writes:

 Just found strings(1), the util, thought there might be something like
 that for lcase/tolower/strlwr?  Would definitely pretty up my old
 photos directories from my win32 days...

Not clear on what you want here.  

Maybe something like 
  for fil in [A-Z]* ; do mv $fil `echo $fil |tr [A-Z] [a-z] ` ; done
[untested], perhaps?
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PostgreSQL debugging

2008-05-17 Thread Robert Fitzpatrick
I installed from the ports system postgresql83-server WITH_DEBUG=true 
and cannot find any of the associated files after install. The pgsql 
list said the plugin_debugger.so file should be in my lib directory and 
the script to setup debugging on a db should be in the share directory. 
I have looked in /usr/local/share/postgresql and 
/usr/local/lib/postgresql, even tried updating my locate db and using 
locate to find, but neither file found anywhere. I checked 
/var/db/ports/postgresql83/options and see the WITH_DEBUG option was set 
during the build. I built again and cannot even find the 
README.debugging in the doc directory under the build.


What can I do to get debugging support?

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


Re: kernel panic FreeBSD 7.0 - Xorg

2008-05-17 Thread Zbigniew Komarnicki
On Monday 12 of May 2008 22:22:12 Roland Smith wrote:
 It might also be a hardware problem. Testing the RAM would be a good
 place to start.

I bought new RAM and tested it with 'memtest' and now is OK (no error was 
found). Hover I still got kernel panic when I do:
# Xorg -configure
# Xorg -config /root/xorg.conf.new

what is going on? What else can cause such behavior. As I mentioned previously 
Debian works great on this computer.  Maybe it is a bug in Xorg?

Maybe someone else had or have such problems with Xorg?

I want to work on FreeBSD 7.0, but this problem is very strange. When I work 
on FreeBSD 6.3 I hadn't such problems - it simply work.

Thank you in advance for any help.

Best wishes,
Zbigniew

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


RE: Buffalo/Broadcom wireless N card

2008-05-17 Thread Ted Mittelstaedt
Just one more tip when using ndisgen,

If you produce a module that is unstable, try ndisgening with
an older version of the windows driver, that will work sometimes.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Walter
Sent: Thursday, May 15, 2008 1:03 PM
To: Questions
Subject: Re: Buffalo/Broadcom wireless N card

Walter wrote:

 I'm trying to compile support for a wireless router into FBSD 7
 using instructions off a FBSD help page I can't locate just now.
 (I'm working on building a network bridge.)

 [EMAIL PROTECTED]:0:10:0:class=0x028000 card=0x03531154 chip=0x432914e4 
 rev=0x01 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'BCM43XNG 802.11n Network Adapter'
class  = network

 When it boots in the machine which has the card (I compiled
 on another computer) it blows out with a kernel error (writing
 not a non-existent page, I think) when the device shows up.
 It shows as device bge0 but identified as BCM 5701 (iirc).

 Can someone point me in the right direction?  Has anyone
 gotten this card to work?

With help from the List I got this to work:

The answer, maybe not the BEST answer, but the answer that
works, is to use the Windows XP driver and FBSD's 'ndis'.  My
goal was to build a FBSD router with wireless access to my COTS
wireless router to provide network access in another part of the house.

Get the driver files (.sys  .inf) either from the CD that came with
the card or from the Buffalo web site:
http://www.buffalotech.com/support/downloads/

Then, per instructions from the Handbook (11.8.2)
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-set
up.html
run 'ndisgen' on the driver files:

# ndisgen netg300n.inf cbg300n.sys

A .ko file will be generated: cbg300n_sys.ko.  It can be loaded
using 'kldload ./cbg300n_sys.ko' but I wanted it loaded at boot.
So, as 11.8.2 says, copy this file to /boot/modules and add the
following line to /boot/loader.conf:

   cbg300n_sys_load=YES

Also, as I wanted WPA encryption, I added two other lines to
loader.conf:
   wlan_ccmp_load=YES
   wlan_tkip_load=YES
The wireless setup instructions are in the handbook section 29;
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.h
tml

Then in /etc/rc.conf add this:
   ifconfig_ndis0=WPA DHCP
The device 'ndis0' is created by the ndis driver when it handles a
Windows driver.  I guess if you have more than one Windows
device and driver you get to sort out the various ndis0/1/2/3/4/5/etc.
If you don't want WPA just use DHCP and you don't need the
two extra lines above in loader.conf.

For WPA you need to create the WPA config file:
/etc/wpa_supplicant.conf:
   network={
  ssid=your wireless network name
  psk=your personal access key
   }

Somehow, it all magically started working.  (No doubt due to the
hard work of many FBSD coders.)

I hope I didn't leave out any major part.  I'm posting this not only
so other can benefit if they run into a similar problem, but in case
this box burns (HD fails) I'll have a record of what I did to recreate
it. g

Thank you again to those that helped.

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


Job Offer Representative Urgently Needed

2008-05-17 Thread Littmann Stethoscope CO . LTD
Would you like working with us online and earn upto £5,000?
Feel free to mail us back for more details about the opportunity.



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


Re: another problem

2008-05-17 Thread John Wynstra
The *portsnap fetch extract* seems to have failed.  I do *pkg_version 
-v* and openoffice-2 does not appear in the listing.  Why not?  Actually 
the previous /usr/ports tree came from a tar extract I took from the 
internet and not the installation CDROM.  Should I clean out some INDEX 
files and redo this step or is that done automatically?  I just now did 
another *portsnap fetch update* and openoffice.org was not listed among 
the new ports.  Of course *pkg_version -v* gives me an incomplete listing.


John Wynstra wrote:

(1) How do I test the version number of this?
(2) I did portsnap extract as this was the first time I did this (the 
previous /usr/ports tree came from the CDROM)

(3) I did another make install and it fails with ...
/usr/bin/ld: cannot find -lgio-2.0
[root@ /usr/ports/editors/openoffice.org-2]#

[root@ /usr/ports/editors/openoffice.org-2]# make clean
===  Cleaning for libart_lgpl-2.3.20,1
===  Cleaning for cups-base-1.3.7_2
===  Cleaning for gnome-vfs-2.22.0_1
===  Cleaning for gio-fam-backend-2.16.3
===  Cleaning for gnutls-2.2.2
===  Cleaning for samba-libsmbclient-3.0.28a
===  Cleaning for avahi-app-0.6.22_4
===  Cleaning for gamin-0.1.9_1
===  Cleaning for libgcrypt-1.4.1
===  Cleaning for libgpg-error-1.6
===  Cleaning for libdaemon-0.12
===  Cleaning for gdbm-1.8.3_3
===  Cleaning for openoffice.org-2.4.0_5

There's gotta be a better way of discovering the installed versions!

Now what is -lgio-2.0? and why is it missing?
What tools do I have for debugging this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: another problem

2008-05-17 Thread Sahil Tandon
* John Wynstra [EMAIL PROTECTED] [05-17-2008]:

 The *portsnap fetch extract* seems to have failed.  I do *pkg_version -v* 
 and openoffice-2 does not appear in the listing.  Why not?  
  
Because it is not installed?

 previous /usr/ports tree came from a tar extract I took from the internet 
 and not the installation CDROM.  Should I clean out some INDEX files and 
 redo this step or is that done automatically?  I just now did another 
 *portsnap fetch update* and openoffice.org was not listed among the new 
 ports.  Of course *pkg_version -v* gives me an incomplete listing.

It does not matter where your ports tree came from.  Go to:

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

and follow the instructions to update your tree. 

 Now what is -lgio-2.0? and why is it missing?

This is related to glib2.0.

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


rndis on freebsd?

2008-05-17 Thread Vince Hoffman

Hi all,
	I've been looking at using my htc hermes (orange spv3100) as a 3g 
modem. To do this it looks like I need to attach it as an rndis device 
and set the phone as my router. Is this supported at all in freebsd?
	I tried hacking if_cdce (added device ID) and when i enable connection 
sharing on the phone it attaches, but I cant get it to talk to my laptop 
over the cdce interface (either trying dhcp on the cdce interface, 
manually giving it the IP it gets given on windows or manually setting 
both ends) so i'm guessing it needs something more.


Any clues welcome.

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


Re: another problem

2008-05-17 Thread John Wynstra

And glib2 is part of Gnome?
I never installed Gnome because I don't like Gnome.
I tried to manually install /usr/ports/devel/gio-fam-backend and got the 
same error.


Perhaps I need to get Gnome off the installation CDROM.
I really only need the library stuff.

Alternatively is there an Internet source for the missing Gnome libraries?

Sahil Tandon wrote:

Now what is -lgio-2.0? and why is it missing?



This is related to glib2.0.
  

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


Re: another problem

2008-05-17 Thread Glyn Millington
John Wynstra [EMAIL PROTECTED] writes:

 And glib2 is part of Gnome?
 I never installed Gnome because I don't like Gnome.
 I tried to manually install /usr/ports/devel/gio-fam-backend and got
 the same error.

 Perhaps I need to get Gnome off the installation CDROM.
 I really only need the library stuff.

 Alternatively is there an Internet source for the missing Gnome libraries?

Yes there is.

Here is a snip from the Makefile in /usr/ports/devel/gio-fam-backend

,
| PORTNAME=   gio-fam-backend
| PORTVERSION=2.16.3
| CATEGORIES= devel
| MASTER_SITES=   
${MASTER_SITE_GNOME:S,%SUBDIR%,sources/glib/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/},}
 \
| 
ftp://ftp.gtk.org/pub/glib/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/ \
| ftp://ftp.gimp.org/pub/%SUBDIR%/ \
| ftp://ftp.cs.umn.edu/pub/gimp/%SUBDIR%/ \
| http://www.ameth.org/gimp/%SUBDIR%/ \
| ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/gimp/%SUBDIR%,}
| MASTER_SITE_SUBDIR= gtk/v${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
| DISTNAME=   glib-${PORTVERSION}
`

Compare the 2nd line with the last - this port needs glib-2.16.3


Now

$cat /usr/ports/devel/glib20/distinfo

MD5 (gnome2/glib-2.16.3.tar.bz2) = 195f9a803cc5279dbb39afdf985f44cb
SHA256 (gnome2/glib-2.16.3.tar.bz2) = 
562742a234c7b842d891ec8ed4c9bead093c33863cca01e31912f59f6c8e887d
SIZE (gnome2/glib-2.16.3.tar.bz2) = 4540919

so if you install that port then gio-fam-backend will work.  It worked here!

hth

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


Problems with Apache-2.2.8 PHP5 (+extensions) ports

2008-05-17 Thread Peter Boosten

Hi all,

Here's the situation: FreeBSD 7.0-RELEASE-p1, apache-2.2.8 from ports 
and php5:


php5-5.2.6  PHP Scripting Language
php5-bz2-5.2.6  The bz2 shared extension for php
php5-ctype-5.2.6The ctype shared extension for php
php5-dom-5.2.6  The dom shared extension for php
php5-extensions-1.1 A meta-port to install PHP extensions
php5-gd-5.2.6   The gd shared extension for php
php5-gettext-5.2.6  The gettext shared extension for php
php5-iconv-5.2.6The iconv shared extension for php
php5-imap-5.2.6_1   The imap shared extension for php
php5-mbstring-5.2.6 The mbstring shared extension for php
php5-mcrypt-5.2.6   The mcrypt shared extension for php
php5-mhash-5.2.6The mhash shared extension for php
php5-mysql-5.2.6The mysql shared extension for php
php5-pcre-5.2.6 The pcre shared extension for php
php5-pdo-5.2.6  The pdo shared extension for php
php5-posix-5.2.6The posix shared extension for php
php5-session-5.2.6  The session shared extension for php
php5-simplexml-5.2.6 The simplexml shared extension for php
php5-spl-5.2.6  The spl shared extension for php
php5-tokenizer-5.2.6 The tokenizer shared extension for php
php5-xml-5.2.6  The xml shared extension for php
php5-xmlreader-5.2.6 The xmlreader shared extension for php
php5-xmlwriter-5.2.6 The xmlwriter shared extension for php
php5-zlib-5.2.6 The zlib shared extension for php

I've downloaded Joomla 1.5 from their site and installed it in my 
webroot, configured it with sample data and it works except for (so 
far) two links:


Whenever I click these, my browser wants to save a blank php-page, 
Apache reports this:


[notice] child pid 31685 exit signal Illegal instruction (4)

and my /var/log/messages state:

kernel: pid 31685 (httpd), uid 80: exited on signal 4

I've reinstalled all my ports with portupgrade -af (as suggested by a 
google search result), but still it keeps doing this. On my other 
machine (6.3, apache from ports, but php installed from source) Joomla 
runs flawlessly.


Anyone seen this (a solution would be nice :-) )?

Thanks in advance.

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


Re: another problem

2008-05-17 Thread Sahil Tandon
* John Wynstra [EMAIL PROTECTED] [05-17-2008]:

 And glib2 is part of Gnome?
 I never installed Gnome because I don't like Gnome.
 I tried to manually install /usr/ports/devel/gio-fam-backend and got the 
 same error.

Because you need to install devel/glib20 first.

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


Re: another problem

2008-05-17 Thread Glyn Millington
John Wynstra [EMAIL PROTECTED] writes:

 Now what is -lgio-2.0? and why is it missing?
 What tools do I have for debugging this?

Well, I'm pretty new to this too, but you almost certainly have grep.


So you could 


$cd /usr/ports

$grep -R lgio-2.0 *


Depending on where in the ports tree it resides, this may take a few
minutes to run, but it will in the end spit out the line you need:-

devel/gio-fam-backend/files/patch-gio_fam_Makefile.in:+ -lgio-2.0 \


hth



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


installation of Python failed: ./python: Permission denied

2008-05-17 Thread Simon Jolle sjolle
Hi FreeBSD users

I am trying to install Python. Please help a newbie here.

[EMAIL PROTECTED] /usr/ports/lang/python]# make -DBATCH install clean
===  Extracting for python-2.5,2
===  Patching for python-2.5,2
===  Configuring for python-2.5,2
===  Installing for python-2.5,2
===   python-2.5,2 depends on file: /usr/local/bin/python2.5 - not found
===Verifying install for /usr/local/bin/python2.5 in
/usr/ports/lang/python25
===  Building for python25-2.5.2_2
cd /usr/ports/lang/python25/work/Python-2.5.2/portbld.shared;
/usr/bin/env VPATH=/usr/ports/lang/python25/work/Python-2.5.2
SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local
X11BASE=/usr/local  MOTIFLIB=-L/usr/local/lib -lXm -lXp
LIBDIR=/usr/lib CFLAGS=-O2 -fno-strict-aliasing -pipe
-D__wchar_t=wchar_t  -DTHREAD_STACK_SIZE=0x2  CXXFLAGS=-O2
-fno-strict-aliasing -pipe -D__wchar_t=wchar_t
-DTHREAD_STACK_SIZE=0x2 MANPREFIX=/usr/local
BSD_INSTALL_PROGRAM=install  -s -o root -g wheel -m 555
BSD_INSTALL_SCRIPT=install  -o root -g wheel -m 555
BSD_INSTALL_DATA=install  -o root -g wheel -m 444
BSD_INSTALL_MAN=install  -o root -g wheel -m 444 make libpython2.5.so
python;  /bin/ln -f libpython2.5.so libpython2.5.so.1;  /bin/ln -f
python python-shared2.5
`libpython2.5.so' is up to date.
`python' is up to date.
case $MAKEFLAGS in  *-s*)  CC='cc' LDSHARED='cc -shared -pthread'
OPT='-DNDEBUG -O2 -fno-strict-aliasing -pipe  -D__wchar_t=wchar_t
-DTHREAD_STACK_SIZE=0x2' ./python -E ./../setup.py -q build;;  *)
CC='cc' LDSHARED='cc -shared -pthread' OPT='-DNDEBUG -O2
-fno-strict-aliasing -pipe  -D__wchar_t=wchar_t
-DTHREAD_STACK_SIZE=0x2' ./python -E ./../setup.py build;;  esac
./python: Permission denied
*** Error code 126

Stop in /usr/ports/lang/python25/work/Python-2.5.2/portbld.static.
*** Error code 1

Stop in /usr/ports/lang/python25.
*** Error code 1

Stop in /usr/ports/lang/python.

cheers
Simon




signature.asc
Description: OpenPGP digital signature


Crypto on motherboard

2008-05-17 Thread Harry Matthiesen Jensen
Hi list,

After I loaded a driver (ubsec), I saw this line in the log:

cryptosoft0: software crypto on motherboard

Is it something I can take advantage of?

(The reason for loading the driver was only to see if I could get my
bluetooth usb stick working, and therefore just tried to load drivers
starting with u*)
-- 
Mvh/Brgds Harry
FreeBSD 8.0-CURRENT Compiled at Sat May 17 10:03:00 CEST 2008  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Re: Crypto on motherboard

2008-05-17 Thread Roland Smith
On Sat, May 17, 2008 at 11:51:43PM +0200, Harry Matthiesen Jensen wrote:
 Hi list,
 
 After I loaded a driver (ubsec), I saw this line in the log:
 
 cryptosoft0: software crypto on motherboard
 
 Is it something I can take advantage of?
 
This is the crypto(4) driver. It provides a device-independent framework
to support cryptographic operations in the kernel. I.e. is uses hardware
if available. If not it uses software, like in this case.

One use of it is encrypting disk partitions with geli(8).

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpdEmTa1n4kd.pgp
Description: PGP signature


Re: installation of Python failed: ./python: Permission denied

2008-05-17 Thread Sahil Tandon
* Simon Jolle sjolle [EMAIL PROTECTED] [05-17-2008]:

 ./python: Permission denied
 *** Error code 126

Anything in /etc/fstab being mounted with noexec,nosuid?

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


Re: installation of Python failed: ./python: Permission denied

2008-05-17 Thread Simon Jolle sjolle
On 05/18/2008 12:08 AM, Sahil Tandon wrote:
 * Simon Jolle sjolle [EMAIL PROTECTED] [05-17-2008]:
 
 ./python: Permission denied
 *** Error code 126
 
 Anything in /etc/fstab being mounted with noexec,nosuid?

No nothing noexec or nosuid. Filesystems table is out-of-the-box. Thanks

cheers
Simon




signature.asc
Description: OpenPGP digital signature


Re: measure traffic caused by pppd (UMTS)

2008-05-17 Thread Toni Schmidbauer
At Fri, 2 May 2008 11:46:46 +0200,
Matthias Apitz wrote:
 Sometimes when I travel around and can't see any usable WLAN I'm using
 the UMTS and PPPD, which works well but of course one must pay for this;

mb=`netstat -ib|awk '/tun0.*Link/ {mb=($6+$9)/1024^2; printf %.2f,mb}'`
date=`date +%s`
echo MB Transfered: $mb
echo $date $mb  ~/tmp/grps_kosten.txt

works for me. i'm using the above code snipped after shutting down
pppd.

hth
toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Stop building all those kernel modules

2008-05-17 Thread Luke Dean


I'm trying to use nanobsd to build a small kernel for an embedded system 
on FreeBSD 7.


In previous versions, I could modify GENERIC by just commenting out all 
the devices and options that I wasn't interested in, and buildkernel 
KERNCONF=myconf would happily ignore all the things I wasn't interested in.


This no longer works.  Now everything gets built, even things that are 
broken/incompatible with other options I've chosen.


I've tried setting NO_MODULES=YES, but the modules were still built.
I see documentation for WITHOUT_MODULES, but it wants me to list every 
module I don't want to build?  Come on!  There must be a better way...

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


Re: another problem

2008-05-17 Thread John Wynstra
I applied this fix, it worked for the previous problem and I came to the 
next one.

I am getting the impression this is very filthy code.

Making: ../unxfbsdi.pro/slo/textenc.obj
c++  -fmessage-length=0 -c -Os -fno-strict-aliasing   
-D_FILE_OFFSET_BITS=no -I.  -I../unxfbsdi.pro/inc/textenc -I../inc 
-I../inc/pch -I../inc -I../unx/inc -I../unxfbsdi.pro/inc -I. 
-I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solver/680/unxfbsdi.pro/inc/stl 
-I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solver/680/unxfbsdi.pro/inc/external 
-I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solver/680/unxfbsdi.pro/inc 
-I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solenv/unxfbsdi/inc 
-I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solenv/inc 
-I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/res 
-I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solver/680/unxfbsdi.pro/inc/stl 
-I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solenv/inc/Xp31 
-I/usr/local/diablo-jdk1.5.0/include 
-I/usr/local/diablo-jdk1.5.0/include/freebsd 
-I/usr/local/diablo-jdk1.5.0/include/bsd 
-I/usr/local/diablo-jdk1.5.0/include/linux 
-I/usr/local/diablo-jdk1.5.0/include/native_threads/include 
-I/usr/local/include 
-I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solver/680/unxfbsdi.pro/inc/offuh 
-I. -I../res -I. -pipe -mtune=pentiumpro -fvisibility-inlines-hidden -g1 
-Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy 
-Wno-non-virtual-dtor   -fpic -DFREEBSD -DUNX -DVCL -DGCC -DC341 -DINTEL 
-DCVER=C341 -DX86  -D_PTHREADS -D_REENTRANT -DNEW_SOLAR 
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450 -DHAVE_GCC_VISIBILITY_FEATURE 
-D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.2 
-DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 
-DOPTIMIZE -DCUI -DSOLAR_JAVA -DOOH680=OOH680   -DSHAREDLIB -D_DLL_   
-fno-exceptions -DEXCEPTIONS_OFF  -o ../unxfbsdi.pro/slo/textenc.o 
/usr/ports/editors/openoffice.org-2/work/OOH680_m12/sal/textenc/textenc.cxx

c++: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See URL:http://gcc.gnu.org/bugs.html for instructions.
dmake:  Error code 1, while making '../unxfbsdi.pro/slo/textenc.obj'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making 
/usr/ports/editors/openoffice.org-2/work/OOH680_m12/sal/textenc

dmake:  Error code 1, while making 'build_instsetoo_native'
---*  *---
*** Error code 255

Stop in /usr/ports/editors/openoffice.org-2.
[root@ /usr/ports/editors/openoffice.org-2]#
[root@ /usr/ports/editors/openoffice.org-2]# cd work/OOH680_m12/sal/textenc
[root@ /usr/ports/editors/openoffice.org-2/work/OOH680_m12/sal/textenc]# ls
CVS 
convertiso2022kr.h  tcvtmb.c
context.c   
convertiso2022kr.tabtcvtscn1.tab
context.h   
convertsinglebytetobmpunicode.cxx   tcvtscn2.tab
convertadobe.tab
convertsinglebytetobmpunicode.hxx   tcvtscn3.tab
convertbig5hkscs.c  
generatetcvtscn4.tab
convertbig5hkscs.h  
gettextencodingdata.h   tcvtscn5.tab
convertbig5hkscs.tab
makefile.mk tcvtscn6.tab
converter.c 
tcvtarb1.tabtcvtsym1.tab
converter.h 
tcvtbyte.c  tcvttcn1.tab
converteuctw.c  
tcvteas1.tabtcvttcn2.tab
converteuctw.h  
tcvtest1.tabtcvttcn6.tab
converteuctw.tab
tcvtjp1.tab tcvtuni1.tab
convertgb18030.c
tcvtjp2.tab tcvtutf7.c
convertgb18030.h
tcvtjp3.tab tcvtutf8.c
convertgb18030.tab  
tcvtjp4.tab tenchelp.c
convertiscii.tab
tcvtjp5.tab tenchelp.h
convertiso2022cn.c  
tcvtjp6.tab tencinfo.c
convertiso2022cn.h  
tcvtkr1.tab textcvt.c
convertiso2022cn.tab
tcvtkr2.tab textenc.cxx
convertiso2022jp.c  
tcvtkr4.tab unichars.c
convertiso2022jp.h  
tcvtkr5.tab unichars.h

convertiso2022jp.tabtcvtkr6.tab
convertiso2022kr.c  tcvtlat1.tab


Anyone have a clue as to what's wrong?


Glyn Millington wrote:

John Wynstra [EMAIL PROTECTED] writes:

  

And glib2 is part of Gnome?
I never installed Gnome because I don't like Gnome.
I tried to manually install 

Re: Stop building all those kernel modules

2008-05-17 Thread Luke Dean



On Sat, 17 May 2008, Luke Dean wrote:

In previous versions, I could modify GENERIC by just commenting out all the 
devices and options that I wasn't interested in, and buildkernel 
KERNCONF=myconf would happily ignore all the things I wasn't interested in.


This no longer works.  Now everything gets built, even things that are 
broken/incompatible with other options I've chosen.


Ah, I was confused.  It built all of the modules in the past as well.  It 
just wasn't a problem before because everything built correctly.
Today it appears to be bombing while compiling the zyd device, which 
wouldn't be so annoying if it weren't at the end of the alphabet...


I'm going to clean up and start over from the beginning.  If it happens 
again and I can't figure it out, I'll post my kernel configuration and the 
error message.

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


Re: [SOLVED] major CD errors when installing 7.0 (only 7.0)!

2008-05-17 Thread Joachim Rosenfeld
On Tue, May 13, 2008 at 10:30 PM, Joachim Rosenfeld [EMAIL PROTECTED]
 But when I installed via the 7.0 disk 1, I received CD errors when I
 got to the point where it started copying the base distribution off
 the disk.

 When I booted off the same CD again, I saw something similar to the following:

 acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=... ascq=...

I was able to plug in an external CD drive and boot off of and install
via that. But it is odd that FreeBSD 7 would have problems with this
CD drive that 6.{3,2,1}  and Windows (dual-booting) doesn't.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Stop building all those kernel modules

2008-05-17 Thread Luke Dean



On Sat, 17 May 2008, Luke Dean wrote:




On Sat, 17 May 2008, Luke Dean wrote:

In previous versions, I could modify GENERIC by just commenting out all the 
devices and options that I wasn't interested in, and buildkernel 
KERNCONF=myconf would happily ignore all the things I wasn't interested in.


This no longer works.  Now everything gets built, even things that are 
broken/incompatible with other options I've chosen.


Ah, I was confused.  It built all of the modules in the past as well.  It 
just wasn't a problem before because everything built correctly.
Today it appears to be bombing while compiling the zyd device, which 
wouldn't be so annoying if it weren't at the end of the alphabet...


I'm going to clean up and start over from the beginning.  If it happens again 
and I can't figure it out, I'll post my kernel configuration and the error 
message.


There's nothing wrong with zyd.  It just has the misfortune of being the 
last module to be built.

I was building the kernel with nanobsd, which uses make -j3 by default.
Running multiple make jobs at the same time like that made it impossible 
for me to see that the build was really crashing because I'd left 
something important out of my kernel configuration.

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


The FreeBSD Diary: 2008-04-27 - 2008-05-17

2008-05-17 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: measure traffic caused by pppd (UMTS)

2008-05-17 Thread Odhiambo Washington
On Fri, May 16, 2008 at 11:08 PM, Toni Schmidbauer [EMAIL PROTECTED] wrote:

 At Fri, 2 May 2008 11:46:46 +0200,
 Matthias Apitz wrote:
  Sometimes when I travel around and can't see any usable WLAN I'm using
  the UMTS and PPPD, which works well but of course one must pay for this;

 mb=`netstat -ib|awk '/tun0.*Link/ {mb=($6+$9)/1024^2; printf %.2f,mb}'`
 date=`date +%s`
 echo MB Transfered: $mb
 echo $date $mb  ~/tmp/grps_kosten.txt

 works for me. i'm using the above code snipped after shutting down
 pppd.


..as in from ppp.linkdown?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Oh My God! They killed init! You Bastards!
--from a /. post
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: another problem

2008-05-17 Thread Glyn Millington
John Wynstra [EMAIL PROTECTED] writes:

 I applied this fix, it worked for the previous problem and I came to
 the next one.

The story of my life :-) 

 I am getting the impression this is very filthy code.

Couldn't possibly comment!


Not sure I can help directly with this one but ..

1. Is your ports tree up to date? And have you run  pkgdb -F lately just
   to make the database is in good shape?   I'm pretty sure  that's NOT the
   problem here  but never does any harm to check :-)

2. There are ways around building openoffice natively.  This was a major
   step for me as I  need the thing occasionally and my hardware is too
   antique to build it that way.  You can either
   

   A. Install a native FreeBSD binary package - take a look in
  
  ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/
  
  I'm told this should run on a -7.0-release   system too. But no
  guarantees!



   B. Install a *Linux* binary and run that through FreeBSD's
  compatibility set-up.  This is what I am currently doing and it
  works perfectly as far as I can tell.  Detailed instructions here

http://www.math.colostate.edu/~reinholz/freebsd/linux_openoffice.html


One other thought - it helps if you reply _beneath_ the person to whom
you are replying.  That way Question and Answer follow in logical order,
which helps if there are several layers of Q and A


hth




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