php problems

2013-08-05 Thread Mark Moellering
A few years ago (2011) I set up an email system for a small internet 
based company.  I used postfix with a mysql backend for virtual 
accounts.  I also set up apache to test a php based webmail front-end.
I set up several php scripts that would run from cron that would query a 
database and look for new email account requests and then do a variety 
of tasks to get everything set up properly.
After I left, someone else made modifications to the system and things 
stopped working properly.  A few months ago I was asked to try and get 
things working again.


I discovered that all php scripts now generate a seg fault.

I tried a simple hello world type program
the actual code is :
?php
echo test
?
and the output was;

testsegmentation fault

The system is FreeBSD 8.2 and php 5.3

If anyone has any idea of what changes might have been made that could 
cause this, please let me know.  My other thought was to try 
reinstalling / upgrading php.


Thanks in advance

Mark Moellering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Max top end computer for Freebsd to run on

2013-06-07 Thread Mark Moellering

On 6/7/2013 7:52 PM, lokada...@gmx.de wrote:

On 02.06.2013 22:34, Fbsd8 wrote:
I'm a sub second speed freak. What is the max number of cpu's and 
memory size that Freebsd can handle? Can it handle 16 4ghz cpu's and 
32gb of memory? I need a gaming server with some really big balls for 
hundreds of jails. Money is not a deciding factor here, horse power is.

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



Looks like there is set up to 128 maxcpu (or no limit) since FBSD 9.0.
http://forums.freebsd.org/showthread.php?t=13261

Memory i don't know.
With 64Bit it should many ram avaible.

Greeting

In theory, max RAM would be 18446744073709551616 bits (2^64)  I know it 
is possible to configure a system with 64 cores (4 x 16-core cpus).  
However, I haven't seen definitive tests on scaling that far.  Last I 
saw, somewhere in the 6 to 8 core range, you really hit the point of 
diminishing returns.  If you are doing lots of jails, I would suggest 
splitting up 'sets' of jails and limiting them to run on a group of 
specific cores.  In the above configuration, you could have 8 groups of 
8 cpu-cores, each handling a specific set of jails.


Good luck

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


Re: VIMAGE (slightly off topic)

2013-05-30 Thread Mark Moellering

On 5/30/2013 8:29 AM, Joe wrote:

Pietro Paolini wrote:

Hello all,

I am a new bye on the FreeBSD and I am looking at the VIMAGE features 
experiencing some problems.

I added the options :
VIMAGE
if_bridge

and I removed
STCP

then I recompiled my kernel and install it.

After that, following this tutorial 
http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf I tried 
the Exercise 2 which consist on the following commands:


vimage -c n1
vimage -c n2
ngctl mkpeer efface ether ether
ngctl mkpeer efface ether ether
ngctl mkpeer em0: bridge lower link0
ngctl name em0:lower bridge0
ngctl connect em0: bridge0: upper link1
ngctl connect ngeth0: bridge0: ether link2
ngctl connect ngeth1: bridge0: ether link3
vimage -i n1 ngeth0 e0

But my virtual interface on the n1 vimage does not receive any packet 
from the external network while I can see the packet go out from it.


For instance using DHCP, e0 on n1 sends DHCP packets but it does not 
receive the answers (which are send, I verified it from wireshark), 
in adding
the ARP request for his IP address (if I try to add it statically) 
are not received then it can not answer.


At the end of the line the question is: how can I make this virtual 
network and the external real network be able to communicate ?


Thanks in advance.
Pietro.




1. That link is from 2007. So very much has changed since then.
There are more current links on the internet about this subject. Most 
are for 8.X releases.


2. If your running 8.2-RELEASE or 9.1-RELEASE all you need to add is 
options vimage statement to your kernel source and recompile.


3. There are 2 networking methods available for creating vnet/vimage 
jail networks, if_bridge/epair and netgraph. The if_bridge/epair 
method is far simpler to config and use then the netgraph method.


4. There are 2 methods of jail setup, the rc.d method where your jail 
definition parameters go into the hosts rc.conf and the jail(8) method 
where you can place each jails definition parameter in separate files.


5. There are two very important show stopper PRs on vimage,
164763 memory leak and 149050 the rc.d keyword nojail problem.
Vimage is a very long way from prime time usage, thats why it's 
labeled as highly experimental. Host system freezes and page faults 
are common.


6. When it comes to running a firewall in a vnet/vimage jail your 
limited to IPFW and it has limitations. Dummynet and in kernel NAT 
cause system freezes. IPFILTER causes page fault at boot time. PF will 
run on the host but not run in the vnet/vimage jail. Here are a bunch 
of PRs on vimage firewall problems, 143621, 176092, 161094, 176992, 
143808, 148155, 165252, 178480, 178482



Check out these links

http://druidbsd.sourceforge.net/vimage.shtml
http://devinteske.com/vimage-jails-on-freebsd-8
http://lists.freebsd.org/pipermail/freebsd-virtualization/2011-September/000747.html 



http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto
http://zewaren.net/site/?q=node/78


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



I would like to thank Pietro for asking the question and Joe for 
answering, as I was looking into vimage myself.  This sort of thing 
really helps a lot of people who are exploring FreeBSD and new features.

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


pf rdr (redirect) syntax solved

2011-11-30 Thread Mark Moellering
My apologies for posting an answer without a question but this is 
something I want searchable in the future.
To use redirection ( rdr ) in pf, you MUST specify an ip address or 
interface.
For example, if you want to force external traffic coming in on port 80 
to port 443 and write this;


rdr on $interface inet proto tcp from ! $internal_addresses to 
$interface port 80 - port 443


it FAILS!  The PROPER syntax is;

rdr on $interface inet proto tcp from ! $internal_addresses to 
$interface port 80 - $interface port 443


I hope this helps someone...

Mark Moellering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


My server is under attack (I think)

2011-08-19 Thread Mark Moellering

I keep seeing a flood of messages when I run dmesg -a that look like this:

mail sshd[1831]: warning: /etc/hosts.allow, line 2: can't verify 
hostname: getaddrinfo(ip223.hichina.com, AF_INET) failed


Is there anything I should be doing to make sure the server isn't 
compromised?  It is a mail server running postfix / dovecot

I have pf set up and am also running a program called sshguard.
I am kind of at a loss.  It looks like I am under attack but I don't 
know what to do about it.  Any help is greatly appreciated


Thanks in advance

Mark Moellering
m...@msen.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Book recommendations (slightly OT)

2011-07-26 Thread Mark Moellering
I want to automate some tasks, creating directories, file editing, etc.  
I was going to pick up a book on shell scripting but wanted to ask the 
list if;

A) I am barking up the wrong tree and should use something else.
B) If I am headed in the right direction, what is the best book / 
resource to use?


Thanks in advance

Mark Moellering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


(email) server connection problem : Help

2011-06-20 Thread Mark Moellering

I am Running a mail server (postfix / dovecot) on FreeBSD 8.1

I have 6 different domain names configured with 6 different ip addresses.

I cannot log into the server via either ssl for email or ssh on the two 
domains that are .org and .info

The connection is refused.  Here is an example copied from a console;

shell$ ssh -l LoginName mail.anadarkohs60.com
The authenticity of host 'mail.domain_4.com(xx.yy.zzb.174)' can't be 
established.

DSA key fingerprint is {snip}
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.
shell$ ssh -l LoginName mail.domain_3.org
ssh: connect to host mail.domain_3.org port 22: Connection refused
shell$

My guess is that it might be sshguard but I see nothing in the logfiles. 
I can ping to the TLD, mx records, etc check out.  Everything works 
except for my .org and .info domain


Any help is greatly appreciated.  I hope it is one of those simple 
things I missed.


Thanks in advance

Mark Moellering
734.644.4757


Here is my hosts file;

 current version
::1 localhost
127.0.0.1   localhost   mail.main_domain.net
xx.yy.zza.69mail.main_domain.net  mail
xx.yy.zzb.100   mail.domain_1.com
xx.yy.zzb.249   mail.domain_2.com
xx.yy.zzb.62mail.domain_3.org
xx.yy.zzb.174   mail.domain_4.com
xx.yy.zzb.180   mail.domain_5.info
===
# $FreeBSD: src/etc/hosts,v 1.16.34.1.4.1 2010/06/14 02:09:06 kensmith Exp $
#
# Host Database

Here is my pf.conf

#PF Firewall Configuration File

#Definitions
interface=rl0
table attacks persist file /etc/attackers
table sshguard persist

scrub in all

#lock all traffic out of the server
block in on $interface

#block ssh and other attacks using sshguard
block in quick on $interface from sshguard to any label ssh attack

#allow ping, et al
pass in on $interface proto icmp from any to $interface

#allow in ssh , syslogd , ntp, http and https
pass in on $interface proto tcp from any to $interface port 22
pass in on $interface proto udp from any to $interface port 514
pass in on $interface proto udp from any to $interface port 123
#pass in on $interface proto tcp from any to $interface port 80
#pass in on $interface proto tcp from any to $interface port 443

# allow outgoing connections
pass out on $interface proto { tcp, udp, icmp } all keep state

# allow e-mail / smtp (port 25)
pass in on $interface proto tcp from any to $interface port 25
pass in on $interface proto tcp from any to $interface port 110
pass in on $interface proto tcp from any to $interface port 995
pass in on $interface proto tcp from any to $interface port 587
pass in on $interface proto tcp from any to $interface port 465

#Block addresses trying to break in
block drop in on $interface from attacks to any


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


Re: (email) server connection problem : Help

2011-06-20 Thread Mark Moellering

On 20-Jun-11 2:00 PM, Chuck Swiger wrote:

On Jun 20, 2011, at 10:05 AM, Mark Moellering wrote:

I cannot log into the server via either ssl for email or ssh on the two domains 
that are .org and .info
The connection is refused.  Here is an example copied from a console;

shell$ ssh -l LoginName mail.anadarkohs60.com
The authenticity of host 'mail.domain_4.com(xx.yy.zzb.174)' can't be 
established.
DSA key fingerprint is {snip}
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.

By telling it no here, you've instructed SSH to treat the host key as invalid; 
the connection will be closed.


shell$ ssh -l LoginName mail.domain_3.org
ssh: connect to host mail.domain_3.org port 22: Connection refused
shell$

There's no such domain as mail.domain_3.org in the public DNS.

Presumably you've changed this information; all I can conclude is that 
whichever IP address the actual name resolves to isn't running SSH (or it's not 
listening on that particular IP, or a firewall is blocking it, etc).

Regards,


I changed it but here are the actual hostnames:

 current version
::1 localhost
127.0.0.1   localhost   mail.class-creator.net
69.41.171.69mail.class-creator.net  mail
69.41.172.100   mail.saline1990.com
69.41.172.249   mail.pioneer86.com
69.41.172.62mail.grissomhigh1981.org
69.41.172.174   mail.anadarkohs60.com
69.41.172.180   mail.porthuronhighschool.info
===

DNS checks out.
I think I am running ssl.  I am checking postfix and dovecot.  The odd 
thing is the ssh.  I looked at some old troubleshooting tips and ran 
netstat -anf inet and this is what it returned


Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address   (state)
tcp4   0 52 69.41.171.69.2268.40.255.141.54052
ESTABLISHED
tcp4   0  0 69.41.171.69.3306  68.40.255.141.53928
ESTABLISHED
tcp4   0  0 69.41.171.69.3306  68.40.255.141.53927
ESTABLISHED
tcp4   0  0 69.41.171.69.3306  68.40.255.141.53925
ESTABLISHED

tcp4   0  0 *.22   *.*LISTEN
tcp4   0  0 *.587  *.*LISTEN
tcp4   0  0 *.25   *.*LISTEN
tcp4   0  0 *.995  *.*LISTEN
tcp4   0  0 *.110  *.*LISTEN
tcp4   0  0 *.3306 *.*LISTEN
udp4   0  0 127.0.0.1.123  *.*
udp4   0  0 69.41.172.180.123  *.*
udp4   0  0 69.41.172.174.123  *.*
udp4   0  0 69.41.172.62.123   *.*
udp4   0  0 69.41.172.249.123  *.*
udp4   0  0 69.41.172.100.123  *.*
udp4   0  0 69.41.171.69.123   *.*
udp4   0  0 *.123  *.*
udp4   0  0 *.514  *.*


Thanks for your help

Mark

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


Re: (email) server connection problem : Help -- SOLVED

2011-06-20 Thread Mark Moellering

I want to thank everyone who helped me with this.
It turned out that due to an administrative error, our hosting company 
had the ip addresses I was having trouble with routed to the wrong 
server.  Everything is working now.


Thanks again,

Mark Moellering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


OT: Security question (openssl vs openssh)

2011-05-03 Thread Mark Moellering

Everyone,
I am looking into setting up a webserver to hold some very sensitive 
information.  I am trying to figure out which is more secure, forcing 
any web connections to be done using an ssh tunnel or forcing ssl.
I have not been able to figure out if one is definitively much more 
secure than another or if they are close to the same.  I would have 
initially thought the ssh tunnel was more secure but knowing that ssl 
can use AES-256, I am now wondering if that isn't adding a complexity 
for little extra security.


Thanks in advance

Mark Moellering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


postfix / windows live mail problems (possibly OT)

2011-03-16 Thread Mark Moellering
I recently set up a postfix mail server on freebsd 8.1 with dovecot.  I 
am having trouble sending mail using Windows Live Mail.

The error I see in the logfiles is:
Mar 16 13:13:57 mail postfix/smtpd[5159]: connect from 
c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]
Mar 16 13:13:57 mail postfix/smtpd[5159]: NOQUEUE: reject: RCPT from 
c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]: 554 5.7.1 
m...@.com: Relay access denied; from=b...@.com 
to=m...@.com proto=ESMTP helo=HPPC
Mar 16 13:13:57 mail postfix/smtpd[5159]: disconnect from 
c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]


The error Windows Live displays is:

Server Error: 554
Server Response: 554 5.7.1 m...@.com: Relay access denied
Server: 'mail..com'
Windows Live Mail Error ID: 0x800CCC79
Protocol: SMTP
Port: 587
Secure(SSL): No

If anyone can point me to a better list or otherwise help out, it would 
be greatly appreciated.  Naturally, Thunderbird and KDE-Mail work fine...


Mark Moellering
Class-Creator . com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: postfix / windows live mail problems (possibly OT)

2011-03-16 Thread Mark Moellering
My apologies, I could not find the postfix mailing list initially.  (it 
has been a Deal with Microsoft software day...)

I have now found the proper list,
Thank You

On 16-Mar-11 5:15 PM, Ilya Kazakevich wrote:

Your postfix does not relay mails from this client.
See http://www.postfix.org/SMTPD_ACCESS_README.html

I suggest you to remove your IPs from messages next time. By the way, 
postfix should have its own mail-list, not freebsd:)


On Wed, Mar 16, 2011 at 11:35 PM, Mark Moellering m...@msen.com 
mailto:m...@msen.com wrote:


I recently set up a postfix mail server on freebsd 8.1 with
dovecot.  I am having trouble sending mail using Windows Live Mail.
The error I see in the logfiles is:
Mar 16 13:13:57 mail postfix/smtpd[5159]: connect from
c-68-40-255-141.hsd1.mi.comcast.net
http://c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]
Mar 16 13:13:57 mail postfix/smtpd[5159]: NOQUEUE: reject: RCPT
from c-68-40-255-141.hsd1.mi.comcast.net
http://c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]: 554
5.7.1 m...@.com mailto:m...@.com: Relay access denied;
from=b...@.com mailto:b...@.com to=m...@.com
mailto:m...@.com proto=ESMTP helo=HPPC
Mar 16 13:13:57 mail postfix/smtpd[5159]: disconnect from
c-68-40-255-141.hsd1.mi.comcast.net
http://c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]

The error Windows Live displays is:

Server Error: 554
Server Response: 554 5.7.1 m...@.com mailto:m...@.com:
Relay access denied
Server: 'mail..com http://mail..com'
Windows Live Mail Error ID: 0x800CCC79
Protocol: SMTP
Port: 587
Secure(SSL): No

If anyone can point me to a better list or otherwise help out, it
would be greatly appreciated.  Naturally, Thunderbird and KDE-Mail
work fine...

Mark Moellering
Class-Creator . com
___
freebsd-questions@freebsd.org
mailto:freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org
mailto:freebsd-questions-unsubscr...@freebsd.org




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


Re: Bot? / pf question

2011-01-05 Thread Mark Moellering

On 05-Jan-11 1:44 PM, Kevin Wilcox wrote:

On 5 January 2011 13:25, David Brodbeckg...@gull.us  wrote:


On Wed, Jan 5, 2011 at 8:15 AM, Kevin Wilcoxkevin.wil...@gmail.com  wrote:

To really see what your machine is doing, consider taking a look at
the network flows. pfflowd, netflowd, ipaudit and a host of others can
get you flow data with mostly minimal overhead.

Also, keep in mind that depending on how badly the machine has been
compromised, you may not be able to trust the output of utilities
running on the machine itself.  You may have to resort to capturing
its network traffic on another machine for analysis.

That's an excellent point. A span port from the upstream switch/router
would be ideal unless you've verified, through mechanisms external to
the machine (known good test media), the tools on that machine are
trustworthy.

kmw
___


Since I am going to be setting up a mail server sometime next week and 
have to keep things like this in mind;
would it make sense to run pf and block all outbound traffic that isn't 
on port 25 ( port 995 , etc)  and force any web administration programs 
onto a port other than 80 to help with this sort of thing?  Any other 
thoughts on how to make sure future installations can be kept secure?


As always, thanks in advance to everyone,

Mark Moellering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


E-Mail scaling question

2010-12-21 Thread Mark Moellering
Hello All,
My company needs a [new] e-mail solution for a product rollout.  Rather than 
have a few e-mail domains with lots of addresses, the solution we need is for 
a very few (mostly one, very rarely more than 3) accounts on upwards of tens 
of thousands of domains.  

I can't find any info on scaling sendmail or postfix to this many domains.  If 
anyone has any info, knowledge, horror stories, etc. It would be greatly 
appreciated

Also, I am assuming that to play nice, we need a dedicated IP per domain, so I 
may have to survive setting that up before I even get to the e-mail.  If 
anyone knows of a legitimate way to set up an e-mail domain on a shared IP and 
not have half of the e-mail servers assume we are spammers, let me know.

Thanks in advance

Mark Moellering
classcreator.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Ndis driver causes kernel problems on boot

2010-10-13 Thread Mark Moellering

 I created a driver for my rtl8187 SE in my MSI Wind netbook using ndisgen.
I placed the driver , rtl8187Se_sys.ko in /boot/modules

I added rtl8187Se_sys_load=YES in /boot/loader.conf

I can kldload rtl8187Se_sys and everything seems OK.
If I reboot, however, I get the following error during boot (truncated 
to what I think is the relevant info);


Fata trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address= 0xf00032d4
fault code = supervisor read, page not present
...
current process= 12 (swi4: clock)

I am a little lost at this point.  If I start in bootloader prompt mode, 
I type;

OK unload
OK load /boot/kernel/kernel
OK boot

and everything works fine.

Any and all help is appreciated.

Mark Moellering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ndis driver causes kernel problems on boot

2010-10-13 Thread Mark Moellering

 On 13-Oct-10 12:47 PM, Paul B Mahol wrote:

On 10/13/10, Mark Moelleringm...@msen.com  wrote:

   I created a driver for my rtl8187 SE in my MSI Wind netbook using ndisgen.
I placed the driver , rtl8187Se_sys.ko in /boot/modules

I added rtl8187Se_sys_load=YES in /boot/loader.conf

I can kldload rtl8187Se_sys and everything seems OK.
If I reboot, however, I get the following error during boot (truncated
to what I think is the relevant info);

Fata trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address= 0xf00032d4
fault code = supervisor read, page not present
...
current process= 12 (swi4: clock)

I am a little lost at this point.  If I start in bootloader prompt mode,
I type;
OK  unload
OK  load /boot/kernel/kernel
OK  boot

and everything works fine.

Any and all help is appreciated.

Some miniport drivers (or newer versions of drivers) tend to cause this.
Workaround is to not use loader.conf to load miniport driver (in your
case it is rtl8187Se_sys.ko) and instead load them (manually or
automatically) after boot.

OK thanks.  How would I do that exactly (automatically).  I think I need 
to create a shell script to execute the kldload commands but I am not 
sure how/where I should call it.  Thanks for your help.  I am getting a 
little burned out from reading man pages.  Any and all help is apprciated


Thanks for your help.

Mark Moellering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Help with RealTek 8201 / rlphy

2010-10-07 Thread Mark Moellering
 I am installing FreeBSD 8.1 on an MSI wind notebook, which has a 
RealTek 8201 wireless chip.  The kernel acknowledges the chip as rlphy0 
on mii but I have no idea of how to actually configure it.

It shows up as miibus/rlphy in kldstat and as dev.rlphy.0
It does not show up under ifconfig

Thanks in advance

Mark Moellering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help with RealTek 8201 / rlphy

2010-10-07 Thread Mark Moellering

 On 07-Oct-10 2:42 PM, Lokadamus wrote:

 Am 07.10.2010 18:50, schrieb Mark Moellering:
 I am installing FreeBSD 8.1 on an MSI wind notebook, which has a 
RealTek 8201 wireless chip.  The kernel acknowledges the chip as 
rlphy0 on mii but I have no idea of how to actually configure it.

It shows up as miibus/rlphy in kldstat and as dev.rlphy.0
It does not show up under ifconfig

Thanks in advance

Mark Moellering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org



Have you read this?
http://www.freebsd.org/doc/handbook/network-wireless.html
I have.  I have no problem setting up wireless interfaces on other 
computers where there is a known/accepted driver and an ifconfig entry.


If I try and create the wlan0 device using # ifconfig wlan0 create 
wlandev rlphy0 I get the following

# ifconfig : SIOCIFCREATE2: Device not configured

I have read through a variety of man pages and I can't figure out how to 
tell ifconfig there is a device rlphy0 which attaches to sysctl - 
dev.rlphy.0


I have found an entry under the miibus man:

A generic driver has been included for all PHYs that
 are not handled by a specific driver, this is possible because all 10/100
 PHYs implement the same general register set along with their vendor spe-
 cific register set.

but I can find no info on how to use that driver or get it to show up under 
ifconfig.  If I list all interfaces under ifconfig, I just get re0 and lo0

Thanks for the reply.

Mark


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


Fwd: Help with KDE Policykit system-settings

2010-08-04 Thread Mark Moellering

Apologies for the cross-post.  All help is appreciated.

I just installed Freebsd 8.1 amd64 with the kde 4.45 package. I am

trying to get the PolicyKit to work with hal using the kde policyKit 'manager'.
I have tried both running as root or using su.
In both cases, when I pull up the (KDE) PolicyKit screen, it does not allow me 
to change
anything.  The modify settings is greyed out in the default area
section, even if I change something and if I try and grant a user privilages, the 
Grant button
stays disabled after I choose a user.
Any idea how I can get this to work? Is there some system setting I have 
forgotten? Thanks in advance.

Mark Moellering


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


OT 8.1 Release Status

2010-07-16 Thread Mark Moellering
I noticed that the 8.1 release status page hasn't been updated since the 
4th.  I know the team is very close to the release.   The last 
indication is that the geom system needs work.   Can someone update the 
page?  I hate to send Is it done yet? sorts of e-mails so I keep 
checking the release update page http://wiki.freebsd.org/Releng/8.1TODO 
,  but there was supposed to be a release on the 9th and I thought it 
might be time to ask for the page to be updated... 
(Note:  I do not want to push the team.  I know as a developer I put 
more pressure on myself to finish things than others, and I hate the 
idea of a 'regular release schedule'.  When things are ready, it will be 
released.  Just wondering how things are going...)


Mark Moellering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


problems with Policykit in KDE4.3 on Freebsd 8 amd64

2010-07-01 Thread Mark Moellering

Apologies for the cross posting.
I recently did a fresh install of Freebsd 8 , amd64.
I then added Xorg and KDE (4.3) from the sysinstall packages system.

I read about policykit, which seems really cool.  I set-up PolicyKit in 
the KDE systems settings and things worked great (adding USB drives), 
until I rebooted.
Now it doesn't really work.  It seems to me that even though KDE saved 
my settings, it isn't initializing something at boot or login. 
Does anyone know what needs to be done?  Do I need to use kdm?  Add a 
line to rc.conf?  I am pretty good at Freebsd but getting KDE4 
subsystems working is still a little mysterious.


Any and all help appreciated.

thanks in advance

Mark Moellering
m...@msen.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: snd_hda peculiarities

2009-12-30 Thread Mark Moellering

Richard L. Mace wrote:
I recently installed FreeBSD 8.0 (amd64) on my laptop (HP 8510w) and most 
things are working. However, a minor annoyance is that I only get sound if I 
manually load snd_hda via:


# kldload snd_hda

i.e., after booting. If I place the following in /boot/loader.conf

snd_hda_load=YES

I get no sound, even though the driver seems to load and cat /dev/sndstat 
gives

--
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: HDA Analog Devices AD1981HD PCM #0 Analog at cad 0 nid 1 on hdac0 kld 
snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
pcm1: HDA Analog Devices AD1981HD PCM #1 Digital at cad 0 nid 1 on hdac0 kld 
snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex)



Googling, I found this page: 


http://lists.freebsd.org/pipermail/freebsd-bugs/2009-June/035677.html

Which reports precisely the behaviour I am experiencing. No fix or workaround 
is suggested.


Has anyone with similar hardware managed to get this driver working? Any 
workarounds to my problem? My audio hardware is...


$pciconf -lv 
stuff omitted
hd...@pci0:0:27:0:  class=0x040300 card=0x30c5103c chip=0x284b8086 
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = 'Intel audio controller embedded with the 82801H chipset ( 
ICH8 chipset ) (82801H)'
class  = multimedia 
subclass   = HDA 


And I am using
$ uname -a
FreeBSD belenos 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 
2009 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64


Many thanks
-Richard

  
I had the same problem.  Unfortunately, I am not at home to look at the 
exact solution but I know it involves setting the sound channel in 
sysctl.conf  I think if you look in some of the relevant man apges, it 
might give you a hint.  something like snd.channel = 1 or something 
similar.  When I get home I will try and post the solution.


Mark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: snd_hda peculiarities

2009-12-30 Thread Mark Moellering

Pieter de Goeje wrote:

On Wednesday 30 December 2009 15:45:50 Richard L. Mace wrote:
  

I recently installed FreeBSD 8.0 (amd64) on my laptop (HP 8510w) and most
things are working. However, a minor annoyance is that I only get sound if
 I manually load snd_hda via:

# kldload snd_hda

i.e., after booting. If I place the following in /boot/loader.conf

snd_hda_load=YES

I get no sound, even though the driver seems to load and cat /dev/sndstat
gives



Try setting hw.snd.default_unit=1 in sysctl.conf. Most likely the order of the 
devices has changed.


  

---
--- FreeBSD Audio Driver (newpcm:
 64bit 2009061500/amd64)
Installed devices:
pcm0: HDA Analog Devices AD1981HD PCM #0 Analog at cad 0 nid 1 on hdac0
 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
pcm1: HDA Analog Devices AD1981HD PCM #1 Digital at cad 0 nid 1 on hdac0
 kld snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex)
---
-



This looks like the output from the working configuration. Note that the first 
device is the analog output, the second is a digital output. When you load 
snd_hda using loader.conf, the order is likely different on your machine and 
the digital output is listed first. hw.snd.default_unit=1 would then direct the 
sound to the proper (analog) output.


- Pieter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


  

Richard,
  I am sure that this is what I did to my machine to get snd_hda to 
work.


Mark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sound problem in 8

2009-12-18 Thread Mark Moellering
On Friday 18 December 2009 21:53:45 Tsu-Fan Cheng wrote:
 Hi,
 
I just update to 8 release, and found that my sound has problem, my
 mpg123 can't find oss output, and mpg321 can't create mcop directory.
  Though mplayer and xmms don't complain while playing mp3 files, the music
  is distorted, I can't really describe it. It seems people have been
  talking about this on the forum but I didn't see any definitive answer,
  thought I will post it here to get some help, thanks!!
 
 TFC

Not sure if it will help your situation but I had to add hw.snd.default_unit=1 
to my sysctl.conf file.  You may need to look at the output of dmesg and read 
through th eman page(s) of snd and your sound card.

Hope this helps

Mark Moellering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: K3b-DVD

2009-07-21 Thread Mark Moellering
On Monday 20 July 2009 08:39:45 pm ajtiM wrote:
 Hi!

 My system: FreeBSD 7.2, KDE 3.5.10

 I did try to burn data DVD with my NEC DVD ND-1300A but I got an error:
 :-( Media is not formatted or unsupported

 Write error

 Debugging output:

 System
 ---
 K3b Version: 1.0.5

 KDE Version: 3.5.10
 QT Version:  3.3.8
 Kernel:  7.2-RELEASE-p2
 Devices
 ---
 _NEC DVD_RW ND-1300A 1.06 (/dev/cd0, ) [CD-R, CD-RW, CD-ROM, DVD-ROM,
 DVD-R, DVD-RW, DVD+R, DVD+RW] [DVD-ROM, DVD-R Sequential, DVD-RW Restricted
 Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, CD-ROM, CD-R, CD-RW] [SAO,
 TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted
 Overwrite]

 Burned media
 ---
 DVD-R Sequential

 K3bIsoImager
 ---
 mkisofs print size result: 1930464 (3953590272 bytes)
 Pipe throughput: 33570816 bytes read, 33562624 bytes written.

 Used versions
 ---
 mkisofs: 2.1
 growisofs: 7.1

 growisofs
 ---
 Executing 'builtin_dd if=/dev/fd/0 of=/dev/pass4 obs=32k seek=0'
 /dev/pass4: Current Write Speed is 1.0x1352KBps.

 :-[ wr...@lba=0h failed with SK=5h/CANNOT WRITE MEDIUM - INCOMPATIBLE
 : FORMAT]:

 Invalid argument

 :-( media is not formatted or unsupported.
 :-( write failed: Invalid argument

--- diagnostics removed ---

Some thoughts.  Every time I set up k3b to run under FreeBSD I had to run it 
as root or it would not recognize the drive properly.  The first thing I can 
think of is to make sure that under set - devices your drive is displayed 
properly.  If not, try running k3b as root.  Not an ideal solution but ti 
should at least get you going, if that is the problem.

The other problem I have had is that I had to change from
Writing Mode : Auto 
to  Writing Mode: DAO

I don't know why but I would have read / write errors, change the Write Mode 
to DAO and then it would work.

I hope this helps, I understand your frustration...

Mark

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


Re: Encoding Movies to DVD

2009-04-01 Thread Mark Moellering
On Wednesday 01 April 2009 07:35:28 pm Warren Liddell wrote:
 Im chasing an application that basically does the same thing Windows
 Nero Vision does but naturally on FreeBSD .. is there such an
 application or is it something thats command line based ?

look at k3b for burning and a program called Devede for transcoding

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


Re: 7.1 RC1 - problems with Intel Pro/1000 NIC (em0)?

2008-12-18 Thread Mark Moellering

Ewald Jenisch wrote:

Hi,

After installing FreeBSD 7.1 RC1 from the DVD-image I found that the
PC in question has no LAN connectivity upon reboot.

The PC has an Intel GE builtin NIC showing up as Intel PRO/1000
Network Connection 6.9.6 in dmesg.

For the problem: Though IP-Adress, default-GW etc. are correctly set
the box can't e.g. ping anything on the net; neither on the local lan
nor across the default-gw. Same the other way round: machine can't be
ping-ed, not even from the local subnet.

What's interesting though is that on both the LAN-Switch and the PC
(ifconfig) the interface shows up as connected. Even more
interesting: the MAC-address of the PC-nic shows up on the
corresponding LAN-Switch. So there definitely is some form of
connectivity.

When starting a tcpdump there's no output - so obviously nothing is
coming into the machine form the network.

To cross-check I've 


a) swapped the patch-cable for another one - no change

b) tried Ubuntu (Linux) from the Live-CD - under Ubuntu I've got full
LAN-connectivity without any problems

so it must be something FreeBSD related...

Has anybody out there had problems with an Intel GE-Nic (em0) under
7.1?

Thanks in advance for any clue,
-ewald

___

  
There was a note on the intel em chipset.  most of them are being 
renamed to igb, that could be part of the problem.  You may need to 
check the hardware notes.


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


Re: Is KDE4 usable on FreeBSD?

2008-11-03 Thread Mark Moellering

Thomas Abthorpe wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On November 2, 2008 08:01:38 pm FBSD1 wrote:
  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chad Perrin
Sent: Sunday, November 02, 2008 12:40 PM
To: freebsd-questions@freebsd.org
Subject: Re: Is KDE4 usable on FreeBSD?


Ok now that you have all let off steam about the off topic of desktop
verses ms/windows lets return the meaning of the  original poster.


I spent this weekend playing with kde4 as root and had problems with it
not working.
Could not change the displayed time to from 20.00.00 to 8:00PM
When I changed the resolution from the default to 800x600 and the refresh
rate to 60.0 many of the applications did not auto fit to the new setting
and the change would not carry over between logons.
Some times the desktop just froze up and had to do alt-ctrl-backspace to
force return to command line.
When I changed the font type and size to use, the change would not carry
over between logons.
Could not find a way to remove items from the menu.
Some icons would not display at all.
Koffice was missing.
Not all the application use the new window format which has the option to
return to menu that launched it. Only has x out to return to desktop
screen.

Bottom line is imho kde4 is not stable, is not ready for general use. Needs
more development and testing. Should only be contained in the development
ports category.





I submit to the court of pulic opinion that KDE4 *IS* stable on FreeBSD. I 
would encourage you to check out the following resources


http://freebsd.kde.org
http://wiki.freebsd.org/KDE4

Certainly, if my word is not good enough, the nice folks over at PC-BSD, 
http://www.pcbsd.org, sure have bundled up a nice package based on FreeBSD 7 
and KDE4.



Thomas

  
I have used KDE-4   While some of the graphics are much better looking, 
I thought it lacked some functionality.  These are minor issues but 
several of the old (KDE 3.5.X) control panel options were not available 
(or I couldn't find them) and figuring out where to set certain options 
was not that intuitive for me.  I never found a central location for 
settings, it seemed that each control (menu, taskbar, etc) had it's own 
'right click' sort of settings page.
The small thing that truly bugged me is that I normally only display 
programs for the current desktop in the taskbar, but there was a small 
control that you could select that would display all windows on all 
desktops (I forget its official name).  I used it alot to make sure I 
didn't forget something running, etc.  I couldn't find this taskbar 
control in KDE 4.
The other problems I had dealt with thrid-party programs.  There is no 
(at least as of a few months ago) K3B for KDE-4 and no FreeBSD port of 
Ktorrent for KDE-4.  I tried the linux port but had lots of problems.
Also, to start you need to give an explicit path, something like 
/usr/local/kde-4/bin/startkde in the .xinitrc file.  (at least I could 
never get anything else to work)
I ultimately changed back to the 3.5.9(?) version from packages.  I am 
using an intel quad core running amd64 FreeBSD 7.0 Release


Hope this helps.

Mark Moellering

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


Re: Problem with gio-fam-backend, portupgrade failing...

2008-04-07 Thread Mark Moellering
On Monday 07 April 2008 03:54:12 pm peter harrison wrote:
 I'm having a problem running portupgrade -a. The original run was
 interrupted by a system crash. Now when I try to repeat it fails asking for
 pkgdb -fF to be run.

 When I run this, I get stale dependencies on policykit, but when I say
 yes to install, the install of policykit fails on gio-fam-backend (not a
 port I had installed before the attempted upgrade).

 Here's an extract from the build:


  -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -pthread
 -DG_LOG_DOMAIN=\GLib-GIO\ -I../.. -I../../glib -I../../gmodule
 -I../../gio -DG_DISABLE_CAST_CHECKS
 -DGIO_MODULE_DIR=\/usr/local/lib/gio/modules\ -DGIO_COMPILATION
 -DG_DISABLE_DEPRECATED -O2 -fno-strict-aliasing -pipe -Wall -MT
 libgiofam_la-gfamfilemonitor.lo -MD -MP -MF
 .deps/libgiofam_la-gfamfilemonitor.Tpo -c gfamfilemonitor.c -o
 libgiofam_la-gfamfilemonitor.o /dev/null 21 mv -f
 .deps/libgiofam_la-gfamfilemonitor.Tpo
 .deps/libgiofam_la-gfamfilemonitor.Plo gmake: *** No rule to make target
 `../../gio/libgio-2.0.la', needed by `libgiofam.la'.  Stop. *** Error code
 2

 Stop in /usr/ports/devel/gio-fam-backend.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portinstall.72819.0 env make ** Fix the problem and try again.
 ---  Skipping 'sysutils/policykit' because a requisite port
 'devel/gio-fam-backend' failed (specify -k to force) ** Listing the failed
 packages (-:ignored / *:skipped / !:failed)
 ! devel/gio-fam-backend (unknown build error)
 * sysutils/policykit
 Command failed [exit code 1]: /usr/local/sbin/portinstall
 sysutils/policykit

 So now I'm stuck halfway through a portupgrade.

 This is on

 FreeBSD desktop.piggybox 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #5: Wed Apr 
 2 03:41:26 BST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC 
 i386

 Can anyone offer a suggestion for how I fix this?

 Thanks in advance.

 Peter Harrison

I have seen this before, if ( /devel/ ) gio-fam-backend needs a library that 
is outdated, it gives this sort of error.  I know when I had the issue, it 
was that it needs glib 2.16 and I had 2.14.  Thankfully it doesn't have too 
many dependancies so it isn't hard to check them all.

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


Re: Problem starting X as user

2008-04-03 Thread Mark Moellering
On Thursday 03 April 2008 04:33:36 pm Frank Wißmann wrote:
 Roland Smith wrote:
  On Thu, Apr 03, 2008 at 09:03:40PM +0200, Frank Wißmann wrote:
  Hi all!
  Hope there's somebody out there who can help me with the following
  problem: When I type startx as root all is coming up as expected, the
  X-Server and twm as WM. When I stop it, log in as a normal user and do
  the same there is only a grey screen with a mouse-cursor coming up and
  doing nothing until I kill the X-Server with Ctrl-Alt-Backspace. On the
  original screen from which I tried to start is shown the following error
  message:
 
  AUDIT: Thu Apr 3 20:34:48 2008 836 X: client 1 rejected from localhost
  (uid 1001)
  Auth name: XDM-AUTHORIZATION-1 ID: -1
  Xlib: connection to 0:0 refused by server
  Xlib: Protocol not supported by server
 
  .xinitrc and .xsession both have the same contens exec startxfce4 and
  the permissions rwxr-xr-x.
 
  Any thoughts please?
 
  Does the regular user have an ~/.Xauthority file? If not, you might have
  to create it with xauth(1), or copy it from the root user.
 
  Roland

 Yes, there is one with the same permissions as the above mentioned files.

 Greetings

 Frank

Frank,

Try removing the exec and have the .xinitrc just read 

startxfce4

The only other thing I can think of is editing the file in a terminal.  
There 
have been some system files that if I edit in a graphical editor (Kedit on my 
KDE system) some extra characters somehow get in there and create odd 
problems, whereas if I use a text editor (edit, vi, etc) things work fine.

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


Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Mark Moellering
On Friday 28 March 2008 06:23:49 am Kris Kennaway wrote:
 Mark Moellering wrote:
  I have been trying to install an i386 jail on an amd64 install.  I added
  Target=i386 to the command line in the make buildworld and installworld
  commands.  I keep getting the following (or similar) error

 'Target' does nothing, there is no such variable.  If you meant
 'TARGET', that is a real variable but not the one you want.  You need to
 add 'TARGET_ARCH=i386' to your build/installworld to successfully
 cross-compile.

 Kris

Kris, 
Thanks for the reply.
I aplogize, I should have been more explicit.

I tried TARGET=i386 ; TARGET_ARCH=i386; and both together, all gave the same 
error.

(/libexec/ld-elf.so.1: Shared object libedit.so.6 not found, required 
by sh)

Have you or has anyone else on the list successfuly done this?

Thanks Again

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


Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Mark Moellering
On Friday 28 March 2008 03:27:27 pm you wrote:
 Mark Moellering wrote:
  On Friday 28 March 2008 06:23:49 am Kris Kennaway wrote:
  Mark Moellering wrote:
  I have been trying to install an i386 jail on an amd64 install.  I
  added Target=i386 to the command line in the make buildworld and
  installworld commands.  I keep getting the following (or similar) error
 
  'Target' does nothing, there is no such variable.  If you meant
  'TARGET', that is a real variable but not the one you want.  You need to
  add 'TARGET_ARCH=i386' to your build/installworld to successfully
  cross-compile.
 
  Kris
 
  Kris,
  Thanks for the reply.
  I aplogize, I should have been more explicit.
 
  I tried TARGET=i386 ; TARGET_ARCH=i386; and both together, all gave the
  same error.
 
  (/libexec/ld-elf.so.1: Shared object libedit.so.6 not found, required
  by sh)
 
  Have you or has anyone else on the list successfuly done this?

 Yes, frequently.  Does the library exist in the chroot and is it an i386
 library (use file(1))?

 Kris

Thanks Kris, you're a lifesaver.

The response I get using File is:

libedit.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), 
dynamically linked, stripped
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Mark Moellering
On Friday 28 March 2008 04:51:08 pm Kris Kennaway wrote:
 Mark Moellering wrote:
  On Friday 28 March 2008 03:27:27 pm you wrote:
  Mark Moellering wrote:
  On Friday 28 March 2008 06:23:49 am Kris Kennaway wrote:
  Mark Moellering wrote:
  I have been trying to install an i386 jail on an amd64 install.  I
  added Target=i386 to the command line in the make buildworld and
  installworld commands.  I keep getting the following (or similar)
  error
 
  'Target' does nothing, there is no such variable.  If you meant
  'TARGET', that is a real variable but not the one you want.  You need
  to add 'TARGET_ARCH=i386' to your build/installworld to successfully
  cross-compile.
 
  Kris
 
  Kris,
  Thanks for the reply.
  I aplogize, I should have been more explicit.
 
  I tried TARGET=i386 ; TARGET_ARCH=i386; and both together, all gave the
  same error.
 
  (/libexec/ld-elf.so.1: Shared object libedit.so.6 not found, required
  by sh)
 
  Have you or has anyone else on the list successfuly done this?
 
  Yes, frequently.  Does the library exist in the chroot and is it an i386
  library (use file(1))?
 
  Kris
 
  Thanks Kris, you're a lifesaver.
 
  The response I get using File is:
 
  libedit.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1
  (FreeBSD), dynamically linked, stripped

 OK, that is correct.  Is the rest of the chroot configured properly,
 e.g. did you populate /etc and /var?

 Kris

/etc and /var are populated

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


Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Mark Moellering
On Friday 28 March 2008 05:03:39 pm Kris Kennaway wrote:
 Mark Moellering wrote:
  On Friday 28 March 2008 04:51:08 pm Kris Kennaway wrote:
  Mark Moellering wrote:
  On Friday 28 March 2008 03:27:27 pm you wrote:
  Mark Moellering wrote:
  On Friday 28 March 2008 06:23:49 am Kris Kennaway wrote:
  Mark Moellering wrote:
  I have been trying to install an i386 jail on an amd64 install.  I
  added Target=i386 to the command line in the make buildworld and
  installworld commands.  I keep getting the following (or similar)
  error
 
  'Target' does nothing, there is no such variable.  If you meant
  'TARGET', that is a real variable but not the one you want.  You
  need to add 'TARGET_ARCH=i386' to your build/installworld to
  successfully cross-compile.
 
  Kris
 
  Kris,
  Thanks for the reply.
  I aplogize, I should have been more explicit.
 
  I tried TARGET=i386 ; TARGET_ARCH=i386; and both together, all gave
  the same error.
 
  (/libexec/ld-elf.so.1: Shared object libedit.so.6 not found,
  required by sh)
 
  Have you or has anyone else on the list successfuly done this?
 
  Yes, frequently.  Does the library exist in the chroot and is it an
  i386 library (use file(1))?
 
  Kris
 
  Thanks Kris, you're a lifesaver.
 
  The response I get using File is:
 
  libedit.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1
  (FreeBSD), dynamically linked, stripped
 
  OK, that is correct.  Is the rest of the chroot configured properly,
  e.g. did you populate /etc and /var?
 
  Kris
 
  /etc and /var are populated

 what if you run other binaries, e.g. chroot /chroot ls, etc?  Do any of
 them work?  If not, then something is either wrong with the
 /var/run/ld.so.hints, the /libexec/ld-elf.so.1, etc.

 Kris

this is no ld-elf.so.hints under the chroot.  Should i copy or 
link /var/run/ld-elf32.so.hints to $chroot/var/run/ld-elf32.so.hints ?

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


problems with i386 jail on amd64 install 7.0 Release

2008-03-27 Thread Mark Moellering
I have been trying to install an i386 jail on an amd64 install.  I added 
Target=i386 to the command line in the make buildworld and installworld 
commands.  I keep getting the following (or similar) error

/libexec/ld-elf.so.1: Shared object libedit.so.6 not found, required by sh

the $jail/libexec/ld-elf.so.1 file is the 32-bit version, however, 
$jail/usr/libexec/ld-elf.so.1 is a link to the 64-bit version in /libexec of 
the install.  

I haven't done any cross-compiling before and I have not found much in the way 
of documentation. 

Any and all help is appreciated

Sincerely

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


limit Xorg to one ip address

2008-03-19 Thread Mark Moellering
I want to set up the jail server but the information I have indicates that I 
cannot have a daemon binding to all IP addresses.  How do i limit Xorg from 
binding to all IP addresses?  Is this still necesary?

All help is appreciated.

Thanks

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


limit Xorg to one ip address - problem further explained

2008-03-19 Thread Mark Moellering
O.k., here is the deal.  As a web designer, I NEED to run Flash-9.  I have 
traditionally developed on FreeBSD and recently upgraded to a core-2 Quad 
system.  Now that I am using the amd64 system, I can't run win4bsd, wine, 
etc. except in a jail.  
I would prefer to keep X and everything else native amd64 with only the 
jail 
i386 as I have not used jails before and I don't want to get bogged down with 
more details.  Which brings me back to my original question or am I going 
about this all wrong?

Thanks again for everyones prompt replies.

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


compiling 32 bit port on amd64

2008-02-18 Thread Mark Moellering
Is there a way I can specify a port to be compiled in 32 bit mode on an amd64 
installation?  I have compat_ia32 in kernel.

Thanks

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


compiling 32 bit port on amd64 - Rephrase

2008-02-18 Thread Mark Moellering
Is there a way to compile the 32 bit version (i386) of a port on an amd64 
installation?  I am running FreeBSD 7.0 RC2 amd64

Thanks

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


Re: ls sees disk but mount_ntfs doesn't

2008-01-31 Thread Mark Moellering
On Thursday 31 January 2008 9:59 am, Chris Whitehouse wrote:
 Hi,

 I'm trying to get some data off a laptop. The disk is buried inside
 somewhere so to avoid dismantling the laptop I am trying to mount it
 using a FreeBSD livefs cd (7.0RC1).

 Note all the commands and output below are typed up by hand but I think
 they are accurate.

 Fixit# ls -l /dev/ad0s2
 crw-r-  1 root  operator0,  94 Jan 31 13:39 /dev/ad0s2
 Fixit# mount_ntfs -o ro /dev/ad0s2 /mnt
 mount_ntfs: /dev/ad0s2: No such file or director


 So I thought I would try using ntfs-3g which I would prefer anyway as it
   is probably safer.

 Fixit# pkg_add -r fusefs-ntfs
 Fetching ftp://[pathto]fusefs-ntfs.tbs...pkg_add: warning error writing
 to tar: Broken pipe Done.
 pkg_add: unable to open table of contents of file '+CONTENTS' - not a
 package?
 Fixit#

 Lastly dmesg shows:
 GEOM_LABEL: Label for provider ad0s2 is ntfs/HDD.

 So how can I mount the hard disk?

 Or can anyone suggest an alternative way to get the data other than
 dismantling the laptop? I've tried ping which is a linux based disk
 cloning livecd but it can't see network or a usb hard drive.

 As a secondary question, could ntfs-3g be included in the livefs CD? It
 seems like quite a useful utility to have.

 Thanks

 Chris

Chris,  On my system, the ntfs partition you need to mount is ad0s1  

Also, make sure that the ntfs driver is either in your kernel or loaded as a 
module at boot,  should be ntfs_load=YES in loader.conf as module
This should allow you to mount the drive, assuming nothing major is wrong with 
it.  (I have  dual boot system  andthese are the settings I use)  obviously, 
if you are not mounting as root, you have to make sure you can mount as a 
user...

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


Re: flash: linux firefox vs linuxpluginwrapper

2007-11-12 Thread Mark Moellering
On Friday 09 November 2007 4:20 pm, John wrote:
 I've been struggling to get a handle on the FreeBSD system.  Making good
 progress, but then I ran into the fact that Firefox on FreeBSD can't do
 flash.  Definite showstopper, for me.  Ok, then I tried to use the
 linuxpluginwrapper approach, and it didn't work.

 It made me recall, in reading up on FreeBSD, I did see where somebody
 installed both Firefox and Linx-firefox.

 So before I do battle with this Linux wrapper approach, I wondered if I
 would be better off simply installing the Linux-firefox?

 Is that easier?  More likely to work?

 Does it perform almost as well as the native FreeBSD version?

 Any input would be appreciated.

 John


John,

I posed a similar question on this list a short time ago.  Right now, 
the 
only 'Flash' working on either Linux or native is Flash 7, which does not 
work on many sites.  To get Flash 9, you need to use wine under freebsd and 
install the windows version of Firefox.  I have been told that this solution 
works fine out of the box on FreeBSD 6.2 but I have not yet confirmed.

Mark Moellering
[EMAIL PROTECTED]








 ___
 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: boot manager oddity (two IDE drives, two o/s)

2007-10-26 Thread Mark Moellering
On Thursday 25 October 2007 8:38 am, William Bulley wrote:
 I have two IDE drives (ad0 and ad1) on a Dell system
 that is running Windows XP on ad0 and FreeBSD 6.2 on
 ad1.  Drive ad0 is 80 GB.  Drive ad1 is 250 GB.  When I
 installed FreeBSD onto ad1, I installed the FreeBSD boot
 manager onto both ad0 and ad1 disk drives.

 When the machine powers up from a cold start, I don't
 see the ad0 boot manager at all.  I see the ad1 boot
 manager.  It looks like this.

F1  FreeBSD

F5  Drive 0

 and FreeBSD boots just fine if I select F1.  I don't
 see the ad0 boot manager until I reboot FreeBSD and
 select F5 from the above menu.  Then I get this:

F1  ???
F2  DOS

F5  Drive 1

 Hitting F5 gives me the expected:

F1  FreeBSD

F5  Drive 0

 But, if I want to boot up Windows, I hit F2, and then
 Windows starts up.  If I shut down Windows (restart),
 then I again see this:

F1  ???
F2  DOS

F5  Drive 1

 But this time, when I hit F5 nothing happens!?!?!?!

 Here is the output of two boot0cfg(8) commands:

 freebsd% boot0cfg -v ad0
 #   flag start chs   type   end chs   offset size
 1   0x00  0:  1: 1   0xde  4:254:63   6380262
 2   0x00  5:  0: 1   0x07   1023:254:6380325156151800

 version=1.0  drive=0x80  mask=0xf  ticks=182
 options=nopacket,update,nosetdrv
 default_selection=F5 (Drive 1)

 freebsd% boot0cfg -v ad1
 #   flag start chs   type   end chs   offset size
 1   0x80  0:  1: 1   0xa5   1023:254:63   63524281212

 version=1.0  drive=0x81  mask=0xf  ticks=182
 options=nopacket,update,nosetdrv
 default_selection=F1 (Slice 1)

 What I want to know is am I doing something wrong, or, am I not
 doing enough to configure (using the boot0cfg(8) command) the
 two boot managers (one on each drive)?

 BTW, the ??? slice above is the Windows recovery (or diagnostic?)
 slice, I believe.

 I have looked in the Handbook to no avail.  Any ideas?  Help!

 Regards,

 web...

 --
 William Bulley Email: [EMAIL PROTECTED]

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


It is my experience that you don't want two boot managers.  Have just one, 
usually on drive 0, select the OS to bott and leave it at that.  I recently 
lost a FreBSD boot record that way.  

look in the handbook on restoring boot0 on your freebsd drive.  If you replace 
it with mbr, you will be left with just the boot manager on ad0 and save 
yourself a headache.   (The command is fdisk -B -b ad2 but you have to tell 
it to write a new partition table or you won't be able to boot into freebsd 
at all)

As an aside, I have a similar setup, except it is Win2k  Freebsd 6.2  I 
recently had similar issues and wound up having to replace the boot record on 
my FreeBsd disk.  

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


Re: Live video streaming on FreeBSD?

2007-10-23 Thread Mark Moellering
On Tuesday 23 October 2007 5:01 am, Andreas Widerøe Andersen wrote:
 Hi all,
 I'm looking for a way to stream live video on FreeBSD (streamingserver and
 encoder or either).

 I have previously used Windows Media Server and Encoder quite a lot, but I
 try to run as much as possible on FreeBSD. My question would be, is there a
 streaming server and possibly an encoder available for FreeBSD that will
 stream live video that is compatible with most mediaplayers (for Windows,
 Mac and Linux desktops)?

 Any help or directions are very much appreciated.

 Thanks for your help!

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


Check vlc  vls in ports/packages.  It should cover all the (streaming) 
standards.

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


Anyone get Flash 9 working?

2007-10-23 Thread Mark Moellering
The basic question,
has anyone gotten Flash-9 running on FreeBSD ?  linux-version? wine version? 
FreeBSD 7?  anything?

I realize this is one of those issues that reappears every few months, 
however, without Flash 9, it is difficult to do some website development in a 
pure FreeBSD environment.

Thanks in advance

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


Re: ath Driver please help ath0

2007-08-27 Thread Mark Moellering
What does your rc.conf look like?  I may be able to help but an rc.conf and 
maybe output from  ' ifconfig ath0 up scan ' would really help.

Mark Moellering

On Monday 27 August 2007 11:57 am, Dan Sikorsky wrote:
 Hello,
 I just purchases an Atheros AR5005GS wireless mini pci card
 for my dell latitude x300 laptop.
 I cant for the life of me get it to connect to my wireless network.
 I basically followed the ath Stuff this page, And chose to load modules
 at boot time, instead of compile
 this stuff into my kernel.

 I have netgear 54g wireless, With no WEP or WPA or any of that, but with
 MAC filter on..
 I even turned that filter off, and still no luck.
 can anyone help?
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.
html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Convince me, please!

2007-08-09 Thread Mark Moellering
There is a lot to your question that you may not realize.  I think before 
answering your question, a brief discussion of computers is appropriate.

A computer is a phenomenally complex system of parts.  If you go to the 
website of a major Motherboard manufacturer, you will see a huge list of 
specifications; including chipsets, ports (USB, ethernet, firewire) 
connectors (SATA, EIDE, SCSI, etc) and so on.  The operating system has to 
know how to talk to all these different systems.  There is no real standard 
for all these parts, although many of the basic components are somewhat 
standardized, there are specific drivers for USB, ethernet, drive connectors 
and especially video.

Windows does an excellent job of running on almost any hardware.  (how well it 
runs is up  for debate)
FreeBSD is also pretty good at running on just about any hardware, however, 
you may need to do some file manipulation to get your video display soundcard 
or some other peripherals to work.
Depending on what hardware you are running, FreeBSd may load and have you up 
and running with a windows like desktop with a minimum of fuss.  If you need 
to edit and recompile your kernel or hand edit your X windows configuration 
file , it will become a nightmare.  
 [ or to put it in english; if you have to specify a special driver so that 
the Operating System knows how to talk to a particular component of your 
computer, then you need to change the kernel, which controls all of the 
general hardware of a computer.  
Unix systems are designed to be a command line OS.  The 'X' windows system is 
what generates the GUI.  If you have a non-standard video card and/or 
monitor, you may need to specify things like horizontal and vertical refresh 
rates for the monitor, special settings for the video card driver, and other 
information found in a configuration file to get the GUI to run.
]
 

The general philosophy of most FreeeBSD users is that we are willing to spend 
time learning about the inner workings of the OS to get the computer to do 
what we want.
From your e-mail, it sounds like you are looking for something that will 
install as easily as windows and that is not FreeBSD.  

I would suggest you look at http://www.openoffice.org, if you haven't already, 
which will show you some alternatives to the standard MS software that you 
can run on windows.  

I hope this helps

Mark Moellering
Psyberation, inc.


P.S. I tried to keep the hardware discussion at a basic level and i will 
ignore any messages pointing out errors in my description of the kernel or X, 
etc ...



On Thursday 09 August 2007 12:22 am, Latitude wrote:
 I'm interested in changing over to FreeBSD from Windows, but I'll have
 to say, you guys don't really present a forceful argument to Windows
 users of how easy the switch may be.  I get knee-deep in FreeBSD jargon
 the second I get to your webpage. I need to see an overwhelming argument
 that FreeBSD is a perfectly acceptable alternative for home desktop
 users who have previously known only Windows.

 For instance, if I download and install FreeBSD, will I instantly have a
 desktop windowing environment that I can navigate in while I figure out
 what's going on?  Will I have a browser and way to setup an internet
 connection right off the bat?  How will I migrate files from other
 operating systems?

 I understand you guys have been around for a while, but you don't seem
 to understand the monumental fear involved in switching operating
 systems.  You need to address those concerns head on from the start.  I
 need to see several screenshots of apps that I can use as alternatives
 to what I have.

 Help me (and yourselves) out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xorg resolution on new laptop

2007-04-03 Thread Mark Moellering
Michael,

I am using a SGI-1600SW (1600 x 1024) and I have found that I must 
specify 
the HorizSync and VertRefresh values in the monitor setting of my xorg.conf  
to get it to work properly, even though all the docs say that it is supported 
using the GLINT R3 driver.  
Also, I am assuming you are using X 6.9  I have found a large number of 
problems when I tried using X 7.0 on Linux.

Mark

On Monday 02 April 2007 10:12 pm, Michael W. Lucas wrote:
 Hi folks,

 I've scoured Google seeking wisdom, and found nothing except hordes of
 Linux users whining about this same problem.  FreeBSD users don't seem
 to have this issue, except for me.  Finally I have no choice but to
 throw myself on your tender mercies.

 I've been going nuts trying to get 1440x900 resolution on my new
 Toshiba P105.  Any help anyone could offer would be greatly
 appreciated.  Xorg assures me that the 945GM video card is supported
 by the i810 driver, provided I use the 915resolution program to set
 the resolution before starting X.  I run:

 /usr/local/bin/915resolution 3c 1440 900

 to add the resolution 1440x900 to the video BIOS.  915resolution -l
 now shows me:

 ...
 Mode 3c : 1440x900, 8 bits/pixel
 ...
 Mode 4d : 1440x900, 16 bits/pixel
 ...
 Mode 5c : 1440x900, 32 bits/pixel
 ..

 So, in theory 1440x900 should be available to the card.

 startx fails without a config file, so I let it create one and tweaked
 in based on gossip, rumour, and innuendo I've uncovered in three days
 of Web searching.  I get something that looks *about* like 1200x768,
 but it's a far cry from 1440x900.

 pciconf -lv tells me:

 ...
 [EMAIL PROTECTED]:2:0:   class=0x03 card=0xff311179 chip=0x27a28086
 rev=0x03 hdr=0x00 vendor = 'Intel Corporation'
 device = 'Mobile Integrated Graphics Controller'
 class  = display
 subclass   = VGA
 [EMAIL PROTECTED]:2:1:   class=0x038000 card=0xff311179 chip=0x27a68086
 rev=0x03 hdr=0x00 vendor = 'Intel Corporation'
 device = 'Mobile Integrated Graphics Controller'
 class  = display
 ...

 Here's relevant stuff trimmed from my xorg.conf.

 --

 Section Module
   Load  extmod
   Load  glx
   Load  dri
   Load  dbe
   Load  record
   Load  xtrap
   Load  type1
   Load  freetype
   Load  i2c
   Load  bitmap
   Load  int10
 EndSection

 ...

 Section Monitor
   #DisplaySize  370   230 # mm
   Identifier   Monitor0
   VendorName   LPL
   ModelName0
 EndSection

 Section Device
 ### Available Driver options are:-
 ### Values: i: integer, f: float, bool: True/False,
 ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional
 #Option NoAccel # [bool]
 #Option SWcursor# [bool]
 #Option ColorKey# i
 #Option CacheLines  # i
 #Option Dac6Bit # [bool]
 #Option DRI # [bool]
 #Option NoDDC   # [bool]
 #Option ShowCache   # [bool]
 #Option XvMCSurfaces# i
 #Option PageFlip# [bool]
   Identifier  Card0
   Driver  i810
   VendorName  Intel Corporation
   BoardName   Mobile Integrated Graphics Controller
   BusID   PCI:0:2:0
 EndSection

 Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   DefaultDepth 24
   SubSection Display
   Viewport   0 0
   Depth 1
   Modes   1440x900
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 4
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 8
   Modes   1440x900
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 15
   Modes   1440x900
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 16
   Modes   1440x900
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 24
   Modes   1440x900
   EndSubSection
 EndSection

 Any ideas, anyone?

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


Re: usb storage device mounting problems

2006-07-10 Thread Mark Moellering
While I have not used removable drives, I have found that working with 
removable media, dvd's, etc.  I have this sort of problem if I don't have an 
entry in fstab with the mount point owned by the user and preferably in the 
user directory structure.

Mark Moellering


On Sunday 09 July 2006 9:59 am, Bram Kuijper wrote:
 Hi,

 still cannot seem to get usb device working as an ordinary user between
 multiple reboots, without doing /etc/rc.d/devfs start as root every time.

 did the following things described under 4.3.3. from
 http://www.gphoto.org/doc/manual/permissions-usb.html

 added this to devfs.rules:

 [usb_devices=10]
 add path 'da*s*' mode 0666 group usb
 add path 'ugen*' mode 0666 group usb

 added this to rc.conf:
 devfs_system_ruleset=usb_devices


 removed this from devfs.conf:

 own /dev/fd0 root:operator
 perm /dev/fd0 0666


 then, I restarted my rc.conf:
 /etc/rc.d/devfs start

 now, it is possible to mount the device as described, however only
 during this login. If I reboot, I have to do devfs start again as root.

 anybody knows how to retain these settings between multiple reboots?

 TIA,
 Bram
 ___
 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]


3 NIC firewall help

2006-07-03 Thread Mark Moellering
Hello All,

I have a problem which I think must be simple, I just can't figure out 
exactly what I need to do.  I have a gateway / firewall (freebsd 6.1) with 3 
nic cards.  I just added the third card, rl1, which I have attached to a 
wireless access point.  
I can ping the access point from the firewall, but not from the rest of 
the 
internal (wired) network!!??  My wired network is 192.168.1 and the wireless 
access point is currently the default 192.168.0.229.  rl1 is set to 
192.168.0.210
Attached are netstat -r, my pf.conf and rc.conf from the 
firewall/gateway.  
Any and all help is appreciated.

Thanks in advance

Mark Moellering

# -- sysinstall generated deltas -- # Thu May 11 16:26:43 2006
# Created: Thu May 11 16:26:43 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.
gateway_enable=YES
linux_enable=YES
moused_enable=YES
usbd_enable=YES

#Internal Wired Network
ifconfig_bge0=inet 192.168.1.1  netmask 255.255.255.0
hostname=Myhostname

#Wireless Network
ifconfig_rl1=inet 192.168.0.210 netmask 255.255.255.0

#External Gateway Interface
ifconfig_rl0=DHCP
inetd_enable=YES

pf_enable=YES
pf_rules=/etc/pf.conf
pflog_enable=YES
pflog_logfile=var/log/pflog

# $FreeBSD: src/share/examples/pf/faq-example1,v 1.1 2004/09/14 01:07:18 mlaier 
Exp $
# $OpenBSD: faq-example1,v 1.2 2003/08/06 16:04:45 henning Exp $

#
# Firewall for Home or Small Office
# http://www.openbsd.org/faq/pf/example1.html
#


# macros
int_if = bge0
ext_if = rl0
wint_if = rl1

tcp_services = { 22, 113 }
icmp_types = echoreq

priv_nets = { 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 }


# options
set block-policy return
set loginterface $ext_if

# scrub
scrub in all

# nat/rdr
nat on $ext_if from $int_if:network to any - ($ext_if)
nat on $ext_if from $wint_if:network to any - ($ext_if)
rdr on $int_if proto tcp from any to any port 21 - 127.0.0.1 port 8021


# filter rules
block all

#pass in all

pass quick on lo0 all

block drop in on $ext_if from $priv_nets to any
block drop out on $ext_if from any to $priv_nets

pass in on $ext_if inet proto tcp from any to ($ext_if) \
   port $tcp_services flags S/SA keep state

#allow access to web server
#pass in on $ext_if inet proto tcp from $XXX to 192.168.1.5 port 80 \
   flags S/SA keep state

pass in inet proto icmp all icmp-type $icmp_types keep state

pass in  on $int_if from $int_if:network to any keep state
pass out on $int_if from any to $int_if:network keep state

pass in on $wint_if from $wint_if:network to any keep state
pass out on $wint_if from any to $wint_if:network keep state

pass in on $wint_if from $int_if:network to any keep state
pass in on $int_if from $wint_if:network to any keep state

pass out on $wint_if from any to $int_if:network keep state
pass out on $int_if from any to $wint_if:network keep state

pass out on $ext_if proto tcp all modulate state flags S/SA
pass out on $ext_if proto { udp, icmp } all keep state

pass in on $ext_if inet proto tcp from any to ($ext_if) \
   user proxy keep state
Script started on Mon Jul  3 18:49:59 2006
 netstat -r

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
defaultc-68-61-202-129.hs UGS 0   40rl0
68.61.202.128/25   link#2 UC  00rl0
c-68-61-202-129.hs 00:05:5f:e9:8c:a9  UHLW20rl0   1199
localhost  localhost  UH  00lo0
192.168.0  link#3 UC  00rl1
192.168.0.229  00:0f:b5:7a:14:82  UHLW1   10rl1   1089
192.168.1  link#1 UC  00   bge0
192.168.1.200:09:5b:20:aa:23  UHLW1   30   bge0   1107

Internet6:
DestinationGatewayFlags  Netif Expire
localhost.psyberat localhost.psyberat UH  lo0
fe80::%bge0link#1 UC bge0
fe80::240:f4ff:fe4 00:40:f4:47:23:54  UHL lo0
fe80::%rl0 link#2 UC  rl0
fe80::2e0:7dff:fec 00:e0:7d:c1:74:44  UHL lo0
fe80::%rl1 link#3 UC  rl1
fe80::2e0:7dff:fea 00:e0:7d:a8:78:8e  UHL lo0
fe80::%lo0 fe80::1%lo0U   lo0
fe80::1%lo0link#6 UHL lo0
ff01:1::   link#1 UC bge0
ff01:2::   link#2 UC  rl0
ff01:3::   link#3 UC  rl1
ff01:6::   localhost.psyberat UC  lo0
ff02::%bge0link#1 UC bge0
ff02::%rl0 link#2 UC  rl0
ff02::%rl1 link#3 UC  rl1
ff02::%lo0 localhost.psyberat UC  lo0
 exit

exit

Script done on Mon Jul  3 18:50:07 2006

DNS discovery / FreeBSD Firewall

2006-06-30 Thread Mark Moellering
Hello,

I have a FreeBSD 6.1 firewall (pf) between my cable-modem and router, 
with an 
IP address set by DHCP.  My ISP recently changed their DNS server IP adresses 
which I have set manually on the computers on my home office network.  
The questions is; How do I have the internal network machines get the 
DNS 
server settings from the Firewall?  The two scenarios I can think of are: 
that the Firewall also acts as a DHCP server and somehow set the DNS of the 
internal net machines to the Firewalls resolv.conf entries; or I can have the 
Firewall act as a DNS server/relay and forward the DNS requests.  
Is one of these preferable or easier than the other?  Are there other 
ways to 
do this?  I feel there must be someone on this list who is doing the same 
thing and has a solution or can at least point me in the right direction.  
Any and all help is greatly appreciated.

Thanks in advance,

sincerely

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


Re: FreeBSD Wireless Access Points with Atheros Cards

2006-06-07 Thread Mark Moellering
Nick,

I tried this maybe a month back.  I added an ath card to a firewall 
(becoming 
the third NIC) and set it up following the directions.  While I could connect 
to the access point/firewall, I could not get to anything beyond it.  After 
some reading, I decdied to buy a standalone access point and replace the 
wireless ath card with a wired card to use to connect to the access point.  
The standalone access point (Netgear) wasn't that much more than the card and 
from everything I have read is the better way to go.
If you are able to sned data through the access point, I would love to 
hear 
about it...

Sincerely

Mark 

On Wednesday 07 June 2006 8:11 am, Nick Withers wrote:
 G'day all,

 I was recently asked to set up a wireless access point by a
 mate. Having read section 27.3.3.2 - Building a FreeBSD Access
 Point
 (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireles
s.html) from the FreeBSD Handbook I duly advised my friend that they'd
 need to procure one of the Prism cards listed in the wi(4) man
 page, as, according to the Handbook, In order to set up a
 wireless access point with FreeBSD, you need to have a
 compatible wireless card. Currently, only cards with the Prism
 chipset are supported.

 When he got back to me the next day and said he couldn't find
 one in any major store and that he'd been told they were no
 longer available first-hand (whether all this is true or not,
 I'm not entirely sure - but it's not really all that relevant
 for the purposes of this question) I was a little surprised.

 After much more stuffing about, the ath(4) man page caught my
 eye and I found the magic sentence: Supported features include
 802.11 and 802.3 frames, power management, BSS, IBSS, and
 host-based access point operation modes.

 I've subsequently set the thing up and it's now chugging away
 merrily in hostap mode with hostapd helping out with 802.11i
 shennanigans. It appears to be fully operational.

 My question, then, is this: Is the access point I've set up not
 actually functioning as an access point in the strictest sense
 of the term? Is the Handbook in need of a little attention in
 this area?

 I'll happily create a patch for the doc and submit a PR to
 have it updated, but just wanted to check before doing so that
 I'm not just being an idiot (I'm particularly good at that!).

 Thanks all!
 --
 Nick Withers
 email: [EMAIL PROTECTED]
 Web: http://www.nickwithers.com
 Mobile: +61 414 397 446
 ___
 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: Problem with wireless card drivers

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

Mark Moellering


On Monday 29 May 2006 7:23 am, Stefi wrote:
 Hi everyone

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

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


Re: Firewall with 3 NIC (1 wireless) problem

2006-05-25 Thread Mark Moellering
Dennis,

Thanks so much for your help.  Here is the ifconfig -v and netstat (a 
variety) from both the client and firewall.  
Both the client and the firewall have an ath0 (192.168.2.1 for 
firewall, 
192.168.2.5 for the client) and a bge0 (192.168.1.1 for firewall, 192.168.1.2 
for client).  After booting the client, I disconnect the ethernet cable on 
the bge0 interface to force traffic over the wireless ath0.  
I am by no means a professional, I may have missed something or be 
doing 
something fairly obviously wrong.

Thanks Again,

Mark Moellering

On Thursday 25 May 2006 12:17 am, Dennis Olvany wrote:
  net.link.ether.bridge.enable=1
  net.link.ether.bridge.config=bge0, ath0

 Let's have a look at ifconfig and netstat -r. Whats with this bridge?
 Think you'd be better off without it.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
Script started on Thu May 25 22:19:06 2006
AlphaOne# ifconfig -v
bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
inet6 fe80::209:5bff:fe20:aa23%bge0 prefixlen 64 scopeid 0x1 
inet 192.168.1.2 netmask 0xff00 broadcast 192.168.1.255
ether 00:09:5b:20:aa:23
media: Ethernet autoselect (none)
status: no carrier
ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::214:6cff:fe2c:a8c0%ath0 prefixlen 64 scopeid 0x2 
inet 192.168.2.5 netmask 0xff00 broadcast 192.168.2.255
ether 00:14:6c:2c:a8:c0
media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/24Mbps)
status: associated
ssid psyberation channel 1 (2412) bssid 00:0f:b5:8a:77:44
authmode WPA privacy ON deftxkey UNDEF
TKIP 2:128-bit
TKIP 3:128-bit powersavemode OFF powersavesleep 100 txpowmax 37
txpower 63 rtsthreshold 2346 mcastrate 1 fragthreshold 2346 -pureg
protmode CTS -wme burst roaming MANUAL bintval 100 -countermeasures
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
inet 127.0.0.1 netmask 0xff00 
AlphaOne# exit
exit

Script done on Thu May 25 22:19:37 2006
Script started on Thu May 25 22:20:31 2006
AlphaOne# netstat
Active UNIX domain sockets
Address  Type   Recv-Q Send-QInode Conn Refs  Nextref Addr
c3e912bc stream  0  00 c3db97a800 
/tmp/ksocket-Mark/kontactHOPVSF.slave-socket
c3db97a8 stream  0  00 c3e912bc00
c3db9dac stream  0  00 c3db9c0800 
/tmp/ksocket-Mark/kontactpn6RzM.slave-socket
c3db9c08 stream  0  00 c3db9dac00
c3d2d7a8 stream  0  00 c3db9c9400 
/tmp/.ICE-unix/dcop625-1148609162
c3db9c94 stream  0  00 c3d2d7a800
c3d2d834 stream  0  00 c3db9e3800 
/tmp/.ICE-unix/646
c3db9e38 stream  0  00 c3d2d83400
c3db9af0 stream  0  00 c3db983400 
/tmp/.X11-unix/X0
c3db9834 stream  0  00 c3db9af000
c3db9604 stream  0  00 c3db969000 
/tmp/ksocket-Mark/klaunchersC8lmq.slave-socket
c3db9690 stream  0  00 c3db960400
c3db98c0 stream  0  00 c3db994c00 
/tmp/fam-Mark/fam-
c3db994c stream  0  00 c3db98c000
c3e91348 stream  0  00 c3e913d400 
/tmp/.ICE-unix/dcop625-1148609162
c3e913d4 stream  0  00 c3e9134800
c3e91460 stream  0  00 c3e914ec00 
/tmp/.ICE-unix/dcop625-1148609162
c3e914ec stream  0  00 c3e9146000
c3e91578 stream  0  00 c3e9160400 
/tmp/.ICE-unix/dcop625-1148609162
c3e91604 stream  0  00 c3e9157800
c3e91690 stream  0  00 c3e9171c00 
/tmp/.ICE-unix/dcop625-1148609162
c3e9171c stream  0  00 c3e9169000
c3db9230 stream  0  00 c3db92bc00 
/tmp/.ICE-unix/dcop625-1148609162
c3db92bc stream  0  00 c3db923000
c3d2dd20 stream  0  00 c3d2dc0800 
/tmp/.ICE-unix/dcop625-1148609162
c3d2dc08 stream  0  00 c3d2dd2000
c3d2ddac stream  0  00 c3d2d71c00 
/tmp/.ICE-unix/646
c3d2d71c stream  0  00 c3d2ddac00
c368dc94 stream  0  00 c368dc0800

Firewall with 3 NIC (1 wireless) problem

2006-05-24 Thread Mark Moellering
I am attempting to add a wireless capabilities to an existing network / 
firewall structure.  I added a wireless NIC card to the firewall (Netgear 
WPN311) and followed the wireless instructions.  I also added a similar card 
to an existing computer (Netgear WG311T).
The Firewall's internal wired network is on 192.168.1.1 and the 
Wireless card 
is set to 192.168.2.1
The client computer can find the wireless network and I can ping the 
wireless 
card (192.168.2.1)  However, I can get nowhere else.  I cannot get to the 
wired subnet nor outside access to the internet.  I tried adding a bridge 
from the wired to the wireless network interfaces but that did nothing.  I 
tried putting the wireless Nic to 192.168.1.249 but that made things worse.  
Any help would be greatly appreciated.
Both client and firewall are running Freebsd 6.1  Relevant (that I can 
think 
of) files from the firewall are included...

Thanks in Advance.

Mark
interface=ath0
driver=bsd
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
debug=6
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=mynet
wpa=1
wpa_passphrase=secretword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP
# $FreeBSD: src/share/examples/pf/faq-example1,v 1.1 2004/09/14 01:07:18 mlaier 
Exp $
# $OpenBSD: faq-example1,v 1.2 2003/08/06 16:04:45 henning Exp $

#
# Firewall for Home or Small Office
# http://www.openbsd.org/faq/pf/example1.html
#


# macros
int_if = bge0
wint_if = ath0
ext_if = rl0

tcp_services = { 22, 113 }
icmp_types = echoreq

priv_nets = { 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 }

# options
set block-policy return
set loginterface $ext_if

# scrub
scrub in all

# nat/rdr
nat on $ext_if from $int_if:network to any - ($ext_if)
nat on $ext_if from $wint_if:network to any - ($ext_if)
rdr on $int_if proto tcp from any to any port 21 - 127.0.0.1 port 8021
rdr on $wint_if proto tcp from any to any port 21 - 127.0.0.1 port 8021


# filter rules
block all

pass quick on lo0 all

block drop in  quick on $ext_if from $priv_nets to any
block drop out quick on $ext_if from any to $priv_nets

pass in on $ext_if inet proto tcp from any to ($ext_if) \
   port $tcp_services flags S/SA keep state

pass in inet proto icmp all icmp-type $icmp_types keep state

pass in  on $int_if from $int_if:network to any keep state
pass out on $int_if from any to $int_if:network keep state

pass in on $wint_if from $wint_if:network to any keep state
pass out on $wint_if from $wint_if:network to any keep state

pass out on $ext_if proto tcp all modulate state flags S/SA
pass out on $ext_if proto { udp, icmp } all keep state

pass in on $ext_if inet proto tcp from any to ($ext_if) \
   user proxy keep state
# $FreeBSD: src/etc/sysctl.conf,v 1.8 2003/03/13 18:43:50 mux Exp $
#
#  This file is read when going to multi-user and its contents piped thru
#  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
#

# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0

net.link.ether.bridge.enable=1
net.link.ether.bridge.config=bge0, ath0

# -- sysinstall generated deltas -- # Thu May 11 16:26:43 2006
# Created: Thu May 11 16:26:43 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.
gateway_enable=YES
linux_enable=YES
moused_enable=YES
usbd_enable=YES

#Internal Wired Network
ifconfig_bge0=inet 192.168.1.1  netmask 255.255.255.0
hostname=Firewall.mynet.com

#Wireless Network
ifconfig_ath0=192.168.2.1 netmask 255.255.255.0 ssid mynet mode 11g mediaopt 
hostap
hostapd_enable=YES

#External Gateway Interface
ifconfig_rl0=DHCP
inetd_enable=YES

pf_enable=YES
pf_rules=/etc/pf.conf
pflog_enable=YES
pflog_logfile=var/log/pflog

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