Re: troubleshooting network settings

2006-05-29 Thread GiL Virtucio
There are a myriad of factors that could have caused those services to be
inaccessible. First try to check if those services are running. Try



sockstat -4

[EMAIL PROTECTED]> sockstat -4

USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS

root httpd  504   30 tcp4   *:80  *:*

root sshd   474   3  tcp4   *:22  *:*



if you don't see that :80 and :22 entry at the "LOCAL ADDRESS" column those
services might not be running.



If they are not running and you are sure that you have already installed
apache from the ports collection,  check your /etc/rc.conf file if you have
these entries:

sshd_enable="YES"

apache_enable="YES"



If they are both running this could be a problem in the configuration of
your firewall. Also check the /etc/hosts file if you have an entry for your
localhost. Maybe you're computer cannot open those services because your
computer couldn't resolve the ip address of your localhost :)



If it is still not working. hmmm. try to verify if the firewall is really
the one causing the problem. Add the following line in your /etc/rc.conf
file



firewall_enable="YES"

firewall_type="OPEN"



if it works. change the firewall type to something more secure.. customize
the /etc/rc.firewall and set the firewall_type to which ever setting you
think would fit your needs :)



hope this helps :)





===
Gil A. Virtucio
Janitor/Kolektor/Messenger/Driver
Asia Solution Phillippines Inc.
28/F Antel Global Corporate Center
3 Doña Julia Vargas Avenue,
Ortigas Center, Pasig
Mobile # : +63-916-3989695
===

- Original Message -
From: "Malcolm Fitzgerald" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED] ORG" 
Sent: Monday, May 29, 2006 9:48 AM
Subject: Re: troubleshooting network settings


> > Malcolm Fitzgerald wrote:
> >> I am running freeBSD v6.0 security on a home network behind an adsl
> >> router.
> >> I cannot connect to localhost from a browser (apache is running!)
> >> I cannot connect to localhost port 22 (KPackage tries to use ssh)
> >> What can cause these problems? How can I troubleshoot them?
> >> I am very new to freeBSD, so part of my question is "where do I
> >> begin?". I have a copy of Complete freeBSD beside me but can't get
> >> the magical incantations right. Suggestions appreciated.

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


Re: Spam problem!

2006-05-29 Thread Igor Robul
On Thu, May 25, 2006 at 07:53:12AM -0700, Olga Zenkova wrote:
> mailboxes with field "To: user3" in it. There are no
> user1 or user2 in this field. Is it possible to cut
> off these letters? Especially it is difficult to
> explain for user1 and user2 why they got letters
> addressed not for them.
Just show them Envelope-To: header in Outlook :-)
At least my users can understand, that it is possible to write anything
in various header.

Also I use DSPAM (mail/dspam) for opt-in spam filtering and it works
very well for users who care to train it.

Plus I reject a lot of spam at incoming SMTP server.

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


Re: Spam problem!

2006-05-29 Thread Garrett Cooper

Igor Robul wrote:

On Thu, May 25, 2006 at 07:53:12AM -0700, Olga Zenkova wrote:
  

mailboxes with field "To: user3" in it. There are no
user1 or user2 in this field. Is it possible to cut
off these letters? Especially it is difficult to
explain for user1 and user2 why they got letters
addressed not for them.


Just show them Envelope-To: header in Outlook :-)
At least my users can understand, that it is possible to write anything
in various header.

Also I use DSPAM (mail/dspam) for opt-in spam filtering and it works
very well for users who care to train it.

Plus I reject a lot of spam at incoming SMTP server.
  
SMTP with SSL/TLS and authentication for a network works wonders.. 
blocks many unauthorized programs that utilize locally run SMTP servers 
(ie spyware, virii, etc).

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


Re: What is the maximum file size on a dvd+r ?

2006-05-29 Thread Fabian Keil
"Nikolas Britton" <[EMAIL PROTECTED]> wrote:

> On 5/28/06, Hans Lambermont <[EMAIL PROTECTED]> wrote:
> > What is the maximum file size on a dvd+r ?
> >
> > System : 5.4-RELEASE-p6
> > Command used : growisofs -Z /dev/cd0 -l -J -r burn/
> > In burn/ I have a backup file of size 4166629386 bytes and some
> > smaller files. In total 4577410 kB.
> >
> > growisofs ends normally :
> >  99.88% done, estimate finish Fri May 26 23:22:48 2006
> > Total translation table size: 0
> > Total rockridge attributes bytes: 519
> > Total directory bytes: 0
> > Path table size(bytes): 10
> > Max brk space used d724
> > 2287734 extents written (4468 MB)
> > builtin_dd: 2287744*2KB out @ average 2.4x1385KBps
> > /dev/pass0: flushing cache
> > /dev/pass0: closing track
> > /dev/pass0: closing session
> > # echo $?
> > 0
> >
> > An 'ls -la' of the mounted dvd+r shows :
> > ls: backup.bz2: Value too large to be stored in data type
> >
> > I can read the whole dvd without problems on a non-FreeBSD system. I
> > cannot find a limit in GROWISOFS(1m) or MKISOFS(8), but on
> > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2005-12/msg01736.html
> > I read about a 2 GB maximum filesize for a file on a dvd. Is this
> > true ? If so I think it should be mentioned in GROWISOFS(1m).
> >
> 
> FreeBSD's implementation is correct, Linux is the one that's wrong,
> they decided to embrace and extend the standard. Theirs a 2GB cap per
> file on DVDs.

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern-91488:

|The cd9660 filesystem can not handle files of more than 2147483647 bytes, 
|while the specification of the filesystem arguably allows for files up to 
|4294967295 bytes. (Specifically, the "32 bit quantity" is not specified as 
|signed or unsigned. In my opinion, since negative file sizes are not 
|meaningfull, it should be interpreted as unsigned.)

While I didn't read the spec, I heard that explanation before and
I think it's entirely correct to assume that the file size value
is unsigned. This has nothing to do with embracing standards.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: [freebsd-questions] What is the maximum file size on a dvd+r ?

2006-05-29 Thread Howard Jones

Fabian Keil wrote:

While I didn't read the spec, I heard that explanation before and
I think it's entirely correct to assume that the file size value
is unsigned. This has nothing to do with embracing standards.
  
Just for another datapoint, Nero Burning ROM (onWindows) also limits 
files on an ISO DVD to 2GB. You must use UFS for larger files. These 
guys have been making CD/DVD burning software for some time. I suspect 
they know what they are doing.


Best Regards,

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


Problem with wireless card drivers

2006-05-29 Thread Stefi
Hi everyone

I have Gigabyte GN-WP01GS wireless card that works perfect under Widows XP. It 
also can simula te an AP mode. FreeBSD 6 (on my machine) does not recognize it 
at first. I found out how to recompile original driver for use on FreeBSD with 
ndisgen. Everything works fine an I can see it like ndis0 using ifconfig. But, 
I can't change any setting using ifconfig. I can't access the card.

Does anyone know how to configure that card correctly?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: MailScanner Issues

2006-05-29 Thread Robert Davison
But the config settings I've seen all say that when using MailScanner, you must 
set the sendmail_enable to None.
   
  Even with this set to YES, then I still dont have the sendmail_out.pid and 
sendmail_in.pid files running.

Mikhail Goriachev <[EMAIL PROTECTED]> wrote:
  Robert Davison wrote:
> I've done a bit more digging. It seems that my sendmail_in.pid and 
> sendmail_out.pid files are not running in /var/run, despite having this in my 
> rc.conf..
> 
> sendmail_enable="NONE"
> clamd_enable="YES"
> freshd_enable="YES"
> mailscanner_enable="YES"
> mta_enable="YES"
> mta_type="sendmail"
> mta_profiles="incoming outgoing submitqueue"
> mta_incoming_flags="-L sm-mta-in -bd -OPrivacyOptions=noetrn 
> -OQueueDirectory=/v
> ar/spool/mqueue.in -ODeliveryMode=queueonly"
> mta_incoming_pidfile="/var/run/sendmail_in.pid"
> mta_incoming_configfile="/etc/mail/sendmail.cf"
> mta_outgoing_flags="-L sm-mta-out -q15m"
> mta_outgoing_pidfile="/var/run/sendmail_out.pid"
> mta_outgoing_configfile="/etc/mail/sendmail.cf"
> mta_submitqueue_flags="-L ms-msp-queue -Ac -q15m"
> mta_submitqueue_pidfile="/var/spool/clientmqueue/sm-client.pid"
> mta_submitqueue_configfile="/etc/mail/submit.cf"
> 
> I'm getting a sendmail.pid file, but nothing more


Well, this makes sense. Your sendmail is disabled:

sendmail_enable="NONE"

This is what you need:

sendmail_enable="YES"


Try that and see how it goes.


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Send instant messages to your online friends http://uk.messenger.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: [freebsd-questions] What is the maximum file size on a dvd+r ?

2006-05-29 Thread Tsampros Leonidas
On Mon, May 29, 2006 at 11:29:41AM +0100, Howard Jones wrote:
> Fabian Keil wrote:
> >While I didn't read the spec, I heard that explanation before and
> >I think it's entirely correct to assume that the file size value
> >is unsigned. This has nothing to do with embracing standards.
> >  
> Just for another datapoint, Nero Burning ROM (onWindows) also limits 
> files on an ISO DVD to 2GB. You must use UFS for larger files. These 
> guys have been making CD/DVD burning software for some time. I suspect 
> they know what they are doing.

The problem in FreeBSD is that you can mount succesfully any UDF dvd
(at least, i have been sucessfull with this one) with mount_udf but
you cannot create such a filesystem with a tool like mkudffs. Are there
any plans for such a tool ?


> Best Regards,
> 
> Howie
> ___
> 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: Disk Compression

2006-05-29 Thread Iantcho Vassilev

fre

On 5/29/06, Vulpes Velox <[EMAIL PROTECTED]> wrote:


On Sun, 28 May 2006 13:15:17 -0500
"Nikolas Britton" <[EMAIL PROTECTED]> wrote:

> On 5/28/06, Iantcho Vassilev <[EMAIL PROTECTED]> wrote:
> > I am not aware of this feature..
> >
>
> That's what I thought... What compression methods are there for
> *NIX? I need to backup about 1.33TB of data to a 1TB array.

If it is just backing up, tar works nicely.




Here is the thing:

http://people.freebsd.org/~fjoe/geom_ugz/


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


geli resilience to power outages

2006-05-29 Thread Iantcho Vassilev

Hi guys,



DO someone know if and how GELI is resilience to power outages?

Does the box is still encrypted? After reboot what would happen to fcsk?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


corruption problem

2006-05-29 Thread Andy Rozman (Aleksander)
Hi !

I have FreeBSD 6.1 installed with big disk (300 Gb). FreeBSD is working 
fine, but I noticed that some files become corrupt. I have about 80 Gb 
partioned for FreeBSD and other space is divided into 3 dos (fat32) 
partitions.

I have some jar files on one of this "dos" disks, and javac  notices  at 
some times that  .jar files have become corrupt. If I replace this files 
then everything starts working ok.

Has somebody else come accross this problem, or something similar?

At this time I am running only FreeBSD on my machine, but if this 
problem persists I will have to install Windows again. Oh yes. My system 
is running AMD X2, but I am still running under i386 kernel image, 
because I have some problems compiling amd64...

Please help
Andy

P.S.: Please CC to my address, sicne I am only on digest list...


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


Restrict access to custom shell scripts

2006-05-29 Thread Aitor San Juan
Hi list!

I have developped several Bourne shell scripts that help some users
to accomplish general tasks by choosing an option from a list of options.
Such options include, for example, displaying the size of filesystems,
(un)mounting filesystems, user account management (add/remove/lock users, etc).
As you can imagine, many of these options will require the user to have
superuser authorisations.

It would be desirable that only a few users have the permission to execute
these shell scripts. Following are my 2 approaches. I don't know which is
the best. In addition, but I need some further help details of how to
accomplish it, so any hint or suggestion would be highly appreciated.

Thanks in advance.

---
APPROACH 1:
---
Make root the owner of these shell scripts (rwx). Create a group and make
the shell scripts only executable for users belonging to this new group (r-x).
For the rest of the world, no permissions. Until here, I see apparently no
problems. But what about the permissions to execute some of the commands
encapsulated by the shell scripts? For example, adding users, editing crontabs
of other users, (un)mounting filesystems... I wouldn't like the users belonging
to this new group to have/belong directly root permissions.

---
APPROACH 2:
---
Create a special user whose shell entry could be the main shell script (the one
who shows the menu of options), that is, no /bin/sh entry or alike, instead
the full path to the script who shows the main menu. Then the users should be
allowed to change their ID to this special user (using su for example). Again,
once su'ed to this user, what the superuser permissions required by most of
the options showed in the menu?


 LEGEZKO OHARRA / AVISO LEGAL / LEGAL ADVICE * 
Mezu honek isilpeko informazioa gorde dezake, edo jabea duena, edota legez 
babestuta dagoena. Zuri zuzendua ez bada, bidali duenari esan eta ezabatu, 
inori berbidali edo gorde gabe, legeak debekatzen duelako mezuak erabiltzea 
baimenik gabe. 
--
Este mensaje puede contener información confidencial, en propiedad o legalmente 
protegida. Si usted no es el destinatario, le rogamos lo comunique al remitente 
y proceda a borrarlo, sin reenviarlo ni conservarlo, ya que su uso no 
autorizado está prohibido legalmente.
--
This message may contain confidential, proprietary or legally privileged 
information. If you are not the intended recipient of this message, please 
notify it to the sender and delete without resending or backing it, as it is 
legally prohibited.
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: MailScanner Issues

2006-05-29 Thread Mikhail Goriachev
Robert Davison wrote:
> But the config settings I've seen all say that when using MailScanner, you 
> must set the sendmail_enable to None.
>
>   Even with this set to YES, then I still dont have the sendmail_out.pid and 
> sendmail_in.pid files running.
> 


Oops... I'm not familiar with MailScanner. I just assumed, based on your
log, that sendmail is the epicentre of your problem. I reckon someone
else would be able to help you.

Cheers,
Mikhail.


-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Restrict access to custom shell scripts

2006-05-29 Thread Alex Zbyslaw

Aitor San Juan wrote:


Hi list!

I have developped several Bourne shell scripts that help some users
to accomplish general tasks by choosing an option from a list of options.
Such options include, for example, displaying the size of filesystems,
(un)mounting filesystems, user account management (add/remove/lock users, etc).
As you can imagine, many of these options will require the user to have
superuser authorisations.

It would be desirable that only a few users have the permission to execute
these shell scripts. Following are my 2 approaches. I don't know which is
the best. In addition, but I need some further help details of how to
accomplish it, so any hint or suggestion would be highly appreciated.
 

sudo.  It's in the ports.  You could fix your shell script permissions 
to be r-x root-only, but any operations requiring root access will just 
not work if a regular user runs it, so value is limited.


--Alex


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


Re: Sendmail / Mailscanner issues

2006-05-29 Thread Derek Ragona
I think you may need to change the way sendmail starts.  rc script for 
sendmail changed in 6.X so you may not have one of the additional queues 
running.


-Derek


At 01:57 PM 5/28/2006, Robert Davison wrote:
I've installed sendmail on a 6.1 system. It will send mail internally and 
externally with no problem. I've now put MailScanner into the mix. I've 
done what I believe to be the necessary configuration, but am getting the 
following error in the maillog file


  May 29 20:47:51 luey MailScanner[540]: MailScanner E-Mail Virus Scanner 
version 4.50.15 starting...
May 29 20:47:51 luey MailScanner[540]: Read 701 hostnames from the 
phishing whitelist

May 29 20:47:51 luey MailScanner[540]: Using SpamAssassin results cache
May 29 20:47:51 luey MailScanner[540]: Connected to SpamAssassin cache 
database
May 29 20:47:51 luey MailScanner[540]: Enabling SpamAssassin 
auto-whitelist functionality...
May 29 20:47:53 luey MailScanner[540]: ClamAV scanner using unrar command 
/usr/local/bin/unrar

May 29 20:47:53 luey MailScanner[540]: Using locktype = flock
May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: from=root, size=37, 
class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, 
[EMAIL PROTECTED]
May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: to=rob_27ma, 
ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, 
pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 
Connection refused by [127.0.0.1]


  Can anyone identify from this what is causing the connection to be 
refused ??


Send instant messages to your online friends http://uk.messenger.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


kern.ipc.somaxconn should be high for a PF firewall with a lot of states

2006-05-29 Thread Iantcho Vassilev

kern.ipc.somaxconn is for handling more incoming connections,right? but does
firewall connections are considered incoming?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Openoffice compilation failure

2006-05-29 Thread Norberto Meijome
On Mon, 29 May 2006 11:48:51 +0530
Subhro <[EMAIL PROTECTED]> wrote:

> I am running FreeBSD-6.1-STABLE. I was trying to compile OpenOffice
> 2.0 from the ports tree. Below I have mentioned the error I am
> getting. Can anyone please tell me whats wrong?

i dont know...but why do you build this beast when it's already provided as a
package?

Beto
___
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 wireless card drivers

2006-05-29 Thread Mark Moellering
Do you still have the wlan device compiled in the kernel?  I would also make 
sure to remove the ral device, as this is for the same chipset family but 
your card uses a newer version that the native ral driver does not support 
but I could imagine it might create difficulties.
All I can think of...

Mark Moellering


On Monday 29 May 2006 7:23 am, Stefi wrote:
> Hi everyone
>
> I have Gigabyte GN-WP01GS wireless card that works perfect under Widows XP.
> It also can simula te an AP mode. FreeBSD 6 (on my machine) does not
> recognize it at first. I found out how to recompile original driver for use
> on FreeBSD with ndisgen. Everything works fine an I can see it like ndis0
> using ifconfig. But, I can't change any setting using ifconfig. I can't
> access the card.
>
> Does anyone know how to configure that card correctly?
> ___
> 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: geli resilience to power outages

2006-05-29 Thread Norberto Meijome
On Mon, 29 May 2006 14:43:46 +0300
"Iantcho Vassilev" <[EMAIL PROTECTED]> wrote:

> DO someone know if and how GELI is resilience to power outages?
> 
> Does the box is still encrypted? After reboot what would happen to fcsk?

Hi Iantcho ,
I dont know for a fact the effect with a power outage, but I use it quite a lot
on laptops (which a) freeze sometimes out of nowhere , and b) sometimes dont
resume properly,).  In both situations,  I've usually had geli mounted disks (1
x 6 GB, 1 x 500 MB) running when the events happened. ( as well as a 4 GB swap
which is also GELI backed)

They (touch wood) haven't suffered data loss. /usr and /var seem be more
affected by this ungraceful shutdowns than the .eli devices.

I suppose it's all cool thanks to soft-updates, and the fact that GELI encrypts
on a per block basis (yeah, no more pgp-busted disks like in Windows :) ).

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


Re: troubleshooting network settings

2006-05-29 Thread Kevin Kinsey

Malcolm Fitzgerald wrote:


On 29/05/2006, at 1:10 PM, Kevin Kinsey wrote:


Malcolm Fitzgerald wrote:
I am running freeBSD v6.0 security on a home network behind an adsl 
router. I cannot connect to localhost from a browser (apache is running!)

I cannot connect to localhost port 22 (KPackage tries to use ssh)
What can cause these problems? How can I troubleshoot them?
I am very new to freeBSD, so part of my question is "where do I 
begin?". I have a copy of Complete freeBSD beside me but can't get 
the magical incantations right. Suggestions appreciated.


New to "Nix like" systems in general, or just new to FreeBSD?

Here are a few suggestions ... no "magic bullet" here, though:

First, check to see if the interface exists:

$ ifconfig lo0
lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff00

So, we have a loopback interface (in this case on both IPv4
and IPv6).


bsd-box# ifconfig -a
rl0: flags=8843 mtu 1500
options=8
inet6 fe80::2e0:4cff:fe08:e02a%rl0 prefixlen 64 scopeid 0x1
inet 192.168.1.104 netmask 0xff00 broadcast 192.168.1.255
ether 00:e0:4c:08:e0:2a
media: Ethernet autoselect (100baseTX )
status: active
plip0: flags=108810 mtu 1500
lo0: flags=8008 mtu 16384


Hmm, is that all?  Unusual; I'd think the loopback _should_ be set
up correctly.

`ifconfig lo0 -inet 127.0.0.1 netmask 255.255.255.0`  ??


If that fixes it, then we have to figure out *why* it's not being
doing automatically.  Problem during init/rc, most likely ... weird.

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


Re: Sharing /usr/local/www

2006-05-29 Thread Kyrre Nygard

At 11:50 27.05.2006, Daniel A. wrote:

Hi Kyrre.

Have you tried chmodding the www dir to be group-writable?

Also, as someone else has suggested, SVN og CVS might be a good 
idea. They would not solve the problem you have right now, but they 
might help you avoid some possible problems with many people editing 
the same batch of files - sharing violations. What if two people 
start editing the same files on their own workstations, and both 
upload the changes? What about version control? et cetera, ad nauseam.


Offcourse, non-repository development is possible, and I've done it 
myself without any issues whatsoever, but you're the one who decides 
what's best for your development.


Actually no I did not chmod www to be group writable.

Silly me! :)

But I'm wondering. If I were to use SVN for my www, wouldn't I then in reality
have two different wwws, one for SVN and one which I later export for Apache?

This is what confuses me a little ...

Thanks a lot,
Kyrre

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


Re: min disk size for (useful) desktop

2006-05-29 Thread Benjamin Lutz
On Saturday 27 May 2006 15.52, Pete C wrote:
> . . . looking for advice/guidelines for a minimum disk size for a decent
> desktop install of 6-stable with gnome, openoffice, firefox, gimp etc. .
> . .
>
> . . . I have both a 20G and a 250G on hand, so I guess the question
> really is is 20G enough ? ? ?

I've been running a complete system with KDE, OOo, Gimp etc on my laptop on a 
7GB partition for 3 years. It does require some cleaning up every so often 
(remove distfiles etc), but it's enough. So 20GB should be plenty.

For things that need a lot of space to build (OOo), you can use binary 
packages.

Cheers
Benjamin


pgpecwabtHLgo.pgp
Description: PGP signature


Hi there, I got some questions if I may

2006-05-29 Thread Federico Freigedo

Hi there I would like to ask you some questions if I may.. Im wanna  make a
server for a site like friendster.com and I am very interested of using
FreeBSD as my SO on my server but I got some problems first I notice that
FreeBSD does not detected the new SATA hard drives only IDE HD, also that I
found it very complicate to administrate and to install there is a new good
manual to use as reference to learn how to use this fantastic SO as a newbie
so people could learn how to use it, administrate and install.??

please I would like to you to answer my questions if u can, thanks you

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


Re: Sharing /usr/local/www

2006-05-29 Thread Daniel A.

Kyrre Nygard wrote:

At 11:50 27.05.2006, Daniel A. wrote:

Hi Kyrre.

Have you tried chmodding the www dir to be group-writable?

Also, as someone else has suggested, SVN og CVS might be a good idea. 
They would not solve the problem you have right now, but they might 
help you avoid some possible problems with many people editing the 
same batch of files - sharing violations. What if two people start 
editing the same files on their own workstations, and both upload the 
changes? What about version control? et cetera, ad nauseam.


Offcourse, non-repository development is possible, and I've done it 
myself without any issues whatsoever, but you're the one who decides 
what's best for your development.


Actually no I did not chmod www to be group writable.

Silly me! :)

But I'm wondering. If I were to use SVN for my www, wouldn't I then in 
reality
have two different wwws, one for SVN and one which I later export for 
Apache?

That is exactly how it does work ;)


This is what confuses me a little ...

Thanks a lot,
Kyrre


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


Re: Hi there, I got some questions if I may

2006-05-29 Thread Benjamin Lutz
On Monday 29 May 2006 16:10, Federico Freigedo wrote:
> Hi there I would like to ask you some questions if I may.. Im wanna  make a
> server for a site like friendster.com and I am very interested of using
> FreeBSD as my SO on my server but I got some problems first I notice that
> FreeBSD does not detected the new SATA hard drives only IDE HD, also that I
> found it very complicate to administrate and to install there is a new good
> manual to use as reference to learn how to use this fantastic SO as a
> newbie so people could learn how to use it, administrate and install.??

Yes, SATA drives do work. Are you sure you're using a recent version of 
FreeBSD?

As for documentation, start with these:
Handbook: http://www.freebsd.org/handbook
FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/
The Complete FreeBSD: http://www.lemis.com/grog/Documentation/CFBSD/

Cheers
Benjamin


pgpG5aacgFEJR.pgp
Description: PGP signature


Re: MailScanner Issues

2006-05-29 Thread Lars Kristiansen

Robert Davison wrote:

I've done a bit more digging. It seems that my sendmail_in.pid and 
sendmail_out.pid files are not running in /var/run, despite having this in my 
rc.conf..
  
sendmail_enable="NONE"

clamd_enable="YES"
freshd_enable="YES"
mailscanner_enable="YES"
mta_enable="YES"
mta_type="sendmail"
mta_profiles="incoming outgoing submitqueue"
mta_incoming_flags="-L sm-mta-in -bd -OPrivacyOptions=noetrn -OQueueDirectory=/v
ar/spool/mqueue.in -ODeliveryMode=queueonly"
mta_incoming_pidfile="/var/run/sendmail_in.pid"
mta_incoming_configfile="/etc/mail/sendmail.cf"
mta_outgoing_flags="-L sm-mta-out -q15m"
mta_outgoing_pidfile="/var/run/sendmail_out.pid"
mta_outgoing_configfile="/etc/mail/sendmail.cf"
mta_submitqueue_flags="-L ms-msp-queue -Ac -q15m"
mta_submitqueue_pidfile="/var/spool/clientmqueue/sm-client.pid"
mta_submitqueue_configfile="/etc/mail/submit.cf"

I'm getting a sendmail.pid file, but nothing more
  


Does that not indicate that some "old" sendmail is still running?
Can you stop those?
If unsure, maybe reboot without sendmails, and then check with ps.

--
Regards from Lars



-
 Try the all-new Yahoo! Mail . "The New Version is radically easier to use" – 
The Wall Street Journal
___
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]"


pango freetype2 installation problems

2006-05-29 Thread Vitaly D

Hello, All

for a story i've installed minimal FreeBSD 4.11 on intel (i386). I'm trying 
to make a desktop station. i'm compiling from official sources (dont' use 
packages system)


i've installed XFree86 4.6.0 (fontconfig freetype 2.1.8 included)


!!! Important issue about freetype 2.2.1 on freebsd 4 series 
i've tried to make pango 1.5.0 (latest)  I get compile error in 
pango-ot-info.c  complaining about freetype.h due to #error macros included 
at the head of freetype.h.


By the way in pango 1.5.0 package some include directives trying to search 
for ftobject.h in a wrong directory. ( instead of 
  Solved by adjusting 
CPPFLAGS=-I/usr/X11R6/freetype2/freetype/config ... They say in freetype.h 
that this hierarchy won't be followed in future releases but for now it 
seems to bring obscure errors while building softaware relying on freetype 
(what the F... ft2build.h is not included yet ???)


what should i do? i've tried to install freetype 2.2.1 (latest) but it 
complains about sysntax error in /usr/include/sys/mman.h line 140 
!!! and even i've sucsseeded it seems that 
freetype2.2.1 package preserves the same include hierarchy as 2.1.8 so it 
won't resolve my problem (read before this paragraph).


please if anyone see an issue about my problem ??? CC me because i'm not on 
the list and internet acces is too expensive for me.


i'll try to post a bug report at pango list (include problem #include 
 should be 


and also make a follow up to freetype2 team as it seems to report syntax 
error in /usr/include/sys/mman.h


have a nice day.

Best Regards
Vitaly
katsuo_harada_evil_does [at] hotmail [dot] com

_
MSN Hotmail sur i-mode™ : envoyez et recevez des e-mails depuis votre 
téléphone portable ! http://www.msn.fr/hotmailimode/


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


WARNING - WRITE_DMA UDMA ICRC error

2006-05-29 Thread César Amaya

hello list!

I´m having a trouble with a hard disk, I´m getting this warning:

kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request)  
LBA=38059135


I read that it could be a IDE cable problem, that the cable does not 
support UDMA speed >= 66


If it wasn´t the cable where the problem is, how can I set the drive 
UDMA speed to  UDMA66 at boot time to make it permanent?


I have a FreeBSD 6.1 system and ExcelStor j880 hard disk.

Could you help me, please?
Thanks.

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


Re: geli resilience to power outages

2006-05-29 Thread Iantcho Vassilev

On 5/29/06, Norberto Meijome <[EMAIL PROTECTED]> wrote:


On Mon, 29 May 2006 14:43:46 +0300
"Iantcho Vassilev" <[EMAIL PROTECTED]> wrote:

> DO someone know if and how GELI is resilience to power outages?
>
> Does the box is still encrypted? After reboot what would happen to fcsk?

Hi Iantcho ,
I dont know for a fact the effect with a power outage, but I use it quite
a lot
on laptops (which a) freeze sometimes out of nowhere , and b) sometimes
dont
resume properly,).  In both situations,  I've usually had geli mounted
disks (1
x 6 GB, 1 x 500 MB) running when the events happened. ( as well as a 4 GB
swap
which is also GELI backed)

They (touch wood) haven't suffered data loss. /usr and /var seem be more
affected by this ungraceful shutdowns than the .eli devices.

I suppose it's all cool thanks to soft-updates, and the fact that GELI
encrypts
on a per block basis (yeah, no more pgp-busted disks like in Windows :) ).

good luck,
Beto





Thanks for the input,Beto..

As i didn`t read the GELI "workbook" can you tell be can i convert existing
partition in GELI or i should repartition?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Why won't FreeBSD boot from hard drive??

2006-05-29 Thread Aaron VanAlstine
The SATA controller chip is the Intel ICH7R Southbridge RAID Controller. The
hard is selected as the boot device; however, it seems to default back to
the DVD/CD upon reboot. Even when I disconnect the DVD/CD it doesn't look to
the hard drives.

I wonder if there is a problem booting the OS from the RAID array? The
motherboard manual states "If you want to boot the system from a HD included
in a created RAID array, copy first the RAID driver from the support CD to a
floppy disk before you install an OS to the selected HD." However, I don't
have a floppy drive and I suspect they assume I'm loading Windows.

Do you think it makes a difference if I install FreeBSD and then configure
the RAID array, or visa-versa?

-- Aaron


On 5/28/06 12:57, "Kevin Kinsey" <[EMAIL PROTECTED]> wrote:

> Aaron VanAlstine wrote:
>> I successfully loaded FreeBSD 6.0 from CD all the way until the system
>> reboots; however, the computer seems regard the DVD/CD as the boot hard
>> drive and is trying to boot from that. During boot-up it auto detects the
>> DVD ROM as the Pri Master, and the two HDs as 3rd and 4th Master. When it
>> gets to the boot-stage, I get a message ³Reboot and Select proper Boot
>> device or Insert Boot Media in selected Boot device and press a key.²
>> According to the BIOS setup utility, the 1st boot device is Intel Striped
>> RAID. Yet, when I restart  and hit F8 to select the BBS popup menu, it
>> appears that the DVD is still the boot device. I change it to the HD and
>> re-boot and still I get the original ³Reboot and Select proper Boot device
>> or Insert Boot Media in selected Boot device and press a key" message.
>> 
>> The DVD/CD cable is connected to the blue primary IDE on the motherboard and
>> the two HD are connected to SATA1 and SATA2. From the Main screen of the
>> BIOS setup utility:
>> 
>> -- Primary IDE Master is the NEC DVD RW.
>> -- Primary IDE Slave Not Detected,
>> -- IDE Configuration is RAID (OnBoard Serial-ATA BOOTROM is Disabled.)
>> 
>> Any ideas on how I can make the system boot from the hard drive instead of
>> trying the DVD/CD?
>> 
> 
> 
> I assume that you've noted the existence of a "Boot from RAID" or
> similar option, and told the BIOS **not** to boot from CD/DVD?
> 
> 
>> My hardware consists of:
>> 
>> ASUS P5LD2 ACPI Bios Revision 0901 motherboard
> 
> 
> Which SATA controller chip on this board?
> 
> The reason I ask --- and this was on a Windows server, but would
> apply either way:
> 
> I had a server doing something very similar --- install from CD,
> then can't find its array with both hands.
> 
> Someone I read on the 'net* has a theory --- possibly confirmed,
> that the next generation SATA drives take so long to spin up in
> some cases that the motherboard's BIOS times out waiting on them.
> He claims this to be the case with Seagate and Maxtor SATA-II
> drives (especially those with "Native Command Queueing" or similar
> technology).
> 
> The board in question was an Epox board with the NVidia NForce 4
> SATA RAID controller.  Since this board also had a Silicon Image
> RAID contoller, we tried that and had some success.
> 
> Since we still wanted to use the "primary" SATA controller, we
> contacted our HDD manufacturer and received firmware updates
> for the drives.  After this, they've been quite reliably booting
> for a few days now.
> 
> Kevin Kinsey
> 
> * Try googling first.  IIRC, forum posts on several forums,
> nick might have been "RobertP" or some such...


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


RE: Problems booting operating system and with root password

2006-05-29 Thread Sam Speranini
Hi there,

I have booted up in single user mode because the option is available at
startup but it prompts me with: Enter full pathname of shell or return for
/bin/sh

Doesn't matter what I put in or leave it doesn't give me anything to make
changes to root password. There are really no commands that I can use after
this point. Any suggestions on moving forward to changing or removing the
root password. It may sound like a stupid question but and steps would
really help.

Thank you for all responses.

Sam


-Original Message-
From: Bill Moran [mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 5:04 PM
To: Sam Speranini
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
freebsd-questions@freebsd.org
Subject: Re: Problems booting operating system and with root password


"Sam Speranini" <[EMAIL PROTECTED]> wrote:

> Thank you for the quick response and I will try booting up in single mode
> for the root password issue.
> One of our main boxes at boot up comes up with the error message below and
> goes no further. It seems like the kernel is missing or got corrupted. The
> box ran fine till yesterday morning when we noticed it was at this stage.
Is
> there anything that can be done to recover.

If this machine worked before, then _something_ has occurred to corrupt
data on disk.  Some possible reasons are breakin, operator error, or
hardware failure.

If you're not _sure_ this was caused by operator error, then you should
be afraid: either your box was compromised or your hard drives are
failing.

In either of those scenerios, you need to rebuild the box, possibly after
replacing hardware.  Hopefully you have backups, if not, you may be
forking out good money for a data recovery company to extract your
data off a damaged hard drive.  If it's a breakin, you might be able
to boot the system off a live CD (such as FreeSBIE) and get your data
off the drive before rebuilding.  If it's a hardware failure, you can
try the liveCD thing, but it's less likely to work.

Good luck.

> Press  for BMC Setup within 5 sec.
> No /boot/loader
>
> FreeBSD /i386 boot
> Default: 0:da(0,a)/kernel
> boot:
> No /Kernel
>
> FreeBSD /i386 boot
> Default: 0:da(0,a)/kernel
> boot:



--
Bill Moran

Two by two, hands of blue.

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


Re: Installing Apsfilter

2006-05-29 Thread P.U.Kruppa

On Sat, 27 May 2006, Gerard Seibert wrote:


Trying to install Apsfilter, I encountered a problem. It seems that it
requires print/acroread7 which is an interactive port. Reading the
Makefile on acroread7, it seems I have to go to
http://www.adobe.com/products/acrobat/distribute.html and fill out a
form, wait a few days to see if I am approved, and then what?

Do you really want to redistribute acroread?
# make install
just works as usual around here.

Uli.



Is this really necessary? Is there some way around this? If I follow
through with this scenario, what happens? Do I get a special code or
file to install that will allow me to install the port just so I can get
apsfilter installed?

Thanks!
--
Gerard Seibert
[EMAIL PROTECTED]

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





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


Re: WARNING - WRITE_DMA UDMA ICRC error

2006-05-29 Thread Ghislain Garçon




hello list!

I´m having a trouble with a hard disk, I´m getting this warning:

kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying  
request)  LBA=38059135


I read that it could be a IDE cable problem, that the cable does  
not support UDMA speed >= 66


If it wasn´t the cable where the problem is, how can I set the  
drive UDMA speed to  UDMA66 at boot time to make it permanent?


I have a FreeBSD 6.1 system and ExcelStor j880 hard disk.



Cool i'm not alone!!!


Could you help me, please?


I had this problem during installation from a CDROM. The FAQ says the  
kernel should switch to another mode ( PIO ) in order to configure  
the hard drive ( as NetBSD does for example ... ). Unfortunatly it  
doesn't...


Someone for confirmation?






___
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos 
services préférés : vérifiez vos nouveaux mails, lancez vos recherches et 
suivez l'actualité en temps réel.
Rendez-vous sur http://fr.yahoo.com/set
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installing Apsfilter

2006-05-29 Thread Gerard Seibert
P.U.Kruppa wrote:

> On Sat, 27 May 2006, Gerard Seibert wrote:
> 
> > Trying to install Apsfilter, I encountered a problem. It seems that it
> > requires print/acroread7 which is an interactive port. Reading the
> > Makefile on acroread7, it seems I have to go to
> > http://www.adobe.com/products/acrobat/distribute.html and fill out a
> > form, wait a few days to see if I am approved, and then what?
> Do you really want to redistribute acroread?
> # make install
> just works as usual around here.
> 
> Uli.
> 
> >
> > Is this really necessary? Is there some way around this? If I follow
> > through with this scenario, what happens? Do I get a special code or
> > file to install that will allow me to install the port just so I can get
> > apsfilter installed?
> >
> > Thanks!

I found the problem. I had 'BATCH= yes' sans quotes set in the
/etc/make.conf file. However, I do not believe that the program should
just fail if that flag is set. Rather, it should print some sort of
warning regarding the use of 'BATCH' either in the make.conf file or
on the command line.

-- 
Gerard Seibert
[EMAIL PROTECTED]

"The very powerful and the very stupid have one thing in common.
Instead of altering their views to fit the facts, they alter the
facts to fit their views ... which can be very uncomfortable if you
happen to be one of the facts that needs altering."

 Doctor Who
___
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 wireless card drivers

2006-05-29 Thread Atanas Atanasov

Hi Stefi,

I am having trouble getting my wlan card working. My problem is that
after I load the kernel modules, I see no adapter with ifconfig. Could
you please tell me whether after moving the ko file to /boot/kenel you
did something else like kldxref or not. I tried to update the
references but it gives me an error "kldxref: can't read hash table".
Have you encountered anything of this type?

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


RE: Problems booting operating system and with root password

2006-05-29 Thread robert
On Mon, 2006-05-29 at 12:50 -0400, Sam Speranini wrote:
> Hi there,
> 
> I have booted up in single user mode because the option is available at
> startup but it prompts me with: Enter full pathname of shell or return for
> /bin/sh
> 
> Doesn't matter what I put in or leave it doesn't give me anything to make
> changes to root password. There are really no commands that I can use after
> this point. Any suggestions on moving forward to changing or removing the
> root password. It may sound like a stupid question but and steps would
> really help.
> 
> Thank you for all responses.
> 
> Sam

snip

Sam,

A very quick google search gave the answer with loads of hits.

Try the first one:

http://lantech.geekvenue.net/chucktips/jason/chuck/1002317496/addPostingForm

Rob



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


Problems sshing in remotely using pam_ldap

2006-05-29 Thread Jason Lixfeld
I have a system running 6.1-RELEASE, OpenLDAP 2.3.23, Pam-LDAP 1.80  
and NSS-LDAP 1.249.


I have a user, called testuser configured in LDAP.

I can ssh [EMAIL PROTECTED] and it works no problem.

If I try to ssh into the box from another host, it fails.  What I see  
in the ssh debug during the failure is:


login_get_lastlog: Cannot find account for uid 2000

This error confuses me because uid 2000 exists:

# id 2000
uid=2000(testuser) gid=2000(testuser) groups=2000(testuser)
# id testuser
uid=2000(testuser) gid=2000(testuser) groups=2000(testuser)

So I really have no idea what it could be.

I read something back from 2003 saying that something similar  
happened but it was due to incompatible ssh versions, but both  
localhost and the remote host are using v2, so that doesn't seem to  
be the issue.


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


Re: Custom termcap entries and installworld

2006-05-29 Thread Dan Nelson
In the last episode (May 28), Stephen Hurd said:
> Stephen Hurd wrote:
> >So, I suppose my questions are these:
> >1) How do people cope with custom termcap entries?
> >2) Is there a *correct* way to cope with custom termcap entries?
> >3) Is there a good reason to not have /usr/share/misc/termcap be a 
> >symlink to /etc/termcap rather than the reverse which would allow 
> >mergemaster to Just Work?  that is... putting it in /etc fixes a 
> >problem... does moving it create one or more more serious problems?
> >4) Am I supposed to submit every custom termcap tweak for inclusion in 
> >the next release so I can keep using my terminals?
> Anyone?

What's wrong with just putting your custom termcap entry in
/usr/src/share/termcap/termcap.src so it gets installed during
installworld?

-- 
Dan Nelson
[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: Custom termcap entries and installworld

2006-05-29 Thread Stephen Hurd

In the last episode (May 28), Stephen Hurd said:

Stephen Hurd wrote:
>So, I suppose my questions are these:
>1) How do people cope with custom termcap entries?
>2) Is there a *correct* way to cope with custom termcap entries?
>3) Is there a good reason to not have /usr/share/misc/termcap be a
>symlink to /etc/termcap rather than the reverse which would allow
>mergemaster to Just Work?  that is... putting it in /etc fixes a
>problem... does moving it create one or more more serious problems?
>4) Am I supposed to submit every custom termcap tweak for inclusion in
>the next release so I can keep using my terminals?
Anyone?


What's wrong with just putting your custom termcap entry in
/usr/src/share/termcap/termcap.src so it gets installed during
installworld?


The only issue with doing that is that then I have to manually merge changes 
or stop using CVSup to update the sources as well as figure out how to 
exclude a specific file from exact mode in CVSup... or possibly I would need 
to switch to AnonCVS and pay closer attention to what gets updated.


This does present the possibility of a permanent solution (which is good) 
but seems like a fiendishly large amount of work for what seems to me like a 
simple task especially considering that this configuration file has been 
around since the late 70s.


Thanks for your input... and hope for a permanent workaround. 


___
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 BCM4306 driver

2006-05-29 Thread Atanas Atanasov

I realised netgen is the way of doing things, yet I do not see the
device. I read that in a static build of the kernel with ndis one
should include device ndis and device ndisapi. In my current GENERIC
build these are not included. Should I recompile or it is not
necessary?

I also noticed that one should use kldxref however when I try to
recompile the references it gives me "kldxref: can't read hash table".
Is this normal? How can I fix it and eventually can the problem be due
to bad references? I am really getting confused.

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


How to make S-video working(FujitsuSiemense AmiloPro)

2006-05-29 Thread Iantcho Vassilev

Does someone has tried to output through S-Video?


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


Re: What is the maximum file size on a dvd+r ?

2006-05-29 Thread Aren Olvalde Tyr
Hi

The ISOCD9660 standard limits the maximum size of any individual file to 2GB. 
You can split the file into smaller chunks (which you can reassemble) if you 
wish to write an ISO compatible disc. 

However, if you wish to eliminate the restriction entirely, you must write the 
DVD as an UDF filesystem (ISO/UDF bridge). FreeBSD can quite happily mount 
UDF discs (though some older DVD-ROM drives might struggle to read them 
correctly). 

As regards userspace tools, there is plenty of high quality burning software 
for FreeBSD that allows you to create UDF discs (i.e. K3b).

A "mkudffs" tool could be handy though.

Aren.


pgpqI8yiETZMy.pgp
Description: PGP signature


Re: Custom termcap entries and installworld

2006-05-29 Thread Dan Nelson
In the last episode (May 29), Stephen Hurd said:
> >In the last episode (May 28), Stephen Hurd said:
> >>Stephen Hurd wrote:
> >>>So, I suppose my questions are these:
> >>>1) How do people cope with custom termcap entries?
> >>>2) Is there a *correct* way to cope with custom termcap entries?
> >>>3) Is there a good reason to not have /usr/share/misc/termcap be a
> >>>symlink to /etc/termcap rather than the reverse which would allow
> >>>mergemaster to Just Work?  that is... putting it in /etc fixes a
> >>>problem... does moving it create one or more more serious problems?
> >>>4) Am I supposed to submit every custom termcap tweak for inclusion in
> >>>the next release so I can keep using my terminals?
> >>Anyone?
> >
> >What's wrong with just putting your custom termcap entry in
> >/usr/src/share/termcap/termcap.src so it gets installed during
> >installworld?
> 
> The only issue with doing that is that then I have to manually merge
> changes or stop using CVSup to update the sources as well as figure
> out how to exclude a specific file from exact mode in CVSup... or
> possibly I would need to switch to AnonCVS and pay closer attention
> to what gets updated.
> 
> This does present the possibility of a permanent solution (which is
> good) but seems like a fiendishly large amount of work for what seems
> to me like a simple task especially considering that this
> configuration file has been around since the late 70s.

I cvsup the raw CVS repository, then check out a source tree with cvs
which I build against.  That lets me modify the source however I want,
and the changes persist across "cvs update" runs.

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


User Access restriction.

2006-05-29 Thread Marwan Sultan

Hello Everyone,

 I have a server Up and running, 4.8-R, (well why 4.8? its up since years)
 However, this server is for commercial use, recently, we started Home 
pages hosting,

 which requier me to give the user access to the shell,

 Well, the question,

 Lets say, I have 2 groups, Group1, Group2
 under Groupe1 is the webpages shell accounts (user accounts)
 and group2, just shell users,

 If user1 from Group1 will ftp or ssh to the box, his default home path 
will be

 /home/group1/user1
But, he still can navigate thro his FTP or ssh to see the directories and 
read files of group1 or

group2, and play around lilbit,

PLEASE how to restrict this user from going outside his shell account and 
restrict him from
viewing others folders and webpages ? If i will chmod to something limited, 
then even when

he browse the web to his webpage it wont work,

So how to have the restriction in the same time viewing his web thro any 
browser worldwide?


Sorry for the long email.

Thank you,
Marwan

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: Missing devs...

2006-05-29 Thread Aren Olvalde Tyr
Hi

On Sunday 28 May 2006 21:42, Anders Troback wrote:

> In my usbd.conf I have:
>
> device "Sony Ericsson W810i"
>devname "umass[0-9]+"
>vendor  0x0fce
>product 0xe042
>attach "sleep 5 ; /sbin/mount -t msdos /dev/da1 /mnt ; /etc/rc.d/devfs
> restart"
>
> As I said, this works for me but it seams to be a bit stupid that this
> kind of workaround is needed...

Yes, indeed. I was thinking about doing a similar workaround, but surely there 
must be a better way of doing this. We need a way for mount to automatically 
probe the device for filesystems first before attempting to mount the slice.

Anyone got any suggestions?

Just out of interest, during bootup, what command is executed to probe the 
devices? If I put a memory card in my reader before booting the system up, 
the filesystem slices on the card are detected, the device node[s] are 
created and I can mount it straight away. 

This is the command I want, rather than having to run a mount command that we 
know will fail just to create the nodes.

Aren.


pgp55SXv76OLk.pgp
Description: PGP signature


ndis problem

2006-05-29 Thread Lorin Lund

I'm running 6.1-RELEASE i386.  Generic kernel.
The wireless 'card' is a built-in Broadcom 802.11 b/g
My PC is a Compaq V2607CL Turion based notebook

I downloaded a driver kit from HP.  It created
 c:\SWSetup\SP32158A\
In that folder I found
 bcmwl5.inf
 bcmwl5.sys
 bcmwl5npf.sys
and lots of other files.

The .INF file was UNICODE.  But as far as I can tell the only
special characters were in the
[strings]
section for various countries.  I cut off all the other countries 
leaving just US and
forced it to ASCII. 


ndiscvt gave no error messages.

The
 make
 make install
gave no error messages.

I added an ndis linen to loader.conf to load the .ko

dmesg shows no error messages.  But it doesn't show ndis0: being 
recognized either.


When I manually try
 kldload ndis
it says it is already loaded.

When I try
 ifconfig -a
there is no ndis:
When I try
 ifconfig ndis0:
it says there is no interface.

I don't know what else to try.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

grub on FreeBSD

2006-05-29 Thread Ask Bjørn Hansen

Hi,

I am trying to use grub instead of the usual boot0 thing on a Compact  
Flash card I use in Soekris and PC Engines WRAP systems.  I installed  
grub from ports/sysutils/grub and put the package on my nanobsd  
system on the CF card.


Booting on a Soekris box and running grub, I get this:

grub> root (hd0,1)
Filesystem type unknown, partition type 0xa5

grub> root (hd0,1,a)
Filesystem type unknown, partition type 0xa5

It seems like it can't read the ufs filesystem?   Any ideas?


 - ask

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


Re: Missing devs...

2006-05-29 Thread Micah

Aren Olvalde Tyr wrote:

Hi

On Sunday 28 May 2006 21:42, Anders Troback wrote:


In my usbd.conf I have:

device "Sony Ericsson W810i"
   devname "umass[0-9]+"
   vendor  0x0fce
   product 0xe042
   attach "sleep 5 ; /sbin/mount -t msdos /dev/da1 /mnt ; /etc/rc.d/devfs
restart"

As I said, this works for me but it seams to be a bit stupid that this
kind of workaround is needed...


Yes, indeed. I was thinking about doing a similar workaround, but surely there 
must be a better way of doing this. We need a way for mount to automatically 
probe the device for filesystems first before attempting to mount the slice.


Anyone got any suggestions?

Just out of interest, during bootup, what command is executed to probe the 
devices? If I put a memory card in my reader before booting the system up, 
the filesystem slices on the card are detected, the device node[s] are 
created and I can mount it straight away. 

This is the command I want, rather than having to run a mount command that we 
know will fail just to create the nodes.


Aren.


I've not been following this thread too closely, but I think I've had 
the same problem in the past. I currently get around it by not leaving 
my media readers plugged in (they're both external USB readers). I 
insert my media card then plug in the reader and have no problems. I 
*think* true > /dev/da1 will get devfs to show the slices, but I can't 
find my old post that has that little bit of info in it. I always 
thought the device should trigger and event when media was inserted, and 
that the event should trigger devfs to show the slices


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


freebsd 5.3, gmirror raid 1, PROBLEM

2006-05-29 Thread sara lidgey

Hi All,
 
 I've been running a server using FreeBSD 5.3 and gmirror to mirror two 
identical IDE hard drives.  Its been running great for over a year.  But 
recently everything went down and when I reboot and put a monitor on it I get 
the following errors on screen:
 
 GEOM_MIRROR: Device gm0: provider ad1 disconnected
 GEOM_MIRROR: Device gm0: provider mirror/gm0 destroyed
 GEOM_MIRROR: Device gm0: rebuilding provider ad0 stopped
 
 Fatal trap 12: page fault while in kernel mode...  (this is followed by 
details about the fault)
 
 These errors are preceded by other related error information that flys by on 
the screen and I have no way of seeing them again.
 
 Does anyone now what steps I should take to figure what is going on and try to 
recover data or get the machine to boot?
 
 Thanks so much,
 S.
 

-
 All new Yahoo! Mail - 
-
Get a sneak peak at messages with a handy reading pane.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: grub on FreeBSD

2006-05-29 Thread Nikolas Britton

On 5/29/06, Ask Bjørn Hansen <[EMAIL PROTECTED]> wrote:

Hi,

I am trying to use grub instead of the usual boot0 thing on a Compact
Flash card I use in Soekris and PC Engines WRAP systems.  I installed
grub from ports/sysutils/grub and put the package on my nanobsd
system on the CF card.

Booting on a Soekris box and running grub, I get this:

grub> root (hd0,1)
Filesystem type unknown, partition type 0xa5

grub> root (hd0,1,a)
Filesystem type unknown, partition type 0xa5

It seems like it can't read the ufs filesystem?   Any ideas?




IIRC grub can't see UFS2, only UFS. I belive there is a work around
though. google for it


--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pkg_upgrade?

2006-05-29 Thread Joe

Hi,

I've read the documentation and it seems there's no pkg_upgrade or 
pkg_update, or a way to install an updated/upgraded package.  I'd like 
to determine if that is indeed the case.


I installed 6.0-RELEASE from a CD and then installed such packages as 
X.org and Firefox (using pkg_add -r).  That gave me, for example, the 
latest Firefox that was available for 6.0-RELEASE, i.e., 1.0.7, but I 
wanted to install 1.5.  However, when I downloaded the 1.5 .tbz from 
ftp.freebsd.org and tried to use pkg_add on it, it complained that 
Firefox was already installed.


I then decided to upgrade the OS to 6.1-RELEASE via ftp by using 
sysinstall.  AFAICT, the upgrade of the base system went OK (except for 
the fact that /etc/motd and uname still refer to 6.0-RELEASE).  However, 
the installation of X.org packages did not go well, starting with errors 
in trying to install the expat package.


The documentation mentions portupgrade and portmanager as mechanisms to 
upgrade ports, but if I'm not mistaken these invoke source updates, not 
a binary upgrade as was done for the OS.  It appears that the only way 
to upgrade in binary form is to use pkg_delete -f to remove each 
package, e.g., expat 1.98, and then pkg_add to get the newer (2.0) 
version.  And then you have to be extra careful with dependencies 
between packages.


I don't have any major problems with upgrading from sources (assuming 
they build cleanly as expected), but I wanted to explore the binary 
upgrading route first to determine how easy it would be for someone 
without much technical abilities to install FreeBSD and some user 
packages and maintain it without getting involved in recompiling sources.


Thanks for your assistance.

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


Re: pkg_upgrade?

2006-05-29 Thread Benjamin Lutz
On Tuesday 30 May 2006 01:42, Joe wrote:
> Hi,
>
> I've read the documentation and it seems there's no pkg_upgrade or
> pkg_update, or a way to install an updated/upgraded package.  I'd like
> to determine if that is indeed the case.
>
> [...]
>
> The documentation mentions portupgrade and portmanager as mechanisms to
> upgrade ports, but if I'm not mistaken these invoke source updates, not
> a binary upgrade as was done for the OS.  It appears that the only way
> to upgrade in binary form is to use pkg_delete -f to remove each
> package, e.g., expat 1.98, and then pkg_add to get the newer (2.0)
> version.  And then you have to be extra careful with dependencies
> between packages.
>
> [...]

portupgrade actually does support packages as well. Use the --use-packages 
switch. It will look for local packages, remote packages, and if both fail, 
fall back to compiling the ports.

Cheers
Benjamin


pgpWuRQ0cUDNJ.pgp
Description: PGP signature


Re: geli resilience to power outages

2006-05-29 Thread Norberto Meijome
On Mon, 29 May 2006 16:31:38 +
"Iantcho Vassilev" <[EMAIL PROTECTED]> wrote:

> On 5/29/06, Norberto Meijome <[EMAIL PROTECTED]> wrote:
> >
> > On Mon, 29 May 2006 14:43:46 +0300
> > "Iantcho Vassilev" <[EMAIL PROTECTED]> wrote:
> >
> > > DO someone know if and how GELI is resilience to power outages?
> > >
> > > Does the box is still encrypted? After reboot what would happen to fcsk?
> >
> > Hi Iantcho ,
> > I dont know for a fact the effect with a power outage, but I use it quite
> > a lot
> > on laptops (which a) freeze sometimes out of nowhere , and b) sometimes
> > dont
> > resume properly,).  In both situations,  I've usually had geli mounted
> > disks (1
> > x 6 GB, 1 x 500 MB) running when the events happened. ( as well as a 4 GB
> > swap
> > which is also GELI backed)
> >
> > They (touch wood) haven't suffered data loss. /usr and /var seem be more
> > affected by this ungraceful shutdowns than the .eli devices.
> >
> > I suppose it's all cool thanks to soft-updates, and the fact that GELI
> > encrypts
> > on a per block basis (yeah, no more pgp-busted disks like in Windows :) ).
> >
> > good luck,
> > Beto
> 
> 
> Thanks for the input,Beto..
> 
> As i didn`t read the GELI "workbook" 
definitely read man geli , man geom_geli, and the handbook section...and play
with it until you feel comfortable with it.

> can you tell be can i convert existing
> partition in GELI or i should repartition?

depends what you want to do. If you want to create a file-backed GELI encrypted
file (similar to a PGP Disk in Windows), then you dont need to touch your
partitions at all - simply create the file.

If you want to have, for example, /usr encrypted, then you need, /dev/ad0s1f.eli
instead of . /dev/ad0s1f - you dont believe you need to repartition, but you'll
need to wipe all the data and to encrypt the device.

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


Re: Spam problem!

2006-05-29 Thread GiL Virtucio
Spam?i love spam :) it's very yummy on wheat bread and it's even better if
you add egg and cheese :P

===
Gil A. Virtucio
Janitor/Kolektor/Messenger/Driver
Asia Solution Phillippines Inc.
28/F Antel Global Corporate Center
3 Doña Julia Vargas Avenue,
Ortigas Center, Pasig
Mobile # : +63-916-3989695
===



> On Thu, May 25, 2006 at 07:53:12AM -0700, Olga Zenkova wrote:
> > mailboxes with field "To: user3" in it. There are no
> > user1 or user2 in this field. Is it possible to cut
> > off these letters? Especially it is difficult to
> > explain for user1 and user2 why they got letters
> > addressed not for them

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


Re: pkg_upgrade?

2006-05-29 Thread Kris Kennaway
On Mon, May 29, 2006 at 07:42:43PM -0400, Joe wrote:
> Hi,
> 
> I've read the documentation and it seems there's no pkg_upgrade or 
> pkg_update, or a way to install an updated/upgraded package.  I'd like 
> to determine if that is indeed the case.

portupgrade -P or -PP

Kris


pgpGNkBQGy4Ip.pgp
Description: PGP signature


Re: Newsyslog problem using Apache 2.2.x

2006-05-29 Thread Garance A Drosihn

At 8:22 AM +0200 5/29/06, Pelle Andersson wrote:

A number of days ago I sucessfully upgraded Apache from 2.0.x
series to 2.2.x series.

Everything worked perfekt except newsyslog. I'm using the
following in newsyslog.conf (worked perfect in Apache 2.0.x):

/var/log/apache/*.log root:wheel 640 7 * $D05 GZB /var/run/httpd.pid 30

The error that returns is this:
"newsyslog: log /var/log/apache/httpd-error.log.0 not compressed because
daemon(s) not notified"
"newsyslog: can't notify daemon, pid 30076: No such process"


Your entry in newsyslog.conf tells newsyslog that it should
look at the file  /var/run/httpd.pid
to find the active apache process.

Newsyslog read that file when it needed to rotate the log files,
and it found the number "30076" in that file.  However, there
was no process 30076 running at that time.  Therefore, newsyslog
has to assume that whatever process *is* writing to that file
has not been notified that the file has changed.  So it will
not compress the httpd-error.log.0 file.

So, you need to find out where the new version of apache is
storing the active process-id (pid) for itself.

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Does Marvell 88E8053 PCIe Gigabit LAN controller work with 6.0?

2006-05-29 Thread Aaron VanAlstine
Folks,

I have an ASUS P5LD2 mobo with a Marvell 88E8053 PCIe Gigabit LAN
controller. FreeBSD doesn't seem to recognize it. Should the LAN controller
work out of the box or am I missing a driver?

ifconfig returns plip0: and lo0: with their respective flags. Sysinstall
says plip0 is an "unknown interface type." The speed LED is orange
indicating a 100 Mbps connection, but the act/link is off. My ISP supports
DHCP.

Thanks!

-- Aaron VanAlstine


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


Re: User Access restriction.

2006-05-29 Thread GiL A. Virtucio
to restrict users from navigating outside their home directories through FTP 
try using an FTP server that support chrooting. you might want to check 
proftpd.  http://www.proftpd.org/

it is also included in the ports collection.

hope this helps :)


=
Gil A. Virtucio
Janitor/Kolektor/Messenger/Driver
Asia Solution Phillippines Inc.
28/F Antel Global Corporate Center
3 Doña Julia Vargas Avenue,
Ortigas Center, Pasig
Office # : +63-2-687-0692 loc. 103
Mobile # : +63-916-3989695
http://www.gihl.eu.org/
=
- Original Message - 
From: "Marwan Sultan" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, May 30, 2006 5:15 AM
Subject: User Access restriction.



Hello Everyone,

 I have a server Up and running, 4.8-R, (well why 4.8? its up since years)
 However, this server is for commercial use, recently, we started Home 
pages hosting,

 which requier me to give the user access to the shell,

 Well, the question,

 Lets say, I have 2 groups, Group1, Group2
 under Groupe1 is the webpages shell accounts (user accounts)
 and group2, just shell users,

 If user1 from Group1 will ftp or ssh to the box, his default home path 
will be

 /home/group1/user1
But, he still can navigate thro his FTP or ssh to see the directories and 
read files of group1 or

group2, and play around lilbit,

PLEASE how to restrict this user from going outside his shell account and 
restrict him from
viewing others folders and webpages ? If i will chmod to something 
limited, then even when

he browse the web to his webpage it wont work,

So how to have the restriction in the same time viewing his web thro any 
browser worldwide?


Sorry for the long email.

Thank you,
Marwan

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


6.1-RELEASE for PPC ?

2006-05-29 Thread Jason Self

I've read the announcement about FreeBSD 6.1-RELEASE from
http://www.freebsd.org/releases/6.1R/announce.html and decided to
download it.

"FreeBSD 6.1-RELEASE supports the i386, pc98, alpha, sparc64, amd64,
powerpc, and ia64 architectures..."

But... 6.1 doesn't seem to exist for PPC???

The PPC link at http://www.freebsd.org/where.html points to
ftp://ftp.freebsd.org/pub/FreeBSD/releases/ppc/ISO-IMAGES/6.1/ which
doesn't exist. In addition, there are no 6.1 torrents for PPC, and
none of the mirrors seem to contain ISOs or torrents either.

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


Re: 6.1-RELEASE for PPC ?

2006-05-29 Thread Kris Kennaway
On Mon, May 29, 2006 at 07:47:32PM -0700, Jason Self wrote:
> I've read the announcement about FreeBSD 6.1-RELEASE from
> http://www.freebsd.org/releases/6.1R/announce.html and decided to
> download it.
> 
> "FreeBSD 6.1-RELEASE supports the i386, pc98, alpha, sparc64, amd64,
> powerpc, and ia64 architectures..."
> 
> But... 6.1 doesn't seem to exist for PPC???

Ask on the PPC list.  Probably the PPC project needs additional
developers though.  This would be a great opportunity for someone who
cares about FreeBSD/PPC to step up and become involved.

Kris


pgpmPgrSNcuxC.pgp
Description: PGP signature


Re: troubleshooting network settings

2006-05-29 Thread Malcolm Fitzgerald


On 29/05/2006, at 11:37 PM, Kevin Kinsey wrote:


Malcolm Fitzgerald wrote:

On 29/05/2006, at 1:10 PM, Kevin Kinsey wrote:

Malcolm Fitzgerald wrote:
I am running freeBSD v6.0 security on a home network behind an adsl 
router. I cannot connect to localhost from a browser (apache is 
running!)

I cannot connect to localhost port 22 (KPackage tries to use ssh)
What can cause these problems? How can I troubleshoot them?
I am very new to freeBSD, so part of my question is "where do I 
begin?". I have a copy of Complete freeBSD beside me but can't get 
the magical incantations right. Suggestions appreciated.


New to "Nix like" systems in general, or just new to FreeBSD?

Here are a few suggestions ... no "magic bullet" here, though:

First, check to see if the interface exists:

$ ifconfig lo0
lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff00

So, we have a loopback interface (in this case on both IPv4
and IPv6).

bsd-box# ifconfig -a
rl0: flags=8843 mtu 1500
options=8
inet6 fe80::2e0:4cff:fe08:e02a%rl0 prefixlen 64 scopeid 0x1
inet 192.168.1.104 netmask 0xff00 broadcast 192.168.1.255
ether 00:e0:4c:08:e0:2a
media: Ethernet autoselect (100baseTX )
status: active
plip0: flags=108810 mtu 1500
lo0: flags=8008 mtu 16384


Hmm, is that all?  Unusual; I'd think the loopback _should_ be set
up correctly.

`ifconfig lo0 -inet 127.0.0.1 netmask 255.255.255.0`  ??


If that fixes it, then we have to figure out *why* it's not being
doing automatically.  Problem during init/rc, most likely ... weird.



Running that command returns this:

ifconfig: -inet: bad value


malcolm

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


Re: Does Marvell 88E8053 PCIe Gigabit LAN controller work with 6.0?

2006-05-29 Thread Z.C.B.
On Mon, 29 May 2006 18:26:27 -0700
Aaron VanAlstine <[EMAIL PROTECTED]> wrote:

> Folks,
> 
> I have an ASUS P5LD2 mobo with a Marvell 88E8053 PCIe Gigabit LAN
> controller. FreeBSD doesn't seem to recognize it. Should the LAN
> controller work out of the box or am I missing a driver?
> 
> ifconfig returns plip0: and lo0: with their respective flags.
> Sysinstall says plip0 is an "unknown interface type." The speed LED
> is orange indicating a 100 Mbps connection, but the act/link is
> off. My ISP supports DHCP.

IIRC that is the Yukon chipset. I have one on my laptop and it does
not work. They have a binary package for it and they released the
source under BSDL for it as well. The problem I have with it is it
does not detect the carrier.

Check around on the lists and you will find a link to the source. You
can find the binary driver on their site.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Does Marvell 88E8053 PCIe Gigabit LAN controller work with 6.0?

2006-05-29 Thread Dev Tugnait
yes it does the driver is myk ... you need to download it yourself.


On Mon, 2006-05-29 at 18:26 -0700, Aaron VanAlstine wrote:
> Folks,
> 
> I have an ASUS P5LD2 mobo with a Marvell 88E8053 PCIe Gigabit LAN
> controller. FreeBSD doesn't seem to recognize it. Should the LAN controller
> work out of the box or am I missing a driver?
> 
> ifconfig returns plip0: and lo0: with their respective flags. Sysinstall
> says plip0 is an "unknown interface type." The speed LED is orange
> indicating a 100 Mbps connection, but the act/link is off. My ISP supports
> DHCP.
> 
> Thanks!
> 
> -- Aaron VanAlstine
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
Dev Tugnait <[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: Sharing /usr/local/www

2006-05-29 Thread N.J. Thomas
* Kyrre Nygard <[EMAIL PROTECTED]> [2006-05-27 11:12:19 +0200]:
> > > I have a team of designers working on web 2.0 like sites.
> > >
> > > I have added them all to this box, now I'm wondering what's the
> > > most convenient way of giving them all access to /usr/local/www?
>
> > CVS is your friend.
> 
> Yeah I hear a lot of people like CVS.
> 
> But I fail to realize how it might assist me though.

Kyrre,

CVS is a version control tool. A version control tool manages changes to
information, sometimes among multiple people.

It sounds like to me like you really need a version control tool for
what you want to do. CVS is a good choice for this, Subversion is
better.

Yes, there might be scripts that accomplish this, but most (good)
version control tools will:

- allow you to manage changes to data over time

- remember every change ever made to your data, allowing you to
  recover older versions, or see the history of how it changed

- allow access across networks, which allows it to be used by people
  on different computers

- give you the ability for various people to modify and manage (i.e.
  collaborate on) the same set of data from their respective
  locations

(The above was paraphrased from "Version Control with Subversion", by
Collins-Sussman, Fitzpatrick, and Pilato, v1.2, Ch 1.)

You will run into this problem over and over again. Do yourself a favor
and learn how to use a good version control system now, or else you will
find yourself doomed to reinvent it, poorly. (Apologies to H. Spencer.)

Thomas

-- 
N.J. Thomas
[EMAIL PROTECTED]
Etiamsi occiderit me, in ipso sperabo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


squid questions

2006-05-29 Thread Imran Imtiaz
I'm running squid on my freebsd but in the log most of the pages are TCP_MISS 
is that fine aur I'll have to tune squid a bit more.
Most of the configurations are default.

Regards,
Imran

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


why dns timeout error is occuring

2006-05-29 Thread Imran Imtiaz

I am having a local dns server that resolves the ips for my lan but when it try 
to resolve an ip it give me dns timeout error and also resolves the IP what can 
the the problem, below is the output of nslookup command on windows.

C:\Documents and Settings\Imran>nslookup bsd.thelakecity.com.pk
Server:  darkstar.thelakecity.com.pk
Address:  192.168.0.3

DNS request timed out.
timeout was 2 seconds.
Name:darkstar.thelakecity.com.pk
Address:  192.168.0.3
Aliases:  bsd.thelakecity.com.pk


regards,
Imran

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


XGL / compiz

2006-05-29 Thread vayu

Anyone know how to get these working on FreeBSD?


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