Now problems with mouse and sound (Re: In addition to - 7.2 panic during installation : AP #1 (PHY# 1) failed !)

2009-06-19 Thread manish jain
Hi,

After 6-7 reboots, I managed to get the 7.2-RELEASE installation media to
boot and install properly.

2 issues still remain however.

1) No sound : My Gigabyte GA-MA78GM-US2H board has onboard Realtek High
Definition Audio. Since I couldn't figure out which driver would work with
this, I put sound_enable=YES and snd_driver_load=YES in loader.conf to load
all available drivers. Gnome's Volume Control applet still remains crossed
out in red, which would mean the system couldn't locate an appropriate
driver.

2) No mouse : I am using a Logitech USB mouse and my rc.conf has
moused_enable=YES, along with entries for the AUTO protocol and the
/dev/ums0 device. However, at boot-time I get the message Module uhub/ums
failed to load : 17 followed by a complaint by moused that /dev/ums0 does
not exist. There is no mouse cursor on the console at the time I get to the
login prompt. There is a wierd way however of getting the mouse to work.
Change it from one USB port to another 1-2 times and finally the kernel
picks up the mouse and creates /dev/ums0, after which the cursor appears and
the mouse works okay. But I have to do this everytime I boot FreeBSD, which
doesn't look an attractive option at all.

Can somebody please help me with either/both of these issues ?

Thanks in advance.

Manish Jain
invalid.poin...@gmail.com


2009/6/18 Chris Whitehouse cwhi...@onetel.com

 Manish Jain wrote:

 I forgot to mention that Windows installs and runs very smoothly on the
 system.

 Windows system information reports :

 System ManufacturerGigabyte Technology Co., Ltd.   System Model
  GA-MA78GM-US2H


 snip



 The only thing that strikes me as odd is that right-clicking on My
 Computer reports the amount of RAM as 768 MB, while the diagnostics above
 states 1024 MB.

 For the brief period of time the FreeBSD installer runs, it reports the
 amount of RAM as 768 MB too.



 http://www.gigabyte.com.tw/Products/Motherboard/Products_Overview.aspx?ProductID=2995

 has integrated graphics = shared memory.

 You can probably change the amount of RAM allocated to the graphics card in
 the BIOS.

 Chris

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


off topic: unmanageable switch?

2009-06-19 Thread Nikos Vassiliadis

Hi,

This has nothing to do with FreeBSD. I have to buy 3-4 24/16
port ethernet switches for a school. Could you recommend a
brand/model? I don't know if such recommendations should be
done off list?

My list of priorities, with 1 being the most important.
1. Price
2. Stability
3. No smart features
OK, this looks like a .1Q frame, let's drop it.
This MAC address is active on many ports, let's drop it.
4. STP support
Would be nice, just to prevent cabling errors.
There is not gonna be deliberate use of duplicate
links between the switches to increase availability.

Thanks in advance and excuse the off topic nature of my
question

Nikos
___
freebsd-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: off topic: unmanageable switch?

2009-06-19 Thread Olivier Nicole
Nikos,

 My list of priorities, with 1 being the most important.
 1. Price
 2. Stability

As the price is the most important for you, buy any cheap switch.

Now I have had satisfaction with Dlink and Compex, maybe not among the
cheapest, but still cheap. I have had some working for 6 or 7 years
non stop. I would not use them as core switch, but as satellite
switches they do OK.

 3. No smart features
 4. STP support

STP is definitely a smart feature, it comes with higher models only.

Bests,

Olivier

___
freebsd-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 mass deployment

2009-06-19 Thread Martin Thomas

Hello list,

I'd like to install FreeBSD on a number of machines, automatically and 
unattended over Ethernet via PXE. I'm quite familiar with FAI, which does a 
great job for Debian, and I'd like to know whether there is something similar 
for FreeBSD too. So far I only found a guide for jumpstart. 

Does anybody has experience with that matter and can provide some tools.

Martin





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


gmplayer cannot show video in xfce4

2009-06-19 Thread Carmel NY
When I start mplayer (gmplayer) from within xfce4 and attempt to play a
video, I receive an error message. The audio portion works fine however.

The screen-shot of the error message is viewable here:

http://imagebin.ca/view/OdMEXlY.html

What is strange is that the video was working until I modified the
PolicyKit.conf file. This is the modification I added. I substituted
'me' for the actual users name.

match action=org.freedesktop.hal.storage.mount-removable
  match user=me
return result=yes/
  /match
/match

match action=org.freedesktop.hal.storage.mount-fixed
  match user=me
return result=yes/
  /match
/match

match user=me
return result=yes/
/match 

If I remove the modifications, I cannot mount a CD. Is there something
else I should be or not be doing here?

-- 
Carmel
___
freebsd-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: off topic: unmanageable switch?

2009-06-19 Thread Jeff Laine
On Fri,06/19/09 [17:31:49], Olivier Nicole wrote:
 Nikos,
 
  My list of priorities, with 1 being the most important.
  1. Price
  2. Stability
 
 As the price is the most important for you, buy any cheap switch.
 
 Now I have had satisfaction with Dlink and Compex, maybe not among the
 cheapest, but still cheap. I have had some working for 6 or 7 years
 non stop. I would not use them as core switch, but as satellite
 switches they do OK.
 
  3. No smart features
  4. STP support
 
 STP is definitely a smart feature, it comes with higher models only.
 
 Bests,
 
 Olivier
 
I'd choose 3com. Their low-end unmanaged models are pretty cheap as well
as some smarter officeconnect models.

-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


The 'uname' output

2009-06-19 Thread Harry Matthiesen Jensen
I have wondered why my build number in the 'uname' output not is
incrementet for each build I make of the system, it shows '#0'
all the time.

Example output of 'uname -a':

FreeBSD mugin-LAN.localhost 8.0-CURRENT
FreeBSD 8.0-CURRENT #0: Thu Jun 18 12:41:05 CEST 2009
r...@mugin-lan.localhost:/usr/obj/usr/src/sys/MUGIN  i386

I had same issue on the system when I ran -STABLE.

Just a little hint from someone will be appreciatet;-)

-- 
Mvh/Brgds Harry
FreeBSD 8.0-CURRENT Compiled at Thu Jun 18 12:41:05 CEST 2009  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd mass deployment

2009-06-19 Thread Ruben de Groot
On Fri, Jun 19, 2009 at 11:01:42AM +, Martin Thomas typed:
 
 Hello list,
 
 I'd like to install FreeBSD on a number of machines, automatically and 
 unattended over Ethernet via PXE. I'm quite familiar with FAI, which does a 
 great job for Debian, and I'd like to know whether there is something similar 
 for FreeBSD too. So far I only found a guide for jumpstart. 
 
 Does anybody has experience with that matter and can provide some tools.

Read the sysinstall manpage. You can automate allmost everything using an 
install.cfg 
file.

Ruben

___
freebsd-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: The 'uname' output

2009-06-19 Thread Ruben de Groot
On Fri, Jun 19, 2009 at 02:40:47PM +0200, Harry Matthiesen Jensen typed:
 I have wondered why my build number in the 'uname' output not is
 incrementet for each build I make of the system, it shows '#0'
 all the time.
 
 Example output of 'uname -a':
 
 FreeBSD mugin-LAN.localhost 8.0-CURRENT
 FreeBSD 8.0-CURRENT #0: Thu Jun 18 12:41:05 CEST 2009
 r...@mugin-lan.localhost:/usr/obj/usr/src/sys/MUGIN  i386
 
 I had same issue on the system when I ran -STABLE.
 
 Just a little hint from someone will be appreciatet;-)

Do you remove /usr/obj between builds?

Ruben

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


Re: freebsd mass deployment

2009-06-19 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Martin Thomas wrote:
 Hello list,
 
 I'd like to install FreeBSD on a number of machines, automatically and 
 unattended over Ethernet via PXE. I'm quite familiar with FAI, which does a 
 great job for Debian, and I'd like to know whether there is something similar 
 for FreeBSD too. So far I only found a guide for jumpstart. 
 
 Does anybody has experience with that matter and can provide some tools.
 
 Martin
 

Hi Martin,

I went to this presentation at BSDCan 2009, and I think you'll find some
tip in the slides: http://www.bsdcan.org/2009/schedule/events/126.en.html

Cheers,
Greg
- --
Greg Larkin

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

iD8DBQFKO47L0sRouByUApARAu8iAJ4ujw0kDL4Ng9IQ55oowzRDTjBqTACeP/q9
NbOa0YHKj6B3urEOl5EJfD8=
=3jpp
-END PGP SIGNATURE-

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


Re: Configuring VLANs - Why is IP address require on NIC connected to Trunk?

2009-06-19 Thread Geoff Roberts
Hi,

On Fri, 19 Jun 2009 12:16:18 am Nikos Vassiliadis wrote:
 Geoff Roberts wrote:
  I find I have to give the ext0 interface an IP address in order for
  routing and packet filtering to work on the attached VLANs.
 
  a) Is there a way to configure this so that I don't have to give ext0 an
  IP address?

 Yes, you just have to up the interface:
 ifconfig_em0=up

Thanks to all who responded.

I believe marking the interface as up will be the source of the issue. I'll be 
able to restart the server in a couple of days and verify everything works 
after a restart.

It has been one of those nagging issues that eventually bubbled to the top of 
the list.

Kind regards,

Geoff

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


Re: freebsd mass deployment

2009-06-19 Thread Wojciech Puchar


I'd like to install FreeBSD on a number of machines, automatically and unattended over Ethernet via PXE. I'm quite familiar with FAI, which does a great job for Debian, and I'd like to know whether there is something similar for FreeBSD too. So far I only found a guide for jumpstart. 

simply install on one, tar it up and untar on each other, using PXE just 
to boot anything.

___
freebsd-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: off topic: unmanageable switch?

2009-06-19 Thread Wojciech Puchar


This has nothing to do with FreeBSD. I have to buy 3-4 24/16
port ethernet switches for a school. Could you recommend a
brand/model? I don't know if such recommendations should be
done off list?


no idea about 4, but in my practice the cheapest ones are really good.
___
freebsd-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: off topic: unmanageable switch?

2009-06-19 Thread Wojciech Puchar


Now I have had satisfaction with Dlink and Compex, maybe not among the
cheapest, but still cheap. I have had some working for 6 or 7 years


You are happy because you are using it with good power supply, probably 
UPS.


Both (and D-Link mostly) are completely unprotected for even minor power 
spikes. None of them survived more than half a year when i used it of 
total over 10.


For pure 100Mbps switches, Asus Giga-X is the best in that respect.
___
freebsd-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: off topic: unmanageable switch?

2009-06-19 Thread Wojciech Puchar


Olivier


I'd choose 3com. Their low-end unmanaged models are pretty cheap as well
as some smarter officeconnect models.


They are not cheap
___
freebsd-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: The 'uname' output

2009-06-19 Thread Harry Matthiesen Jensen
On Fri, Jun 19, 2009 at 03:09:57PM +0200, Ruben de Groot wrote:
 On Fri, Jun 19, 2009 at 02:40:47PM +0200, Harry Matthiesen Jensen typed:
  I have wondered why my build number in the 'uname' output not is
  incrementet for each build I make of the system, it shows '#0'
  all the time.
 
 Do you remove /usr/obj between builds?
 
 Ruben

Yes, and going back in time, it match approximately when I started to
clean /usr/obj hmmm, so I should stop that part of it when
re-building? ..if I want my build number back.

-- 
Mvh/Brgds Harry
FreeBSD 8.0-CURRENT Compiled at Thu Jun 18 12:41:05 CEST 2009  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd mass deployment

2009-06-19 Thread Odhiambo ワシントン
On Fri, Jun 19, 2009 at 4:27 PM, Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:


 I'd like to install FreeBSD on a number of machines, automatically and
 unattended over Ethernet via PXE. I'm quite familiar with FAI, which does a
 great job for Debian, and I'd like to know whether there is something
 similar for FreeBSD too. So far I only found a guide for jumpstart.

 simply install on one, tar it up and untar on each other, using PXE just to
 boot anything.


Wojciech,

That is true, yes, but you have not answered the OPs question. There are
others interested in the answer, especially because he's mentioned his
familiarity with FAI.
I'd like to think that he already knows about dump/restore. He just wants an
automated, unattended solution for FreeBSD.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you have nothing good to say about someone, just shut up!.
  -- Lucky Dube
___
freebsd-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: off topic: unmanageable switch?

2009-06-19 Thread Jerry B. Altzman
On Fri, Jun 19, 2009 at 06:22, Nikos Vassiliadis nvass9...@gmx.com wrote:

 My list of priorities, with 1 being the most important.
 1. Price
 2. Stability
 3. No smart features
OK, this looks like a .1Q frame, let's drop it.
This MAC address is active on many ports, let's drop it.
 4. STP support
Would be nice, just to prevent cabling errors.
There is not gonna be deliberate use of duplicate
links between the switches to increase availability.


Do you require Gigabit ethernet or no?

I've had very good experience with Netgear 24-port and 16-port rack mount
switches (not the desktop consumer models -- although they too have worked
well for me). They have somewhat more robust power supplies than the
standard wall-attach transformers, and the FastEthernet models can be had
for VERY cheap. (I bought a 24-port model a few years back for just about
USD 100.)

I've had Netgear switches run without a problem for *years*.

Their managed switches, on the other hand, are a nightmare, and I wouldn't
use them again if I had the choice.

Nikos


//jbaltz
-- 
jerry b. altzmanjba...@gmail.com  www.jbaltz.com
foo mane padme hum
___
freebsd-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: Compact Freebsd 'appliance'

2009-06-19 Thread John Almberg


On Jun 18, 2009, at 7:59 PM, Charlie Kester wrote:


On Thu 18 Jun 2009 at 14:18:21 PDT Tim Judd wrote:


I've read reports (and forgotten it's source since then) that some
Intel Atom processors work well, some don't with FreeBSD.  This was
something I read within a couple months, so I would see if anyone  
here

can provide input on pros and cons on weather that particular Atom
model number is well received and well tested.


The only problems I've seen reported re Atoms was back in the days
before the FreeBSD 7.2 release (or was it 7.1?) when there were  
problems

with not recognizing the Realtek networking chip included on the Intel
motherboards.

FWIW, I'm running FreeBSD 7.2 on an Intel D945GCLF motherboard, which
has an Atom 230 CPU.  I got mine from http://www.mini-box.com.  (I  
*am*
using a Intel networking card rather than the builtin Realtek chip,  
but
only because the Realtek recognition problems still existed when I  
first

set up the machine.  One of these days I should probably see if those
problems are truly fixed, so I can recover the single PCI slot for  
some
other use.) Since this is a home machine, I can't say it's the best  
test

of whether FreeBSD runs OK on it. But I haven't had any problems with
it.


Sounds good. They are so inexpensive, I will just give it a whirl and  
see if it cuts the mustard. Speed isn't really an issue, since it's  
going to be twiddling it's thumbs most of the time. Doesn't really  
matter if it takes 10 seconds or 30 minutes to translate the videos.


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


WLAN with Thinkpad T41

2009-06-19 Thread Jochen Neumeister
Hi there,

I have a Thinkpad T41 with FreeBSD 7.2/i386

With dmesg i see the wlan card:

ath0: Atheros 5212 mem 0xc021-0xc021 irq 11 at device 2.0 on
pci2 ath0: [ITHREAD]
ath0: WARNING: using obsoleted if_watchdog interface
ath0: Ethernet address: 00:05:4e:48:14:ab
ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3 


I read the handbook, and this is me /boot/loader.conf:

if_ath_load=YES
wlan_scan_ap_load=YES
wlan_scan_sta_load=YES
wlan_wep_load=YES
wlan_ccmp_load=YES
wlan_tkip_load=YES 


This entry i made in the rc.conf for the ath0:

ifconfig_ath0=inet 192.168.0.13 netmask 255.255.255.0 


Now ifconfig ath0 say:

ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500 ether 00:05:4e:48:14:ab
inet 192.168.0.13 netmask 0xff00 broadcast 192.168.0.255
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid  channel 124 (5620 Mhz 11a)
authmode OPEN privacy OFF txpower 31.5 bmiss 7 scanvalid 60 bgscan
bgscanintvl 300 bgscanidle 250 roam:rssi11a 7 roam:rate11a 12 burst
bintval 0 


and this is me /etc/wpa_supplicant.conf:

network={
ssid=linksys_SES_29944
psk=xxx
} 


ifconfig ath0 list scan found me accesspoint:

linksys_SES... 00:06:25:4b:0d:95 11 54M -73:-96 100 EP WPA 


Now I connect:

goofy# wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf
Trying to associate with 00:06:25:4b:0d:95 (SSID='linksys_SES_29944'
freq=2462 MHz) Associated with 00:06:25:4b:0d:95
WPA: Key negotiation completed with 00:06:25:4b:0d:95 [PTK=TKIP
GTK=TKIP] CTRL-EVENT-CONNECTED - Connection to 00:06:25:4b:0d:95
completed (auth) [id=0 id_str=] 


ifconfig ath0 say, I am connected:

goofy# ifconfig ath0
ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500 ether 00:05:4e:48:14:ab
inet 192.168.0.13 netmask 0xff00 broadcast 192.168.0.255
media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)
status: associated
ssid linksys_SES_29944 channel 11 (2462 Mhz 11g) bssid 00:06:25:4b:0d:95
authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit txpower 31.5
bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
roam:rssi11g 7 roam:rate11g 5 protmode CTS burst roaming MANUAL 


but, now ping, now open a Internetsite in firefox, nothing.

But i can go for a DHCP-IP:

goofy# dhclient ath0
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.2
bound to 192.168.0.234 -- renewal in 43200 seconds. 


When I ping the DHCP-Server 192.168.0.2, i have 100% packet loss.


The Laptop works finde with LAN, but not with WLAN.
___
freebsd-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: off topic: unmanageable switch?

2009-06-19 Thread Peter
Nikos Vassiliadis wrote:
 Hi,
 
 This has nothing to do with FreeBSD. I have to buy 3-4 24/16
 port ethernet switches for a school. Could you recommend a
 brand/model? I don't know if such recommendations should be
 done off list?

Netgear - really cheap, no problems with them if inside(normal humidity
and temperature).

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: WLAN with Thinkpad T41

2009-06-19 Thread Andrew Gould
On Fri, Jun 19, 2009 at 9:09 AM, Jochen Neumeisterjoc...@daten-chaos.de wrote:
 Hi there,

 I have a Thinkpad T41 with FreeBSD 7.2/i386

 With dmesg i see the wlan card:

 ath0: Atheros 5212 mem 0xc021-0xc021 irq 11 at device 2.0 on
 pci2 ath0: [ITHREAD]
 ath0: WARNING: using obsoleted if_watchdog interface
 ath0: Ethernet address: 00:05:4e:48:14:ab
 ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3


 I read the handbook, and this is me /boot/loader.conf:

 if_ath_load=YES
 wlan_scan_ap_load=YES
 wlan_scan_sta_load=YES
 wlan_wep_load=YES
 wlan_ccmp_load=YES
 wlan_tkip_load=YES


 This entry i made in the rc.conf for the ath0:

 ifconfig_ath0=inet 192.168.0.13 netmask 255.255.255.0


 Now ifconfig ath0 say:

 ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 1500 ether 00:05:4e:48:14:ab
 inet 192.168.0.13 netmask 0xff00 broadcast 192.168.0.255
 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
 status: no carrier
 ssid  channel 124 (5620 Mhz 11a)
 authmode OPEN privacy OFF txpower 31.5 bmiss 7 scanvalid 60 bgscan
 bgscanintvl 300 bgscanidle 250 roam:rssi11a 7 roam:rate11a 12 burst
 bintval 0


 and this is me /etc/wpa_supplicant.conf:

 network={
 ssid=linksys_SES_29944
 psk=xxx
 }


 ifconfig ath0 list scan found me accesspoint:

 linksys_SES... 00:06:25:4b:0d:95 11 54M -73:-96 100 EP WPA


 Now I connect:

 goofy# wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf
 Trying to associate with 00:06:25:4b:0d:95 (SSID='linksys_SES_29944'
 freq=2462 MHz) Associated with 00:06:25:4b:0d:95
 WPA: Key negotiation completed with 00:06:25:4b:0d:95 [PTK=TKIP
 GTK=TKIP] CTRL-EVENT-CONNECTED - Connection to 00:06:25:4b:0d:95
 completed (auth) [id=0 id_str=]


 ifconfig ath0 say, I am connected:

 goofy# ifconfig ath0
 ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 1500 ether 00:05:4e:48:14:ab
 inet 192.168.0.13 netmask 0xff00 broadcast 192.168.0.255
 media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)
 status: associated
 ssid linksys_SES_29944 channel 11 (2462 Mhz 11g) bssid 00:06:25:4b:0d:95
 authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit txpower 31.5
 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
 roam:rssi11g 7 roam:rate11g 5 protmode CTS burst roaming MANUAL


 but, now ping, now open a Internetsite in firefox, nothing.

 But i can go for a DHCP-IP:

 goofy# dhclient ath0
 DHCPREQUEST on ath0 to 255.255.255.255 port 67
 DHCPACK from 192.168.0.2
 bound to 192.168.0.234 -- renewal in 43200 seconds.


 When I ping the DHCP-Server 192.168.0.2, i have 100% packet loss.


 The Laptop works finde with LAN, but not with WLAN.
 ___

Is LAN still configured for this network?  (Is the laptop confused
about which interface to ping through?)

Are the contents in /etc/resolv.conf correct?

Was the gateway properly set?

(I expect that dhcp set the DNS and gateway values correctly; but it's
always good to check.)

Good luck.

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


Re: gmplayer cannot show video in xfce4

2009-06-19 Thread Paul B. Mahol
On 6/19/09, Carmel NY carmel...@hotmail.com wrote:
 When I start mplayer (gmplayer) from within xfce4 and attempt to play a
 video, I receive an error message. The audio portion works fine however.

 The screen-shot of the error message is viewable here:

   http://imagebin.ca/view/OdMEXlY.html

 What is strange is that the video was working until I modified the
 PolicyKit.conf file. This is the modification I added. I substituted
 'me' for the actual users name.

 match action=org.freedesktop.hal.storage.mount-removable
   match user=me
 return result=yes/
   /match
 /match

 match action=org.freedesktop.hal.storage.mount-fixed
   match user=me
 return result=yes/
   /match
 /match

 match user=me
 return result=yes/
 /match

 If I remove the modifications, I cannot mount a CD. Is there something
 else I should be or not be doing here?


Somehow hal manages to break -vo xv ? Try with mplayer and see full
error message.
What video driver are you using?

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


automount and sshfs

2009-06-19 Thread Michael Grant
sshfs is a file system that lets you mount a remote ftp dir on a
directory using fuse.  I have it working fine on freebsd.  Instead of
using the mount command to mount the fs, it's mounted by running the
sshfs command.

Is there some generic thing like amd that is not NFS specific that I
could use to automatically run the sshfs command when something
accessed a particular directory?

Michael Grant
___
freebsd-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: The 'uname' output

2009-06-19 Thread Harry Matthiesen Jensen
On Fri, Jun 19, 2009 at 03:31:38PM +0200, Harry Matthiesen Jensen wrote:
   I have wondered why my build number in the 'uname' output not is
   incrementet for each build I make of the system, it shows '#0'
   all the time.
  
  Do you remove /usr/obj between builds?
 
 Yes, and going back in time, it match approximately when I started to
 clean /usr/obj hmmm, so I should stop that part of it when

Thanks Ruben, now it works ;-)

-- 
Mvh/Brgds Harry
FreeBSD 8.0-CURRENT #1: Compiled at Fri Jun 19 16:51:37 CEST 2009  i386
___
freebsd-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: gmplayer cannot show video in xfce4

2009-06-19 Thread Carmel NY
On Fri, 19 Jun 2009 17:08:59 +0200
Paul B. Mahol one...@gmail.com wrote:

 Somehow hal manages to break -vo xv ? Try with mplayer and see full
 error message.
 What video driver are you using?

I am using the 'nv' driver.

Using mplayer from the console does not produce an error. Of course,
all I get is the audio track. No error message is displayed.

So, if I use hal I lose the ability to view videos? That kind of sucks.
Obviously, someone must know about it so I assume submitting a bug
report would be a waste of time.

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


Processes dying with signal 11

2009-06-19 Thread Bruce Cran
I've been trying to run a buildworld using the clangbsd branch on my
G4 iBook, but without success. I'm currently running a fairly
up-to-date HEAD:

FreeBSD mac.draftnet 8.0-CURRENT #0: Tue Jun 16 22:07:11 BST 2009
bru...@mac.draftnet:/usr/obj/usr/src/sys/IBOOK powerpc

The problem I see is that after a few hours of running buildworld, when
it starts building clang itself, 'as' crashes with a signal 11.

I'm wondering if this is the normal case of bad memory/HDD/CPU or
something else because it also causes several other processes to crash,
notably dhclient and sendmail, but I've also seen tcsh crash too.  I
created a test program which allocated 500MB memory to force the system
into swap (my iBook only has 512MB).  After a few minutes dhclient
crashed but the test program kept running.  Is this what normally
happens when hardware's going bad?

-- 
Bruce
___
freebsd-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: gmplayer cannot show video in xfce4

2009-06-19 Thread Paul B. Mahol
On 6/19/09, Carmel NY carmel...@hotmail.com wrote:
 On Fri, 19 Jun 2009 17:08:59 +0200
 Paul B. Mahol one...@gmail.com wrote:

 Somehow hal manages to break -vo xv ? Try with mplayer and see full
 error message.
 What video driver are you using?

 I am using the 'nv' driver.

 Using mplayer from the console does not produce an error. Of course,
 all I get is the audio track. No error message is displayed.

Not from console; from xterm. And if xv is not available, x11 is just
fine(but slow).

-- 
Paul
___
freebsd-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: Processes dying with signal 11

2009-06-19 Thread Glen Barber
On Fri, Jun 19, 2009 at 12:55 PM, Bruce Cranbr...@cran.org.uk wrote:
 I've been trying to run a buildworld using the clangbsd branch on my
 G4 iBook, but without success. I'm currently running a fairly
 up-to-date HEAD:

 FreeBSD mac.draftnet 8.0-CURRENT #0: Tue Jun 16 22:07:11 BST 2009
 bru...@mac.draftnet:/usr/obj/usr/src/sys/IBOOK powerpc

 The problem I see is that after a few hours of running buildworld, when
 it starts building clang itself, 'as' crashes with a signal 11.

 I'm wondering if this is the normal case of bad memory/HDD/CPU or
 something else because it also causes several other processes to crash,
 notably dhclient and sendmail, but I've also seen tcsh crash too.  I
 created a test program which allocated 500MB memory to force the system
 into swap (my iBook only has 512MB).  After a few minutes dhclient
 crashed but the test program kept running.  Is this what normally
 happens when hardware's going bad?


Unfortunately, yes.

Does the build fail in the same place everytime?  Usually hardware
failure will cause randomly placed SIGSEGV errors.


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


Re: Compact Freebsd 'appliance'

2009-06-19 Thread George Hartzell
John Almberg writes:
  I have a client who has an application that he wants to deploy in his  
  customer's offices as a headless 'appliance'. Basically, just a black  
  box that you can plug into a Lan, turn it on, and it runs. No floppy  
  disk or CD, no monitor/keyboard, just remotely managed.
  
  This application won't store any critical data, so it doesn't need  
  redundancy. It just needs to be reasonably reliable, compact, and quiet.
  
  My first recommendation was to use a Mac Mini, but that excellent bit  
  of hardware was deemed 'not professional enough'. So now I am looking  
  for a compact pc that can run FreeBSD, of course. I think it probably  
  just needs a power supply, tiny motherboard with onboard ethernet,  
  usb, etc., and hard drive.
  
  If anyone has a recommendation (or if their are any vendors lurking),  
  please shoot me an email off list. I'll compile a list of  
  recommendations and post it all at once, in case anyone else is  
  interested in this.

I have a couple of Via Artigo a2000 boxes, one running FreeBSD-STABLE
(post 7.2) and the other running FreeNAS.  Both work well.  I've seen
posts from one fellow who's tracking a bug with the vge interface
under very heavy load, but both of mine stream music and do Time
Machine backups via netatalk without any trouble.  Logic Supply has a
custom FreeNAS build that recognizes the disks as SATA and that adds 
support for Gb ethernet to the NIC (rolling in changes from -STABLE to
the 6.x series on which the stable FreeNAS is based).  

  http://www.logicsupply.com/blog/2009/05/11/custom-a2000-freenas-image/

They're not the cheapest place to buy the box, but they're close and
they do good support (I'm just a happy customer and I helped with the
FreeNAS image, no other association).

They're not Living Room quiet, but they're about as unobtrusive as you
can get in a little box w/out going fanless.

g.



___
freebsd-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: Compact Freebsd 'appliance'

2009-06-19 Thread Charlie Kester

On Fri 19 Jun 2009 at 07:24:58 PDT John Almberg wrote:



Sounds good. They are so inexpensive, I will just give it a whirl and 
see if it cuts the mustard. Speed isn't really an issue, since it's 
going to be twiddling it's thumbs most of the time. Doesn't really

matter if it takes 10 seconds or 30 minutes to translate the videos.


If you try one of the new fanless boards, let me know how it goes.  I've
been thinking about getting one of those myself.
___
freebsd-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: Compact Freebsd 'appliance'

2009-06-19 Thread John Almberg


I have a couple of Via Artigo a2000 boxes, one running FreeBSD-STABLE
(post 7.2) and the other running FreeNAS.  Both work well.  I've seen
posts from one fellow who's tracking a bug with the vge interface
under very heavy load, but both of mine stream music and do Time
Machine backups via netatalk without any trouble.  Logic Supply has a
custom FreeNAS build that recognizes the disks as SATA and that adds
support for Gb ethernet to the NIC (rolling in changes from -STABLE to
the 6.x series on which the stable FreeNAS is based).

  http://www.logicsupply.com/blog/2009/05/11/custom-a2000-freenas- 
image/


They're not the cheapest place to buy the box, but they're close and
they do good support (I'm just a happy customer and I helped with the
FreeNAS image, no other association).

They're not Living Room quiet, but they're about as unobtrusive as you
can get in a little box w/out going fanless.



Also very nice looking boxes. Thanks!

-- John
___
freebsd-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: gmplayer cannot show video in xfce4

2009-06-19 Thread Carmel NY
On Fri, 19 Jun 2009 19:05:13 +0200
Paul B. Mahol one...@gmail.com wrote:

 Not from console; from xterm. And if xv is not available, x11 is just
 fine(but slow).

This is everything:

MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model: 75, 
Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing Answer_Lady.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG2  320x240  (aspect 2)  25.000 fps  1379.2 kbps (172.4 kbyte/s)
==
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 240 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000-176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 320x240 = 320x240 Planar YV12 
New_Face failed. Maybe the font path is wrong. 2 ??% ??% ??,?% 0 0 
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.


Now, the video did display and the audio is present. So why does it work
from an xterm display but not otherwise?

-- 
Carmel
car...@hotmail.com

The man who runs may fight again.

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


backdoor threat

2009-06-19 Thread prad
i just received this 'threat' from someone on a forum:

+1.2507437628 -- And,yes of course this is a fax, but I could
write and execute a script that would have some real fun with it..
Don't you think. Especially from a BSD server ;)

You missed a small back door, if you're nice I'll help you close it. ;)

i am very curious as to what script this person can write to have fun
with a fax number. what are they going to do - send me junk faxes
instead of junk emails?

however, i'm very curious about the back door. what backdoors are there
on what is pretty well a freebsd server default setup? i have disabled
password access. there are some php forms, but i use the proper way to
set variables. are there other things i should be thinking about?

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-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: backdoor threat

2009-06-19 Thread Bill Moran
In response to prad p...@towardsfreedom.com:

 i just received this 'threat' from someone on a forum:

Stay off that forum.  Sounds annoying to me.

 +1.2507437628 -- And,yes of course this is a fax, but I could
 write and execute a script that would have some real fun with it..
 Don't you think. Especially from a BSD server ;)
 
 You missed a small back door, if you're nice I'll help you close it. ;)
 
 i am very curious as to what script this person can write to have fun
 with a fax number. what are they going to do - send me junk faxes
 instead of junk emails?

Sure.  It costs almost nothing to send a fax message, and he could send
it over and over and run you out of paper and ink while you're sleeping.
Infantile, yes.

 however, i'm very curious about the back door. what backdoors are there
 on what is pretty well a freebsd server default setup? i have disabled
 password access. there are some php forms, but i use the proper way to
 set variables. are there other things i should be thinking about?

Sure, there's 10 things.  Start by running a nmap scan from a
different computer and see what ports are open.  Investigate each
program listening on those ports to ensure it's properly secured.

Making secure web forms is too complex to discuss in a single email.

Of course, the someone could just be spouting off.  A few years ago,
I had someone claim that they could break into my server because my ports
weren't stealth (i.e., because they returned RST packets instead of
just dropping the syns).  I invited the idiot to prove it by breaking in,
which he never accomplished.  Some people brag without being able to back
it up.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Processes dying with signal 11

2009-06-19 Thread Wojciech Puchar

up-to-date HEAD:

FreeBSD mac.draftnet 8.0-CURRENT #0: Tue Jun 16 22:07:11 BST 2009
bru...@mac.draftnet:/usr/obj/usr/src/sys/IBOOK powerpc

The problem I see is that after a few hours of running buildworld, when
it starts building clang itself, 'as' crashes with a signal 11.


always at the same point or in random places?

if first - it's probably not hardware problem.



I'm wondering if this is the normal case of bad memory/HDD/CPU or
something else because it also causes several other processes to crash,
notably dhclient and sendmail, but I've also seen tcsh crash too.  I
created a test program which allocated 500MB memory to force the system
into swap (my iBook only has 512MB).  After a few minutes dhclient
crashed but the test program kept running.  Is this what normally
happens when hardware's going bad?


isn't it going out of swap?
___
freebsd-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: Changing my login directory

2009-06-19 Thread Karl Vogel
 On Wed, 17 Jun 2009 21:13:32 -0400, 
 Steve Bertrand st...@ibctech.ca said:

S I've got a couple of jails now that I use exclusively for Perl
S development.  As soon as I log into the box via SSH, my first command is
S _always_ cd devel/something.  I'd like to make it so that '~' remains
S /home/steve, but when I log in, I would prefer to be dropped immediately
S into /home/steve/devel.

   This reminded me of how I deal with lots of directories.  If you
   have a project with files spread all over the place, here's a way to
   navigate between 20-25 directories with no more than 3-4 keystrokes.
   First, install the grabchars program:
 http://examples.oreilly.com/upt3/split/grabchars/grabchars/

   It's very useful for capturing and validating keystrokes from within
   a shell script.  For example:
 ans=`grabchars -q'Answer y or n: '`

   will print Answer y or n: , and it will store your reply after
   pressing just one key, no need to hit return.  Combine this with a
   function to change your current directory and you're in business;
   it has to be done in a shell function rather than a separate script
   because it modifies your current shell working directory.

   Second, create a file holding the directories you use the most:

 me% cat $HOME/.cdlist
 0   /home/vogelke
 1   /home/vogelke/today
 2   /home/vogelke/notebook/2007/0414/new-homepage
 ...
 8   /doc/html/htdocs/blog/posts
 9   /doc/sitelog/server1
 a   /doc/sitelog/server2
 b   /doc/sitelog/server3
 ...
 o   /home/vogelke/src

   The first field is any digit, and the lowercase letters a-o.  You can
   use more letters, but I've found 25 choices to be more than sufficient.
   The second field is the full path to the directory.

   Finally, make a function using grabchars that will display this list,
   prompt for a single character, and immediately change to that directory.
   I use jd for the function name, but if you're not using the letter 'j'
   for any commands, you can shorten this to three keystrokes.

   Here's the function setup for the Korn and bash shells:

 # Jump to a directory.
 jd () {
 clear
 cat $HOME/.cdlist
 local prompt=dir: 
 local ans=`grabchars -d0 -L -c '[0-9a-z]' -q$prompt`
 set X `grep ^$ans $HOME/.cdlist`
 case $# in
 (3) cd $3; echo; echo pwd: `/bin/pwd` ;;
 (*) echo no such entry ;;
 esac
 }

 # http://stackoverflow.com/questions/794951/coloring-directory-name-in-ksh
 # Dump the PS1 stuff if you don't want to change your prompt.
 chdir () {
 command cd $@
 CWDH=${PWD%/*}
 /bin/pwd  $HOME/.cdlist.new
 PS1=${CWDH##*/}/${PWD##*/} -
 export PS1
 }
 alias cd=chdir

   Here's the function setup for the Z-shell:

 # Jump to a directory.
 jd () {
 clear
 cat $HOME/.cdlist
 local prompt=dir: 
 local ans=`grabchars -d0 -L -c '[0-9a-z]' -q$prompt`
 set X `grep ^$ans $HOME/.cdlist`
 case $# in
 (3) chdir $3  echo  echo pwd: `/bin/pwd` ;;
 (*) echo no such entry ;;
 esac
 }

 # This function is run after you change directories.
 chpwd () {
 /bin/pwd  ~/.cdlist.new
 }

   To find the most often-used directories, the chdir and chpwd
   functions above will store the name of every directory you cd to in
   $HOME/.cdlist.new.  To find your most popular directories:

 me% sort ~/.cdlist.new | uniq -c | sort -n | tail

-- 
Karl Vogel  I don't speak for the USAF or my company

I don't want to achieve immortality through my work; I want to achieve
immortality through not dying.  --Woody Allen
___
freebsd-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: Processes dying with signal 11

2009-06-19 Thread Bruce Cran
On Fri, 19 Jun 2009 21:04:26 +0200 (CEST)
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:

  up-to-date HEAD:
 
  FreeBSD mac.draftnet 8.0-CURRENT #0: Tue Jun 16 22:07:11 BST 2009
  bru...@mac.draftnet:/usr/obj/usr/src/sys/IBOOK powerpc
 
  The problem I see is that after a few hours of running buildworld,
  when it starts building clang itself, 'as' crashes with a signal 11.
 
 always at the same point or in random places?
 
 if first - it's probably not hardware problem.

It's at a random location, but it always happens after the build has
been running for a few hours and when it's ended up swapping some
processes out of main memory.  I've read
http://www.freebsd.org/doc/en/books/faq/troubleshoot.html#SIGNAL11 and
wondered if the collatoral is a normal symptom too.

  I'm wondering if this is the normal case of bad memory/HDD/CPU or
  something else because it also causes several other processes to
  crash, notably dhclient and sendmail, but I've also seen tcsh crash
  too.  I created a test program which allocated 500MB memory to
  force the system into swap (my iBook only has 512MB).  After a few
  minutes dhclient crashed but the test program kept running.  Is
  this what normally happens when hardware's going bad?
 
 isn't it going out of swap?

No, it's definitely not running out of swap, since I have 4.5GB
available! For example using the test program I allocate 500MB
memory; 95MB swap gets used but after a few minutes I get:

pid 470 (dhclient), uid 0: exited on signal 11 (core dumped)
pid 1002 (sendmail), uid 0: exited on signal 11
pid 1054 (sendmail), uid 0: exited on signal 11
pid 1104 (sendmail), uid 0: exited on signal 11
pid 1156 (sendmail), uid 0: exited on signal 11
pid 1207 (sendmail), uid 0: exited on signal 11

but my test program keeps running:

1227 v1 R+ 2:06.23 /usr/obj/home/brucec/test

-- 
Bruce
___
freebsd-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: Processes dying with signal 11

2009-06-19 Thread Glen Barber
On Fri, Jun 19, 2009 at 3:14 PM, Bruce Cranbr...@cran.org.uk wrote:

 It's at a random location, but it always happens after the build has
 been running for a few hours and when it's ended up swapping some
 processes out of main memory.  I've read
 http://www.freebsd.org/doc/en/books/faq/troubleshoot.html#SIGNAL11 and
 wondered if the collatoral is a normal symptom too.


I would suspect hardware.  Most probably RAM than anything else
initially.  Can you run memtest86+?

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


Re: Processes dying with signal 11

2009-06-19 Thread Glen Barber
On Fri, Jun 19, 2009 at 3:21 PM, Glen Barberglen.j.bar...@gmail.com wrote:
 I would suspect hardware.  Most probably RAM than anything else
 initially.  Can you run memtest86+?


Also, for what it's worth, I had this similar scenario a few years
ago.  After numerous hardware replacements (RAM, motherboard, etc,
etc) it turned out to the the CPU that was the problem.

It was bad enough that I couldn't even do a 'portsnap fetch' because
the checksum would be incorrectly calculated.


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


Re: Processes dying with signal 11

2009-06-19 Thread Bruce Cran
On Fri, 19 Jun 2009 15:35:09 -0400
Glen Barber glen.j.bar...@gmail.com wrote:

 On Fri, Jun 19, 2009 at 3:21 PM, Glen Barberglen.j.bar...@gmail.com
 wrote:
  I would suspect hardware.  Most probably RAM than anything else
  initially.  Can you run memtest86+?
 
 
 Also, for what it's worth, I had this similar scenario a few years
 ago.  After numerous hardware replacements (RAM, motherboard, etc,
 etc) it turned out to the the CPU that was the problem.
 
 It was bad enough that I couldn't even do a 'portsnap fetch' because
 the checksum would be incorrectly calculated.
 
 

Unfortunately memtest86+ runs on x86 hardware and this is a
PowerPC iBook.  Being Apple hardware there's not much swapping of
hardware I can do - I'll run a few more tests but I guess it's probably
time to chuck it away.

-- 
Bruce
___
freebsd-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: gmplayer cannot show video in xfce4

2009-06-19 Thread Paul B. Mahol
On 6/19/09, Carmel NY carmel...@hotmail.com wrote:
 On Fri, 19 Jun 2009 19:05:13 +0200
 Paul B. Mahol one...@gmail.com wrote:

 Not from console; from xterm. And if xv is not available, x11 is just
 fine(but slow).

 This is everything:

 MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model: 75,
 Stepping: 2)
 CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
 Compiled with runtime CPU detection.

 Playing Answer_Lady.mpg.
 MPEG-PS file format detected.
 VIDEO:  MPEG2  320x240  (aspect 2)  25.000 fps  1379.2 kbps (172.4 kbyte/s)
 ==
 Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
 VDec: vo config request - 320 x 240 (preferred colorspace: Mpeg PES)
 Could not find matching colorspace - retrying with -vf scale...
 Opening video filter: [scale]
 The selected video_out device is incompatible with this codec.
 Try appending the scale filter to your filter list,
 e.g. -vf spp,scale instead of -vf spp.
 VDecoder init failed :(
 Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
 Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
 ==
 ==
 Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
 AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000-176400)
 Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
 ==
 AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
 Starting playback...
 VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
 VDec: using Planar YV12 as output csp (no 0)
 Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
 VO: [xv] 320x240 = 320x240 Planar YV12
 New_Face failed. Maybe the font path is wrong. 2 ??% ??% ??,?% 0 0
 Please supply the text font file (~/.mplayer/subfont.ttf).
 subtitle font: load_sub_face failed.


 Now, the video did display and the audio is present. So why does it work
 from an xterm display but not otherwise?

And how gmplayer can have anything to do with hal?

From other perspective; gmplayer is no longer maintained and probably
will be removed in future, users should switch to smplayer.

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


Re: freebsd mass deployment

2009-06-19 Thread Jason

I used SystemImager for Linux installs, and I was curious about doing
something similar for FreeBSD.

By chance, I ran across this today, and now I am very excited about trying
it out.

farbot port

http://code.google.com/p/farbot/

-jgh

On Fri, Jun 19, 2009 at 11:01:42AM +, Martin Thomas thus spake:


Hello list,

I'd like to install FreeBSD on a number of machines, automatically and unattended over Ethernet via PXE. I'm quite familiar with FAI, which does a great job for Debian, and I'd like to know whether there is something similar for FreeBSD too. So far I only found a guide for jumpstart. 


Does anybody has experience with that matter and can provide some tools.

Martin





___
freebsd-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: Processes dying with signal 11

2009-06-19 Thread Wojciech Puchar

The problem I see is that after a few hours of running buildworld,
when it starts building clang itself, 'as' crashes with a signal 11.


always at the same point or in random places?

if first - it's probably not hardware problem.


It's at a random location, but it always happens after the build has
been running for a few hours and when it's ended up swapping some
processes out of main memory.  I've read


so it is hardware problem.

As it start crashing when swap is used, it may be not memory but chipset 
problem - works fine until disk I/O is used.



___
freebsd-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: Processes dying with signal 11

2009-06-19 Thread Wojciech Puchar


I would suspect hardware.  Most probably RAM than anything else
initially.  Can you run memtest86+?

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


Re: freebsd mass deployment

2009-06-19 Thread Wojciech Puchar

I used SystemImager for Linux installs, and I was curious about doing
something similar for FreeBSD.

By chance, I ran across this today, and now I am very excited about trying
it out.

farbot port


looks like you - as most people - like to make your life complex.

unix already have all needed tools, very simple and efficient.
there is tar, dump, restore, dd etc..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd mass deployment

2009-06-19 Thread Wojciech Puchar

similar for FreeBSD too. So far I only found a guide for jumpstart.


simply install on one, tar it up and untar on each other, using PXE just to
boot anything.



Wojciech,

That is true, yes, but you have not answered the OPs question.


Yes i did - it is the way of doing repetitive installations on many 
machines.
Actually most simple because it uses unix tools that was invented 30 
years ago :)

___
freebsd-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: Processes dying with signal 11

2009-06-19 Thread Glen Barber
On Fri, Jun 19, 2009 at 4:21 PM, Bruce Cranbr...@cran.org.uk wrote:

 Unfortunately memtest86+ runs on x86 hardware and this is a
 PowerPC iBook.

Yeah... I apparently had already forgotten it was a PPC machine.  Ooops. :)

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


Re: Processes dying with signal 11

2009-06-19 Thread Peter Giessel
On Friday, June 19, 2009, at 12:21PM, Bruce Cran br...@cran.org.uk wrote:
Unfortunately memtest86+ runs on x86 hardware and this is a
PowerPC iBook.  Being Apple hardware there's not much swapping of
hardware I can do - I'll run a few more tests but I guess it's probably
time to chuck it away.

Try running Memtest OS X:
http://www.memtestosx.org/joomla/index.php

You could also try Apple Hardware Test (available on the original
system disk - hold down Option on boot) to test all of the 'book's
hardware.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd mass deployment

2009-06-19 Thread Martin Thomas

Thanks for the advice given so far, I will have a look at them.

@Wojciech:

Your approach seems too simplistic to me. It might only work under very 
specific circumstances but is impractical otherwise.

Consider, for example, a network consisting of machines of different types
(workstations, web servers, mail servers, ...) with different hardware
(different number of disks, different processor types, ...) and different
configuration needs (file system, software, access rights, ...). Obviously, 
you cannot simply dd one system to the other. And if you want to change
some configuration files on your machines after installation (I do know
cfengine, by the way) or want to install additional software on some of
them, are you still convinced of your approach? 

Unix tools are great, but your comment looks like an advice to use a swiss army 
knife for performing a bypass surgery ;).

Martin



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


ZFS and block device replication

2009-06-19 Thread Mister Olli
Hi,

I'm starting digging into FreeBSD and ZFS and came up with a question
which is bothering me.

I'm thinking about placing block device replication (e.g. via DRDB or
NDB) under a ZFS/ ZVOL. It would improve replication as it's done
immediately, not within a time-frame (as the 'zfs [send/receive]'
approach would.

Imagine I have an active/ passive setup. would all the ZFS volumes and
ZVOLs be available on the passive node, even if I haven't configured
them explicitly?

Regards,
---
Mr. Olli

___
freebsd-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: off topic: unmanageable switch?

2009-06-19 Thread Gary Gatten
Linksys, DLink, etc. Cheap is cheap

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: Nikos Vassiliadis nvass9...@gmx.com
Cc: FreeBSD Questions Mailing List freebsd-questions@freebsd.org
Sent: Fri Jun 19 09:45:22 2009
Subject: Re: off topic: unmanageable switch?

Nikos Vassiliadis wrote:
 Hi,
 
 This has nothing to do with FreeBSD. I have to buy 3-4 24/16
 port ethernet switches for a school. Could you recommend a
 brand/model? I don't know if such recommendations should be
 done off list?

Netgear - really cheap, no problems with them if inside(normal humidity
and temperature).

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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
freebsd-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: off topic: unmanageable switch?

2009-06-19 Thread Nikos Vassiliadis

Jerry B. Altzman wrote:
Do you require Gigabit ethernet or no? 


That, I don't know yet... but given that they want to build
a solid infrastructure that will be worth of using for the
years to come, most probably yes.

Environmental conditions will be normal, everything will be
indoor. And I *think* the power levels will be normal as well
(Wojciech mentioned that D-Links have been sensitive to power
spikes).

I have found that D-Link are quite cheap and somebody on the
list suggested them. In that price range TP-LINK is also a
choice. Anybody advises against TP-LINK?

Thanks a bunch for your answers, Nikos

___
freebsd-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: off topic: unmanageable switch?

2009-06-19 Thread David N
2009/6/20 Nikos Vassiliadis nvass9...@gmx.com:
 Jerry B. Altzman wrote:

 Do you require Gigabit ethernet or no?

 That, I don't know yet... but given that they want to build
 a solid infrastructure that will be worth of using for the
 years to come, most probably yes.

 Environmental conditions will be normal, everything will be
 indoor. And I *think* the power levels will be normal as well
 (Wojciech mentioned that D-Links have been sensitive to power
 spikes).

 I have found that D-Link are quite cheap and somebody on the
 list suggested them. In that price range TP-LINK is also a
 choice. Anybody advises against TP-LINK?

 Thanks a bunch for your answers, Nikos

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

We've deployed a few DLink and Linksys unmanaged switches and are
working fine. The only issue with the DLink ones are the external
power supply (4-8 port desktop switches), they are pretty flakey,
usually need a replacement within a few months of operations, but
after buying a replacement from the radio shack/dick smith/jay car...,
they're usually fine.

Linksys switches have a limited lifetime warranty (whatever that
means) on the gigabit 24 port switches.
DLink have about 3 to 5 years depending.
TP Link and Repotec I'm unsure of, the website doesn't list anything
and neither does my supplier. My guess would be 1 year.

The TP Link ones are pretty much no frills, I have a 8 port 10/100 and
can max it out without and problems.

Regards
David N
___
freebsd-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: backdoor threat

2009-06-19 Thread prad
On Fri, 19 Jun 2009 14:39:35 -0400
Bill Moran wmo...@potentialtech.com wrote:

 Sure.  It costs almost nothing to send a fax message, and he could
 send it over and over and run you out of paper and ink while you're
 sleeping. Infantile, yes.
 
yes except for the fact that i don't have a fax machine and the number
is incorrect anyway :D

 Sure, there's 10 things.  Start by running a nmap scan from a
 different computer and see what ports are open.  Investigate each
 program listening on those ports to ensure it's properly secured.
 
ok this is really neat!
we did the scan and found what the open ports are.
so the first one we changed was the ssh.
then a friend said he assigns ports that are not used in /etc/services,
so i presume this means for instance if we change the http port, we'll
have to tell our http server to do business on that port?

is this what you mean by ensuring that the program listening on a port
is properly secured? or is there something else?

 Making secure web forms is too complex to discuss in a single email.
 
ok we'll look into this further. we really don't have too many web
forms and the forum software we use is punbb which i think they
(rickard et al) take good care of.

 Of course, the someone could just be spouting off. ... Some people
 brag without being able to back it up.

i think this is such a situation. i think the person thought i'd be
astonished that he was able to pull my first and last name as well as
my address out of a whois search and show them to me :D
and by showing me that he can use words like backdoor and BSD, no doubt
i should step back and bow to his level of expertise!

still, i see this as an opportunity for my son and myself to learn
something we really haven't paid much attention to, so we're going to
do it!

thx for your help bill!


-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-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: Sponsoring FreeBSD

2009-06-19 Thread Diego Schulz
Excuse me, this thread was about..?

I follow the list regularly but haven't posted any messages so far
(that I can recall, at least), in the few years subscribed.
I participate a little more actively in a few other lists, as well;
but honestly I haven't seen a list as polluted as this one. The
remarkable thing is that almost all the pollution is generated by ONE
person alone.

I --hopelessly-- wish someone could take some kind of measure.

cheers
___
freebsd-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: Sponsoring FreeBSD

2009-06-19 Thread Wojciech Puchar


I follow the list regularly but haven't posted any messages so far
(that I can recall, at least), in the few years subscribed.
I participate a little more actively in a few other lists, as well;
but honestly I haven't seen a list as polluted as this one. The
remarkable thing is that almost all the pollution is generated by ONE
person alone.


bad observation, but mostly agree


I --hopelessly-- wish someone could take some kind of measure.


try convincing of some kind of moderation, and setting up posting rules.
___
freebsd-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: off topic: unmanageable switch?

2009-06-19 Thread Wojciech Puchar

Linksys, DLink, etc. Cheap is cheap


You gave examples of WORST CRAP, and not really cheap.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org