Re: KDE 3.5 Crashing

2007-06-18 Thread doug

On Fri, 15 Jun 2007, Gemma Fletcher wrote:


Edit: Resending as having problems with my mail.  If it pops up twice then
apologies :)

Hi list :)

Installed BSD 6.2 a few days ago and am totally new to it all.  I installed
KDE 3.5 and it was working nicely until it juststopped.

No obvious crash - it just froze.  Had to reboot the system with the reset
button as no other method was working.

So I thought  it might be my sound since it wasn't configured and I had read
a few things that said that sometimes caused KDE to crash.  Also disabled a
few buggy plugins and what not and still it keeps on freezing on me.

The annoying thing is its totally random - It could be running for several
hours before it freezes; and sometimes it freezes the moment I log on.  Its
frozen at last count 7 times today and I ended up having to do a some random
hardrive check as boot up was starting to fail and logging me in as single
mode user only.

Anyway - to get to the point; is there a log somewhere that I can check out in
console mode which incidently never crashes that might help me pinpoint the
problem?

Thanks in advance,
Gemma


I apologize in advance if this advice is too rudimentary.

Sounds more like hardware. You did not say how you tested your memory. If you 
did not use Memtest86, get and run that. Also run fsck manually.


If the hardware checks out okay, you can try to isolate what is failing. Turn of 
various compoents one at a time.  For example turn off the wireles interface and 
work normally. If that still fails, set up a dd command or a benchmark program 
to run under kde buut without the network. You can set up either of these to run 
overnight so you should get a good idea that the test worked or not. If you get 
a failure without the network repeat the test using twm (its built into xorg).


If all this fails to identify the problem you need at least to get a kernel 
dump. The developers handbook has information on this.


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


Re: DISPLAY troubles...

2007-06-18 Thread Gary Kline
On Sun, Jun 17, 2007 at 09:56:33PM -0700, Gary Kline wrote:
 On Mon, Jun 18, 2007 at 12:45:59AM -0400, Joe Marcus Clarke wrote:
  Gary Kline wrote:
 This is a strange one.  Last time I ran my broswer it worked.  
 Also, I *finally* had Gnome auto-booting.  Just now, terminal
 fails to come up ; likewise with firefox.  I rebooted twice but
 don't see anything unusual.
   
 I'm rerunning portupgrade -a for the umpteent time.  If anybody
 knows why the DISPLAY fails, I'd like a clue.  env shows the
 display as :0.0, but nothing works.
  
  You can try ktracing the simplest non-working X application from the
  command line.  See if anything obvious shows up.
  
 
 
   I can even get X working.  Not kdm, not gdm, not even xdm.
   I'll check the /tmp/.X11* file
 
   gary
 
   PS:  I'm upgrading ports right this sec, but ought to be ble to 
   go in thru F3 or the like.
 
 
FWIW: lots more of things likee theses in /var/log/debug.log:

Jun  5 00:04:39 tao2 su: NSSWITCH(nss_method_lookup): nis, group_compat,
endgrent, not found

But  in /etc/make.conf is NO_NIS=YES; so I don't no where the nis
yelps are coming from  any ideas??  Also, lot of -aP packages
cming over via portupgrade.  

Also I /usr is

X11R6 - /usr/local/

It's gone from working to (!working) and back. And back... . HM.
this is interesting, aabout kdm-bin in messages and gdm also:

Jun 17 21:45:27 tao2 syslogd: exiting on signal 15
Jun 17 21:45:53 tao2 syslogd: kernel boot file is /boot/kernel/kernel
Jun 17 21:45:55 tao2 rpcbind: cannot create socket for udp6
Jun 17 21:45:55 tao2 root: /etc/rc: WARNING: /etc/ntp.conf is not
readable.
Jun 17 21:45:56 tao2 sm-mta[21870]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon IPv6: can't create server SMTP socket: Protocol
not supported
Jun 17 21:45:56 tao2 sm-mta[21870]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon IPv6: optional socket disabled
Jun 17 21:46:11 tao2 login: ROOT LOGIN (root) ON ttyv0
Jun 17 21:46:18 tao2 kdm-bin[21947]: X server for display :0 terminated
unexpectedly
Jun 17 21:46:18 tao2 kdm-bin[21947]: Unable to fire up local display :0;
disabling.
Jun 17 21:58:30 tao2 login: ROOT LOGIN (root) ON ttyv2
Jun 17 22:02:28 tao2 gdm[22133]: Failed to start X server several times
in a short time period; disabling display :0
Jun 17 22:10:53 tao2 kdm-bin[24594]: X server for display :0 terminated
unexpectedly
Jun 17 22:10:53 tao2 kdm-bin[24594]: Unable to fire up local display :0;
disabling.
Jun 17 22:43:34 tao2 kdm-bin[90030]: X server for display :0 terminated
unexpectedly
Jun 17 22:43:34 tao2 kdm-bin[90030]: Unable to fire up local display :0;
disabling.


Any X11/GUI type wizards know what this means?  This is exactly 
what happened when I trried to lanuch GGUI stuff: couldn't deal
with the display.   I'm stumped.



gary



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


RE: Need help with GNU assembly

2007-06-18 Thread Ted Mittelstaedt

http://asm.sourceforge.net/intro.html



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Patil, Kiran
 Sent: Thursday, June 14, 2007 2:11 PM
 To: freebsd-questions@freebsd.org
 Cc: Patil, Kiran
 Subject: Need help with GNU assembly
 
 
 Hi All,
 
  
 
 I am trying to use GNU assembly. I am trying simple thing such as ,
 moving content of memory location into general purpose register (ax).
 
  
 
 I have following code :
 
  
 
 struct context {
 
  
 
 unsigned long mask[8];
 
 } CONTEXT;
 
  
 
 int main()
 
 {
 
 CONTEXT sr;
 
 sr.mask[5] = 0x8FED;
 
  
 
 __asm ( movw %0, %ax : : m (*(unsigned
 short*)sr.mask[5]) );
 
 return 0;
 
 }
 
  
 
 Compiler complains with error bad substitution directive in asm
 instruction.
 
  
 
 I tried changing the code something like this :
 
  
 
 __asm ( movw %0, %ax : : m (*(unsigned short*)sr.mask+5) );
 
  
 
 Still error is same, then I tried following:
 
  
 
 Unsigned short* ptemp = sr.mask[5];
 
 __asm ( movw %0, %ax : : m (*(unsigned short*)ptemp) );
 
 But still no luck, compiler reported same error as mentioned above
 
  
 
 Any help is appreciated. Please let me know where I am mistake.
 
  
 
 Thanks,
 
 -- Kiran P.
 
 ___
 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: denyhosts and the threshold level

2007-06-18 Thread Beech Rintoul
On Sunday 17 June 2007, Zbigniew Szalbot said:
 Hello,

 I have denyhosts set with the following options:

 DENY_THRESHOLD_INVALID = 3
 DENY_THRESHOLD_VALID = 3

 In my understanding this should block all ssh login attempts from a
 host which fails to provide correct login credentials 3 times (no
 matter if the user actually exists or not at my system). This
 appears to work. But I have a question. When I look at the log I
 can see something like that:

 Failed password for root from 218.9.127.236 port 46472 ssh2 Jun 17
 19:55:38 lists sshd[8048]:
 Failed password for root from 218.9.127.236 port 46631 ssh2 Jun 17
 19:55:42 lists sshd[8052]:
 Failed password for root from 218.9.127.236 port 46786 ssh2 Jun 17
 19:55:45 lists sshd[8057]:
 Failed password for root from 218.9.127.236 port 46952 ssh2 Jun 17
 19:55:49 lists sshd[8069]:
 Failed password for root from 218.9.127.236 port 47106 ssh2 Jun 17
 19:55:53 lists sshd[8071]:
 Failed password for root from 218.9.127.236 port 47261 ssh2 Jun 17
 19:55:56 lists sshd[8075]:
 Failed password for root from 218.9.127.236 port 47414 ssh2 Jun 17
 19:56:00 lists sshd[8079]:
 Failed password for root from 218.9.127.236 port 47566 ssh2 Jun 17
 19:56:03 lists sshd[8081]:

 How can I determine whether the user has actually been cut off
 after 3 attempts? Or does the above mean that the user was not
 blocked?

 Many thanks for your advice!

 Warm regards from Poland.

 Zbigniew Szalbot

I use denyhosts on a couple of my servers. Those login scripts try 
many a second. It takes denyhosts a bit of time to catch it. As for 
them being blocked root should be receiving mail telling you what IP 
was blocked. 

What I see above looks about normal for the app.

Beech
-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/6.2R/announce.html
---



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


Re: DISPLAY troubles...

2007-06-18 Thread Sam Fourman Jr.

fuck off

On 6/18/07, Gary Kline [EMAIL PROTECTED] wrote:


On Sun, Jun 17, 2007 at 09:56:33PM -0700, Gary Kline wrote:
 On Mon, Jun 18, 2007 at 12:45:59AM -0400, Joe Marcus Clarke wrote:
  Gary Kline wrote:
 This is a strange one.  Last time I ran my broswer it worked.
 Also, I *finally* had Gnome auto-booting.  Just now, terminal
 fails to come up ; likewise with firefox.  I rebooted twice but
 don't see anything unusual.
  
 I'm rerunning portupgrade -a for the umpteent time.  If anybody
 knows why the DISPLAY fails, I'd like a clue.  env shows the
 display as :0.0, but nothing works.
 
  You can try ktracing the simplest non-working X application from the
  command line.  See if anything obvious shows up.
 


   I can even get X working.  Not kdm, not gdm, not even xdm.
   I'll check the /tmp/.X11* file

   gary

   PS:  I'm upgrading ports right this sec, but ought to be ble to
   go in thru F3 or the like.


FWIW: lots more of things likee theses in /var/log/debug.log:

Jun  5 00:04:39 tao2 su: NSSWITCH(nss_method_lookup): nis, group_compat,
endgrent, not found

But  in /etc/make.conf is NO_NIS=YES; so I don't no where the nis
yelps are coming from  any ideas??  Also, lot of -aP packages
cming over via portupgrade.

Also I /usr is

X11R6 - /usr/local/

It's gone from working to (!working) and back. And back... . HM.
this is interesting, aabout kdm-bin in messages and gdm also:

Jun 17 21:45:27 tao2 syslogd: exiting on signal 15
Jun 17 21:45:53 tao2 syslogd: kernel boot file is /boot/kernel/kernel
Jun 17 21:45:55 tao2 rpcbind: cannot create socket for udp6
Jun 17 21:45:55 tao2 root: /etc/rc: WARNING: /etc/ntp.conf is not
readable.
Jun 17 21:45:56 tao2 sm-mta[21870]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon IPv6: can't create server SMTP socket: Protocol
not supported
Jun 17 21:45:56 tao2 sm-mta[21870]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon IPv6: optional socket disabled
Jun 17 21:46:11 tao2 login: ROOT LOGIN (root) ON ttyv0
Jun 17 21:46:18 tao2 kdm-bin[21947]: X server for display :0 terminated
unexpectedly
Jun 17 21:46:18 tao2 kdm-bin[21947]: Unable to fire up local display :0;
disabling.
Jun 17 21:58:30 tao2 login: ROOT LOGIN (root) ON ttyv2
Jun 17 22:02:28 tao2 gdm[22133]: Failed to start X server several times
in a short time period; disabling display :0
Jun 17 22:10:53 tao2 kdm-bin[24594]: X server for display :0 terminated
unexpectedly
Jun 17 22:10:53 tao2 kdm-bin[24594]: Unable to fire up local display :0;
disabling.
Jun 17 22:43:34 tao2 kdm-bin[90030]: X server for display :0 terminated
unexpectedly
Jun 17 22:43:34 tao2 kdm-bin[90030]: Unable to fire up local display :0;
disabling.


Any X11/GUI type wizards know what this means?  This is exactly
what happened when I trried to lanuch GGUI stuff: couldn't deal
with the display.   I'm stumped.



gary



--
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
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]


Dynamic - Static Binary

2007-06-18 Thread Konrad Heuer


Hello everyone out there,

I guess it should be possible to convert a dynamically linked binary file 
to a statically linked one by invoking ld with a bunch of flags and 
options.


Can anyone tell me? Thanks for any reply!

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [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: KDE 3.5 Crashing

2007-06-18 Thread Gemma Fletcher
I apologize in advance if this advice is too rudimentary.

Rudimentry is good :) I am a BSD noob :D

Sounds more like hardware. You did not say how you tested your memory. If
you
 did not use Memtest86, get and run that. Also run fsck manually.

I used Memtest and I have had already run fsck since my poor hard drive was
compaining bitterly of so many cold restarts. There were some errors that
were cleaned up - and it seems a bit more stable as in it can go a few
hours before freezing

 If the hardware checks out okay, you can try to isolate what is failing.
Turn of
 various compoents one at a time.  For example turn off the wireles
interface and
 work normally. If that still fails, set up a dd command or a benchmark
program
 to run under kde buut without the network. You can set up either of these
to run
 overnight so you should get a good idea that the test worked or not. If
you get
 a failure without the network repeat the test using twm (its built into
xorg).

I pulled out my wifi card (since i wasn't even using the darn thing), the
only other thing to pull is my video card (Nividia GForce 6600) - the rest
(sound, my ethernet card etc) are all onboard.

Now I have being trying to find something comparable to windows where there
is a device manager where i can disable or enable hardware.  Is there
something like that? Or is it console command only?  I've been reading
through the handbook and the KDE doc but haven't come across much.

I'll try a benchmark prog and then try twm if there's a prob.

 If all this fails to identify the problem you need at least to get a
kernel
 dump. The developers handbook has information on this.

 Hope this helps,

Help heaps, Thanks :)
 DougD
Gemma

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


Re: linux-opera java

2007-06-18 Thread Wojciech Puchar

a tried blackdown-jre... and it didn't worked. thanks.


On Fri, 15 Jun 2007, Nikola Lecic wrote:


On Fri, 15 Jun 2007 21:46:58 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:


what should i install (preferably ports) to make java working in
linux-opera? linux-flashplugin7, acroread  realplayer works in opera.


Hello Wojciech,

Please don't hijack threads.

Install java/linux-blackdown-jdk14, then Tools-Preferences-Advanced.

Nikola Lečić

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

Question about use Intel Embedded Server RAID Technology II with FreeBSD

2007-06-18 Thread Alexander Gudimov
Hello, questions.

Please help me. How make to use Intel Embedded Server RAID Technology II
with FreeBSD on server board Intel S5000VSA (ESB2) ? I use
FreeBSD v6.2 AMD64. SATA controller was viewed by FreeBSD, but RAID
controller is not.

-- 
With best regards,
 Alexander  mailto:[EMAIL PROTECTED]

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


New files in setuid.today

2007-06-18 Thread Andrew Robinson
Hi everyone,

I have some new file names in my /var/log/setuid.today file.  There
are things on an external drive, pdfs, html documents, etc.  The only
common factor that I can see is that all of them are 's' in the group
permissions.  An example is:

1766558 -rw-r-sr--  1 andrewr  andrewr 8076 Jul 24 19:38:17 2005
/home/andrewr/0.svn/0.infrastructure/www_public/andrewpr.JPG

Just checking the names of the files, I know what each one of them is
(or is supposed to be!) and none of them are supposed to bne
executable.

Can anyone tell me how this might happen, and what I should do to
clean it up?  

Thanks!

Andrew
-- 
Andrew Robinson  
Department of Mathematics and StatisticsTel: +61-3-8344-9763
University of Melbourne, VIC 3010 Australia Fax: +61-3-8344-4599
http://www.ms.unimelb.edu.au/~andrewpr
http://blogs.mbs.edu/fishing-in-the-bay/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem with sed command and csh

2007-06-18 Thread Nikos Vassiliadis
On Saturday 16 June 2007 16:35, Olivier Regnier wrote:
 Olivier Regnier a ιcrit :
  Nikos Vassiliadis a ιcrit :
  On Friday 15 June 2007 13:29, Olivier Regnier wrote:
  Hi everybody,
 
  Actually, i'm working on FreeBSD 6.2 and csh shell. With a sh
  script, i trying to execute this command :
  sed -e s/MAKE_ARGS\([^{]*\){/MAKE_ARGS\1{\n\t'mail/nbsmtp' =
  'WITH_IPV6=1 WITH_SSL=1',/  /usr/local/etc/pkgtools.conf
 
  The result is not correct, i have an error :
  sed: 1: s/MAKE_ARGS\([^{]*\){/M . . .: bad flag in subsitute
  command: 'n'
 
  Can you help me please ?
 
  s/MAKE_ARGS\([^{]*\){/MAKE_ARGS\1{\n\t'mail/nbsmtp' =
  This n is invalid--^^^
 
  You should add a backslash before each slash
  that is not used as a separator for the s command.
  E.g.
  s/I want to substitute the \/ character/with the _ character/
  s/\/\/\//three slashes/
 
  You can also use a separator of choice for the s command.
  That is:
  s/foo/bar/ is equivalent to [EMAIL PROTECTED]@bar@
  is equivalent to sAfooAbarA
  is equivalent to s1foo1bar1.
 
  keep in mind, that our sed might not be
  totally compatible with GNU sed.
 
  HTH, Nikos
 
  Thank for you anserw but the result is bad again :)
  I tryed this : sed
  s/MAKE_ARGS\([^{]*\){/MAKE_ARGS\1{\n\t'mail\/nbsmtp' = 'WITH_IPV6=1
  WITH_SSL=1',/  /usr/local/etc/pkgtools.conf
  but i have this with cat /usr/local/etc/pkgtools.conf
 
  MAKE_ARGS = {nt'mail/nbsmtp' = 'WITH_IPV6=1 WITH_SSL=1',
  }
 
  Sed and csh is strange no ? I think \n \t not supported by csh.

 well yesterday i tried with awk command :
 echo MAKE_ARGS = { | awk '{ sub(/MAKE_ARGS = {/, MAKE_ARGS =
 {\n\t\'\'ports-mgmtp/portupgrade' =
 \'\'WITH_BDB4=1',\n\t\'\'sysutils/fastest_cvsup' =
 \'\'WITH_ROUNDTRIP=1',\n\t\'\'mail/nbsmtp' ='WITH_IPV6=1
 WITH_SSL=1',\n}); print; }'

 The resultat is not bad but incomplete :

 MAKE_ARGS = {
'ports-mgmtp/portupgrade = 'WITH_BDB4=1,
'sysutils/fastest_cvsup = 'WITH_ROUNDTRIP=1,
'mail/nbsmtp = 'WITH_IPV6=1 WITH_SSL=1,
 }


 I should have that :

 MAKE_ARGS = {
'ports-mgmtp/portupgrade*'* = 'WITH_BDB4=1*'*,
'sysutils/fastest_cvsup*'* = 'WITH_ROUNDTRIP=1*'*,
'mail/nbsmtp*'* = 'WITH_IPV6=1 WITH_SSL=1*'*,
 }


Single quotes(') have special meaning to the shell. You
have to cancel the special meaning using backslashes.
For example:
%set a = foo\'bar
%echo $a
foo'bar
%set a = foo\bar
%echo $a
foobar

As I see in your code above, not every single quote is backslashed.
Asterisks should be backslashed in order to passed literally to awk.
awk has also special characters, which also should be backslashed
to be treated as simple characters. For example(bash, not csh):
nik:0:~$ echo | awk '{ print(foo\bar) }'
foobar

It gets complicated since some characters are special to both, csh
and awk. Frequently, you have to use backslashed backslashes, to get
the wanted result... You should check the csh and awk manual page.

Last but not least, do you have use csh?
It's not recommend for scripting.

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


Re: How to see the Ram memory in freebsd 6.2

2007-06-18 Thread Chad Perrin
On Mon, Jun 18, 2007 at 01:21:00AM +0300, Manolis Kiagias wrote:
 Chad Perrin wrote:
 
  What if you just want to see how much is installed, what speed it is, et
  cetera?  It isn't clear to me that Prakash was necessarily looking for
  RAM usage.

 True, I made a few assumptions here, based on what I thought he meant.
 For the type of questions you are asking I usually look at the bios or
 attack the machine with a screwdriver :)

I prefer [EMAIL PROTECTED]'s answer more:

  # sysctl hw.physmem

Of course, that just gives the quantity.  I haven't checked the
availability of the rest of that information via sysctl to see whether
the rest of that information is similary available.  Perhaps I should.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
W. Somerset Maugham: The ability to quote is a serviceable substitute for
wit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-18 Thread Byron Campbell
On Sunday 17 June 2007 10:23:19 pm Mark Kirkwood wrote:

 AFAICS the symbol is defined in:

 /usr/local/lib/xorg/modules/drivers/ati_drv.so

 e.g:

 $ nm ati_drv.so|grep ATIMemoryTypeNames_88800CX
 b5c0 D ATIMemoryTypeNames_88800CX

 What does it show on your system (I'm wondering if your ati
 drivers have not been upgraded properly).

Ah, good point. The output here is:

00e940 D ATIMemoryTypeNames_88800CX

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


Re: FreeBSD and Robotics

2007-06-18 Thread Chad Perrin
On Sun, Jun 17, 2007 at 10:38:54PM -0700, Ted Mittelstaedt wrote:
 
 There's another issue and that is POST on standard PC hardware.  POST
 takes too long.  For example the auto industry has agreed on a standard
 time that a car engine computer must be fully operational, it is very
 short, no more than something like 2 seconds or so.  Enough so that when
 you turn the key and the engine starts cranking, that the engine computer
 has completely booted and is running by the second crank.
 
 That is why you probably will never see standard computer hardware used
 in the operating room of a hospital to control patient life support, for
 example.  If for example during an operation the computer controlling an
 artificial heart suddenly dies, the staff simply unplugs the lines from
 the computer and plug them into another computer which then is switched on
 and within a second has come fully ready, and operating.  You could not
 wait the 30-60 seconds that POST on a regular PC would take to complete.

If it's taking 30-60 seconds just for your system to POST, there's
something desperately wrong.  My laptop gets all the way to a login
prompt in that range.  I think you mean boot, not POST -- where
POST stands for Power On, Self-Test and refers to that brief period
at the beginning of booting before the boot manager is loaded.  You know,
the part where there's a screen that says IBM or AMI or something
like that.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
John W. Russell: People point. Sometimes that's just easier. They also use
words. Sometimes that's just easier. For the same reasons that pointing has
not made words obsolete, there will always be command lines.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and Robotics

2007-06-18 Thread Chad Perrin
On Mon, Jun 18, 2007 at 01:32:21PM +1000, Murray Taylor wrote:
 I can only think of one other point for this...
 Interrupt latency.  Depending on what you are attempting to do,
 the variable nature of interrupt responses could be an issue.
 I.e. if the system becomes io bound during a data capture cycle,
 and something occurs that requires a response within a very narrow
 window, it is possible to miss the window due to other interrupt
 processes running.
 
 For this reason, robotics systems often run on highly optimised
 single process systems where there is a 'guaranteed' poll cycle
 and / or a very minimal defined interrupt system with minimal
 overheads.

I suspect that increasing concurrency capability in the near future will
change that a fair bit.  It'll probably start with highly concurrent
embedded and realtime OS development (he said, wildly guessing) and seep
out into other areas of computing from there.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
awj @reddit: The terms never and always are never always true.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DISPLAY troubles...

2007-06-18 Thread Norberto Meijome
[removing cross posting to -gnome@ ]

On Sun, 17 Jun 2007 23:05:34 -0700
Gary Kline [EMAIL PROTECTED] wrote:

 On Sun, Jun 17, 2007 at 09:56:33PM -0700, Gary Kline wrote:
  On Mon, Jun 18, 2007 at 12:45:59AM -0400, Joe Marcus Clarke wrote:
   Gary Kline wrote:
This is a strange one.  Last time I ran my broswer it worked.  
Also, I *finally* had Gnome auto-booting.  Just now, terminal
fails to come up ; likewise with firefox.  I rebooted twice but
don't see anything unusual.

I'm rerunning portupgrade -a for the umpteent time.  If anybody
knows why the DISPLAY fails, I'd like a clue.  env shows the
display as :0.0, but nothing works.
   
   You can try ktracing the simplest non-working X application from the
   command line.  See if anything obvious shows up.
   
  
  
  I can even get X working.  Not kdm, not gdm, not even xdm.
  I'll check the /tmp/.X11* file
  
  gary
  
  PS:  I'm upgrading ports right this sec, but ought to be ble to 
  go in thru F3 or the like.
  
  
   FWIW: lots more of things likee theses in /var/log/debug.log:
 
 Jun  5 00:04:39 tao2 su: NSSWITCH(nss_method_lookup): nis, group_compat,
 endgrent, not found
 
   But  in /etc/make.conf is NO_NIS=YES; so I don't no where the nis
   yelps are coming from  any ideas??  Also, lot of -aP packages
   cming over via portupgrade.  
 
   Also I /usr is
 
   X11R6 - /usr/local/
 
   It's gone from working to (!working) and back. And back... . HM.
   this is interesting, aabout kdm-bin in messages and gdm also:
 
 Jun 17 21:45:27 tao2 syslogd: exiting on signal 15
 Jun 17 21:45:53 tao2 syslogd: kernel boot file is /boot/kernel/kernel
 Jun 17 21:45:55 tao2 rpcbind: cannot create socket for udp6
 Jun 17 21:45:55 tao2 root: /etc/rc: WARNING: /etc/ntp.conf is not
 readable.
 Jun 17 21:45:56 tao2 sm-mta[21870]: NOQUEUE: SYSERR(root):
 opendaemonsocket: daemon IPv6: can't create server SMTP socket: Protocol
 not supported
 Jun 17 21:45:56 tao2 sm-mta[21870]: NOQUEUE: SYSERR(root):
 opendaemonsocket: daemon IPv6: optional socket disabled
 Jun 17 21:46:11 tao2 login: ROOT LOGIN (root) ON ttyv0
 Jun 17 21:46:18 tao2 kdm-bin[21947]: X server for display :0 terminated
 unexpectedly
 Jun 17 21:46:18 tao2 kdm-bin[21947]: Unable to fire up local display :0;
 disabling.
 Jun 17 21:58:30 tao2 login: ROOT LOGIN (root) ON ttyv2
 Jun 17 22:02:28 tao2 gdm[22133]: Failed to start X server several times
 in a short time period; disabling display :0
 Jun 17 22:10:53 tao2 kdm-bin[24594]: X server for display :0 terminated
 unexpectedly
 Jun 17 22:10:53 tao2 kdm-bin[24594]: Unable to fire up local display :0;
 disabling.
 Jun 17 22:43:34 tao2 kdm-bin[90030]: X server for display :0 terminated
 unexpectedly
 Jun 17 22:43:34 tao2 kdm-bin[90030]: Unable to fire up local display :0;
 disabling.


It seems it's an issue with X, not necessarily with your login manager. 

- Check what X logged in  /var/log/Xorg.0.log - PLEASE dont paste the lot in 
here blindly - errors / problems are usually clearly marked. Send those here 
for help.

- Disable all login managers (gdm,etc), then start X by itself (startx) - it 
may start gnome, or maybe twm. if it doesn't, it would most definitely point to 

- did you upgrade to Xorg 7.2 recently? did you follow the upgrade process to a 
successful completion? 

B


_
{Beto|Norberto|Numard} Meijome

He can compress the most words into the smallest idea of any man I know.
  Abraham Lincoln

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can No Longer Get To Virtual Consoles After -STABLE Update

2007-06-18 Thread Robert Huff
Norberto Meijome writes:

  Look for some threads in this list about ALT key and alternative
  keyboadd maps not working after the upgrade. There is a suuposed
  fiex, but I haven't tested it yet.

On the advice of a third party, I added this:

Section ServerFlags
Option  DontZap   false
Option  DontZoom  true
Option  AllowMouseOpenFailtrue

#  XFree86 4.[34].x - Add DontVTSwitch to be false (for
# console switching).

Option  DontVTSwitch  false
Option  HandleSpecialKeys always

#  Xorg 6.8.(2|99.903) - Add XkbDisable to be true (for
# console switching).

Option  XkbDisabletrue
EndSection


at the end of my xorg.conf.
This has fixed the ctl+alt+Fn problem.  There may be side
effects, but so far I haven't triggered any of them.



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


Re: azureus problem

2007-06-18 Thread Tsu-Fan Cheng

hi,
 is there pre-compiled package for jdk15?? i thought there is a liscence
issue.. and i can't find it on freebsd ftp..

TFC

On 6/17/07, Garrett Cooper [EMAIL PROTECTED] wrote:


Tsu-Fan Cheng wrote:
 or maybe i should use jdk1.4??


 TFC



  Hmmm... there might be an issue between the SWT library
and
  the Java
  VM. I'd first see if you can use a different VM, then try
 and contact
  the Azureus, then the SWT devs about this issue if it
persists,
  working
  your way up the tree.
  But first.. did you build the VM yourself, or are you
 using the
  prepackaged one build by the FreeBSD group?
  -Garrett
 
 
 Try the prepackaged version first then before doing anything rash
 (note:
 you can't do this if you run CURRENT)..
 -Garrett


No. Using 1.4 will only shove the issue under the carpet instead of
dealing with it and fixing the issue for many other users.

Besides, 1.4 wasn't all that great anyhow :).
-Garrett


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


FreeBSD/wpa_supplicant

2007-06-18 Thread Olivier Regnier

Hi everyone,

Anytime i install FreeBSD for the first time on my laptop impossible to 
connect itself to Internet. I must restart with this command :
/etc/rc.d/netif restart. After, there are not problem.  Just the first 
time.  What happened ?


I use wpa_supplicant.

Can you help me please ?

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


Re: problem with sed command and csh

2007-06-18 Thread Olivier Regnier

Nikos Vassiliadis a écrit :

On Saturday 16 June 2007 16:35, Olivier Regnier wrote:
  

Olivier Regnier a ιcrit :


Nikos Vassiliadis a ιcrit :
  

On Friday 15 June 2007 13:29, Olivier Regnier wrote:


Hi everybody,

Actually, i'm working on FreeBSD 6.2 and csh shell. With a sh
script, i trying to execute this command :
sed -e s/MAKE_ARGS\([^{]*\){/MAKE_ARGS\1{\n\t'mail/nbsmtp' =
'WITH_IPV6=1 WITH_SSL=1',/  /usr/local/etc/pkgtools.conf

The result is not correct, i have an error :
sed: 1: s/MAKE_ARGS\([^{]*\){/M . . .: bad flag in subsitute
command: 'n'

Can you help me please ?
  

s/MAKE_ARGS\([^{]*\){/MAKE_ARGS\1{\n\t'mail/nbsmtp' =
This n is invalid--^^^

You should add a backslash before each slash
that is not used as a separator for the s command.
E.g.
s/I want to substitute the \/ character/with the _ character/
s/\/\/\//three slashes/

You can also use a separator of choice for the s command.
That is:
s/foo/bar/ is equivalent to [EMAIL PROTECTED]@bar@
is equivalent to sAfooAbarA
is equivalent to s1foo1bar1.

keep in mind, that our sed might not be
totally compatible with GNU sed.

HTH, Nikos


Thank for you anserw but the result is bad again :)
I tryed this : sed
s/MAKE_ARGS\([^{]*\){/MAKE_ARGS\1{\n\t'mail\/nbsmtp' = 'WITH_IPV6=1
WITH_SSL=1',/  /usr/local/etc/pkgtools.conf
but i have this with cat /usr/local/etc/pkgtools.conf

MAKE_ARGS = {nt'mail/nbsmtp' = 'WITH_IPV6=1 WITH_SSL=1',
}

Sed and csh is strange no ? I think \n \t not supported by csh.
  

well yesterday i tried with awk command :
echo MAKE_ARGS = { | awk '{ sub(/MAKE_ARGS = {/, MAKE_ARGS =
{\n\t\'\'ports-mgmtp/portupgrade' =
\'\'WITH_BDB4=1',\n\t\'\'sysutils/fastest_cvsup' =
\'\'WITH_ROUNDTRIP=1',\n\t\'\'mail/nbsmtp' ='WITH_IPV6=1
WITH_SSL=1',\n}); print; }'

The resultat is not bad but incomplete :

MAKE_ARGS = {
   'ports-mgmtp/portupgrade = 'WITH_BDB4=1,
   'sysutils/fastest_cvsup = 'WITH_ROUNDTRIP=1,
   'mail/nbsmtp = 'WITH_IPV6=1 WITH_SSL=1,
}


I should have that :

MAKE_ARGS = {
   'ports-mgmtp/portupgrade*'* = 'WITH_BDB4=1*'*,
   'sysutils/fastest_cvsup*'* = 'WITH_ROUNDTRIP=1*'*,
   'mail/nbsmtp*'* = 'WITH_IPV6=1 WITH_SSL=1*'*,
}




Single quotes(') have special meaning to the shell. You
have to cancel the special meaning using backslashes.
For example:
%set a = foo\'bar
%echo $a
foo'bar
%set a = foo\bar
%echo $a
foobar

As I see in your code above, not every single quote is backslashed.
Asterisks should be backslashed in order to passed literally to awk.
awk has also special characters, which also should be backslashed
to be treated as simple characters. For example(bash, not csh):
nik:0:~$ echo | awk '{ print(foo\bar) }'
foobar

It gets complicated since some characters are special to both, csh
and awk. Frequently, you have to use backslashed backslashes, to get
the wanted result... You should check the csh and awk manual page.

Last but not least, do you have use csh?
It's not recommend for scripting.

HTH, Nikos
  

Hello,

I founded solution with awk command and that works well.

cat /usr/local/etc/pkgtools.conf | awk '{ sub(/^[ \t]*MAKE_ARGS = {/, 
\n\t\x27ports-mgmtp/portupgrade\x27 = 
\x27WITH_BDB4=1\x27,\n\t\x27sysutils/fastest_csvsup\x27 = 
\x27WITH_ROUNDTRIP=1\x27,\n\t\x27mail/nbsmtp\x27 = \x27WITH_IPV6=1 
WITH_SSL=1\x27,\n); print; }'  /usr/local/etc/pkgtools.conf


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


Re: How to see the Ram memory in freebsd 6.2

2007-06-18 Thread sac

On 6/17/07, Prakash Poudyal [EMAIL PROTECTED] wrote:

Hello All,

Can any body tell me how to see the RAM memory in freebsd.

for your reference I had already used dmesg and top command and now I want
to know specifec command to see the Ram memory only.




$ sysctl hw.physmem | awk '{ print $2/(1024*1024) }'

Will give you memory size in megabytes.

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


Install issue: get root login in GUI

2007-06-18 Thread Harriet Severino
Hi,

I am having install isues and can not login as root in the GUI. I have
to re-boot and come up in single user mode to work as root. Then when I
need to look something up, I have to boot into regular mode, look it up
on the web, then re-boot into single user mode. This is cumbersome to
say the least. I need to install the jdk, and keep rebooting to check
the doc!

I have installed FreeBSD 6.2 from a set of CDs.

Thanks you for your time and effort

H Severino
Web designer  developer



   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 
http://mobile.yahoo.com/go?refer=1GNXIC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sftp and tab completion

2007-06-18 Thread Lowell Gilbert
Dave [EMAIL PROTECTED] writes:
I've got a simple question. Does sftp, the one that comes with
 FreeBSD 6.2's openssh, do tab completion? I've read that it could, but
 it isn't working here. I've got bash3 set up as my shell which seemed
 to matter. Also, when hitting a backspace in sftp i get a ^h and the
 command is invalidated as a result.

The last point is probably a terminal issue rather than shell.
Whether tab completion is supported at all is something I'd
never considered before, but I see some indications that it 
might require specific configuration at build time...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install issue: get root login in GUI

2007-06-18 Thread Christian Walther

On 18/06/07, Harriet Severino [EMAIL PROTECTED] wrote:

Hi,

I am having install isues and can not login as root in the GUI. I have
to re-boot and come up in single user mode to work as root. Then when I
need to look something up, I have to boot into regular mode, look it up
on the web, then re-boot into single user mode. This is cumbersome to
say the least. I need to install the jdk, and keep rebooting to check
the doc!


By default root is not allowed to login to the GUI. So far, this is
works as designed.
There are two options:
1. Switch to a console by pressing Ctrl+Alt+1 vor example. This will
give you a console login that doesn't reject root. Do the things you
want to do as root there.
2. Add yourself to the group wheel. This will allow you to login *as
a normal user*, open a terminal and do a su -. Enter the root
password, and you're done. To do this you probably need to use a
console login and edit /etc/group apropriately. :-)

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


Re: linux-opera java

2007-06-18 Thread Nikola Lecic
Reply to the list, please.

On Mon, 18 Jun 2007 09:45:36 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:

 it works
 
 i missed /compat/linux/proc mounted in fstab :)

It should just run as is; please run linux-opera from the command line
and post here error messages (if you can, add also what web page you
are trying to see.)

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


sendmail local problem...

2007-06-18 Thread Agus

Hi all,

I am having trouble with my mailI only want it configured to deliver
locally, which in one of my bsd did it by default...but in this bsd i am
gettint messages deferred...
Connection refused by himalaya.x.x which is my router. It seems like
sendmail is trying to relay it to my router...but is local mail

any help will be great...
my rc.conf doesnt mention sendmail...
ps shows sendmail running...
and messages to root for example get stuck in queue with deferred, cant
connect himalaya...

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


Re: Install issue: get root login in GUI

2007-06-18 Thread Harriet Severino
Thanks, I was trying Alt-1 and Ctl-1 for the hot key.

H Severino
--- Christian Walther [EMAIL PROTECTED] wrote:
 On 18/06/07, Harriet Severino [EMAIL PROTECTED] wrote:
  Hi,
 
  I am having install isues and can not login as root in the GUI. I
 have
  to re-boot and come up in single user mode to work as root. Then
 when I
  need to look something up, I have to boot into regular mode, look
 it up
  on the web, then re-boot into single user mode. This is cumbersome
 to
  say the least. I need to install the jdk, and keep rebooting to
 check
  the doc!
 
 By default root is not allowed to login to the GUI. So far, this is
 works as designed.
 There are two options:
 1. Switch to a console by pressing Ctrl+Alt+1 vor example. This will
 give you a console login that doesn't reject root. Do the things you
 want to do as root there.
 2. Add yourself to the group wheel. This will allow you to login
 *as
 a normal user*, open a terminal and do a su -. Enter the root
 password, and you're done. To do this you probably need to use a
 console login and edit /etc/group apropriately. :-)
 
 HTH
 Christian
 



   

Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install issue: get root login in GUI

2007-06-18 Thread Roland Smith
On Mon, Jun 18, 2007 at 04:22:42PM +0200, Christian Walther wrote:
  On 18/06/07, Harriet Severino [EMAIL PROTECTED] wrote:
  Hi,
 
  I am having install isues and can not login as root in the GUI. I have
  to re-boot and come up in single user mode to work as root. Then when I
  need to look something up, I have to boot into regular mode, look it up
  on the web, then re-boot into single user mode. This is cumbersome to
  say the least. I need to install the jdk, and keep rebooting to check
  the doc!
 
  By default root is not allowed to login to the GUI. So far, this is
  works as designed.
  There are two options:
  1. Switch to a console by pressing Ctrl+Alt+1 vor example. This will
  give you a console login that doesn't reject root. Do the things you
  want to do as root there.
  2. Add yourself to the group wheel. This will allow you to login *as
  a normal user*, open a terminal and do a su -. Enter the root
  password, and you're done. To do this you probably need to use a
  console login and edit /etc/group apropriately. :-)

It's better to use pw(8). to do user and group management. In this case 
'pw groupmod wheel -m yourname' would do the trick. 

Although you can edit /etc/group, you should not edit /etc/passwd,
because it should be generated from /etc/master.passwd. Therefore it's
best to get used to using pw(8). It will also help generate valid group
and passwd syntax.

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)


pgpl3r2j9DOMh.pgp
Description: PGP signature


Re: DISPLAY troubles...

2007-06-18 Thread Gary Kline
On Mon, Jun 18, 2007 at 09:25:07PM +1000, Norberto Meijome wrote:
 [removing cross posting to -gnome@ ]
 
 On Sun, 17 Jun 2007 23:05:34 -0700
 Gary Kline [EMAIL PROTECTED] wrote:
 
  On Sun, Jun 17, 2007 at 09:56:33PM -0700, Gary Kline wrote:
   On Mon, Jun 18, 2007 at 12:45:59AM -0400, Joe Marcus Clarke wrote:
Gary Kline wrote:
   This is a strange one.  Last time I ran my broswer it worked.  
   Also, I *finally* had Gnome auto-booting.  Just now, terminal
   fails to come up ; likewise with firefox.  I rebooted twice but
   don't see anything unusual.
 
   I'm rerunning portupgrade -a for the umpteent time.  If anybody
   knows why the DISPLAY fails, I'd like a clue.  env shows the
   display as :0.0, but nothing works.

You can try ktracing the simplest non-working X application from the
command line.  See if anything obvious shows up.

   
   
 I can even get X working.  Not kdm, not gdm, not even xdm.
 I'll check the /tmp/.X11* file
   
 gary
   
 PS:  I'm upgrading ports right this sec, but ought to be ble to 
 go in thru F3 or the like.
   
   
  FWIW: lots more of things likee theses in /var/log/debug.log:
  
  Jun  5 00:04:39 tao2 su: NSSWITCH(nss_method_lookup): nis, group_compat,
  endgrent, not found
  
  But  in /etc/make.conf is NO_NIS=YES; so I don't no where the nis
  yelps are coming from  any ideas??  Also, lot of -aP packages
  cming over via portupgrade.  
  
  Also I /usr is
  
  X11R6 - /usr/local/
  
  It's gone from working to (!working) and back. And back... . HM.
  this is interesting, aabout kdm-bin in messages and gdm also:
  
  Jun 17 22:43:34 tao2 kdm-bin[90030]: X server for display :0 terminated
  unexpectedly
  Jun 17 22:43:34 tao2 kdm-bin[90030]: Unable to fire up local display :0;
  disabling.
 
 
 It seems it's an issue with X, not necessarily with your login manager. 
 
 - Check what X logged in  /var/log/Xorg.0.log - PLEASE dont paste the lot in 
 here blindly - errors / problems are usually clearly marked. Send those here 
 for help.
 
 - Disable all login managers (gdm,etc), then start X by itself (startx) - it 
 may start gnome, or maybe twm. if it doesn't, it would most definitely point 
 to 
 
 - did you upgrade to Xorg 7.2 recently? did you follow the upgrade process to 
 a successful completion? 
 

Yes, this was an X/xorg issue.  There were logs in /var/log/gdm 
that pointed to /etc/X11/xorg.conf; but the errors weren't
traceable.  I created a new /root/xorg.conf.new and launched X.
(twm) There was a substantially longer list of stderrs from
X -configure.  I'm still tracing these.

 B
 
 
 _
 {Beto|Norberto|Numard} Meijome
 
 He can compress the most words into the smallest idea of any man I know.
   Abraham Lincoln
 
 I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
 Reading disclaimers makes you go blind. Writing them is worse. You have been 
 Warned.

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: Install issue: get root login in GUI

2007-06-18 Thread Jerry McAllister
On Mon, Jun 18, 2007 at 05:51:51PM +0200, Roland Smith wrote:

 On Mon, Jun 18, 2007 at 04:22:42PM +0200, Christian Walther wrote:
   On 18/06/07, Harriet Severino [EMAIL PROTECTED] wrote:
   Hi,
  
   I am having install isues and can not login as root in the GUI. I have
   to re-boot and come up in single user mode to work as root. Then when I
   need to look something up, I have to boot into regular mode, look it up
   on the web, then re-boot into single user mode. This is cumbersome to
   say the least. I need to install the jdk, and keep rebooting to check
   the doc!
  
   By default root is not allowed to login to the GUI. So far, this is
   works as designed.
   There are two options:
   1. Switch to a console by pressing Ctrl+Alt+1 vor example. This will
   give you a console login that doesn't reject root. Do the things you
   want to do as root there.
   2. Add yourself to the group wheel. This will allow you to login *as
   a normal user*, open a terminal and do a su -. Enter the root
   password, and you're done. To do this you probably need to use a
   console login and edit /etc/group apropriately. :-)
 
 It's better to use pw(8). to do user and group management. In this case 
 'pw groupmod wheel -m yourname' would do the trick. 
 
 Although you can edit /etc/group, you should not edit /etc/passwd,
 because it should be generated from /etc/master.passwd. Therefore it's
 best to get used to using pw(8). It will also help generate valid group
 and passwd syntax.

Sort of.   Actually, you should use vipw(8) to edit /etc/passwd.
It will take care of updating master.passwd and the database.

But, using pw is OK too.

jerry

 
 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: FreeBSD and Robotics

2007-06-18 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Chad Perrin
 Sent: Monday, June 18, 2007 3:32 AM
 To: [EMAIL PROTECTED]
 Subject: Re: FreeBSD and Robotics

  and within a second has come fully ready, and operating.  You could not
  wait the 30-60 seconds that POST on a regular PC would take to complete.

 If it's taking 30-60 seconds just for your system to POST, there's
 something desperately wrong.

No, you just have the extended memory check disabled.  Most BIOSes these
days do, with an option to turn it back on.  Go into bios setup and look for
something called quick boot

I've also seen bioses where even when the quickboot is disabled, it will
only test ram once - when the machine is powered up.  Successive reboots it
will not do a through ram test, until the machine is de-powered and
re-powered.

  My laptop gets all the way to a login
 prompt in that range.  I think you mean boot, not POST -- where

boot is also an issue - however, that can be shortened by reducing
the number of drivers loaded by the system.

Ted

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


Wheel Group users get root access without password prompt in 6.2

2007-06-18 Thread Prakash Poudyal

Hello Tek
I think you donot have a root password it may be blank. And you know the
group of the root is wheel. your user group and root group is same so be
careful with that too.

prakash

On 6/17/07, Momchil Ivanov [EMAIL PROTECTED] wrote:


On Sunday 17 June 2007 11:24:46 Tek Bahadur Limbu wrote:
 Hi All,

 I just installed FreeBSD-6.2 today. However, a problem has come up.
 Whenever I create a new user and add them to the wheel group, they can
get
 root access without getting a root password prompt!

 Is my passwd file corrupt or is it due to some misconfiguration in my
 freebsd box?

 Can somebody shed some light on this?

 Thanking you...

How do they get root access? su root or what? Did you set password for the
root account or is it just empty?

--
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E 158A E03D 56DA 3118 168B




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


Re: Wheel Group users get root access without password prompt in 6.2

2007-06-18 Thread Tek Bahadur Limbu

Prakash Poudyal wrote:

Hello Tek
I think you donot have a root password it may be blank. And you know the
group of the root is wheel. your user group and root group is same so be
careful with that too.


Hi Prakash,

This is the 2nd time that I am facing this root password problem in 
FreeBSD-6.2.


I did set the root password during sysinstall. In addition, I had even 
created a user account in the wheel group. However, for some strange 
reasons, the user got deleted and the root's password got reseted to 
blank when the freebsd box got rebooted.


After reboot, I again have to manually set the root password and create 
a user account once again. All is fine and well after that.


I have really found FreeBSD-6.2 stable and steady for production use 
however.


Thanking you...





prakash

On 6/17/07, Momchil Ivanov [EMAIL PROTECTED] wrote:


On Sunday 17 June 2007 11:24:46 Tek Bahadur Limbu wrote:
 Hi All,

 I just installed FreeBSD-6.2 today. However, a problem has come up.
 Whenever I create a new user and add them to the wheel group, they can
get
 root access without getting a root password prompt!

 Is my passwd file corrupt or is it due to some misconfiguration in my
 freebsd box?

 Can somebody shed some light on this?

 Thanking you...

How do they get root access? su root or what? Did you set password for 
the

root account or is it just empty?

--
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E 158A E03D 56DA 3118 168B




___
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: stopping connect attacks in apache

2007-06-18 Thread Chuck Swiger

On Jun 15, 2007, at 7:49 PM, Bob wrote:
Every time my apache server slows down or has denial of service the  
access

log is full this

61.228.122.220 -  CONNECT 66.196.97.250:25 HTTP/1.0 200 7034 - -
61.228.122.220 -  CONNECT 216.39.53.3:25 HTTP/1.0 200 7034 - -
61.228.122.220 -  CONNECT 216.39.53.1:25 HTTP/1.0 200 7034 - -
61.228.122.220 -  CONNECT 168.95.5.155:25 HTTP/1.0 200 7034 - -
61.228.122.220 -  CONNECT 168.95.5.157:25 HTTP/1.0 200 7034 - -
61.228.122.220 -  CONNECT 168.95.5.159:25 HTTP/1.0 200 7034 - -


IP 61.228.122.220 is using the HTTP CONNECT method to relay spam to  
port 25 on the targets via your Apache server.


This almost certainly indicates that you've got mod_proxy loaded or  
something similar via mod_perl/mod_php/whatever, as the CONNECT  
attack would get a 405 Method not allowed error otherwise.


Check http://your_webserver/server-info for details.

--
-Chuck

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


Re: Wheel Group users get root access without password prompt in 6.2

2007-06-18 Thread Bill Moran
In response to Tek Bahadur Limbu [EMAIL PROTECTED]:

 Prakash Poudyal wrote:
  Hello Tek
  I think you donot have a root password it may be blank. And you know the
  group of the root is wheel. your user group and root group is same so be
  careful with that too.
 
 Hi Prakash,
 
 This is the 2nd time that I am facing this root password problem in 
 FreeBSD-6.2.
 
 I did set the root password during sysinstall. In addition, I had even 
 created a user account in the wheel group. However, for some strange 
 reasons, the user got deleted and the root's password got reseted to 
 blank when the freebsd box got rebooted.
 
 After reboot, I again have to manually set the root password and create 
 a user account once again. All is fine and well after that.
 
 I have really found FreeBSD-6.2 stable and steady for production use 
 however.

You've got something bizarre going on with your setup.  I've never seen
the behaviour you describe.

Are you sure that when you set the password, it actually works?  It's
difficult for me to even imagine what kind of problem would cause what
you describe without the system also being completely unstable as well.

Can you give us script captures of the process (sanitized as necessary,
don't email out any passwords) so we can see what you're doing any all
the messages the system provides?

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


Re: KDE 3.5 Crashing

2007-06-18 Thread Nikola Lecic
On Sat, 16 Jun 2007 20:45:57 +1000
Gemma Fletcher [EMAIL PROTECTED] wrote:

 On Friday 15 June 2007 21:41, Matthias Apitz wrote:
  El día Friday, June 15, 2007 a las 09:33:27PM +1000, Gemma Fletcher 
 escribió:
 
  Can you check if only X or KDE is frozen, or the system at all?
  Try to connect from some other host on the network.
  Try to do some RAM testing as well.
 
  matthias
 
 Ok my RAM is fine and dandy.  I'm not sure how to check to see if
 only KDE is frozen.  Once is freezes I can't do anything.  Not even
 reset with ctrl-alt-del.  And my keyboard usually goes dead
 indicated by my numlock light turning off
 
 Its just me - so I have no other host to connect from.  I did notice
 something though that i forgot to mention- it usually only crashes if
 I am doing some internet related activity. Ie.Browsing, checking
 email, IM'ing etc  If I just do normal stuff like spreadsheeting, or
 developing or whatever it seems to run fine.

Hello Gemma,

Although it really looks like hardware, you can also do this to be 100%
sure it isn't software related:

(1) Had you used that computer before you have installed FreeBSD? It
would be a nice idea to post here the output of your 'dmesg'
or /var/log/messages.

(2) Have you tried to run a small script as Matthias proposed?

(3) Are you sure your ports are up-to-date? If in doubt, install
ports-mgmt/portupgrade and run

  # portversion -v -L =

(4) If yes, as of how to check X without KDE, do the following:

  (a) run 'xinit' without ~/.xinitrc file to avoid starting KDE and
  or any other window manager; (once you start it, you can go back
  by 'exit' or Ctrl+Alt+Backspace; please note that you must put the
  mouse over the window in order to move focus on it);

  (b) check if there are warning -- (WW) -- or other suspicious messages
  in /var/log/Xorg.0.log;

  (c) while in pure xinit session, run Firefox or other application that
  is not KDE/Qt related;

  (d) run Opera, Skype or similar app that is Qt- but not KDE-related;

  (e) run KDE applications (Konqueror, KMail, etc.)

and report one by one what happened, from (1) to (4e). Maybe it helps
to isolate the problem, besides hardware tests :)

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


Re: Wheel Group users get root access without password prompt in 6.2

2007-06-18 Thread Christian Walther

On 18/06/07, Bill Moran [EMAIL PROTECTED] wrote:

In response to Tek Bahadur Limbu [EMAIL PROTECTED]:

 Prakash Poudyal wrote:

[...]

 After reboot, I again have to manually set the root password and create
 a user account once again. All is fine and well after that.

 I have really found FreeBSD-6.2 stable and steady for production use
 however.

You've got something bizarre going on with your setup.  I've never seen
the behaviour you describe.

Are you sure that when you set the password, it actually works?  It's
difficult for me to even imagine what kind of problem would cause what
you describe without the system also being completely unstable as well.


[...]

Maybe the OP does what he describes, but chooses the wrong button to
continue the installation, so that these settings are discarded by
sysinstall. I'm not sure if the stage the root password is set is some
point of confusion, as described in sysinstall related discussions on
this list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail local problem...

2007-06-18 Thread Jonathan Horne
On Monday 18 June 2007 09:57:27 Agus wrote:
 Hi all,

 I am having trouble with my mailI only want it configured to deliver
 locally, which in one of my bsd did it by default...but in this bsd i am
 gettint messages deferred...
 Connection refused by himalaya.x.x which is my router. It seems like
 sendmail is trying to relay it to my router...but is local mail

 any help will be great...
 my rc.conf doesnt mention sendmail...
 ps shows sendmail running...
 and messages to root for example get stuck in queue with deferred, cant
 connect himalaya...

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

if you do a 'host [yourdomain]', what does it say your MX record is.  you need 
this server to be able to find itself as the MX for the domain, internally.

hth,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: Upgrading x.org to 7.2 (to make other ports happy)

2007-06-18 Thread Andrew Falanga


Please read the instructions more carefully.  You are supposed to run a
program called script with the parameter xorg-upgrade.  script is a
program which will create a file called xorg-upgrade.  All the commands
you subsequently  type and all the output you get will be logged in the
file xorg-upgrade, so that if something goes wrong you have a log of the
errors to refer to, cut-and-pate from etc.


I just read my reply to this from the weekend.  Wow, it sounds like
I'm a complete idiot.  Ok, what I meant to say (had other things on my
mind this weekend) was that being unfamiliar with 'script' I thought
it was some sort of interpreter through which I had to run this
xorg-upgrade script mentioned in the UPDATING file.  As you can see,
my lack of understanding for script lead to a bad assumption.

Thanks again for setting me straight.  Just for the record, once my
understanding was set right, the upgrade went flawlessly.  Great
instructions!

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


Re: Wheel Group users get root access without password prompt in 6.2

2007-06-18 Thread Robert Huff

Christian Walther writes:

  Maybe the OP does what he describes, but chooses the wrong button
  to continue the installation, so that these settings are
  discarded by sysinstall.

I've done this, and more recently than I'd like to admit.


Robert Huff

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


Re: denyhosts and the threshold level

2007-06-18 Thread Norberto Meijome
On Mon, 18 Jun 2007 07:51:23 +0200
Zbigniew Szalbot [EMAIL PROTECTED] wrote:

 Failed password for root from 218.9.127.236 port 47414 ssh2 Jun 17 
 19:56:00 lists sshd[8079]:
 Failed password for root from 218.9.127.236 port 47566 ssh2 Jun 17 
 19:56:03 lists sshd[8081]:

Of course, you have root logins via ssh disabled anyway.. right? ;)

_
{Beto|Norberto|Numard} Meijome

I don't think they could put him in a mental hospital.  On the other
hand, if he were already in, I don't think they'd let him out.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?

2007-06-18 Thread Jason Hills

Hello,

I would like to try adding a 3D Desktop feel to my laptop, but I am
new to this thing, and was not able to find how to install xgl or
aiglx. I installed Beryl and it complains about not finding AIGLX
display.

How should I start? What will I need to have installed and running,
and how to do proper testings when/if things go wrong?

I appreciate your help. I found some tutorials, say,
http://wiki.beryl-project.org/index.php/Install/FreeBSD, but it seems,
to me at least, that it is not an up-to-date resource.

Any directions will help.

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


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-18 Thread Mark Kirkwood

Byron Campbell wrote:

On Sunday 17 June 2007 10:23:19 pm Mark Kirkwood wrote:

AFAICS the symbol is defined in:

/usr/local/lib/xorg/modules/drivers/ati_drv.so

e.g:

$ nm ati_drv.so|grep ATIMemoryTypeNames_88800CX
b5c0 D ATIMemoryTypeNames_88800CX

What does it show on your system (I'm wondering if your ati
drivers have not been upgraded properly).


Ah, good point. The output here is:

00e940 D ATIMemoryTypeNames_88800CX


Well - seems to be defined there hmmm. not sure why you are getting 
'undefined symbol' in atimisc_drv.so in that case. I am wondering if the 
problem is tied up with amd64 specifically - hopefully someone else will 
have some ideas :-).


In the meantime you could hack your xorg.conf to use 'vesa' driver and 
see if you can actually startup X - try adding modeline settings in 
there for your monitor if you still get 'out of range' (tho I must say 
I've *never* needed to put them in with Xorg...).


Also worth trying might be borrowing a DVI cable (assuming your monitor 
has a DVI input) and seeing if X works with it connected instead of the 
VGA one.


Cheers

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


Re: FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?

2007-06-18 Thread Duane Hill

On Mon, 18 Jun 2007, Jason Hills wrote:


Hello,

I would like to try adding a 3D Desktop feel to my laptop, but I am
new to this thing, and was not able to find how to install xgl or
aiglx. I installed Beryl and it complains about not finding AIGLX
display.

How should I start? What will I need to have installed and running,
and how to do proper testings when/if things go wrong?

I appreciate your help. I found some tutorials, say,
http://wiki.beryl-project.org/index.php/Install/FreeBSD, but it seems,
to me at least, that it is not an up-to-date resource.

Any directions will help.


I don't know if this is the same thing or not. I had a problem when 
starting Blender. It complained about not finding GLX. Upon discovering 
the driver was commented out in my X11 configuration file, I uncommented 
it, restarted X11 and BINGO!


Just do a search in /etc/X11/xorg.conf with 'glx' all lower case and you 
should find this section:


  # This loads the GLX module
  Load   glx

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


Re: Wheel Group users get root access without password prompt in 6.2

2007-06-18 Thread youshi10

On Mon, 18 Jun 2007, Bill Moran wrote:


In response to Tek Bahadur Limbu [EMAIL PROTECTED]:


Prakash Poudyal wrote:

Hello Tek
I think you donot have a root password it may be blank. And you know the
group of the root is wheel. your user group and root group is same so be
careful with that too.


Hi Prakash,

This is the 2nd time that I am facing this root password problem in
FreeBSD-6.2.

I did set the root password during sysinstall. In addition, I had even
created a user account in the wheel group. However, for some strange
reasons, the user got deleted and the root's password got reseted to
blank when the freebsd box got rebooted.

After reboot, I again have to manually set the root password and create
a user account once again. All is fine and well after that.

I have really found FreeBSD-6.2 stable and steady for production use
however.


You've got something bizarre going on with your setup.  I've never seen
the behaviour you describe.

Are you sure that when you set the password, it actually works?  It's
difficult for me to even imagine what kind of problem would cause what
you describe without the system also being completely unstable as well.

Can you give us script captures of the process (sanitized as necessary,
don't email out any passwords) so we can see what you're doing any all
the messages the system provides?

--
Bill Moran
http://www.potentialtech.com


I've seen that before, but not since when I was first getting started out in 
5.4.

Did you accidentally overwrite and install at least base from scratch? Always 
go to post-configuration (or whatever the option is), and not the installation 
section..

-Garrett

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


Wheel Group users get root access without password prompt in 6.2

2007-06-18 Thread Prakash Poudyal

Hello Tek

Thanks. It is good tips for me as well.

prakash

On 6/18/07, Tek Bahadur Limbu [EMAIL PROTECTED] wrote:


Prakash Poudyal wrote:
 Hello Tek
 I think you donot have a root password it may be blank. And you know the
 group of the root is wheel. your user group and root group is same so be
 careful with that too.

Hi Prakash,

This is the 2nd time that I am facing this root password problem in
FreeBSD-6.2.

I did set the root password during sysinstall. In addition, I had even
created a user account in the wheel group. However, for some strange
reasons, the user got deleted and the root's password got reseted to
blank when the freebsd box got rebooted.

After reboot, I again have to manually set the root password and create
a user account once again. All is fine and well after that.

I have really found FreeBSD-6.2 stable and steady for production use
however.

Thanking you...




 prakash

 On 6/17/07, Momchil Ivanov [EMAIL PROTECTED] wrote:

 On Sunday 17 June 2007 11:24:46 Tek Bahadur Limbu wrote:
  Hi All,
 
  I just installed FreeBSD-6.2 today. However, a problem has come up.
  Whenever I create a new user and add them to the wheel group, they
can
 get
  root access without getting a root password prompt!
 
  Is my passwd file corrupt or is it due to some misconfiguration in my
  freebsd box?
 
  Can somebody shed some light on this?
 
  Thanking you...

 How do they get root access? su root or what? Did you set password for
 the
 root account or is it just empty?

 --
 PGP KeyID: 0x3118168B
 Keyserver: pgp.mit.edu
 Key fingerprint BB50 2983 0714 36DC D02E 158A E03D 56DA 3118 168B



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


Multi CPU?

2007-06-18 Thread Jeff Mohler

Am I using both CPUs as I should when I look at this from top?

 PIDUID THR PRI NICE   SIZERES STATE  C   TIME   WCPU
COMMAND
  11  0   1 171   52 0K 8K CPU1   0   0:00 99.56% idle:
cpu1
  12  0   1 171   52 0K 8K RUN0 666.2H 78.81% idle:
cpu0



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


Apparent IP configuration change . . .

2007-06-18 Thread John Williams
FreeBSD users:

Until recently I've been running a very low-maintenance FreeBSD router
with FBSD 6.2.

The IP setup was a dynamic IP configuration with Verizon as my DSL
provider in NJ. The connection was virtually trouble-free.

I switched to a static IP about 10 days ago and the IP configuration no
longer works.

The modem for both IP configurations is a Westell 6100 modem running a
Bridge protocol for both connections.

When I plug the modem directly into the FreeBSD box or a Windows box and
let the modem act as a router, the connection comes up with no problem.

But when I configure the modem to act as a transparent bridge connection
so the FreeBSD box can function as the router, the network connection is
unavailable even though the PPP connection is up (according to the modem
interface).

I'm thinking that there has been a change on the provider end because of
the conversion to a static IP, but I can't figure out how to set up the
PPP connection in the the ppp.conf file.

Here's what worked for the dynamic IP connection:

verizon:
  set device PPPoE:rl0
  set authname xxx
  set authkey xxx
  add default HISADDR

Here's what I've set up for the static IP connection:

verizon:
  set device PPPoE:rl0
  set authname xxx
  set authkey xxx
  add default HISADDR
  set ifaddr 70.0.0.54 70.0.0.1 255.255.255.255 0.0.0.0

The rc.conf file is standard for setting up a PPP connection.

Is a different setup required to configure a static IP to work with FreeBSD?

Any feedback would be much appreciated.

Thanks in advance.
--
John Williams



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


Re: Multi CPU?

2007-06-18 Thread Garrett Cooper

Jeff Mohler wrote:

Am I using both CPUs as I should when I look at this from top?

 PIDUID THR PRI NICE   SIZERES STATE  C   TIME   WCPU
COMMAND
  11  0   1 171   52 0K 8K CPU1   0   0:00 99.56% 
idle:

cpu1
  12  0   1 171   52 0K 8K RUN0 666.2H 78.81% 
idle:

cpu0



cpu1 seems...not used?
   Depends on the version of FreeBSD, as well as the scheduler you're 
using.
   7-CURRENT with the ULE scheduler is quite a bit better than the same 
version with the 4BSD. 6.x with the ULE scheduler shouldn't be used 
because it's highly unstable.

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


Re: Apparent IP configuration change . . .

2007-06-18 Thread Frank Steinborn
John Williams wrote:
 FreeBSD users:
 
 Until recently I've been running a very low-maintenance FreeBSD router
 with FBSD 6.2.
 
 The IP setup was a dynamic IP configuration with Verizon as my DSL
 provider in NJ. The connection was virtually trouble-free.
 
 I switched to a static IP about 10 days ago and the IP configuration no
 longer works.

[ ... ]

 
 Here's what worked for the dynamic IP connection:
 
 verizon:
   set device PPPoE:rl0
   set authname xxx
   set authkey xxx
   add default HISADDR
 
 Here's what I've set up for the static IP connection:
 
 verizon:
   set device PPPoE:rl0
   set authname xxx
   set authkey xxx
   add default HISADDR
   set ifaddr 70.0.0.54 70.0.0.1 255.255.255.255 0.0.0.0

You are suggesting the peer that your IP should be 0.0.0.0, but you
will only accept 70.0.0.54. Moreover, you only accept peer as
70.0.0.1. Are you sure that this is what you want? ppp(8) gives a
wonderful overview of 'set ifaddr'.
 
It's kind of hard to help without further information, it would be
really nice to know the data you got from the provider about the
static IP setup.

Just a naive shoot in blue: Did you try without setting 'set ifaddr'
at all? Probably your peer will negotiate the right setting with your
ppp-client anyway.

HTH,

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


Re: KDE 3.5 Crashing

2007-06-18 Thread Timothy Bourke
On Jun 15 at 20:01 +1000, Gemma Fletcher wrote:
 Installed BSD 6.2 a few days ago and am totally new to it all.  I installed 
 KDE 3.5 and it was working nicely until it juststopped.
 
 No obvious crash - it just froze.  Had to reboot the system with the reset 
 button as no other method was working.
[...]

Are you using dial-up with kppp?

I recently saw a freeze-then-reboot under KDE 3.5 which was fixed by
using ppp (user-mode) rather than kppp (kernel-mode) for dial-up.

Tim.



pgpaFpIPI3Sj7.pgp
Description: PGP signature


Re: KDE 3.5 Crashing

2007-06-18 Thread Jack Barnett

   Timothy Bourke wrote:

On Jun 15 at 20:01 +1000, Gemma Fletcher wrote:
  

Installed BSD 6.2 a few days ago and am totally new to it all.  I installed 
KDE 3.5 and it was working nicely until it juststopped.

No obvious crash - it just froze.  Had to reboot the system with the reset 
button as no other method was working.


[...]

Are you using dial-up with kppp?

I recently saw a freeze-then-reboot under KDE 3.5 which was fixed by
using ppp (user-mode) rather than kppp (kernel-mode) for dial-up.

Tim.

  

   Next time instead of a reboot, try Ctrl-Alt-Backspace.  that should
   try a shutdown of the X server ... might save you a hard reboot :)
   Also are you sure it's KDE?  Could it be a weird video driver?  Does
   it happen with other WMs?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE 3.5 Crashing

2007-06-18 Thread Timothy Bourke
On Jun 19 at 13:57 +1000, Timothy Bourke wrote:
[...]
 using ppp (user-mode) rather than kppp (kernel-mode) for dial-up.

To be more clear: the 'k' in kppp is for KDE, but it uses kernel mode
ppp (pppd) to make the connection.

Tim.



pgpWjBIzhAYFN.pgp
Description: PGP signature


Re: Multi CPU?

2007-06-18 Thread Kris Kennaway
On Mon, Jun 18, 2007 at 07:51:51PM -0700, Jeff Mohler wrote:
 Am I using both CPUs as I should when I look at this from top?
 
  PIDUID THR PRI NICE   SIZERES STATE  C   TIME   WCPU
 COMMAND
   11  0   1 171   52 0K 8K CPU1   0   0:00 99.56% idle:
 cpu1
   12  0   1 171   52 0K 8K RUN0 666.2H 78.81% idle:
 cpu0
 
 
 
 cpu1 seems...not used?

Is it a real CPU or a hyperthread?  Hyperthreading may be disabled in
your BIOS and is disabled by default in FreeBSD 7.

Kris


pgpg4TfIhluZB.pgp
Description: PGP signature


Re: KDE 3.5 Crashing

2007-06-18 Thread Gemma Fletcher
Timothy Bourke wrote:

 On Jun 15 at 20:01 +1000, Gemma Fletcher wrote:


 Installed BSD 6.2 a few days ago and am totally new to it all.  I
installed
 KDE 3.5 and it was working nicely until it juststopped.

 No obvious crash - it just froze.  Had to reboot the system with the reset
 button as no other method was working.


 [...]

 Are you using dial-up with kppp?

 I recently saw a freeze-then-reboot under KDE 3.5 which was fixed by
 using ppp (user-mode) rather than kppp (kernel-mode) for dial-up.

 Tim.



Next time instead of a reboot, try Ctrl-Alt-Backspace.  that should
try a shutdown of the X server ... might save you a hard reboot :)
Also are you sure it's KDE?  Could it be a weird video driver?  Does
it happen with other WMs?

Ok haven't had a chance to look at anything today (buying a new car yay me!)
but just to quickly answer the above.

* I'm not using dial-up at all. Cable ftw!
* I tried the Ctrl-Alt-Backspace, but my keyboard doesn't seem to respond at
all.  It's seems about as futile as flogging a dead horse.  I haven't tried
any other WMs -- I went with KDE since that was the only one I had ever
heard of and it had a nice install section in the handbook about it :) Could
anyone suggest perhaps
a different one I could try?  Either way - I'll be following a the
suggestions in a few previous emails about trying to isolate the problem and
see where I end up.

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


Re: KDE 3.5 Crashing

2007-06-18 Thread Gemma Fletcher
 Hello Gemma,
Hello Nikola

 Although it really looks like hardware, you can also do this to be 100%
 sure it isn't software related:

 (1) Had you used that computer before you have installed FreeBSD? It
 would be a nice idea to post here the output of your 'dmesg'
 or /var/log/messages.

Yes it was running XP - will post output once I finalise this car sale and
have a spare moment. :)

 (2) Have you tried to run a small script as Matthias proposed?

Not yet - am reading up on how to run a script :)

 (3) Are you sure your ports are up-to-date? If in doubt, install
 ports-mgmt/portupgrade and run

   # portversion -v -L =

To cut a long scary story short sort of.  I've actually reinstalled 6.2, 4
times as I seem  to have so many little things missing I wasn't sure if it
was me or the install.  So upgrading ports always eneded up crashing.
Anyway first few times went the full install, final time went with as just a
user install without X.  After that i installed X and then KDE from the
ports collection. Attempted a 7.2 upgrade thinking that might help a few
problems and in a word - nightmare.  A week later after finally getting past
the libxfct step the actual upgrade crashed as it couldn't seem to create
the xorg-libraries 7.2 directory.  So I just decided to ignore it for a
while.  But aside from xorg - everything else is up to date.

 (4) If yes, as of how to check X without KDE, do the following:

   (a) run 'xinit' without ~/.xinitrc file to avoid starting KDE and
   or any other window manager; (once you start it, you can go back
   by 'exit' or Ctrl+Alt+Backspace; please note that you must put the
   mouse over the window in order to move focus on it);

   (b) check if there are warning -- (WW) -- or other suspicious messages
   in /var/log/Xorg.0.log;

   (c) while in pure xinit session, run Firefox or other application that
   is not KDE/Qt related;

   (d) run Opera, Skype or similar app that is Qt- but not KDE-related;

   (e) run KDE applications (Konqueror, KMail, etc.)

 and report one by one what happened, from (1) to (4e). Maybe it helps
 to isolate the problem, besides hardware tests :)

Will try the above this arvo when i do the rest.

Thanks heaps :)
 Nikola Lečić
Gemma

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


Apache, php?

2007-06-18 Thread Jack Barnett

FreeBSD 6.2
Apache 1.3.37 (from ports)
php 5.2.3 (from ports)

on the command line doing `php index.php` works.
But if I use it though a web browser it just displays the php code.

I installed it like this (extensions to)
http://www.mydigitallife.info/2006/04/14/installing-web-server-in-freebsd-60-with-apache-22-mysql-50-and-php-5-part-5/

The only difference is that I'm using 1.3 and not 2.x of Apache.

Apache config below
Installing 2.x isn't an option yet (test server, still need 1.3)

   fire2# grep -i php *
   httpd.conf:AddType application/x-httpd-php .php
   httpd.conf:AddType application/x-httpd-php-source .phps
   httpd.conf:IfModule mod_php3.c
   httpd.conf:IfModule mod_php4.c
   httpd.conf:DirectoryIndex index.php index.php3 index.html
   httpd.conf:IfModule !mod_php4.c
   httpd.conf:DirectoryIndex index.php3 index.html
   httpd.conf:IfModule !mod_php3.c
   httpd.conf:IfModule mod_php4.c
   httpd.conf:DirectoryIndex index.php index.html
   httpd.conf:IfModule !mod_php4.c
   httpd.conf:IfModule mod_php3.c
   httpd.conf: AddType application/x-httpd-php3 .php3
   httpd.conf: AddType application/x-httpd-php3-source .php3s
   httpd.conf:IfModule mod_php4.c
   httpd.conf: AddType application/x-httpd-php .php
   httpd.conf: AddType application/x-httpd-php-source .phps
   httpd.conf: AddType application/x-httpd-php .php
   httpd.conf: AddType application/x-httpd-php-source .phps






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