Re: Custom termcap entries and installworld

2006-05-28 Thread Stephen Hurd

Matthew Seaman wrote:

I think you're not going to have much luck here.  Custom termcap entries
are not something that most FreeBSD users deal with and consequently there
does not seem to be any useful mechanism established for managing them.
  
Hrm... maybe if I raise a big enough stink termcap can be installed in 
/etc, managed by mergemaster, and everyone will go away happy... me 
because I have what I want and everyone else because I finalyl shut up.  ;-)

The curses(3X) man page seems to be they key reference.  Particularly
the section on environment variables: TERM, TERMCAP, TERMPATH.  It does
also mention the possibility of using ${HOME}/.termcap to hold supplementary
termcap entries. However, these man pages are rather confusing: many of them
talk about terminfo(5) in terms of 'it is going to replace termcap(5) any
day now'.  But terminfo(5) is a SysV-ism and supported only as a compatibility
thing under FreeBSD.
  
I'm fairly certain that anything the curses man pages have to say on the 
topic is wrong (and I dare you to read the terminfo manpage - it's been 
dead on my system for some time... but that's Ok, since it's not 
applicable).  I believe that *BSD is the only platform using termcap 
with ncurses left on the planet.  I use termcap(5) as my primary source, 
but have a firm belief that the last two thirds of the "CAVEATS AND 
BUGS" section is completely wrong.

Most people will be perfectly happy with the default termcap database -- so
long as it provides xterm / vt100 and cons25 almost all situations are covered.
  

Yeah.

For your purposes if using environment variables to achieve your ends turns out
not to be workable, then I'd suggest keeping a backup copy of your customised
termcap somewhere where system updates won't overwrite it -- keeping it
in CVS or similar would be a good move -- and writing yourself a little
script to merge in your changes to /usr/share/misc/termcap and then re-run
'cap_mkdb /usr/share/misc/termcap' after a system update.  I've a feeling that
/etc/termcap is there mostly for historical compatibility now-adays.
  
*nod* I've done a basic hack now and plastered stickynotes on all my 
systems with dumb terminals.  We'll see how well that system works out.  :-)


I haven't yet found a way to use env variables (and haven't futzed 
around with ~/.termcap yet) with entries in /etc/ttys I suspect it won't 
work but I won't know until I beat myself to death with them.

___
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-28 Thread Matthew Seaman
Stephen Hurd wrote:
> 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?

I think you're not going to have much luck here.  Custom termcap entries
are not something that most FreeBSD users deal with and consequently there
does not seem to be any useful mechanism established for managing them.

The curses(3X) man page seems to be they key reference.  Particularly
the section on environment variables: TERM, TERMCAP, TERMPATH.  It does
also mention the possibility of using ${HOME}/.termcap to hold supplementary
termcap entries. However, these man pages are rather confusing: many of them
talk about terminfo(5) in terms of 'it is going to replace termcap(5) any
day now'.  But terminfo(5) is a SysV-ism and supported only as a compatibility
thing under FreeBSD.

Most people will be perfectly happy with the default termcap database -- so
long as it provides xterm / vt100 and cons25 almost all situations are covered.

For your purposes if using environment variables to achieve your ends turns out
not to be workable, then I'd suggest keeping a backup copy of your customised
termcap somewhere where system updates won't overwrite it -- keeping it
in CVS or similar would be a good move -- and writing yourself a little
script to merge in your changes to /usr/share/misc/termcap and then re-run
'cap_mkdb /usr/share/misc/termcap' after a system update.  I've a feeling that
/etc/termcap is there mostly for historical compatibility now-adays.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Newsyslog problem using Apache 2.2.x

2006-05-28 Thread Pelle Andersson
Hi List!

Doesn't know if this is a FreeBSD error or a Apache error.
Im using FreeBSD 4.10 PatchLevel #23. For a number of days ago
i was sucessfully upgrading Apache from 2.0.x series to 2.2.x series.

Everything worked perfekt except newsyslog. Im 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"

I also have some problem with SSL - but I don't know if these problems
are related. I was using "passphrase exec:/dir/dir/..." - stoped working.
Needed to change to "passphrase builtin" to get it work.
Just a parenthesis of the above problem.

BR, TIA - Pelle

--

I am using the free version of SPAMfighter for private users.
It has removed 17 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len


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


Openoffice compilation failure

2006-05-28 Thread Subhro

Hello folks,

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?

... cleaning the output tree ...
... removing directory
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/inst
setoo_native/unxfbsd.pro/OpenOffice/bsd/zip/en-US ...
... removing directory
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/inst
setoo_native/unxfbsd.pro/OpenOffice/bsd/services.rdb/en-US ...
... removing directory
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/inst
setoo_native/unxfbsd.pro/OpenOffice/bsd/starregistryrdb/en-US ...
... removing directory
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/inst
setoo_native/unxfbsd.pro/OpenOffice/bsd/stripped/en-US ...

**
ERROR: ERROR: "epm -f bsd openoffice.org-gnome-integration
/usr/ports/editors/op
enoffice.org-2.0/work/OOB680_m5/instsetoo_native/unxfbsd.pro/OpenOffice/bsd/list
file/en-US/epm_OpenOffice_gid_Module_Optional_Gnome_unxfbsd_OOB680__en-US.lst
-v   2>&1 |"!
in function: call_epm
**

**
ERROR: Saved logfile:
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/insts
etoo_native/unxfbsd.pro/OpenOffice/bsd/logging/en-US/log_OOB680__en-US.log
**
Mon May 29 11:22:37 2006 (01:10 min.)
dmake:  Error code 255, while making 'openoffice_en-US.bsd'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/usr/ports/editors/openoffice.org-2.0/w
ork/OOB680_m5/instsetoo_native/util
dmake:  Error code 1, while making 'build_instsetoo_native'
'---* *---'
*** Error code 255


Thanks and Best Regards
Subhro

--
Subhro Kar
Security Engineer
iViZ Techno Solutions Pvt. Ltd.
Dhanshree Bldg, 1st Floor
Plot XI-16, Sector V
Salt Lake City
700091
India
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


clear and present danger

2006-05-28 Thread james dandey
When ever a US DOJ, military or other intelligence officer is involved in 
stealing from their suspects and using others (potential witnesses) to help 
with his crime, he is now a clear and present danger.
 
 This officer has opened themselves up to blackmail/collusion and can be 
compromised by the  "unbeknown" foreign operative that may have helped with the 
theft. California (bay area) is rife with these corrupt officers.
 
 Oh, and when you loosen the exhaust fitting beneath my car so that CO fills 
the compartment, you are not only trying to silence me but also endangering the 
lives of others.


-
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
___
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-28 Thread Stephen Hurd

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?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Network Design

2006-05-28 Thread Scott Sipe


On May 28, 2006, at 11:49 PM, Atom Powers wrote:




Their main office location has:
- 3 external static IPs on a DSL connection (all aliased on one nic)
- an internal network of 10.0.0.0/255.0.0.0


How many computers are on this network? Probably less than 253. Make
sure your DHCP server is only giving out leases in, say, 10.0.0.1-254
range and then change it to a /24 subnet, or whatever fits your
environment.


Small network--about 20 at the main location, and maybe 2-3 at the  
secondary location, once it's up.





- a wireless network with IP range 192.168.1.0/255.255.255.0 (nat'ed
and running off the firewall box)


NATed from the 10/8 network too? You may want to just route between
the wired and wireless, it will save you some headaches
troubleshooting things later. Security policies between the networks
should be implemented by the firewall.


Yeah, it was setup this way a couple years ago, and hasn't been  
changed in the meanwhile. I was thinking it would probably be a good  
idea to just do normal routing, which it sounds like you've confirmed :)




They are adding a second warehouse location. It will also have one
static IP address (running on dsl also). I'd like to get a IPsec
connection going between the location so all warehouse traffic goes
through the main branch. I've done this much before.

They also want to subdivide up the network at their main location so
some terminals can be on gige and some are on 100. I believe I've
read you shouldn't mix and match 100/1000?


Do you know what your bandwidth usage is? Chances are very good that
the peak usage for the workstations is around 8-10Mbps. In other
words, you almost certainly don't need GigE. Even my file servers,
that service several hundred roaming profiles, peak around 70-80MBps.
Find out what your bandwidth usage is before you go out and spend
several thousand dollars on an upgrade that won't do you any good.  (
I use cacti and SNMP agents to watch my bandwidth usage. )


It's not an issue for most of the workstations, but there are several  
workstations that do large file transfers (working with graphics,  
etc) on a regular basis. They support gige already (macs), the  
fileserver has gige (em interface) and there's an unused SMC switch  
available. I thought it was more complicated I think.



Assuming you have a switched network, you should have no problems
mixing your 10/100Base network with your 10/100/1000Base network. Even
if you were using hubs you shouldn't have a problem. (Do they even
make 1000Base Ethernet hubs?)



That's good to know. I had been unsure if there were issues relating  
to MTU issues--like if I enabled jumbo frames (the switch I have  
available supports jumbo frames, which I had read were good to enable)



I don't really have any experience with how subnetting and IP ranges
should work for a configuration like this (local network, remote
ipsec location, wireless network, etc).


Simple subnetting alone won't *really* separate two network if they
share physical infrastructure. You would need to either completely
separate the physical networks or do something with 802.1q VLANs.
Either way you will need a router.


Looking for any assistance (advice, links, anything!) on how to setup
a sane and well designed network.


Head down to your local privately owned book store and grab the
biggest book on TCP/IP that you can find. Chances are it will be
terribly dry and not very useful, but it is a place to start.

This book is very good, but probably way too technical for what you
are trying to do:
The Protocols (TCP/IP Illustrated, Volume 1) (Hardcover)
by W. Richard Stevens


Thanks for all your advice, I'll check that book out.

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


Re: rsync errors

2006-05-28 Thread Charles Howse


On May 28, 2006, at 11:41 PM, Philip Hallstrom wrote:

I have rsync installed on 2 6.1-RELEASE boxes on my home lan.  I  
want to sync the webserver (curly) to the backup server (moe).   
When I run rsync on moe, I get the following:


$ rsync -avz curly:/usr/local/etc/apache22/httpd.conf /usr/local/ 
etc/apache22

Password:
receiving file list ... done
rsync: mkstemp "/usr/local/etc/apache22/.httpd.conf.p9eLuI"  
failed: Permission denied (13)

inflate returned -3 (0 bytes)
rsync error: error in rsync protocol data stream (code 12) at  
token.c(421) [receiver=2.6.8]
rsync: connection unexpectedly closed (46 bytes received so far)  
[generator]
rsync error: error in rsync protocol data stream (code 12) at io.c 
(472) [generator=2.6.8]


Where can I look to correct this?


Do you have write access to moe:/usr/local/etc/apache22?  What  
happens if you try and create a file in that directory... does it  
work?


It was a permissions problem, fixed now, thanks very much.


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


Re: Network Design

2006-05-28 Thread Mikhail Goriachev
Scott Sipe wrote:
> 
> I'm helping a small business expand their networking.
> 
> right now they have one office location (with a freebsd firewall box,
> and a freebsd box running db, web, samba, etc).
> 
> Their main office location has:
> - 3 external static IPs on a DSL connection (all aliased on one nic)
> - an internal network of 10.0.0.0/255.0.0.0
> - a wireless network with IP range 192.168.1.0/255.255.255.0 (nat'ed and
> running off the firewall box)
> 
> They are adding a second warehouse location. It will also have one
> static IP address (running on dsl also). I'd like to get a IPsec
> connection going between the location so all warehouse traffic goes
> through the main branch. I've done this much before.
> 
> They also want to subdivide up the network at their main location so
> some terminals can be on gige and some are on 100. I believe I've read
> you shouldn't mix and match 100/1000?
> 
> I don't really have any experience with how subnetting and IP ranges
> should work for a configuration like this (local network, remote ipsec
> location, wireless network, etc).
> 
> Looking for any assistance (advice, links, anything!) on how to setup a
> sane and well designed network.


Hi,

You could have something like this:

10.0.0.0/255.255.0.0# for your 100s
10.1.0.0/255.255.0.0# for your 1000s
10.2.0.0/255.255.0.0# for the second warehouse

Each network would be capable of handling 65,534 hosts.

Also, I don't see any problems regarding mix and match 100/1000. I'd
keep them together if they fall into same category/department
(workstations?).

Here, some links for you:

http://jodies.de/ipcalc
http://innovation.dc-uoit.ca/kyrytows/subnetting/subnetting.htm

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: Network Design

2006-05-28 Thread Atom Powers

On 5/28/06, Scott Sipe <[EMAIL PROTECTED]> wrote:


I'm helping a small business expand their networking.


Good for you.


right now they have one office location (with a freebsd firewall box,
and a freebsd box running db, web, samba, etc).


Good for them.


Their main office location has:
- 3 external static IPs on a DSL connection (all aliased on one nic)
- an internal network of 10.0.0.0/255.0.0.0


How many computers are on this network? Probably less than 253. Make
sure your DHCP server is only giving out leases in, say, 10.0.0.1-254
range and then change it to a /24 subnet, or whatever fits your
environment.


- a wireless network with IP range 192.168.1.0/255.255.255.0 (nat'ed
and running off the firewall box)


NATed from the 10/8 network too? You may want to just route between
the wired and wireless, it will save you some headaches
troubleshooting things later. Security policies between the networks
should be implemented by the firewall.


They are adding a second warehouse location. It will also have one
static IP address (running on dsl also). I'd like to get a IPsec
connection going between the location so all warehouse traffic goes
through the main branch. I've done this much before.

They also want to subdivide up the network at their main location so
some terminals can be on gige and some are on 100. I believe I've
read you shouldn't mix and match 100/1000?


Do you know what your bandwidth usage is? Chances are very good that
the peak usage for the workstations is around 8-10Mbps. In other
words, you almost certainly don't need GigE. Even my file servers,
that service several hundred roaming profiles, peak around 70-80MBps.
Find out what your bandwidth usage is before you go out and spend
several thousand dollars on an upgrade that won't do you any good.  (
I use cacti and SNMP agents to watch my bandwidth usage. )

Assuming you have a switched network, you should have no problems
mixing your 10/100Base network with your 10/100/1000Base network. Even
if you were using hubs you shouldn't have a problem. (Do they even
make 1000Base Ethernet hubs?)

If users are complaining about poor network performance, and aren't
doing something crazy like live database replication to their
desktops, I would bet cold hard cash that bandwidth isn't the problem.


I don't really have any experience with how subnetting and IP ranges
should work for a configuration like this (local network, remote
ipsec location, wireless network, etc).


Simple subnetting alone won't *really* separate two network if they
share physical infrastructure. You would need to either completely
separate the physical networks or do something with 802.1q VLANs.
Either way you will need a router.


Looking for any assistance (advice, links, anything!) on how to setup
a sane and well designed network.


Head down to your local privately owned book store and grab the
biggest book on TCP/IP that you can find. Chances are it will be
terribly dry and not very useful, but it is a place to start.

This book is very good, but probably way too technical for what you
are trying to do:
The Protocols (TCP/IP Illustrated, Volume 1) (Hardcover)
by W. Richard Stevens



--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: rsync errors

2006-05-28 Thread Norberto Meijome
On Sun, 28 May 2006 23:34:33 -0500
Charles Howse <[EMAIL PROTECTED]> wrote:

> $ rsync -avz curly:/usr/local/etc/apache22/httpd.conf /usr/local/etc/ 
> apache22
> Password:
> receiving file list ... done
> rsync: mkstemp "/usr/local/etc/apache22/.httpd.conf.p9eLuI" failed:  
> Permission denied (13)

the user you are executing as on your local machine doesnt have rights to
create files (temp file) in /usr/local/etc/apache22. 

You can set the temp path to use as an option to rsync

man rsync


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


Re: rsync errors

2006-05-28 Thread Philip Hallstrom
I have rsync installed on 2 6.1-RELEASE boxes on my home lan.  I want to sync 
the webserver (curly) to the backup server (moe).  When I run rsync on moe, I 
get the following:


$ rsync -avz curly:/usr/local/etc/apache22/httpd.conf /usr/local/etc/apache22
Password:
receiving file list ... done
rsync: mkstemp "/usr/local/etc/apache22/.httpd.conf.p9eLuI" failed: 
Permission denied (13)

inflate returned -3 (0 bytes)
rsync error: error in rsync protocol data stream (code 12) at token.c(421) 
[receiver=2.6.8]

rsync: connection unexpectedly closed (46 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(472) 
[generator=2.6.8]


Where can I look to correct this?


Do you have write access to moe:/usr/local/etc/apache22?  What happens if 
you try and create a file in that directory... does it work?


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


Re: difference between mbox and maildir?

2006-05-28 Thread Mikhail Goriachev
Vulpes Velox wrote:
> On Sun, 28 May 2006 14:50:05 -0800
> "Noah" <[EMAIL PROTECTED]> wrote:
> 
>> Hi there,
>>
>> might somebody send me to a website that explains the differnce
>> between mbox and maildir?  Or maybe you can just explain the
>> differences in a response.
> 
> http://en.wikipedia.org/wiki/Mbox
> http://en.wikipedia.org/wiki/Maildir
> 
> Maildir is your friend. Mbox likes to blow up. The only nice thing
> about mbox is it only uses a single inode.

Yep, maildir is the way to go. Incremental backups are easier with it as
well.

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


rsync errors

2006-05-28 Thread Charles Howse

Hi,
I have rsync installed on 2 6.1-RELEASE boxes on my home lan.  I want  
to sync the webserver (curly) to the backup server (moe).  When I run  
rsync on moe, I get the following:


$ rsync -avz curly:/usr/local/etc/apache22/httpd.conf /usr/local/etc/ 
apache22

Password:
receiving file list ... done
rsync: mkstemp "/usr/local/etc/apache22/.httpd.conf.p9eLuI" failed:  
Permission denied (13)

inflate returned -3 (0 bytes)
rsync error: error in rsync protocol data stream (code 12) at token.c 
(421) [receiver=2.6.8]
rsync: connection unexpectedly closed (46 bytes received so far)  
[generator]
rsync error: error in rsync protocol data stream (code 12) at io.c 
(472) [generator=2.6.8]


Where can I look to correct this?

--
Bubba's Recipe Collection -
http://bubbabbq.homeunix.net/recipes.html


___
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-28 Thread Kevin Kinsey

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).

---
$ ping localhost
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.088 ms

This checks name resolution.  If the machine doesn't know
where "localhost" is, you probably need to add a hint in
/etc/hosts (but that should've been done already, IIRC).

-
$ netstat -anf inet | grep 80
tcp4   0  0  *.80  *.*   LISTEN

This shows a server listening on port 80 ... the http port.
Grep "22" for sshd.  Incidentally, you can find that sort
of thing (what port number to look for) out this way:

$ grep ssh /etc/services
ssh  22/tcp#Secure Shell Login
ssh  22/udp#Secure Shell Login
sshell  614/tcp#SSLshell
sshell  614/udp
x11-ssh 6010/tcp   #Unofficial name, for convenience
x11-ssh 6010/udp
--
This is often useful in this type of situation - we'll check
to see if something is actually running, and whether it returns
a meaningful error message if it's not:

$ telnet localhost 22
Trying ::1...
Connected to localhost.
Escape character is '^]'.
SSH-2.0-OpenSSH_4.2p1 FreeBSD-20050903

To leave, press the "escape character" (shown),
and then type "quit"

---
Are you running a firewall?  If so, the loopback interface
should allow all traffic.  (Of course, if it's not, you'll
have lots of trouble --- but then, you are having a little,
right?)

This box is running ipfw:

$ ipfw show
ipfw: socket: Operation not permitted

Whoops!  Better use root credentials for that.  I use
sudo, a 3rd party app (as do many FBSD users); you may
need to actually use "su" to get root before looking
at firewall rules.

$ sudo ipfw show
00100   47450  15295315 divert 8668 ip from any to any via xl0
00200 1279040 547068572 allow ip from any to any via lo0

So this box is doing NAT (rule 100) and is allowing traffic
on the "loopback" interface (which is from/to 127.0.0.1/localhost
 rule 200).

---

If that's not enough to give some clue, write the list again
with some more information.

HTH,

Kevin Kinsey

___
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-28 Thread YTResearch

Do you have the firewall enabled in rc.conf (ipfw)?
On May 28, 2006, at 5:34 PM, 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.


malcolm

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[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: MailScanner Issues

2006-05-28 Thread Mikhail Goriachev
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]"


Re: PHP viewing in local brwoser.

2006-05-28 Thread Kevin Kinsey

Marwan Sultan wrote:

Hello Gurus,

 I'm On FreeBSD 6.1R, apache-2.2, php5, installed plus KDE3 latest and 
mozilla.

 AddHandler cgi-script .cgi .pl .php   line is enabled in httpd.conf

 basically, i'm learning php so im very new to it.
 I used Quanta/KDevelop to create my php file.

 But from the local machine when i try to browse locally (using any KDE 
browser) php file,

 return blank in the browser, and nothing shows!.
 the .pl extention is added to apache in the addhandler, so it should 
excute,





PHP = "People Hate PERL" ... are you sure you don't want ".php"
there?



 Any help please?
 If I create any .php using any editor, how do i see the result of the 
file locally ?

 whats wrong?

 Thank you
 Marwan



--
Help!  I'm trapped in a Chinese computer factory!

___
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-28 Thread Mikhail Goriachev
Robert Davison wrote:
> Excuse my ignorance, i'm new to this.
>
>   I'm taking it that you mean telnet 83.67.*.* 25
>
>   if so then no, I cant connect.
>


Can you actually connect directly from localhost?

$telnet 127.0.0.1 25


-- 
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: troubleshooting network settings

2006-05-28 Thread Kouji Ito
Sorry.
(1) Commented /etc/inetd.conf
 #sshstream  tcp nowait  root/usr/sbin/sshd  sshd -i -4
(2) Add /etc/rc.conf
 sshd_enable="YES"
(3) Send HUP signal to inetd
 # pkill -HUP inetd
(4) Start sshd
 # cd /etc/rc.d
 # sh sshd start
(5) Try ssh login
 # ssh -l user_name localhost
How about?

I tryed .

inchiki# ifconfig -a
fxp0: flags=8843 mtu 1500
options=b
inet6 fe80::208:dff:fe87:be0d%fxp0 prefixlen 64 scopeid 0x1
inet 0.0.0.0 netmask 0xff00 broadcast 0.255.255.255
ether 00:08:0d:87:be:0d
media: Ethernet autoselect (none)
status: no carrier
lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff00
tun0: flags=8010 mtu 1500

fxp0 is down.
lo0 is up.

inchiki# ps -ax | grep sshd
 1003  ??  Is 0:00.03 /usr/sbin/sshd

sshd is running.

inchiki# ssh -l kouji localhost
Password:XX
 :
 :
%
logged in at kouji user.





Malcolm Fitzgerald 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.
> 
> 
> 
> On 29/05/2006, at 10:58 AM, Kouji Ito wrote:
> 
>> Check /etc/rc.conf
>> inetd_enable="YES"
> 
> 
> I added that line. No change after rebooting
> 
>> Check /etc/inetd.conf
>> sshstream  tcp nowait  root/usr/sbin/sshd  sshd -i -4
> 
> 
> It is now uncommented. Every line in that file was commented out
> No change after rebooting
> 
> malcolm
> 
> ___
> 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: PHP viewing in local brwoser.

2006-05-28 Thread Chris Howells
On Monday 29 May 2006 02:21, Marwan Sultan wrote:

>   But from the local machine when i try to browse locally (using any KDE
> browser) php file,
>   return blank in the browser, and nothing shows!.

Because they have not been served by the web browser, and hence have not been 
processed by PHP.

>   Any help please?
>   If I create any .php using any editor, how do i see the result of the
> file locally ?
>   whats wrong?

Put the files in your web server's DocumentRoot, load http://localhost in your 
web browser.

-- 
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://www.chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org


pgpJvcLXhqfRk.pgp
Description: PGP signature


Re: troubleshooting network settings

2006-05-28 Thread Malcolm Fitzgerald

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.



On 29/05/2006, at 10:58 AM, Kouji Ito wrote:


Check /etc/rc.conf
inetd_enable="YES"


I added that line. No change after rebooting


Check /etc/inetd.conf
sshstream  tcp nowait  root/usr/sbin/sshd  sshd -i 
-4


It is now uncommented. Every line in that file was commented out
No change after rebooting

malcolm

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


PHP viewing in local brwoser.

2006-05-28 Thread Marwan Sultan

Hello Gurus,

 I'm On FreeBSD 6.1R, apache-2.2, php5, installed plus KDE3 latest and 
mozilla.

 AddHandler cgi-script .cgi .pl .php   line is enabled in httpd.conf

 basically, i'm learning php so im very new to it.
 I used Quanta/KDevelop to create my php file.

 But from the local machine when i try to browse locally (using any KDE 
browser) php file,

 return blank in the browser, and nothing shows!.
 the .pl extention is added to apache in the addhandler, so it should 
excute,


 Any help please?
 If I create any .php using any editor, how do i see the result of the file 
locally ?

 whats wrong?

 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: troubleshooting network settings

2006-05-28 Thread Kouji Ito


Check /etc/rc.conf
inetd_enable="YES"

Check /etc/inetd.conf
sshstream  tcp nowait  root/usr/sbin/sshd  sshd -i -4

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.


malcolm

___
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: difference between mbox and maildir?

2006-05-28 Thread Vulpes Velox
On Sun, 28 May 2006 14:50:05 -0800
"Noah" <[EMAIL PROTECTED]> wrote:

> 
> Hi there,
> 
> might somebody send me to a website that explains the differnce
> between mbox and maildir?  Or maybe you can just explain the
> differences in a response.

http://en.wikipedia.org/wiki/Mbox
http://en.wikipedia.org/wiki/Maildir

Maildir is your friend. Mbox likes to blow up. The only nice thing
about mbox is it only uses a single inode.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Nuevo medio de seguridad

2006-05-28 Thread CajaMadrid . es

   Inicio | Accesibilidad | Boletines | Atención al cliente | Ayuda |
   Oficinas y cajeros | Mapa Web | Portales Caja Madrid
 _

   [SB_08_IMG.GIF] [SB_08_CLAIM.GIF]
   Oficina Internet






   Debido a los tentativas recientes de fraude Caja Madrid ha introducido
   un nuevo medio de seguridad. Debes conectar en tu cuenta de Caja
   Madrid usando tu ordenador personal o del lugar y ordenador que has
   utilizado en el pasado. Tu dirección IP será colocada a nuestra base
   de datos. Cualquier tentativa de conexión de un diverso dirección IP
   necesita confirmación sobre el el teléfono.
   Puedes corregir su detalles personales y su dirección IP principal
   usando el panel de control en cualquier momento.
   Por favor dar un plazo de 5 minutos a partir del momento que has
   llenado el formulario nuestro y darnos su dirección IP principal pulsa
   [1]aquí o usando la dirección.

   [2]https://oi.cajamadrid.es/CajaMadrid/oi/pt_oi/Login/login_IP_conf=tr
   ue







   Información Legal | Seguridad | Privacidad | Tarifas | Tablón de
   Anuncios
 _

References

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


troubleshooting network settings

2006-05-28 Thread Malcolm Fitzgerald
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.


malcolm

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


Network Design

2006-05-28 Thread Scott Sipe


I'm helping a small business expand their networking.

right now they have one office location (with a freebsd firewall box,  
and a freebsd box running db, web, samba, etc).


Their main office location has:
- 3 external static IPs on a DSL connection (all aliased on one nic)
- an internal network of 10.0.0.0/255.0.0.0
- a wireless network with IP range 192.168.1.0/255.255.255.0 (nat'ed  
and running off the firewall box)


They are adding a second warehouse location. It will also have one  
static IP address (running on dsl also). I'd like to get a IPsec  
connection going between the location so all warehouse traffic goes  
through the main branch. I've done this much before.


They also want to subdivide up the network at their main location so  
some terminals can be on gige and some are on 100. I believe I've  
read you shouldn't mix and match 100/1000?


I don't really have any experience with how subnetting and IP ranges  
should work for a configuration like this (local network, remote  
ipsec location, wireless network, etc).


Looking for any assistance (advice, links, anything!) on how to setup  
a sane and well designed network.


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


Re: difference between mbox and maildir?

2006-05-28 Thread Frank Steinborn
Noah wrote:
> might somebody send me to a website that explains the differnce between mbox
> and maildir?  Or maybe you can just explain the differences in a response.

http://www.google.com/search?hl=de&q=maildir+mbox&btnG=Google-Suche&meta=
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Error Message Upon Boot-up

2006-05-28 Thread Gerard
Jonathan Chen <[EMAIL PROTECTED]>

> On Sun, May 28, 2006 at 03:52:02PM -0400, Gerard E. Seibert wrote:
> > Using: FreeBSD 6.1
> > 
> > I have suddenly started seeing an error message upon boot-up. This is a 
> > snippet of the display when the error message is displayed.
> > 
> > Starting mysql.
> >  dnetcStarting ddclient.
> > /etc/rc: WARNING: $compat5x_enable is not set properly - see rc.conf(5).
> 
> You need:
> 
>   compat5x_enable="YES"
> 
> in /etc/rc.conf

I searched around and figured that out. Now I have a few other questions.

1) How did it suddenly get in my /usr/local/etc/rc.d directory anyway?

2) If it is not specifically enabled or disabled in the rc.conf file,
why is it complaining? Other files in ./rc.d do not complain if there is
no entry in the rc.conf file. They just do not start. At least that is
what I believe happens.

3) Would this be considered a bug of some type?

-- 
Gerard Seibert
[EMAIL PROTECTED]


"Never underestimate the power of stupid people in large groups."

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


difference between mbox and maildir?

2006-05-28 Thread Noah

Hi there,

might somebody send me to a website that explains the differnce between mbox
and maildir?  Or maybe you can just explain the differences in a response.

Cheers,

Noah

___
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-28 Thread Vulpes Velox
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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Error Message Upon Boot-up

2006-05-28 Thread Jonathan Chen
On Sun, May 28, 2006 at 03:52:02PM -0400, Gerard E. Seibert wrote:
> Using: FreeBSD 6.1
> 
> I have suddenly started seeing an error message upon boot-up. This is a 
> snippet of the display when the error message is displayed.
> 
> Starting mysql.
>  dnetcStarting ddclient.
> /etc/rc: WARNING: $compat5x_enable is not set properly - see rc.conf(5).

You need:

compat5x_enable="YES"

in /etc/rc.conf
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "Nyuck, nyuck, nyuck" - Curly
___
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-28 Thread Randy Pratt
On Sun, 28 May 2006 22:51:07 +0200
[EMAIL PROTECTED] (Hans Lambermont) wrote:

> yattaran wrote:
> 
> > Hans Lambermont wrote:
> >> What is the maximum file size on a dvd+r ?
> > 
> > Here's a list of sites I have bookmarked about DVD sizes:
> 
> Hi Yattaran,
> 
> I'm not looking into the size of a DVD disc, I'm looking into the size
> limits of a *file* on the DVD. Sorry for the confusion.
> 
> I can write a file of 4166629386 bytes to the dvd+r just fine, but
> cannot read it afterwards :
> ls: backup.bz2: Value too large to be stored in data type
> 
> The dvddemystified website has an interesting pointer on it in the 'note
> section of chapter 3.3' : "FAT16 also has a 2 gigabyte file size limit"

There is a PR about this:

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

I have a PVR250 tv capture card and it will easily produce files
in excess of 2G.  I applied one of the patches mention in the PR
locally and can read those large files back to the system (and
reapply it after each CVSup since it hasn't been committed).

HTH,

Randy



-- 
___
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-28 Thread Nikolas Britton

On 5/28/06, 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.


More specifically the ISO9660 file system, maybe UDF doesn't have this
limit, you should look into it and report back.

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


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

2006-05-28 Thread Nikolas Britton

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.


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


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

2006-05-28 Thread yattaran

Hans Lambermont wrote:

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



Here's a list of sites I have bookmarked about DVD sizes:

http://en.wikipedia.org/wiki/DVD+R
http://en.wikipedia.org/wiki/DVD-R
http://en.wikipedia.org/wiki/DVD
http://www.dvddemystified.com/dvdfaq.html#7.2
http://www.dvddemystified.com/dvdfaq.html#3.3

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


Error Message Upon Boot-up

2006-05-28 Thread Gerard E. Seibert

Using: FreeBSD 6.1

I have suddenly started seeing an error message upon boot-up. This is a 
snippet of the display when the error message is displayed.


Starting mysql.
 dnetcStarting ddclient.
/etc/rc: WARNING: $compat5x_enable is not set properly - see rc.conf(5).
Configuring syscons: font8x16 font8x14 font8x8 blanktime 
screensaversplash: image decoder found: green_saver


This just started happening and I cannot figure out why. My entire rc.conf 
file follows.


# -- sysinstall generated deltas -- # Sat May 13 06:54:24 2006
# Created: Sat May 13 06:54:24 2006
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
blanktime="3600"
font8x14="iso-8x14"
font8x16="iso-8x16"
font8x8="iso-8x8"
hostname="seibercom.net"
ifconfig_rl0="DHCP"
inetd_enable="YES"
kern_securelevel_enable="NO"
linux_enable="YES"
lpd_enable="YES"
saver="green"
sshd_enable="YES"
usbd_enable="YES"
fetchmail_enable="YES"
ddclient_enable="YES"
fsck_y_enable="YES"
ntpd_enable="YES"
clear_tmp_enable="YES"
mysql_enable="YES"
apache22_enable="YES"
dnetc_enable="YES"
chkprintcap_enable="YES"
samba_enable="YES"
clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"
clamav_milter_enable="YES"
clamav_milter_socket="/var/run/clamav/clmilter.sock"
clamav_milter_flags="-P -m 50 --quarantine-dir=/var/mail/quarantine -T 0"

Since it just started, I am assuming that something got corrupted, but I 
am only guessing. Perhaps someone can assist me.


Thanks!

--
Gerard E. 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]"


Re: Missing devs...

2006-05-28 Thread Anders Troback
On Sun, 28 May 2006 16:25:58 +0100
Aren Olvalde Tyr <[EMAIL PROTECTED]> wrote:

> Hi
> > So now to my question! How do I avoid this dual mounting?
> 
> I have the same problem with my memory card reader. 
> 
> The necessary da1s1 device node slice for my SD memory card is not
> created until after it has been probed during the attempt to mount
> it. The only exception to this is if the card is already inserted
> when the system first boots up.
> 
> Presumably there must be a way to automatically probe the USB
> device/card and create the slice so you can mount it when it is first
> inserted?
> 
> I am wondering if /etc/usbd.conf would be of assistance here. Can you
> get the usbd daemon to automatically "probe" a device for filesystem
> slices during the "attach" stage?
> 
> Aren.

Hi,

I have been using usbd.conf for a workaround. Maybe clumsy but it
works for me!

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...


Thanks for listening!!!

\\troback
-- 


How many Microsoft employees does it take to screw in a light bulb?
None, they declare darkness a new standard.

Anders Trobäck
http://www.troback.com/
-
___
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-28 Thread Hans Lambermont
yattaran wrote:

> Hans Lambermont wrote:
>> What is the maximum file size on a dvd+r ?
> 
> Here's a list of sites I have bookmarked about DVD sizes:

Hi Yattaran,

I'm not looking into the size of a DVD disc, I'm looking into the size
limits of a *file* on the DVD. Sorry for the confusion.

I can write a file of 4166629386 bytes to the dvd+r just fine, but
cannot read it afterwards :
ls: backup.bz2: Value too large to be stored in data type

The dvddemystified website has an interesting pointer on it in the 'note
section of chapter 3.3' : "FAT16 also has a 2 gigabyte file size limit"

Could this be related ?

regards,
   Hans Lambermont
___
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

2006-05-28 Thread Ferdinand Haselbacher (jr.)
On Sun, May 28, 2006 at 09:14:43AM -0400, Mike Jeays wrote:
> On Sun, 2006-05-28 at 08:46 -0400, Grant Peel wrote:
> > Hi all,
> > 
> > When using cron, I understand the >/dev/null thing OK, but what exactly 
> > does 
> >  >2&1 do? Is it usefull anywhere else? Where might one find ducumentation 
> > on 
> > it?
> > 
> > -Grant
> > 
> > 
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> It directs both stdout and stderr to /dev/null.  Look in 'man bash', or
> any tutorial on bash for a more detailed description.  Quite confusing
> syntax, and a hard-to-remember incantation, IMHO.
the trick of the "&" is that the fd (filediscriptor) is kept open and if you
redirect fd 1 to a file and fd 2 to file it would get overwritten!

one last word to Bash: bash seems to be nice, it is indeed, but for real
good and compatible scripting i would recommend you to use plain sh.

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


MailScanner Issues

2006-05-28 Thread Robert Davison
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


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


Re: Sendmail / Mailscanner issues

2006-05-28 Thread Per olof Ljungmark

Per olof Ljungmark wrote:

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 ??


MailScanner config? What tcp port is it supposed to listen to? Is 
sendmail configured to relay to that port? Can you telnet to it ok?


Hmm, it does not look like MailScanner uses tcp at all, rather looks 
directly at queued spool files. If that is the case it could be a 
permissions problem for the sendmail spool directory for instance. Sorry 
for the waste of bandwidth...

___
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-28 Thread Robert Davison
Excuse my ignorance, i'm new to this.
   
  I'm taking it that you mean telnet 83.67.*.* 25
   
  if so then no, I cant connect.
   
  How do I find what port MailScanner is listening on ?

Per olof Ljungmark <[EMAIL PROTECTED]> wrote:
  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 ??

MailScanner config? What tcp port is it supposed to listen to? Is 
sendmail configured to relay to that port? Can you telnet to it ok?



-
 All New Yahoo! Mail – Tired of [EMAIL PROTECTED]@! come-ons? Let our SpamGuard 
protect you.
___
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-28 Thread Kevin Kinsey

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: Sendmail / Mailscanner issues

2006-05-28 Thread Per olof Ljungmark

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 ??


MailScanner config? What tcp port is it supposed to listen to? Is 
sendmail configured to relay to that port? Can you telnet to it ok?

___
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-28 Thread Jonathan Chen
On Sun, May 28, 2006 at 01:15:17PM -0500, Nikolas Britton 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.

You can always try tar+gzip or tar+bzip2.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  "You can get farther with a kind word and a gun
  than you can with a kind word alone" - Al Capone
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2006-05-28 Thread Hans Lambermont
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).

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


Sendmail / Mailscanner issues

2006-05-28 Thread Robert Davison
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]"


access via usb serial adapter

2006-05-28 Thread Dimitar Vasilev

Hi!
Did anyone have success in accessing Sun Ultra workstation (mine is
ultra60 ) via usb serial adapter (Prolific,etc)
I get to the point of seeing device drivers loading, connecting with
9600 bits, 8 bit data, 1 stop bit, parity none, but no success of
message exchange.
Thanks in advance!
--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
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-28 Thread Nikolas Britton

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.



On 5/28/06, Nikolas Britton <[EMAIL PROTECTED]> wrote:
>
> Does FreeBSD / UFS2 offer on the fly disk compression like windows NTFS
> does?
>

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


Why won't FreeBSD boot from hard drive??

2006-05-28 Thread Aaron VanAlstine
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?

My hardware consists of:

ASUS P5LD2 ACPI Bios Revision 0901 motherboard
Pentium D 820 2.8 GHz dual-core
NEC ND-3550A DVD+/-RW
2 x 512 Corsair 667 DDR2 RAM
2 x 80G Western Digital SATA HD configured in RAID 0
ASUS EN6600 graphics card
Antec case
Targus keyboard
Belkin 3-button optical mouse

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


Problem with starting the installation

2006-05-28 Thread Petar Petrovic

I've got the following problem:
I have a hard drive where I intend to install FreeBSD set up as a 
primary master, and one CD/DVD drive set up as a secondary master. When 
I start the FreeBSD (version 6.0) installation, I choose standard 
installation, install Boot Manager (because I have Windows XP on another 
partition), set up partitions and when I choose to start the 
installation from a CD, I get the following error:

Error mounting /dev/acd0 on /dist: Input/output error (5)
What is the problem and how can I solve it?
___
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-28 Thread Iantcho Vassilev

I am not aware of this feature..



On 5/28/06, Nikolas Britton <[EMAIL PROTECTED]> wrote:


Does FreeBSD / UFS2 offer on the fly disk compression like windows NTFS
does?



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


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


Compiling samba3 port on 6.1

2006-05-28 Thread Tom Moore
Hi guys.
I'm trying to build the samba3 port and this is what I get after I select
the options I want in the config screen that asks if I want active directory
support, ldap support, etc.
Broken IPC and code.
Anybody know what this means?

Tom

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.2/349 - Release Date: 5/26/2006
 

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


Re: phpMyAdmin problem - no Edit/Delete on Browse

2006-05-28 Thread Matthew Seaman
Ian Smith wrote:
> On Sun, 28 May 2006, Matthew Seaman wrote:
> 
>  > Ian Smith wrote:
>  > > running 5.4-RELEASE and installed phpMyAdmin 2.6.1.3 with pkg_add -r
> [..]

You would be well advised to upgrade to the latest phpMyAdmin, which is
version 2.8.1, and is in the current ports. There are a number of security
problems that affect many earlier versions.  If you look at the list of
security announcements at http://www.phpmyadmin.net/home_page/security.php
then with version 2.6.1pl3 you're potentially vulnerable to anything announced
after PMASA-2005-1
 
> Think I'll start again with the installed config.  I really can't recall
> if this problem was there since installation, but as mentioned all other
> import/export, create/drop/copy database/table, adding rows etc all just
> works well so far, excepting edit/delete availability on browse. 

I have a vague memory that I've seen something like this mentioned as a
bugfix in the release notes for phpMyAdmin, but I can't put my finger on
exactly where.  You can see the release notes for most phpMyAdmin versions
here:

https://sourceforge.net/project/showfiles.php?group_id=23067&package_id=16462

but the formatting is all wrong before the 2.8.x series.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Disk Compression

2006-05-28 Thread Nikolas Britton

Does FreeBSD / UFS2 offer on the fly disk compression like windows NTFS does?



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


Re: what is the use of drm_os_freebsd.h

2006-05-28 Thread Nikolas Britton

On 5/28/06, william wallace <[EMAIL PROTECTED]> wrote:

thanku sir!
but why there r so many datat type similar to linux in that group of files?


This is another guess... Probably because DRM is a Linux thing, or at
least got it's start in Linux and then was ported to BSD There are
comments in the source code you can read to tell you whats what.


On 5/28/06, Nikolas Britton <[EMAIL PROTECTED]> wrote:
> On 5/27/06, william wallace <[EMAIL PROTECTED]> wrote:
> > hi ,all
> >   I am porting something from linux to freebsd ,i found the
> > DataTypes hard to translate ,then i saw that many types inlinux can be
> > found in drm_os_freebsd.h,such as
> > typedef int8_ts8;
> > typedef int16_t   s16;
> > typedef int32_t   s32;
> > typedef u_int8_t  u8;
> > typedef u_int16_t u16;
> > typedef u_int32_t u32;
> >
> > so ,what is the use of  drm_os_freebsd.h
> > and any advice for me to translate DT from linux to Freebsd?
> >
>
> "The Direct Rendering Manager (DRM) is a device-independent
> kernel-level device driver that provides support for the XFree86
> Direct Rendering Infrastructure (DRI)."  --src/sys/dev/drm/drm.h
>
> I can't find the file your talking about so this is just a guess.
>
>
>
> --
> BSD Podcasts @:
> http://bsdtalk.blogspot.com/
> http://freebsdforall.blogspot.com/
>


--
we who r about to die,salute u!




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


swap_pager: indefinite wait buffer

2006-05-28 Thread Per olof Ljungmark

HP ProLiant ML150, 6.1-STABLE, problem have persisted since 6.0-STABLE
Stops responding every one-two weeks, requires power cycling
Server is remote but went to see it today and the following message was 
printed on console repeatedly:

"swap_pager: indefinite wait buffer: bufobj: 0, blkno: 52, size: 4096"

Searching the list did not return a definitive answer, did not find a PR 
either.


Nothing logged
AFAIK the system hardly swaps at all

Is there a workaround for this? Should I assume it's a hw problem? 
Change DMA mode? Disable ACPI? Change to a scsi disk for system? I could 
accept slower performance if a tradeoff is required.


dmesg follows:

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.1-STABLE #0: Thu May 18 07:19:43 CEST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/STUFFER
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.52-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3

Features=0xbfebfbff
  Features2=0x641d>
  AMD Features=0x2010
  Logical CPUs per core: 2
real memory  = 1073152000 (1023 MB)
avail memory = 1041211392 (992 MB)
MPTable: 
ioapic0: Assuming intbase of 0
ioapic1: Assuming intbase of 24
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
cpu0 on motherboard
pcib0:  pcibus 0 on motherboard
pci0:  on pcib0
pcib0: unable to route slot 2 INTA
pcib0: unable to route slot 3 INTA
pcib0: unable to route slot 29 INTB
pcib0: unable to route slot 29 INTD
pcib1:  irq 10 at device 2.0 on pci0
pci1:  on pcib1
pcib2:  irq 10 at device 3.0 on pci0
pci2:  on pcib2
bge0:  mem 
0xdc10-0xdc10 irq 16 at device 0.0 on pci2

miibus0:  on bge0
brgphy0:  on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto

bge0: Ethernet address: 00:16:35:b1:32:0b
pcib3:  at device 28.0 on pci0
pci3:  on pcib3
twe0: <3ware Storage Controller. Driver version 1.50.01.002> port 
0x2400-0x240f mem 0xdc80-0xdcff irq 25 at device 2.0 on pci3

twe0: [GIANT-LOCKED]
twe0: 4 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048
atapci0:  port 0x2000-0x20ff mem 
0xdc30-0xdc3f irq 27 at device 4.0 on pci3

ata2:  on atapci0
ata3:  on atapci0
ata4:  on atapci0
ata5:  on atapci0
uhci0:  port 0x1400-0x141f irq 16 at 
device 29.0 on pci0

uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0x1420-0x143f irq 5 at 
device 29.1 on pci0

uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0:  at device 29.4 (no driver attached)
pci0:  at device 29.5 (no driver 
attached)
ehci0:  mem 0xdc001400-0xdc0017ff irq 
11 at device 29.7 on pci0

ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2:  on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
pcib4:  at device 30.0 on pci0
pci4:  on pcib4
pci4:  at device 4.0 (no driver attached)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci1:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1440-0x144f at device 31.1 on pci0

ata0:  on atapci1
ata1:  on atapci1
pci0:  at device 31.3 (no driver attached)
pmtimer0 on isa0
orm0:  at iomem 
0xc-0xc7fff,0xc8000-0xc97ff,0xc9800-0xcdfff,0xce000-0xcefff,0xdc000-0xd 
on isa0

atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 
on isa0

fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown:  can't assign resources (memory)
unknown:  can't assign resources (port)
unknown:  can't assign resources (memory)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (irq)
unknown:  can't assign resources (port)
Timecounter "TSC" frequency 2992517880 Hz quality 800
Timecounters tick every 1.000 msec
acd0: CDROM  at ata0-master UDMA33
ad4: 152627MB  at ata2-master SATA150
twed0:  on twe0
twed0: 858563MB (175833792

Re: Wireless internet connetction issues

2006-05-28 Thread Don Hinton
Hi Andreas:

On Sunday 28 May 2006 06:39, andreas Sotirakopoulos wrote:
> Hi
> I have(?) an internet connetction issue... I have a router connected to a
> windows box downstaires (Lynksis wAG354G) and i use a wirelless usb adapter
> (Lynksis WUSB54G). It works fine under windows and even if some times the
> signal is lost usually it comes back by either moving the antenna a little
> or by restarting the network configuration tool. In FreeBSD the adapter is
> visible and uses ural0 driver. So if give the command
> ifconfig ural0 inet 192.168.1.65 netmask 255.255.255.0 but i cannot connect

Instead of specifying your IP, try letting dhcp take care of this for you (as 
you do with kde below).  Add the following to /etc/rc.conf:

ifconfig_ural0="DHCP"

Then, ifconfig ural0 up will invoke dhcp to configure everything for you, 
including your gateway and routing table.  You may also want to look at your 
routing table to see what's going on:

# netstat -nr

And flush the table if things go wrong with:

# netstat flush

I have to do this when moving from a wired connection to a wireless connection 
in order to reset my default route (gateway).  Btw, I use FreeBSD 6.1-RELEASE 
-- I found 5.4 wireless to be a bit flaky...

hth...
don

> to the internet or "see" the windows box.
> Now comes the strange part. if i press ifconfig ural0 i get:
>
> ural0: flags=108843 mtu
> 1500
>         inet6 fe80::212:17ff:fe81:881a%ural0 prefixlen 64 scopeid 0x1
>         ether 00:12:17:81:88:1a
>         media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
>         status: associated
>         ssid linksys channel 11 bssid 00:14:bf:cb:71:32
>         authmode OPEN privacy OFF txpowmax 100 protmode CTS bintval 100
> but still i cannot connect to web pages or ping hosts.  I use KDE 3.5 and i
> do the following:
> from the Kmenu ->settings->internet and Network-> Network settings and on
> the card Network interfaces i see that there is only onde availiable
> interface fxp0 dhcp Disabled Ethernet Network Device. I know that this is
> my ethernet onboard card but if i choose Enable Interface i can connect to
> the internet!! I assume that something runs in the background that
> enables as well my wireless card but what is this?
> So what's the problem you may ask... the problem is that in case that my
> connection is lost i cannot do anything to get it back up.
>
> i  have tried dhclient ural0 and nothing happents same with ifconfig ural0
> up...
> I have to reboot and do the procudure again and the problem is that it
> fails often if i leave the net for a while...
>
> Any ideas?
> thanks
>
>
> ___
> To help you stay safe and secure online, we've developed the all new Yahoo!
> Security Centre. http://uk.security.yahoo.com
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Don Hinton   tel: 615.480.5667
ISIS, Vanderbilt University  skype: donhinton
http://people.vanderbilt.edu/~don.hinton/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange pauses and cpu usage - FreeBSD 6.1

2006-05-28 Thread Danial Thom


--- Shawn <[EMAIL PROTECTED]> wrote:

> On Sun, 28 May 2006 01:02:35 -0400
> Kris Kennaway <[EMAIL PROTECTED]> wrote:
> 
> > On Sun, May 28, 2006 at 02:18:36AM +0200,
> Xavier Chantry wrote:
> > > On Sat, May 27, 2006 at 01:14:13AM +0100,
> Shawn wrote:
> > > > I'm having a strange problem with cpu
> usage with my Athlon XP.
> > > > Every so often there seems to be a pause
> where the system comes
> > > > under heavy load for no apparent reason.
> If xmms was playing then
> > > > I get a buzz sound and the mouse pointer
> stops just for a split
> > > > second, the same with mplayer and vlc.
> Using Opera or firefox
> > > > also seems to have a strange effect where
> the mouse pointer
> > > > freezes while pages load, and if there is
> an animated gif on the
> > > > page the cpu usage goes to 100%.
> > > > 
> > > > The jabber client Gajim also makes the
> cpu get stuck at 100%.
> > > > When I used gnome, nautilus did the same
> thing until i stopped
> > > > and started the process in the system
> monitor. I have searched
> > > > around and found this tip from the
> handbook but it had no effect.
> > > > 
> > > > hint.apic.0.disabled="1" in
> /boot/loader.conf
> > > > 
> > > > This happens with the generic kernel and
> the one i compiled for
> > > > myself. It also lasts for a random amount
> of time, sometimes it
> > > > is barely noticeable and sometimes it
> happens for over a second.
> > > > Running neverwinter nights makes the
> system pause for 10-20
> > > > seconds seemingly randomly.
> > > > 
> > > 
> > > My system behaves much better than that,
> I've no mouse freeze and no
> > > system pauses, but I did have occasonial
> sound skips using 4bsd on
> > > 6.1. Switching to the ULE scheduler seems
> to fix this problem, but
> > > other things may behave worse.
> > > One year ago, it was actually the opposite,
> sound in ULE was really
> > > jerky, and mouse pointer too while eg
> launching an app.
> > > Did you already try both schedulers ?
> > 
> > Check for interrupt sharing with vmstat -i. 
> Shared interrupts cause
> > performance loss especially if it's sharing
> with a giant-locked driver
> > like USB.
> > 
> > Kris
> 
> I tried switching to ULE and while the sound
> skipping seems to have
> stopped, the other problems remain.
> 
> vmstat -i gives me:
> 
> interrupt  total  
> rate
> irq0: clk  69873   
> 984
> irq7: ppc0 2   
>   0
> irq8: rtc   8944   
> 125
> irq10: atapci0++2409   
>  33
> irq11: nvidia0++5264   
>  74
> irq12: pcm0 rl0+  41   
>   0
> irq15: ata1   47   
>   0
> Total  86580  
> 1219
> 
> So it seems that net and sound are sharing
> irq12, and just before i
> see the freeBSD bootloader i can see that irq12
> is used for the usb
> controller. Is this my problem? I have no irq
> settings in the
> BIOS and i tried a device hint for pcm to move
> it up to irq13 but had no
> luck.
> 
> Forgive me if I am missing something obvious
> somewhere along the line,
> I only started using freeBSD a few weeks ago
> and I am totally new to
> BSD in general.
> 
> Thanks for the help!
> 
> ~shawn

Setting HZ to 100 should eliminate ~900
unnecessary context switches per second. 

Danial

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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: phpMyAdmin problem - no Edit/Delete on Browse

2006-05-28 Thread Ian Smith
On Sun, 28 May 2006, Matthew Seaman wrote:

 > Ian Smith wrote:
 > > running 5.4-RELEASE and installed phpMyAdmin 2.6.1.3 with pkg_add -r
[..]
 > >  mysql-client-4.1.10a Multithreaded SQL database (client)
 > >  mysql-server-4.1.10a Multithreaded SQL database (server)
 > >  php4-4.3.10_2   PHP Scripting Language (Apache Module and CLI)
 > >  phpMyAdmin-2.6.1.3  A set of PHP-scripts to manage MySQL over the web
[..]
 > > phpmyadmin basically works fine.  I'd imported my databases from dumps,
 > > and all looked good after a bit of configuration.  However when starting
 > > to do some real work on a couple of databases, I noticed that while
 > > browsing any database, the Edit and Delete options do not appear with
 > > each row, ie I can not update existing records (even as -u root)
 > > 
 > > I'd suspected permissions, but I can insert new records, add/drop/empty
 > > tables and databases, bookmark queries and all.  The permissions and
 > > ownership of and in /var/db/mysql are the same as my old 4.5-R system.
 > > 
 > > $cfg['ModifyDeleteAtLeft'] = TRUE; I've also tried adding ...AtRight as
 > > well, but neither show up.  If relevant, I'm using apache-1.3.33_1 and 
 > > mozilla-1.7.7,2 .. all of this is just running on the local machine, so
 > > I'm not at the moment concerned with just security-issue updates.
[..]

 > What is the UID *within* MySQL you are using to connect with?  Does
 > running:
 > 
 > SHOW GRANTS FOR [EMAIL PROTECTED] ;
 > 
 > make things any clearer?

Nope.  Show processlist confirms that I'm logged in as [EMAIL PROTECTED],
with an idle [EMAIL PROTECTED] process as well for bookmarks etc.

 SHOW GRANTS FOR [EMAIL PROTECTED];

 GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD
 '*A5obscured4C2EFF' WITH GRANT OPTION

 > phpMyAdmin is clever enough to modify its user interface according to what
 > the user has permission to do to the database.  The user name use within the
 > database depends on how you've configured phpMyAdmin -- I generally like to
 > use 'cookie' mode authentication where the username and password are passed
 > straight through to MySQL from the login dialog, but the 'config' mode given
 > in the example config files requires you to put the username and password
 > directly in the phpMyAdmin configuration file. 

Just using 'config' mode, user root so far; thought I'd tighten it up
properly for outside access after getting it doing some useful work!

Think I'll start again with the installed config.  I really can't recall
if this problem was there since installation, but as mentioned all other
import/export, create/drop/copy database/table, adding rows etc all just
works well so far, excepting edit/delete availability on browse. 

Thanks Matthew,

cheers, Ian

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


Problem with BCM4306 driver

2006-05-28 Thread Atanas Atanasov

I have a HP nx6110 laptop, and decided to install FreeBSD 6.1. Quite
frankly I am surprised by the power and fine design this system has.
This is definitely a better server than linux. I am a complete newbie
in BSD, so please excuse me if my question sounds very stupid.

I am trying to make my integrated wireless card Broadcom 4306 work.
Since there are no native drivers I adopted the ndis approach. Howevet
there seem to be two ways to do this, one is using ndiscvt and the
other with ndisgen. I tried both but none worked:

1. USING ndiscvt
I copied the driver to /sys/modules/if_ndis, and then:
# ndiscvt -i BCMWL5A.INF -s BCMWL5.SYS -o ndis_driver_data.h
# make && make install
# kldload ndis && kldload if_ndis
However I am not seeing the interface when run ifconfig. It behaves as
if nothig is there. I also tried to recompile ndis & if_ndis from
their sources in /usr/src/sys/modules but nothing worked. The adapter
simple does not appear. However when I run pciconf -lv I see the pci
card.

2. USING ndisgen
I copied the drivers to the same folder and run ndisgen BCMWL5.INF
BCMWL5.SYS. Everything goes ok but I get an error in the last step
when I try to compile it. Then I tried to redirect the output if
ndisgen to a pipe and it miracolously generated a file BCMWL5_SYS.
This I copied to /boot/kernel and loaded ndis, if_ndis, BCMWL5_SYS.
However again the adapter does not appear in ifconfig.

I cannot see what is going wrong, because I just followed some HOWTOs
that appear in the FreeBSD Handbook (of ndiscvt) and some other forum
(about ndisgen). Any help would be greatly appreciated.

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


Re: Package management utility for KDE?

2006-05-28 Thread Aren Olvalde Tyr
On Friday 26 May 2006 17:01, Matias wrote:
> Hi, KDE fan ahead
>
> Is there any visual FreeBSD package management tool for QT/KDE?

Yes, KPackage. 

It is part of the kdeadmin port under sysutils/kdeadmin3. There is also 
Portbrowser under sysutils/portbrowser.

Aren.


pgprx4ogfCWEL.pgp
Description: PGP signature


Re: Missing devs...

2006-05-28 Thread Aren Olvalde Tyr
Hi
> So now to my question! How do I avoid this dual mounting?

I have the same problem with my memory card reader. 

The necessary da1s1 device node slice for my SD memory card is not created 
until after it has been probed during the attempt to mount it. The only 
exception to this is if the card is already inserted when the system first 
boots up.

Presumably there must be a way to automatically probe the USB device/card and 
create the slice so you can mount it when it is first inserted?

I am wondering if /etc/usbd.conf would be of assistance here. Can you get the 
usbd daemon to automatically "probe" a device for filesystem slices during 
the "attach" stage?

Aren.


pgpNqGTTMMalV.pgp
Description: PGP signature


Re: Strange pauses and cpu usage - FreeBSD 6.1

2006-05-28 Thread Shawn
OK, so I was using top to monitor what was going on inside the system
and I noticed that it was in fact xorg taking up all the cpu, no matter
what program actually was causing it. I searched around for nvidia
xorg.conf settings and found a few things.

I recompiled my kernel without agp and put the following in xorg.conf:

Option "NvAGP" "1"

And this has solved the problem completely. I have always used the
built in agp support when using linux (agpgart?) but doing this has
cured the ill mouse behaviour completely, and boosted glxgears a few
hundred fps.

Again, thanks for all the help!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: n00b Maintenance Question , please help

2006-05-28 Thread Iantcho Vassilev

Read the handbook



On 5/28/06, dharam paul <[EMAIL PROTECTED]> wrote:


Hi,
I am using freebsd 5.4 as a server. Being a newbei I
do not know what all maintanace things are to be done
to the system so that the system runs smoothly without
any problem.
I am running squid + squidguard + apache (for intranet
only) other than the standard ports.

Please advise.
Thanks
Dharam Paul


Send instant messages to your online friends http://in.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]"


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


n00b Maintenance Question , please help

2006-05-28 Thread dharam paul
Hi, 
I am using freebsd 5.4 as a server. Being a newbei I
do not know what all maintanace things are to be done
to the system so that the system runs smoothly without
any problem. 
I am running squid + squidguard + apache (for intranet
only) other than the standard ports.

Please advise.
Thanks
Dharam Paul


Send instant messages to your online friends http://in.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: Sharing /usr/local/www

2006-05-28 Thread Alex Zbyslaw

On Saturday 27 May 2006 01:12, Kyrre Nygard wrote:


Yeah I hear a lot of people like CVS.

But I fail to realize how it might assist me though.

I'm not setting up a code repository, this is an actual WWW root
where a lot of different websites are hosted.

Please correct me if I'm wrong.
   


You are wrong.

CVS is a version control system.  It's often used to control software 
development, but can be used to control any kind of text(*) document 
development.


--Alex

(*) You can store "binary" files as well, but it is less efficient when 
they change as it cannot keep diffs, just complete changed files.  OK 
for reasonable sized gifs/jpegs etc.



___
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

2006-05-28 Thread Mike Jeays
On Sun, 2006-05-28 at 08:46 -0400, Grant Peel wrote:
> Hi all,
> 
> When using cron, I understand the >/dev/null thing OK, but what exactly does 
>  >2&1 do? Is it usefull anywhere else? Where might one find ducumentation on 
> it?
> 
> -Grant
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

It directs both stdout and stderr to /dev/null.  Look in 'man bash', or
any tutorial on bash for a more detailed description.  Quite confusing
syntax, and a hard-to-remember incantation, IMHO.

-- 
Mike Jeays
http://ca.geocities.com/[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-28 Thread Beech Rintoul
On Saturday 27 May 2006 01:12, Kyrre Nygard wrote:
> At 10:45 27.05.2006, Beech Rintoul wrote:
> >On Saturday 27 May 2006 00:32, Kyrre Nygard wrote:
> > > Hello!
> > >
> > > 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?
> > >
> > > My temporary solution has been to add all users with UID and GID 80,
> > > and then ln -s /usr/local/www ~/collabo for each user.
> > >
> > > If users have their original UID instead of www's then somehow they
> > > can't read or write to /usr/local/www. I thought sharing the same GID
> > > was sufficient, but obviously it isn't. I find this very strange.
> > >
> > > Some of them prefer just using FTP, so then being able to click on
> > > collabo@ and go straight to /usr/local/www is very convenient for them.
> > >
> > > But is there a better way?
> > >
> > > Thanks,
> > > Kyrre
> >
> >CVS is your friend. But there are also a ton of php scripts out there to
> > do what you want.
> >
> >Beech
> >--
>
> Yeah I hear a lot of people like CVS.
>
> But I fail to realize how it might assist me though.
>
> I'm not setting up a code repository, this is an actual WWW root
> where a lot of different websites are hosted.
>
> Please correct me if I'm wrong.
>
> And what PHP scripts are you talking about?
>
> Thanks a lot,
> Kyrre
>
Take a look at http://www.hotscripts.com there is a lot of stuff in there for 
dealing with multiple users (some commercial, some not). Ultimately if you're 
doing that level of hosting you'll probably want something like cpanel, but 
cpanel itself is very pricey. 

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgp2ZNOCgp6qs.pgp
Description: PGP signature


Problem with BCM4306 driver

2006-05-28 Thread Atanas Atanasov

I have a HP nx6110 laptop, and decided to install FreeBSD 6.1. Quite
frankly I am surprised by the power and fine design this system has.
This is definitely a better server than linux. I am a complete newbie
in BSD, so please excuse me if my question sounds very stupid.

I am trying to make my integrated wireless card Broadcom 4306 work.
Since there are no native drivers I adopted the ndis approach. Howevet
there seem to be two ways to do this, one is using ndiscvt and the
other with ndisgen. I tried both but none worked:

1. USING ndiscvt
I copied the driver to /sys/modules/if_ndis, and then:
# ndiscvt -i BCMWL5A.INF -s BCMWL5.SYS -o ndis_driver_data.h
# make && make install
# kldload ndis && kldload if_ndis
However I am not seeing the interface when run ifconfig. It behaves as
if nothig is there. I also tried to recompile ndis & if_ndis from
their sources in /usr/src/sys/modules but nothing worked. The adapter
simple does not appear. However when I run pciconf -lv I see the pci
card.

2. USING ndisgen
I copied the drivers to the same folder and run ndisgen BCMWL5.INF
BCMWL5.SYS. Everything goes ok but I get an error in the last step
when I try to compile it. Then I tried to redirect the output if
ndisgen to a pipe and it miracolously generated a file BCMWL5_SYS.
This I copied to /boot/kernel and loaded ndis, if_ndis, BCMWL5_SYS.
However again the adapter does not appear in ifconfig.

I cannot see what is going wrong, because I just followed some HOWTOs
that appear in the FreeBSD Handbook (of ndiscvt) and some other forum
(about ndisgen). Any help would be greatly appreciated.

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

2006-05-28 Thread Kövesdán Gábor

Grant Peel wrote:

Hi all,

When using cron, I understand the >/dev/null thing OK, but what 
exactly does >2&1 do? Is it usefull anywhere else? Where might one 
find ducumentation on it?


-Grant

The standard stream stdout has the assigned number 1, and the stderr has 
number 2. The >/dev/null redirects stdout to /dev/null and 2>&1 means 
redirecting stderr to stdout, so it goes to /dev/null as well.


Gabor Kovesdan
___
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

2006-05-28 Thread Alex Zbyslaw

Grant Peel wrote:


Hi all,

When using cron, I understand the >/dev/null thing OK, but what 
exactly does >2&1 do? Is it usefull anywhere else? Where might one 
find ducumentation on it?


It redirects error output (aka standard error, stderr) to the same place 
as standard output (aka stout), in this case, the bit bucket. 


man sh, or any basic Unix book worth it's salt.

--Alex


___
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

2006-05-28 Thread Grant Peel

Hi all,

When using cron, I understand the >/dev/null thing OK, but what exactly does 
>2&1 do? Is it usefull anywhere else? Where might one find ducumentation on 
it?


-Grant


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


Re: Strange pauses and cpu usage - FreeBSD 6.1

2006-05-28 Thread Shawn
On Sun, 28 May 2006 01:02:35 -0400
Kris Kennaway <[EMAIL PROTECTED]> wrote:

> On Sun, May 28, 2006 at 02:18:36AM +0200, Xavier Chantry wrote:
> > On Sat, May 27, 2006 at 01:14:13AM +0100, Shawn wrote:
> > > I'm having a strange problem with cpu usage with my Athlon XP.
> > > Every so often there seems to be a pause where the system comes
> > > under heavy load for no apparent reason. If xmms was playing then
> > > I get a buzz sound and the mouse pointer stops just for a split
> > > second, the same with mplayer and vlc. Using Opera or firefox
> > > also seems to have a strange effect where the mouse pointer
> > > freezes while pages load, and if there is an animated gif on the
> > > page the cpu usage goes to 100%.
> > > 
> > > The jabber client Gajim also makes the cpu get stuck at 100%.
> > > When I used gnome, nautilus did the same thing until i stopped
> > > and started the process in the system monitor. I have searched
> > > around and found this tip from the handbook but it had no effect.
> > > 
> > > hint.apic.0.disabled="1" in /boot/loader.conf
> > > 
> > > This happens with the generic kernel and the one i compiled for
> > > myself. It also lasts for a random amount of time, sometimes it
> > > is barely noticeable and sometimes it happens for over a second.
> > > Running neverwinter nights makes the system pause for 10-20
> > > seconds seemingly randomly.
> > > 
> > 
> > My system behaves much better than that, I've no mouse freeze and no
> > system pauses, but I did have occasonial sound skips using 4bsd on
> > 6.1. Switching to the ULE scheduler seems to fix this problem, but
> > other things may behave worse.
> > One year ago, it was actually the opposite, sound in ULE was really
> > jerky, and mouse pointer too while eg launching an app.
> > Did you already try both schedulers ?
> 
> Check for interrupt sharing with vmstat -i.  Shared interrupts cause
> performance loss especially if it's sharing with a giant-locked driver
> like USB.
> 
> Kris

I tried switching to ULE and while the sound skipping seems to have
stopped, the other problems remain.

vmstat -i gives me:

interrupt  total   rate
irq0: clk  69873984
irq7: ppc0 2  0
irq8: rtc   8944125
irq10: atapci0++2409 33
irq11: nvidia0++5264 74
irq12: pcm0 rl0+  41  0
irq15: ata1   47  0
Total  86580   1219

So it seems that net and sound are sharing irq12, and just before i
see the freeBSD bootloader i can see that irq12 is used for the usb
controller. Is this my problem? I have no irq settings in the
BIOS and i tried a device hint for pcm to move it up to irq13 but had no
luck.

Forgive me if I am missing something obvious somewhere along the line,
I only started using freeBSD a few weeks ago and I am totally new to
BSD in general.

Thanks for the help!

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


Re: diablo-jdk vs jdk1.5

2006-05-28 Thread Norberto Meijome
On Sat, 27 May 2006 20:44:51 -0300 (ADT)
"Marc G. Fournier" <[EMAIL PROTECTED]> wrote:

> On Wed, 24 May 2006, Norberto Meijome wrote:
> 
> > Hi all,
> > 2 questions re. JDK 1.5 :
> > - is .15 considered now stable? ( I remember reading that it was still
> > considered alpha quality, but i cant see that notice anymore).
> >
> > - re. diablo-jdk : Other than the obvious advange of precompiled package
> > (already done for me, SUN certified) , is there other advantage to using
> > diablo-jdk instead of building my own?
> > And, in the same vein, any caveats I should keep in mind when using
> > diablo-jdk instead of jdk-1.5?
> 
> My understanding is that the precompiled package performs better then the 
> one you build from ports, *but* ... I don't know why ...
> 
> On my 6-STABLE machine, to get Azureus to work properly, I had to add the 
> following to /etc/libmap.conf:
> 
> [/usr/local/diablo-jdk1.5.0/]
> libpthread.so   libc_r.so
> libpthread.so.2 libc_r.so.6
> 
> else it just didn't work ...
> 
> Beyond that, I've been using the precompiled one and been most happy with 
> it ...

thanks - i've been using for a few days diablo-jdk with no problems this far. I
reinstalled all my java programs after changing from jdk-1.4 to
diablo-jdk-1.5... i dont remember having to change libmap for azureus... but I
have added :

## diablo-jdk
libz.so.2   libz.so.3
libpthread.so.1 libpthread.so
libc.so.5   libc.so.6
libm.so.3   libm.so
libstdc++.so.4  libstdc++.so

I think it may have been for 'java'
___
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 use of drm_os_freebsd.h

2006-05-28 Thread william wallace

thanku sir!
but why there r so many datat type similar to linux in that group of files?
On 5/28/06, Nikolas Britton <[EMAIL PROTECTED]> wrote:

On 5/27/06, william wallace <[EMAIL PROTECTED]> wrote:
> hi ,all
>   I am porting something from linux to freebsd ,i found the
> DataTypes hard to translate ,then i saw that many types inlinux can be
> found in drm_os_freebsd.h,such as
> typedef int8_ts8;
> typedef int16_t   s16;
> typedef int32_t   s32;
> typedef u_int8_t  u8;
> typedef u_int16_t u16;
> typedef u_int32_t u32;
>
> so ,what is the use of  drm_os_freebsd.h
> and any advice for me to translate DT from linux to Freebsd?
>

"The Direct Rendering Manager (DRM) is a device-independent
kernel-level device driver that provides support for the XFree86
Direct Rendering Infrastructure (DRI)."  --src/sys/dev/drm/drm.h

I can't find the file your talking about so this is just a guess.



--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/




--
we who r about to die,salute u!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Wireless internet connetction issues

2006-05-28 Thread andreas Sotirakopoulos
Hi
I have(?) an internet connetction issue... I have a router connected to a 
windows box downstaires (Lynksis wAG354G) and i use a wirelless usb adapter 
(Lynksis WUSB54G). It works fine under windows and even if some times the 
signal is lost usually it comes back by either moving the antenna a little or 
by restarting the network configuration tool. In FreeBSD the adapter is 
visible and uses ural0 driver. So if give the command 
ifconfig ural0 inet 192.168.1.65 netmask 255.255.255.0 but i cannot connect to 
the internet or "see" the windows box. 
Now comes the strange part. if i press ifconfig ural0 i get:

ural0: flags=108843 mtu 
1500
        inet6 fe80::212:17ff:fe81:881a%ural0 prefixlen 64 scopeid 0x1
        ether 00:12:17:81:88:1a
        media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
        status: associated
        ssid linksys channel 11 bssid 00:14:bf:cb:71:32
        authmode OPEN privacy OFF txpowmax 100 protmode CTS bintval 100
but still i cannot connect to web pages or ping hosts.  I use KDE 3.5 and i do 
the following: 
from the Kmenu ->settings->internet and Network-> Network settings and on the 
card Network interfaces i see that there is only onde availiable interface 
fxp0 dhcp Disabled Ethernet Network Device. I know that this is my ethernet 
onboard card but if i choose Enable Interface i can connect to the 
internet!! I assume that something runs in the background that enables as 
well my wireless card but what is this?
So what's the problem you may ask... the problem is that in case that my 
connection is lost i cannot do anything to get it back up. 

i  have tried dhclient ural0 and nothing happents same with ifconfig ural0 
up...
I have to reboot and do the procudure again and the problem is that it fails 
often if i leave the net for a while... 

Any ideas?
thanks


___
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.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: what is the use of drm_os_freebsd.h

2006-05-28 Thread Nikolas Britton

On 5/27/06, william wallace <[EMAIL PROTECTED]> wrote:

hi ,all
  I am porting something from linux to freebsd ,i found the
DataTypes hard to translate ,then i saw that many types inlinux can be
found in drm_os_freebsd.h,such as
typedef int8_ts8;
typedef int16_t   s16;
typedef int32_t   s32;
typedef u_int8_t  u8;
typedef u_int16_t u16;
typedef u_int32_t u32;

so ,what is the use of  drm_os_freebsd.h
and any advice for me to translate DT from linux to Freebsd?



"The Direct Rendering Manager (DRM) is a device-independent
kernel-level device driver that provides support for the XFree86
Direct Rendering Infrastructure (DRI)."  --src/sys/dev/drm/drm.h

I can't find the file your talking about so this is just a guess.



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


asrock 939 sata controller problems

2006-05-28 Thread Miks Miķelsons

hello,
i have Asrock 939 motherboard with freebsd 6.0.

i got only "atapci0: " and
"
[EMAIL PROTECTED] /home/d-str]# atacontrol mode ad4
current mode = UDMA33
"
disk performance is very low.


my dmesg:

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE #0: Sun May 28 11:12:59 EEST 2006
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2009.16-MHz K8-class CPU)
 Origin = "AuthenticAMD"  Id = 0x20f32  Stepping = 2
 
Features=0x178bfbff
 Features2=0x1
 AMD Features=0xe2500800,LM,3DNow+,3DNow>
 Hyperthreading: 2 logical CPUs
real memory  = 1006305280 (959 MB)
avail memory = 960126976 (915 MB)
ioapic0  irqs 0-23 on motherboard
acpi0:  on motherboard
acpi0: Power Button (fixed)
pci_link0:  irq 0 on acpi0
pci_link1:  irq 0 on acpi0
pci_link2:  irq 15 on acpi0
pci_link3:  irq 0 on acpi0
pci_link4:  irq 0 on acpi0
pci_link5:  irq 0 on acpi0
pci_link6:  irq 11 on acpi0
pci_link7:  irq 0 on acpi0
pci_link8:  irq 14 on acpi0
pci_link9:  irq 0 on acpi0
pci_link10:  irq 7 on acpi0
pci_link11:  irq 0 on acpi0
pci_link12:  irq 0 on acpi0
pci_link13:  irq 0 on acpi0
pci_link14:  irq 15 on acpi0
pci_link15:  irq 5 on acpi0
pci_link16:  irq 10 on acpi0
pci_link17:  irq 0 on acpi0
pci_link18:  irq 0 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci_link6: BIOS IRQ 11 for -2145774616.5.INTA is invalid
pci_link14: BIOS IRQ 15 for -2145774616.10.INTA is invalid
pci_link10: BIOS IRQ 7 for -2145774616.20.INTA is invalid
pci_link16: BIOS IRQ 10 for -2145774616.14.INTA is invalid
pci0:  on pcib0
pci0:  at device 0.0 (no driver attached)
pci0:  at device 0.1 (no driver attached)
pci0:  at device 0.2 (no driver attached)
pci0:  at device 0.3 (no driver attached)
pci0:  at device 0.4 (no driver attached)
pci0:  at device 0.5 (no driver attached)
pci0:  at device 0.6 (no driver attached)
pci0:  at device 0.7 (no driver attached)
pcib1:  at device 2.0 on pci0
pci1:  on pcib1
pcib2:  at device 3.0 on pci0
pci2:  on pcib2
pcib3:  at device 4.0 on pci0
pci3:  on pcib3
pci0:  at device 5.0 (no driver attached)
pci0:  at device 9.0 (no driver attached)
isab0:  at device 10.0 on pci0
isa0:  on isab0
pci0:  at device 10.1 (no driver attached)
atapci0:  port 
0xf80-0xf87,0xf00-0xf03,0xe80-0xe87,0xe00-0xe03,0xe000-0xe00f mem 
0xfebde000-0xfebdefff irq 21 at device 14.0 on pci0
ata2:  on atapci0
ata3:  on atapci0
pcib4:  at device 16.0 on pci0
pci4:  on pcib4
fxp0:  port 0xcc00-0xcc3f mem 
0xfaaff000-0xfaaf,0xfaac-0xfaad irq 17 at device 10.0 on pci4
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:0e:0c:7f:ff:33
pci0:  at device 20.0 (no driver attached)
acpi_button0:  on acpi0
atkbdc0:  at port 0x60,0x64 on isa0
ppc0: cannot reserve I/O port range
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter "TSC" frequency 2009158218 Hz quality 800
Timecounters tick every 1.000 msec
ad4: 286188MB  at ata2-master UDMA33
ad6: 286188MB  at ata3-master UDMA33
ar0: 286188MB  status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master
Trying to mount root from ufs:/dev/ar0s1a

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


Re: OT: Torn between SCSI and SATA for RAID

2006-05-28 Thread Ian Jefferson



I'd rather run 5 SATA cables then one SCSI cable (say 68pin) with  
multiple heads...   The darn SCSI cables are so thick,  
comparatively, that running them in your case is a lot harder :-)





Well everyone's mileage may vary.  Parallel cables only work nicely  
when you have a stack of drives all close & lined up together.  I  
personally yearn for a simple 40gbps daisychainable serial bus.  I  
hoped firewire would have been it but we seem to be stuck at 800mpbs.


The other cabling option I forgot about is USB2 or Firewire.

There are a number of very low cost external cases that pre-package  
USB/Firewire SATA converters.  You basically fill a hard disk case  
with SATA or ATA drives and connect your computer to the case via a  
single firewire or USB cable.  I have not seen one of these that's  
hot swap yet but I did see a few of these recently in Tokyo Akihabara  
district for ~$100 so I assume they are available all over.  The  
box's I have seen are 4 drive systems.  Just fill them with your  
favorite commodity hard disk I guess.


At ~50MB/s the interface is plenty fast and greatly simplifies the  
cable issue inside the PC.


IJ

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


Re: phpMyAdmin problem - no Edit/Delete on Browse

2006-05-28 Thread Matthew Seaman
Ian Smith wrote:
> (originally posted to -database some days ago .. no nibbles)
> 
> running 5.4-RELEASE and installed phpMyAdmin 2.6.1.3 with pkg_add -r
> (after finding installing from ports wanted to also fetch php4 sources
> and heaps of other stuff I already had installed from packages on the
> 2-CD set).  I'd managed to find and install 5.4-R mysql packages also:
> 
>  smithi on paqi% pkg_info | grep -i "php\|mysql"
>  libmcrypt-2.5.7_1   Multi-cipher cryptographic library (used in PHP)
>  mysql-client-4.1.10a Multithreaded SQL database (client)
>  mysql-server-4.1.10a Multithreaded SQL database (server)
>  php4-4.3.10_2   PHP Scripting Language (Apache Module and CLI)
>  php4-bz2-4.3.10_2   The bz2 shared extension for php
>  php4-gd-4.3.10_2The gd shared extension for php
>  php4-mbstring-4.3.10_2 The mbstring shared extension for php
>  php4-mcrypt-4.3.10_2 The mcrypt shared extension for php
>  php4-mysql-4.3.10_2 The mysql shared extension for php
>  php4-openssl-4.3.10_2 The openssl shared extension for php
>  php4-pcre-4.3.10_2  The pcre shared extension for php
>  php4-zlib-4.3.10_2  The zlib shared extension for php
>  phpMyAdmin-2.6.1.3  A set of PHP-scripts to manage MySQL over the web
> 
> phpmyadmin basically works fine.  I'd imported my databases from dumps,
> and all looked good after a bit of configuration.  However when starting
> to do some real work on a couple of databases, I noticed that while
> browsing any database, the Edit and Delete options do not appear with
> each row, ie I can not update existing records (even as -u root)
> 
> I'd suspected permissions, but I can insert new records, add/drop/empty
> tables and databases, bookmark queries and all.  The permissions and
> ownership of and in /var/db/mysql are the same as my old 4.5-R system.
> 
> $cfg['ModifyDeleteAtLeft'] = TRUE; I've also tried adding ...AtRight as
> well, but neither show up.  If relevant, I'm using apache-1.3.33_1 and 
> mozilla-1.7.7,2 .. all of this is just running on the local machine, so
> I'm not at the moment concerned with just security-issue updates.
> 
> I haven't been able to find anything in later version change notes or
> PRs indicating anything like this problem, and updating to the current
> port would require updating php, mysql, expat and even xorg versions,
> which is just not doable over a 28.8k modem connection I'm afraid, so
> the 'usual' answer of cvsuping and updating everything is not helpful;
> in any case I suspect this is more likely a maybe subtle config issue?

What is the UID *within* MySQL you are using to connect with?  Does
running:

SHOW GRANTS FOR [EMAIL PROTECTED] ;

make things any clearer?

phpMyAdmin is clever enough to modify its user interface according to what
the user has permission to do to the database.  The user name use within the
database depends on how you've configured phpMyAdmin -- I generally like to
use 'cookie' mode authentication where the username and password are passed
straight through to MySQL from the login dialog, but the 'config' mode given
in the example config files requires you to put the username and password
directly in the phpMyAdmin configuration file. 

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: namebased VPS using JAIL

2006-05-28 Thread Matthew Seaman
Yudai Yamagishi wrote:
> Hey,
> 
> I'm trying to serve several VPS for my friends.
> 
> But, IP addresses costs too much here in Japan.
> 
> So, I only have 1 WAN IP.
> 
> I've heard that Virtuozzo let's users create namebased VPS.
> 
> For example, I want to create a VPS called vps1.
> 
> I'll assign vps1.codebusterz.net as VPS's address.
> 
> Then all network traffics for vps1.codebusterz.net will go to vps1.
> 
> Same with other VPSs by the way.
> 
> Is this possible using JAIL?
> 
> Thanks
> 
> Yudai Yamagishi

This would only be possible if the protocols your users used to connect
to your server included the name of the server they wanted to connect to
in the data packets setting up the connection.  That is the case in eg.
HTTP/1.1 and it sort of applies to SMTP.  However, those are pretty much
the exceptions rather than the rule.  Most network protocols just have
the IP and port number of the service they want to connect to.

So long as you can arrange for each instance of a given service to
run on a distinct port number, you can use the standard NAT type functions
in pf(4) or ipfw(8)+natd(8) to hide a whole private network of servers
behind a single IP number.  You can also use this on a single server
with jail(8) by binding the jailed IPs to the loopback interface, and
using NAT on the external interface to rewrite the addresses on incoming
traffic. NAT is generally used in the other direction though -- to let a
private network access the Internet.

If you can use protocols where the name of the server is included in the
data payload, you will need to set up some sort of proxy server on your
firewall to direct the traffic internally.  Standard firewall stuff just
looks at the packet headers (layer 2 or 3) and you need extra software to
do protocol (layer 4) dependent processing.  It is a toss up as to whether
suitable software will be available for whatever services you wish to provide.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


The FreeBSD Diary: 2006-05-07 - 2006-05-27

2006-05-28 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives  
and/or The FreeBSD Diary . 

These are the articles posted during this period:

23-May : Burning CDs on an IDE CD-RW
 Accessing an IDE drive as if it was a SCSI device 
 http://freebsddiary.org/cdrecord-ide.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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