Re: Having trouble getting ppp configured on my 6.1 box

2006-09-03 Thread Matteo Pillon
Hi Andrew.

On Sat, Sep 02, 2006 at 11:51:40AM -0600, Andrew Falanga wrote:
> ppp works and all, but I can't resolve any DNS hostnames.  Everytime I try,
> I get something like "no address associated to the name."  Or something
> similar.  Sorry, I'm writing this mail from the Windows OS (one computer
> shares the two OS's) and I don't recall the error exactly but that's
> basically it.

First, verify you're really connected to internet, looking at ifconfig
if tun0 has an ip. Then look at the output of netstat -rn if there's a
default route, then try to ping a numeric address, like ping
151.1.1.1.

This will help you diagnose the problem. ;-)

Bye.

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


Re: ACPI won't shutdown

2006-09-04 Thread Matteo Pillon
On Mon, Sep 04, 2006 at 01:17:12PM +0200, bsd wrote:
> Computer seems to freeze for an infinite amount of time. I have to  
> manually shutdown the computer with the Power button !

Did you try with 'halt -p'?

If it doesn't work, can you give more infos on your system?

Bye.

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


Re: HP-1022 laser printer

2006-09-04 Thread Matteo Pillon
Hi, Andriy.

On Sat, Sep 02, 2006 at 12:09:09PM -0700, Andriy Babiy wrote:
> Could anybody advise me on the HP-1022 laser printer? Does anyone have this 
> model working on the FreeBSD? I'm going to buy it, therefore I wanted to 
> check if there are any issues/problems about it. I found postings about "USB 
> port busy" problem, but guys didn't specify clearly the platform they used.

I get this error, too (HP LJ-1022).
Under CUPS, it says: "USB port busy; will retry in 30 seconds...".
When trying to send something directly:
# echo something > /dev/ulpt0
[after a while...]
bash: /dev/ulpt0: Device busy

I have it running under Linux, with CUPS and foo2zjs.

Bye.

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


Re: Having trouble getting ppp configured on my 6.1 box

2006-09-05 Thread Matteo Pillon
On Mon, Sep 04, 2006 at 07:07:21PM -0600, Andrew Falanga wrote:
> 
> What's interesting is, I can resolve hostnames within the domain of my ISP (
> Icehouse.net).  For example, I can resolve www.icehouse.net, but I can't
> resolve www.freebsd.org.
> 

That's really strange. Try setting 151.1.1.1 as the nameserver in
/etc/resolv.conf (it's a nameserver from Italy).

Or just try with dig:
$ dig @151.1.1.1 www.freebsd.org
[...]

Bye.

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


Re: deleting with wildcards over ssh ... how ?

2006-08-30 Thread Matteo Pillon
On Wed, Aug 30, 2006 at 11:06:39AM -0400, Ensel Sharon wrote:
> I want to delete some remote files with a wildcard, running 'rm' over ssh.
> [...]
> So what is the _right_ way to do this ?

ssh [EMAIL PROTECTED] 'sh -c "rm -rf "/some/testdir/*"'

As * has to be expanded before is sent to rm.

Bye.

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