Re: Quick question

2002-11-04 Thread Robin Schilham
Leonardo Medina wrote:

Hello,

I'm getting a Bind to port 22 failed error, I have set up our box very nice 
and neat with correct public ip addreess, etc... and I still keep getting 
this error when I do a sshd command, I cannot ping (only my own box, but 
that really just gives me kernel stuff...).

Perhaps you are confusing the ssh daemon (sshd) with the ssh client
(ssh). When you attempt to start sshd when it is already up and
running and listening at port 22, you will see something like this
in your syslog:

sshd[68413]: error: Bind to port 22 on 0.0.0.0 failed: Address already 
in use.
sshd[68413]: fatal: Cannot bind any address.

I look at the connection and its working just fine I even plugged it onto 
another device and it works; I installed win2k on the box and it works just 
fine, but for some reason I cannot get FreeBSD running...

Any help would be greatly appreciated.

Thanks,

Leo



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Regards,

Robin Schilham


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Please help me: /dev/lpt0 Device is busy

2002-10-30 Thread Robin Schilham
Anton wrote:

Hello everybody!

Please help me with my lpt0

When I try to put something to lpt0 I see the next:

```
~# cat > /dev/lpt0
Oct 30 01:41:58 lizard /kernel: lpt flags 0x0
Oct 30 01:41:58 lizard /kernel: lpt flags 0x0
/dev/lpt0: Device busy.
Oct 30 01:42:02 lizard /kernel: status 4e
Oct 30 01:42:02 lizard /kernel: status 4e
~#
```

`fstat /dev/lpt0` shows empty table.

Here it is part of dmesg's output:

```
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: PC87306 chipset (EPP/NIBBLE) in COMPATIBLE mode
out=55  in=55   tout=1
out=aa  in=aa   tout=1
out=fe  in=fe   tout=1
out=fd  in=fd   tout=1
out=fb  in=fb   tout=1
out=f7  in=f7   tout=1
out=ef  in=ef   tout=1
out=df  in=df   tout=1
out=bf  in=bf   tout=1
out=7f  in=7f   tout=1
out=1   in=1tout=1
out=2   in=2tout=1
out=4   in=4tout=1
out=8   in=8tout=1
out=10  in=10   tout=1
out=20  in=20   tout=1
out=40  in=40   tout=1
out=80  in=80   tout=1
lpt0:  on ppbus0
oldirq 0
lpt0: Interrupt-driven port
irq 7 7
lpt flags 0x0
status 4e
lpt flags 0x0
status 4e
lpt flags 0x0
status 4e
```

Here it is part of my kernel config:

```
device  ppc0at isa? irq 7
device  ppbus
device  lpt
options PPC_PROBE_CHIPSET # Enable chipset specific detection
options LPT_DEBUG   # Printer driver debug
options PPC_DEBUG   # Parallel chipset level debug
```

I tried w/o PPC_PROBE_CHIPSET result was the same.

What can you advice?

May be I should set my chipset to NIBBLE mode?
But I don't know how.

I'm waiting for any propositions
Anton



Perhaps this is an interesting link:
http://www.mostgraveconcern.com/freebsd/prn.html

Regards,

Robin



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: java runs only as root

2002-10-30 Thread Robin Schilham
Thomas Weber wrote:

Hi,

since upgrading to 4.7-STABLE, java (means java, javac) runs only as
root.
I've tested it with linux-sun-jdk1.4.1_01, linux-sun-jdk1.4.0 and
linux-blackdown-jdk1.4.1, always i'm getting this message:


---
thomas@gothic:~/java/pr2$ java JavaTest
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0_01-b03 mixed mode)
#
# Error ID: 4F533F4C494E55580E43505002AB
#
Abort trap (core dumped)

---

Any ideas?



Yes, this is well-known. Please check the following mailing list:
[EMAIL PROTECTED]

Regards,

Robin



Thomas 'Neo' Weber
---
[EMAIL PROTECTED]
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: lpt0: Device is busy

2002-10-26 Thread Robin Schilham
Anton wrote:

Hello Robin,

Wednesday, October 23, 2002, 3:36:52 PM, you wrote:

RS> What's the output of the following command?
RS> $fstat /dev/lpt0

~> fstat /dev/lpt0
USER CMD  PID   FD MOUNT  INUM MODE SZ|DV R/W NAME
~>



Hmmm... strange. When I execute that command on my box, which has no
printer attached, I get the same message. Perhaps you should try cups,
it's in the ports collection (ports/print/cups).

Regards,

Robin


It's very strange.. as for me :)

Anton


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: lpt0: Device is busy

2002-10-23 Thread Robin Schilham
Anton wrote:

Hello Warren,

Wednesday, October 23, 2002, 12:54:18 AM, you wrote:

WB> On Wed, 23 Oct 2002, Anton wrote:



When I try to 'cat < file > /dev/lpt0' I see answer:
Device is busy.




WB> Often this is because you're running the default kernel with the plip
WB> device configured.  This is a parallel-port device, so it ties up the
WB> port.  There may be another parallel device also, I forget.

Here it is part of my kernel configuration file:

device  ppc0at isa? irq 7
device  ppbus
device  lpt
#device ppi   <-- I tried with this option switched on also

#device vpo
#device plip
#device pps
#device lpbb
#device pcfclock


Next strings I see while my kernel loading:

ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0:  on ppbus0
lpt0: Interrupt-driven port


Strings from /etc/rc.conf:

# Printer daemon
lpd_enable="NO"

What can you advice?
Anton



What's the output of the following command?
$fstat /dev/lpt0



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: made a mistake with bash path... now i can't login

2002-10-21 Thread Robin Schilham
Bsd Neophyte wrote:


i was changing the login shell from sh to bash... but i entered the wrong
location.  now, i cannot login to the system using that account, which is
the only accout that i can su to root from.
 


If you have any other non-root account which you can use to login, 
perhaps you
can try to login using one of those accounts and then use su to login to 
the "bash"
account with the -m option. See su manual.

Robin

does anyone know how i can resolve this issue w/o taking the system out of
the garage, booting into single user mode and manually changing the path?

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


 





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: FW: FTP Problems?

2002-10-21 Thread Robin Schilham
Wiesendanger, Stefan (Zurich) wrote:


Hi

I can't seem to install FreeBSD by FTP anymore - no matter which release,
it always complains that it can't find a file in the snapshots directory.
I've had a look, and actually, in the regional mirrors this directory (the
i386 subdirectory) is emtpy, and on the main FTP server
(ftp.freebsd.org/pub/FreeBSD/snapshots/i386
 ) I'm getting some strange
garbled text back.
   


Are you sure that you're not behind a firewall that block the ftp-data port?


Is this a known problem?

Cheers
Stefan 
   



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


 





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message