Samba port

2006-02-14 Thread Ugo Bellavance
Hi,

I'm rather new to FreeBSD (I usually use linux and I'm trying Fbsd.  I
upgraded my samba port yesterday, but after, I couldn't reconnect to it.
 I found out that the upgrade (using cvsup/portupgrade) removed smb.conf
and stopped smb and cups?  Why is it this way?  It is not the only port
that gets stopped on an upgrade.  Is that normal?  Shouldn't it at least
try to restart?

Regards,
-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


Re: Samba port

2006-02-14 Thread Ugo Bellavance
Daniel Bye wrote:
 On Tue, Feb 14, 2006 at 03:31:02PM -0500, Ugo Bellavance wrote:
 Hi,

  I'm rather new to FreeBSD (I usually use linux and I'm trying Fbsd.  I
 upgraded my samba port yesterday, but after, I couldn't reconnect to it.
  I found out that the upgrade (using cvsup/portupgrade) removed smb.conf
 and stopped smb and cups?  Why is it this way?  It is not the only port
 that gets stopped on an upgrade.  Is that normal?  Shouldn't it at least
 try to restart?
 
 portupgrade (and portmanager) will try to restart upgraded daemons
 (smbd, exim, or whatever) in order that they run the new code. 

Maybe it tried, but the config for samba disappeared.  I don't know why
it didn't restart cups though.

 As far
 as I am aware, an upgraded port should not touch an existing config
 file.  Did you upgrade from version 2 to version 3?  This might account
 for it, but I can't remeber if I had similar problems making that
 particular journey.

No, it was just a security upgrade.

 
 Anyway, for clues, you can try starting samba directly:
 
  # /usr/local/etc/rc.d/samba.sh start
 
 and see what debuggibg you get.

I got it now, I copied the samba conf file, restarted cups, then samba.

 
 Welcome to FreeBSD, btw.  Hope you stick around!

Hard to tell.  Very different from linux.  I try to learn FreeBSD since
it seems interesting, but I'm meeting many problems that I don't get in
linux.  For example, with yum, up2date or apt, such an upgrade would
have been w/o issue.

 
 HTH,
 
 Dan
 


-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


Re: Device Name Netgear Router

2006-02-12 Thread Ugo Bellavance
Gerard Seibert wrote:
 I have a Netgear Cable/DSL Router - RP614v3 that connects two WinXP 
 machines with two FreeBSD 5.4 machines to each other. The router is 
 connected to a Cable Modem, but I do not think that is relevant to this 
 question.
 
 On the router's configuration screen, under maintenance is a Attached 
 Devices menu item. This will list all four machines connected to the 
 router with their respective MAC addresses. However, only the WinXP 
 machines have their 'Device Name' listed.
 
 I was wondering why this is. I cannot seem to locate any specific 
 information on the Netgear site regarding this. Everything works fine, 
 so I assume it is not a serious problem.

Probably just because the router makes a request for the netbios name of
computers.  If you don't run samba on your freebsd box, it gets no
answer, so no there is no serious problem about that.

 
 


-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


Re: Device Name Netgear Router

2006-02-12 Thread Ugo Bellavance
Alec Berryman wrote:
 Gerard Seibert on 2006-02-12 15:59:33 -0500:
 
 On the router's configuration screen, under maintenance is a
 Attached Devices menu item. This will list all four machines
 connected to the router with their respective MAC
 addresses. However, only the WinXP machines have their 'Device Name'
 listed.

 I was wondering why this is. I cannot seem to locate any specific
 information on the Netgear site regarding this. Everything works
 fine, so I assume it is not a serious problem.
 
 DHCP clients may send names along with requests; Windows computers
 send whatever name you've configured in the sharing or whatever
 section, and this is what you see.  If you want your router to show a
 name for the FreeBSD host, put a line that reads 'send host-name
 foo;' in /etc/dhclient.conf on that host.

Cool, I thought it was Netbios based.  I learned something :).

-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


Re: We need your help

2006-02-03 Thread Ugo Bellavance
[EMAIL PROTECTED] wrote:
 Dear Sir or Madame,
 
 we are about to launch a book about Free BSD and would like to ask if we may
 use your logo for the front cover - I send you the dummy attached.
  6538-8 Entwurf3_2.2.06.jpeg.jpg 

http://www.freebsd.org/art.html#USE

 
 We are looking forward to your answer.
 
 Thank you very much in advance.
 
 Best regards
 
 Mit freundlichen Grüßen
 FRANZIS-Verlag GmbH
 Ellen Strennberger
 Werbeabteilung
 Tel. 08121 95 18 35
 Fax. 08121 95 16 96
 
 [EMAIL PROTECTED]
 
 
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


uninstall httpd + others to get a base system only

2006-01-31 Thread Ugo Bellavance
Hi,

I've played around with my FreeBSD server a little too much, and I have
a lot of useless ports installed, especially apache, PHP+ext, etc... I
was wondering how to uninstall them and get back to a base system (kind
of).  I tried uninstalling apache by doing 'make deinstall' in the ports
directories apache13, apache13-modssl, apache13-modperl, but it says it
is not installed.

I'm from the linux world and I'm trying FreeBSD.  What I'd like to do
is to do the equivalent of yum -y remove httpd (or apt-get remove
apache).  This way, apache would be removed and all the software it
depends on.

Thanks for your help.
-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


Re: uninstall httpd + others to get a base system only

2006-01-31 Thread Ugo Bellavance
fbsd_user wrote:
 Have you tried
 pkg_info  to get list of installed ports.
 Then do pkg_delete name
 using the full name from the info list with all the version numbers
 

Thanks for the tip, but apache nor httpd were in the list. Now I'm
trying to re-install it using the ports, then deinstall it.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Ugo
 Bellavance
 Sent: Tuesday, January 31, 2006 7:55 PM
 To: freebsd-questions@freebsd.org
 Subject: uninstall httpd + others to get a base system only
 
 
 Hi,
 
   I've played around with my FreeBSD server a little too much, and I
 have
 a lot of useless ports installed, especially apache, PHP+ext, etc...
 I
 was wondering how to uninstall them and get back to a base system
 (kind
 of).  I tried uninstalling apache by doing 'make deinstall' in the
 ports
 directories apache13, apache13-modssl, apache13-modperl, but it says
 it
 is not installed.
 
   I'm from the linux world and I'm trying FreeBSD.  What I'd like to
 do
 is to do the equivalent of yum -y remove httpd (or apt-get remove
 apache).  This way, apache would be removed and all the software it
 depends on.
 
 Thanks for your help.
 --
 Ugo
 
 - Please don't send a copy of your reply by e-mail.  I read the
 list.
 - Please avoid top-posting, long signatures and HTML, and cut the
 irrelevant parts in your replies.
 
 ___
 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]
 


-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


Re: uninstall httpd + others to get a base system only

2006-01-31 Thread Ugo Bellavance
luke wrote:
 all packages installed _should_ be in /var/db/pkg(i think) i'm in windows
 now. so if you pkg_delete /var/db/pkg/* that should clean it all up.

That worked.  I now need to clean the mess (re-install the few packages
I was using).

Thanks.

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


-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


SSH no passwd auth doesn't work

2005-12-06 Thread Ugo Bellavance

Hi,

	I'm trying to disallow password auth on ssh (freebsd 5.4).  The only 
lines that contain Password are these:


PasswordAuthentication no
#PasswordAuthentication yes
#PermitEmptyPasswords no
#KerberosOrLocalPasswd yes

I restarted sshd (/etc/rc.d/sshd restart), without success, it will 
still accept password auth.


Anyone has an idea?

Thanks,

--
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the 
irrelevant parts in your replies.


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


Re: SSH no passwd auth doesn't work

2005-12-06 Thread Ugo Bellavance

Kris Kennaway wrote:

On Tue, Dec 06, 2005 at 04:43:40PM -0500, Ugo Bellavance wrote:

Hi,

	I'm trying to disallow password auth on ssh (freebsd 5.4).  The only 
lines that contain Password are these:


PasswordAuthentication no
#PasswordAuthentication yes
#PermitEmptyPasswords no
#KerberosOrLocalPasswd yes

I restarted sshd (/etc/rc.d/sshd restart), without success, it will 
still accept password auth.


Anyone has an idea?


Probably you need to modify your PAM config instead.

Kris


Thanks.  I just realized I had linux servers configured the same and 
they also allow password auth :(.


What are the consequences of disabling PAM?

Regards,

--
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the 
irrelevant parts in your replies.


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


Re: Antivir for mail server

2005-11-11 Thread Ugo Bellavance

Fatman wrote:

I'm doubting about to install CLAM or DR.WEB antivir in the mail server.

What do you advise to me?


Using MailScanner, you can run both.  And since clam is free, I think 
you should run it if you have the resources.




thnkx.
___
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: Raid Controller Control

2005-10-13 Thread Ugo Bellavance

Vampire D wrote:

If we use a raid controller such as 3ware (twe), how do you determine when a
drive fails and which one fails? Is there any standard accross all raid
controllers for monitoring this?


Install 3ware's software if you use 3ware.  They have a freebsd version 
For others, I don't know.


--
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the 
irrelevant parts in your replies.


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


5.4 on a Dell D800

2005-10-12 Thread Ugo Bellavance

Hi,

	I tried installing 5.4 on my Dell D800 laptop.  After the first boot, 
my keyboard stopped working.  I don't know what to do from now or if it 
is even worth the effort.  Should I try 6.0RC?


Regards,
--
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the 
irrelevant parts in your replies.


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


Re: Stale dependency problem

2005-10-11 Thread Ugo Bellavance

Brian A. Seklecki wrote:




[EMAIL PROTECTED] pkgdb -F
---  Checking the package registry database
Stale dependency: php4-overload-4.3.10_2 - php4-4.3.10_2 (lang/php4):
cannot convert nil into String
New dependency? (? to help):



Backup your /var/db/pkg if you wish.  tar(1) it up.  Blow away the 
dependency wih control D, then answer Yes to all.


You can alway re-force-create the dependencies later with the pkg tools 
-f flags.


You really can't break anything here.



It seems to have worked now.  Thanks a lot Brian,

Ugo


~BAS


When I do '?', I get this:

New dependency? (? to help): ?
[Enter] to skip, [Ctrl]+[D] to delete,  [.][Enter] to abort, [Tab] to 
complete


Now I'm lost.  Can anyone give me a hint to start with?

Regards,
--
Ugo



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


Stale dependency problem

2005-10-06 Thread Ugo Bellavance

Hi,


When I run portupgrade, I get this:

[EMAIL PROTECTED] portupgrade -a
Stale dependency: php4-overload-4.3.10_2 -- php4-4.3.10_2 -- manually 
run 'pkgdb -F' to fix, or specify -O to force.


So I run it:

[EMAIL PROTECTED] pkgdb -F
---  Checking the package registry database
Stale dependency: php4-overload-4.3.10_2 - php4-4.3.10_2 (lang/php4):
cannot convert nil into String
New dependency? (? to help):

When I do '?', I get this:

New dependency? (? to help): ?
 [Enter] to skip, [Ctrl]+[D] to delete,  [.][Enter] to abort, [Tab] to 
complete


Now I'm lost.  Can anyone give me a hint to start with?

Regards,
--
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the 
irrelevant parts in your replies.


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


sshd port forward

2005-09-19 Thread Ugo Bellavance
Hi,

I'm running 5.4, freshly installed.  I installed dovecot for IMAP and I
want to be able to access it remotely using a port forward in ssh.

The problem I have is that whenever I access my mailbox via IMAP,
trough the ssh tunnel, I can't access the resource.  It says: connexion
refused.  From my internal network, IMAP access works fine.

I tried port-forwarding HTTP instead.  The situation is even worse
there: it freezes my ssh session.

I looked in the various logs and didn't find anything.  I uncommented
the line

AllowTcpForwarding yes

in sshd_config, and restarted sshd, but nothing changed.

Any ideas?

Regards,
-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


Re: sshd port forward

2005-09-19 Thread Ugo Bellavance
Erik Norgaard wrote:
 Ugo Bellavance wrote:
 
 I'm running 5.4, freshly installed.  I installed dovecot for IMAP
 and I
 want to be able to access it remotely using a port forward in ssh.

 The problem I have is that whenever I access my mailbox via IMAP,
 trough the ssh tunnel, I can't access the resource.  It says: connexion
 refused.  From my internal network, IMAP access works fine.

 I tried port-forwarding HTTP instead.  The situation is even worse
 there: it freezes my ssh session.

 I looked in the various logs and didn't find anything.  I uncommented
 the line

 AllowTcpForwarding yes

 in sshd_config, and restarted sshd, but nothing changed.

 Any ideas?
 
 
 How do you establish the tunnel? Please send the full command with options.
 
 Cheers, Erik
 
 
 

I'm connecting from a windows box, using putty.

in the SSH  Tunnels section of the connexion, there is:

L80 192.168.x.x:80
L143192.168.x.x:80

192.168.x.x is the IP address of the server on which I connect to, and
that has the dovecot server installed.


-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


Re: sshd port forward

2005-09-19 Thread Ugo Bellavance
Erik Norgaard wrote:
 Ugo Bellavance wrote:
 
 I'm running 5.4, freshly installed.  I installed dovecot for IMAP
 and I
 want to be able to access it remotely using a port forward in ssh.

 The problem I have is that whenever I access my mailbox via IMAP,
 trough the ssh tunnel, I can't access the resource.  It says: connexion
 refused.  From my internal network, IMAP access works fine.

 I tried port-forwarding HTTP instead.  The situation is even worse
 there: it freezes my ssh session.

 I looked in the various logs and didn't find anything.  I uncommented
 the line

 AllowTcpForwarding yes

 in sshd_config, and restarted sshd, but nothing changed.

 Any ideas?
 
 
 How do you establish the tunnel? Please send the full command with options.
 
 Cheers, Erik
 
 
 
Argh, nevermind.  My mistake.  Password error, not a connexion error.  :(

Sorry,

-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


Re: sshd port forward

2005-09-19 Thread Ugo Bellavance
Erik Norgaard wrote:
 Ugo Bellavance wrote:
 
 I'm connecting from a windows box, using putty.
 
 
 Ok, this wasn't clear.
 
 in the SSH  Tunnels section of the connexion, there is:

 L80192.168.x.x:80
 L143192.168.x.x:80

Typo:  should read: L143192.168.x.x:143


 192.168.x.x is the IP address of the server on which I connect to, and
 that has the dovecot server installed.
 
 
 Try: L1430 127.0.0.1:143
 
 You should then be able to connect to your imap server by connecting to
 port 1430 on localhost.
 
 When I tunnel (ok, this is FBSD2FBSD) I use:
 
 $ ssh -L1430:localhost:143 imap.example.com

It does connect, prompts for a password.  When I provide the right
password, I can see that there are new message (Thunderbird), but when I
click on a message to see it, it doesn't load the message and freezes my
ssh session.

 
 Cheers, Erik
 

Regards,
-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


Re: sshd port forward

2005-09-19 Thread Ugo Bellavance
Erik Norgaard wrote:
 Ugo Bellavance wrote:
 
 Erik Norgaard wrote:

 Ugo Bellavance wrote:


 I'm connecting from a windows box, using putty.



 Ok, this wasn't clear.


 in the SSH  Tunnels section of the connexion, there is:

 L80192.168.x.x:80
 L143192.168.x.x:80



 Typo:  should read: L143192.168.x.x:143


 192.168.x.x is the IP address of the server on which I connect to, and
 that has the dovecot server installed.



 Try: L1430 127.0.0.1:143

 You should then be able to connect to your imap server by connecting to
 port 1430 on localhost.

 When I tunnel (ok, this is FBSD2FBSD) I use:

 $ ssh -L1430:localhost:143 imap.example.com


 It does connect, prompts for a password.  When I provide the right
 password, I can see that there are new message (Thunderbird), but when I
 click on a message to see it, it doesn't load the message and freezes my
 ssh session.
 
 
 There's no surprise that you get the password prompt for the ssh
 session, it's the establishing of a tunnel that goes wrong.

No, I get a password prompt from Thunderbird.  I use keys auth, not
passwd auth with SSH on this server.  So I think the tunnel is ok, but
the server reacts badly on the command to read the actual message.

 
 Did you change 192.168.x.x to 127.0.0.1 and L143 to L1430? If not do it,
 and configure thunderbird to connect to localhost:1430.
 

Yes I did.

 If you speak IMAP you can also telnet localhost:1430 instead of
 reconfiguring thunderbird every time.

Ok

 
 Cheers, Erik
 


-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


Re: sshd port forward

2005-09-19 Thread Ugo Bellavance
Erik Norgaard wrote:
 Ugo Bellavance wrote:
 
 No, I get a password prompt from Thunderbird.  I use keys auth, not
 passwd auth with SSH on this server.  So I think the tunnel is ok, but
 the server reacts badly on the command to read the actual message.
 
 
 Ok, you said you could connect fine on your LAN not using a tunnel? If
 so, I'm puzzled.
 
 Cheers, Erik
 

Well, I could connect yesterday.  I'll try agin tonight, but I'm puzzled
as well.  Especially since it cuts my ssh session.

Thanks,

-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


Command not in PATH when just installed?

2005-09-15 Thread Ugo Bellavance
Hi there,

I'm new on this list.  I tried looking at the archive, but I didn't
know how to formulate my search.  Here is my question:

I install a package using pkg_add. Then I try running the command, but
it doesn't work.  I logout, I login, then it works.  Is this a FAQ or a
setting?

Thanks,
-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


Re: Command not in PATH when just installed?

2005-09-15 Thread Ugo Bellavance
Dan Nelson wrote:
 In the last episode (Sep 15), Ugo Bellavance said:
 
  I'm new on this list.  I tried looking at the archive, but I
didn't know how to formulate my search.  Here is my question:

I install a package using pkg_add. Then I try running the command,
but it doesn't work.  I logout, I login, then it works.  Is this a
FAQ or a setting?
 
 
 Some shells cache the command list in PATH for performance.  Try
 running rehash and see if the command appears.
 

Wow, so quick a response.

Thanks!

-- 
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

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


DMA limited to UDMA33, non-ATA66 cable or device

2003-07-25 Thread Ugo Bellavance
 They're brand new cables, from promise, and I don't have this problem
under linux (I get over 40 MB/s transfer rate with hdparm).  However, I will
try other cables eventually.  If anyone has another idea, please let me
know. Thanks,
Ugo

--
Try getting new cables. I have had a similar problem caused by bad cables
before.

On Thu, 24 Jul 2003 22:57:48 -0400 (EDT)
Ugo Bellavance iolubik at yahoo.ca wrote:

 Hi,

 --System
 FreeBSD 4.8 release
 It is a kernel that I recompiled only to enable SMP.
 The same error comes with the generic stock generic
 Kernel.
 It is a dual Athlon MP 1800+ on a tyan MB.  The Raid
 card is a TX-2000 with 2 Hot swap superswap enclosure.
  The only other IDE device, the cd-rom is on the IDE
 controller on the motherboard.  The raid is a RAID1
 with 2 Western Digital 80 Gb, 8 Mb cache, 7200rpm,
 each of them is ont a separate channel.  I checked the
 cable and they are connected on the right side.  I
 even tried to put them the other way around and I get
 the same error message.

 --Problem: FreeBSD only puts my drive in udma33 while
 the Motherboard, cables, enclosures and drives support
 udma100.  I don't know if it is a bogus error, because
 I don't know how to test it (like hdparm in linux).

 --Other data:

 output from dmesg

 atapci1: Promise TX2 ATA133 controller port
 0x1010-0x101f,0x1024-0x1027,0x1028-0x102f,0x1030-0x1033,0x1038-0x103f
 mem 0xf000-0xf000 irq 2 at device 8.0 on pci0
 ad4: DMA limited to UDMA33, non-ATA66 cable or device
 ad6: DMA limited to UDMA33, non-ATA66 cable or device
 ar0: 1907348MB ATA RAID1 array [65535/255/63]
 status: READY subdisks:
  0 READY ad4: 76319MB WDC WD800JB-00CRA1
 [155061/16/63] at ata2-master UDMA33
  ad4: SuperSwap enclosure [FAN:4218rpm
 TEMP:28.0C 5.022V 12.078V]
  1 READY ad6: 76319MB WDC WD800JB-00CRA1
 [155061/16/63] at ata3-master UDMA33
  ad6: SuperSwap enclosure [FAN:4166rpm
 TEMP:28.0C 4.941V 11.895V]
 Jul 24 21:16:08 bibi /kernel: acd0: CDROM HL-DT-ST
 CD-ROM GCR-8520B at ata1-master PIO4

 output of atacontrol list

  atacontrol list
 ATA channel 0:
 Master:  no device present
 Slave:   no device present
 ATA channel 1:
 Master: acd0 HL-DT-ST CD-ROM GCR-8520B/1.00
 ATA/ATAPI rev 0
 Slave:   no device present
 ATA channel 2:
 Master:  ad4 WDC WD800JB-00CRA1/17.07W17
 ATA/ATAPI rev 5
 Slave:   no device present
 ATA channel 3:
 Master:  ad6 WDC WD800JB-00CRA1/17.07W17
 ATA/ATAPI rev 5
 Slave:   no device present

 Nothing interesting in /var/log/messages

 Other logs can be provided upon request.  I just don't
 want to make the post too long.

 Thanks for your help.

 Ugo Bellavance

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


DMA limited to UDMA33, non-ATA66 cable or device

2003-07-25 Thread Ugo Bellavance
 They're brand new cables, from promise, and I don't have this problem
under linux (I get over 40 MB/s transfer rate with hdparm).  However, I will
try other cables eventually.  If anyone has another idea, please let me
know. Thanks,

Sorry for the double-post, i didn't know how to reply directly to a post.
Hope this one works out.
Ugo

--
Try getting new cables. I have had a similar problem caused by bad cables
before.

On Thu, 24 Jul 2003 22:57:48 -0400 (EDT)
Ugo Bellavance iolubik at yahoo.ca wrote:

 Hi,

 --System
 FreeBSD 4.8 release
 It is a kernel that I recompiled only to enable SMP.
 The same error comes with the generic stock generic
 Kernel.
 It is a dual Athlon MP 1800+ on a tyan MB.  The Raid
 card is a TX-2000 with 2 Hot swap superswap enclosure.
  The only other IDE device, the cd-rom is on the IDE
 controller on the motherboard.  The raid is a RAID1
 with 2 Western Digital 80 Gb, 8 Mb cache, 7200rpm,
 each of them is ont a separate channel.  I checked the
 cable and they are connected on the right side.  I
 even tried to put them the other way around and I get
 the same error message.

 --Problem: FreeBSD only puts my drive in udma33 while
 the Motherboard, cables, enclosures and drives support
 udma100.  I don't know if it is a bogus error, because
 I don't know how to test it (like hdparm in linux).

 --Other data:

 output from dmesg

 atapci1: Promise TX2 ATA133 controller port
 0x1010-0x101f,0x1024-0x1027,0x1028-0x102f,0x1030-0x1033,0x1038-0x103f
 mem 0xf000-0xf000 irq 2 at device 8.0 on pci0
 ad4: DMA limited to UDMA33, non-ATA66 cable or device
 ad6: DMA limited to UDMA33, non-ATA66 cable or device
 ar0: 1907348MB ATA RAID1 array [65535/255/63]
 status: READY subdisks:
  0 READY ad4: 76319MB WDC WD800JB-00CRA1
 [155061/16/63] at ata2-master UDMA33
  ad4: SuperSwap enclosure [FAN:4218rpm
 TEMP:28.0C 5.022V 12.078V]
  1 READY ad6: 76319MB WDC WD800JB-00CRA1
 [155061/16/63] at ata3-master UDMA33
  ad6: SuperSwap enclosure [FAN:4166rpm
 TEMP:28.0C 4.941V 11.895V]
 Jul 24 21:16:08 bibi /kernel: acd0: CDROM HL-DT-ST
 CD-ROM GCR-8520B at ata1-master PIO4

 output of atacontrol list

  atacontrol list
 ATA channel 0:
 Master:  no device present
 Slave:   no device present
 ATA channel 1:
 Master: acd0 HL-DT-ST CD-ROM GCR-8520B/1.00
 ATA/ATAPI rev 0
 Slave:   no device present
 ATA channel 2:
 Master:  ad4 WDC WD800JB-00CRA1/17.07W17
 ATA/ATAPI rev 5
 Slave:   no device present
 ATA channel 3:
 Master:  ad6 WDC WD800JB-00CRA1/17.07W17
 ATA/ATAPI rev 5
 Slave:   no device present

 Nothing interesting in /var/log/messages

 Other logs can be provided upon request.  I just don't
 want to make the post too long.

 Thanks for your help.

 Ugo Bellavance

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


DMA limited to UDMA33, non-ATA66 cable or device

2003-07-24 Thread Ugo Bellavance
Hi,

--System
FreeBSD 4.8 release
It is a kernel that I recompiled only to enable SMP. 
The same error comes with the generic stock generic
Kernel.
It is a dual Athlon MP 1800+ on a tyan MB.  The Raid
card is a TX-2000 with 2 Hot swap superswap enclosure.
 The only other IDE device, the cd-rom is on the IDE
controller on the motherboard.  The raid is a RAID1
with 2 Western Digital 80 Gb, 8 Mb cache, 7200rpm,
each of them is ont a separate channel.  I checked the
cable and they are connected on the right side.  I
even tried to put them the other way around and I get
the same error message.

--Problem: FreeBSD only puts my drive in udma33 while
the Motherboard, cables, enclosures and drives support
udma100.  I don't know if it is a bogus error, because
I don't know how to test it (like hdparm in linux).

--Other data:

output from dmesg

atapci1: Promise TX2 ATA133 controller port
0x1010-0x101f,0x1024-0x1027,0x1028-0x102f,0x1030-0x1033,0x1038-0x103f
mem 0xf000-0xf000 irq 2 at device 8.0 on pci0
ad4: DMA limited to UDMA33, non-ATA66 cable or device
ad6: DMA limited to UDMA33, non-ATA66 cable or device
ar0: 1907348MB ATA RAID1 array [65535/255/63]
status: READY subdisks:
 0 READY ad4: 76319MB WDC WD800JB-00CRA1
[155061/16/63] at ata2-master UDMA33
 ad4: SuperSwap enclosure [FAN:4218rpm
TEMP:28.0C 5.022V 12.078V]
 1 READY ad6: 76319MB WDC WD800JB-00CRA1
[155061/16/63] at ata3-master UDMA33
 ad6: SuperSwap enclosure [FAN:4166rpm
TEMP:28.0C 4.941V 11.895V]
Jul 24 21:16:08 bibi /kernel: acd0: CDROM HL-DT-ST
CD-ROM GCR-8520B at ata1-master PIO4

output of atacontrol list

 atacontrol list
ATA channel 0:
Master:  no device present
Slave:   no device present
ATA channel 1:
Master: acd0 HL-DT-ST CD-ROM GCR-8520B/1.00
ATA/ATAPI rev 0
Slave:   no device present
ATA channel 2:
Master:  ad4 WDC WD800JB-00CRA1/17.07W17
ATA/ATAPI rev 5
Slave:   no device present
ATA channel 3:
Master:  ad6 WDC WD800JB-00CRA1/17.07W17
ATA/ATAPI rev 5
Slave:   no device present

Nothing interesting in /var/log/messages

Other logs can be provided upon request.  I just don't
want to make the post too long.

Thanks for your help.

Ugo Bellavance

__ 
Post your free ad now! http://personals.yahoo.ca
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]