Re: Big external drives - which filesystem?

2006-11-22 Thread Ivan Levchenko

There is a UFS2 driver for Windows, google on it and you are sure to
find it. (There are also ext2/3 drivers for Windows if you prefer that
one.)

I use ext2 on my usb pen drive and it works great under windows.

On 11/16/06, Chris Hastie [EMAIL PROTECTED] wrote:

I've just acquired a Western Digital 200GB USB 2 external HDD. After
some initial glitches my FreeBSD 5.4-RELEASE machine seems to recognise
it fine.

It comes pre-formatted with a single FAT32 file system (although
confusingly there is a note in the manual about FAT32 not supporting
partitions 32 GB and suggesting you change it to NTFS).

Attempting to mount this hits the mountmsdosfs(); disk too big, sorry
problem.

The primary intended use for this drive is for off-site backups, but it
would be useful if it was formatted such that I can easily plug it into
Windows boxes to get at files occasionally. What are my best options for
achieving this?

The MSDOSFS_LARGE kernel option seems to come with a lot of warnings and
caveats. Is it really as ropey as it sounds? Is NTFS an option? Or would
I be better partitioning the drive into two FAT32 partitions of  128GB
each? If I go down that route how does this appear to FreeBSD -
presumably as different slices on da0 which are mounted separately? Or
am I just asking for trouble using these filesystems and should just
stick to ufs2 and abandon any plans to maintain compatibility with
windows machines?

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




--
Best Regards,

Ivan Levchenko
[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: selective NAT/gateway

2006-10-18 Thread Ivan Levchenko

I did the exact same thing using pf on freebsd:

I added all the allowed ip addresses to a table allowed
then in the nat rule:
nat on $ext_if from allowed to any - $ext_if

(you can put the last $ext_if in parentheses if you use dchp for your
external address)

On 10/18/06, Nathan Vidican [EMAIL PROTECTED] wrote:

Got a bit of an interesting question, wondering how others out there might
have dealt with this:

we have a single machine acting as router/firewall/nat gateway via DSL. It
routes a small (/29) subnet of static IP's to our servers, and routes
between internal (non-public) subnets. Internet traffic is then routed via
NAT translation over the PPPoE link. We then use a proxy server to cache
most of our web traffic. Works well, and has been for several years now but,
we need to be able to deny traffic through the NAT gateway based on IP
addresses or ranges. Given the following example:


Internet - DSL+Subnet - FreeBSD router + NAT/PPPoE -
192.168.0.1 + 192.168.1.1 + 192.168.2.1 + 192.168.3.1
(each of these private subnets is a physically different network, connected
via an independant ethernet interface - multiport intel 'fxp' cards)


Internal machines - 192.168.0.100 - 192.168.0.200
Select Internal machines - 192.168.0.10 - 192.168.0.50

Want to allow 192.168.0.10 through 192.168.0.50 full use of the gateway
(enabling internet access via NAT), but deny machines in the 192.168.0.100 -
192.168.0.200 range from using NAT - yet still allow them to use 'regular'
routes, (given the example below, want to allow 192.168.0.X to connect
to/from 192.168.3.X for instance).

So the long-question shortened, is how do I deny NAT traffic for specific IP
addresses, without blocking those addresses from routing through 'normal'
routes to other subnets. Essentially, I need an IPFW rule to block traffic
from 192.168.0.X through via NAT, or don't I ?

Any ideas/comments/suggestions greatly appreciated, (note the above is an
example, not actual addresses).


--
Nathan Vidican
[EMAIL PROTECTED]

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




--
Best Regards,

Ivan Levchenko
[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: scripting question

2006-10-03 Thread Ivan Levchenko

(forgot to cc the list =))
Remove the word root from the crontab entry. The user should be
specified only in the system crontab.

On 10/3/06, jan gestre [EMAIL PROTECTED] wrote:

i made a script and put on root's crontab, however it's not doing or showing
the output that is forwarded to my email address correctly therefore i'm not
sure if it is working or not. below is what the script look like:

#
# cvsrun - Weekly CVSup Run

echo Subject: `hostname` weekly cvsup run
/usr/local/bin/cvsup -g -L 2 /root/ports-supfile
echo 
/usr/local/bin/portmanager -s | grep OLD
echo 
echo cvsrun done.

#

i would like the output of this command

/usr/local/bin/portmanager -s | grep OLD

to show in my mail where i forwarded it. below is the cronjob.

30 8 * * * root /usr/local/bin/cvsrun | mail -s Daily cvsup run and
portmanager user1

can someone help me to correct this script, to show the output that i want.

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




--
Best Regards,

Ivan Levchenko
[EMAIL PROTECTED]


--
Best Regards,

Ivan Levchenko
[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: Using wget to mirror just part of a web site?

2006-10-02 Thread Ivan Levchenko

Yes, the --no-parent is what you need

On 10/2/06, Christopher M. Hobbs [EMAIL PROTECTED] wrote:

 wget -m -nH -r http://us.archive.ubuntu.com/ubuntu/dists -o 
/var/log/${site}_mirror.log

 But that gets the whole sit. What I want to do is just start at the
 toop of the ubuntu/dists tree.

Perhaps the '--no-parent' knob would be of some help?

cmh
--
Christopher M. Hobbs
IS Technician, City of Siloam Springs
[EMAIL PROTECTED], (479).524.5136






--
Best Regards,

Ivan Levchenko
[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: Can't Upgrade Python Through Ports

2006-10-02 Thread Ivan Levchenko

Try the following in the python port directory:

make install clean

On 10/2/06, Ted Johnson [EMAIL PROTECTED] wrote:

Hi;
I have python 2.3.5 and I'd like to upgrade to 2.4.3. I've tried installing from FreeBSD ports and the oldfashioned 
way from source code, with the configure  make  make install dance, and still when 
I call up my python interpreter it tells me I'm in 2.3.5! Why? I didn't do altinstall! What gives?
TIA,
Ted2

-
Stay in the know. Pulse on the new Yahoo.com.  Check it out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




--
Best Regards,

Ivan Levchenko
[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: Can't Upgrade Python Through Ports

2006-10-02 Thread Ivan Levchenko

What are the error messages?

On 10/2/06, Ted Johnson [EMAIL PROTECTED] wrote:

Right. I tried that before writing, but I forgot to specify as much. No,
that didn't work either. Here are a couple of peculiarities:

* I took over this box from someone who didn't know the difference between
FreeBSD and Linux. So, he built the original Python in a different dir.
* The original python powers several Zope instances.

Having said as much, years ago I had two versions of python running, one for
Zope and one for everything else. So this should work. Anyway, it doesn't!

More ideas?
TIA.
Ted

Ivan Levchenko [EMAIL PROTECTED] wrote:
 Try the following in the python port directory:

make install clean

On 10/2/06, Ted Johnson wrote:
 Hi;
 I have python 2.3.5 and I'd like to upgrade to 2.4.3. I've tried
installing from FreeBSD ports and the oldfashioned way from source code,
with the configure  make  make install dance, and still when I call up
my python interpreter it tells me I'm in 2.3.5! Why? I didn't do
altinstall! What gives?
 TIA,
 Ted2

 -
 Stay in the know. Pulse on the new Yahoo.com. Check it out.
 ___
 freebsd-questions@freebsd.org mailing list

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



--
Best Regards,

Ivan Levchenko
[EMAIL PROTECTED]



 __
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



--
Best Regards,

Ivan Levchenko
[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: ebook reader

2006-09-06 Thread Ivan Levchenko

Thanks a lot, will definately give them a try.

On 9/6/06, Henry Lenzi [EMAIL PROTECTED] wrote:

On 9/5/06, Ivan Levchenko [EMAIL PROTECTED] wrote:
 Is there anything in the ports tree for reading books on the computer?
 something like Tom Reader or Ice book reader for windows?


I don't know what those are, since I don't use Windows.
For ebooks, there are a variety of choices. These choices depend on
the format of the ebook. Note that PDB files are proprietary and who
know how they're specified...Which means for PDB files, I can't offer
any solution.
All this stuff is in ports:

Type of file  Solution
-  

PDF epdfviewer, kpdf, gv,
xpdf, acrobat, gpdf
PostScript (PS)gv, ggv (?)
dvi   probably xdvi
chm xchm
djvu djvulibre, JavaDjVu

A note on djvu: although djvulibre is in /usr/ports/graphics, I could
not get the viewer (djview) to work properly. Two solutions are: 1)
grab the tarball and compile it yourself (in, say, /opt) - very simple
to do, just read the INSTALL file; 2) Install the FreeBSD official JDK
package and make your file manager use JavaDjVu associated with djvu
files - remember to move the jar (IIRC) to the directory where you
store your djvu files.

Hope this helps.
Cheers,
Henry Lenzi




--
Best Regards,

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


ebook reader

2006-09-05 Thread Ivan Levchenko

Is there anything in the ports tree for reading books on the computer?
something like Tom Reader or Ice book reader for windows?

i did some searching in the ports tree and freshports.org and that
didn't help at all.

--
Best Regards,

Ivan Levchenko
[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: ebook reader

2006-09-05 Thread Ivan Levchenko

a friend of mine just recommended this thing:

http://sourceforge.net/projects/pybookreader/
i will try it out

On 9/5/06, Jordi Carrillo [EMAIL PROTECTED] wrote:

Try reed. I haven't tried though.

2006/9/5, Ion-Mihai IOnut Tetcu [EMAIL PROTECTED]:
 On Tue, 5 Sep 2006 17:42:08 +0300
 Ivan Levchenko [EMAIL PROTECTED] wrote:

  Is there anything in the ports tree for reading books on the computer?
  something like Tom Reader or Ice book reader for windows?
 
  i did some searching in the ports tree and freshports.org and that
  didn't help at all.

 For MS .lit you could try textproc/clit



 --
 IOnut
 Un^d^dregistered ;) FreeBSD user









--
 http://jordilin.wordpress.com



--
Best Regards,

Ivan Levchenko
[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: BSDstats Project: A quick reminder ...

2006-08-25 Thread Ivan Levchenko

Ukraine is on 3rd place!!! now thats what i call yahoo! =)
On 8/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Marc,

On 8/25/06, Marc G. Fournier [EMAIL PROTECTED] wrote:
 snip

 And, Canada (my country) is woefully in 5th place with 4% ... come on
 folks, we need to get all of the numbers up ...

i just beat Hungary by 1 point!

regards,

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




--
Best Regards,

Ivan Levchenko
[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: Easy Question From Newbie

2006-08-22 Thread Ivan Levchenko

thanks, I know how to enable pf in freebsd, but is there a difference
between enableing pf via loader.conf or rc.conf?

On 8/22/06, Ericzhao82 [EMAIL PROTECTED] wrote:

if you freebsd 6 or newer

1、alter /boot/defaults/loader.conf
180 pf_load=YES# packet filter

 2、alter /etc/rc.conf, new add
pf_enable=YES

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

3、reboot

END








--
Best Regards,

Ivan Levchenko
[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: Installing Php5 on Apache2.2 (Freebsd 6.1)

2006-08-22 Thread Ivan Levchenko

i think that you should be able to porce the installation of the
package of php5 with the -f command, after it finished, run pkgdb -F
to fix the dependency of php5 for apacha13 to apache22.


On 8/22/06, Muhammad Omer Iqbal [EMAIL PROTECTED] wrote:

Hi,
(Please include me in the reply as I am not subscribed to this list.)

I am trying to use Ports to install php5 on top of Apache 2.2. However, when

I do pkg_add, it says that the prereq Apache 1.3 is not installed. I also
tried forcing it (using -f), but even then it did not seem to have installed

Php5 properly.

I tried this:
cd /usr/ports/lang/php5
pkg_add php5

That did not work.

Then I ftp-ed to  ftp://ftp.freebsd.org ftp.freebsd.org and downloaded the
tbz file from the same
location (/ports/lang/php5) and did pkg_add with that file name as
parameter. Is that the right thing to do?

After I did that, I got the error that I explained above (i.e. Apache 1.3
not installed)

As you might imagine, I am pretty new to FreeBSD.

Thanks,
Omer


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




--
Best Regards,

Ivan Levchenko
[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: Installing Php5 on Apache2.2 (Freebsd 6.1)

2006-08-22 Thread Ivan Levchenko

i'm no apache guru, but you need to have something like the following
in httpd.conf:

LoadModule php5_modulelibexec/apache22/libphp5.so #in the
modules section
DirectoryIndex index.html index.php index.phtm #so that it gets those
php index files
#File types for php files, so it knows it is supposed to put them
through php and not just give back plain text.
   AddType application/x-httpd-php .php
   AddType application/x-httpd-php-source .phps

On 8/22/06, Muhammad Omer Iqbal [EMAIL PROTECTED] wrote:

Thanks for the advice. The way I got it to work was by actually making the
package on the local box and it installed fine. In the past, when I tried
it, I was not connected to the Internet and the build failed. I did not
realize that my system must be connected as it needs to fetch some data from
the Internet. Today, I tried it again with Internet connected (I figured
that out today as I carefully read through the error messages), and it built
fine and apparently got installed.

However, what I am seeing now is that I have index.php, but it is not
automatically returned by Apache to browser when it goes to that url. And
when I put index.php manually in the browser (lets say
http://localhost/index.php), php is not parsed, and the file is just treated
as a .html file.

When I do make install, it says that php5 is already installed. I already
installed a few php5-extensions, but I think this should be working without
the extensions. I tried mod_php5, but since that component is installed by
php5 itself, I get precisely the message that it cannot be installed because
the location is the same, so I assume php5 actually did install Apache
module too.

Any help would be greatly appreciated.

Thanks,
Omer

-Original Message-
From: Ivan Levchenko [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 22, 2006 4:43 AM
To: Muhammad Omer Iqbal; freebsd-questions@freebsd.org
Subject: Re: Installing Php5 on Apache2.2 (Freebsd 6.1)

i think that you should be able to porce the installation of the package of
php5 with the -f command, after it finished, run pkgdb -F to fix the
dependency of php5 for apacha13 to apache22.


On 8/22/06, Muhammad Omer Iqbal [EMAIL PROTECTED] wrote:
 Hi,
 (Please include me in the reply as I am not subscribed to this list.)

 I am trying to use Ports to install php5 on top of Apache 2.2.
 However, when

 I do pkg_add, it says that the prereq Apache 1.3 is not installed. I
 also tried forcing it (using -f), but even then it did not seem to
 have installed

 Php5 properly.

 I tried this:
 cd /usr/ports/lang/php5
 pkg_add php5

 That did not work.

 Then I ftp-ed to  ftp://ftp.freebsd.org ftp.freebsd.org and
 downloaded the tbz file from the same location (/ports/lang/php5) and
 did pkg_add with that file name as parameter. Is that the right thing
 to do?

 After I did that, I got the error that I explained above (i.e. Apache
 1.3 not installed)

 As you might imagine, I am pretty new to FreeBSD.

 Thanks,
 Omer


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



--
Best Regards,

Ivan Levchenko
[EMAIL PROTECTED]





--
Best Regards,

Ivan Levchenko
[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: Needing a guide/tutorial please

2006-08-18 Thread Ivan Levchenko

This might be overkill, but take a look at these things. i'm sure that
you can find what you need there:

http://www.tnpi.biz/internet/mail/toaster.shtml
http://www.screamingelectron.org/forum/printthread.php?t=725

On 8/18/06, Helge Preuss [EMAIL PROTECTED] wrote:

  Looking for a guide online somewhere that will walk me through
 setting up a mail server with the following items on it.

 SpamAssassin
 Postfix (pop3 and smtp setup)
 MySQL (for database driven mail user administration)
 MyPHPAdmin (to visually admin the database)
 Squirrelmail (for webmail)
 Apache (for squirrelmail)
 Dovecot Imap (for squirrelmail)
 Postfix Admin - this is the reason for the need to have a mysql driven
 mail user database.  It's apparently required for this to work.  Plus
 database driven user management tends to be easier.  Of course, if you
 know
 of a better way to graphically admin mail users without using a database,
 I'm all ears.  :)
 And lastly, some kind of web based server admin page that's similar to
 webmin, but more secure.


Here is a guide for Gentoo Linux that addresses most, if not all of your
requirements:
http://www.gentoo.org/doc/en/virt-mail-howto.xml

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




--
Best Regards,

Ivan Levchenko
[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: Setting up proxy

2006-08-18 Thread Ivan Levchenko

sorry, forgot to reply to all:

the first one is for bash, sh and others of the same family, the
second is for csh and others.

You can do the same thing for ftp:

export FTP_PROXY=http://user:[EMAIL PROTECTED]:3128 # for bash, sh

setenv FTP_PROXY http://user:[EMAIL PROTECTED]:3128  # For csh, ...

On 8/18/06, Joao Barros [EMAIL PROTECTED] wrote:

On 8/18/06, Viswas Nair [EMAIL PROTECTED] wrote:
 I am trying to setup a FBSD 6.1 machine at work. I have an IP addressed by a
 DHCP server. However, to connect to the internet I need to use a proxy. How
 do I configure the system to connect via the proxy?

 I cannot use a browser in to do the same because I am presently trying to
 install the window manager and other applications via ports.

Set this in your shell:
export HTTP_PROXY=http://user:[EMAIL PROTECTED]:3128

or

setenv HTTP_PROXY http://user:[EMAIL PROTECTED]:3128

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




--
Best Regards,

Ivan Levchenko
[EMAIL PROTECTED]


--
Best Regards,

Ivan Levchenko
[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: Setting up proxy

2006-08-18 Thread Ivan Levchenko

fetch will also use the default proxy that is set by the HTTP_PROXY
and FTP_PROXY enviroment variables.

On 8/18/06, Oliver Fromme [EMAIL PROTECTED] wrote:

Viswas Nair [EMAIL PROTECTED] wrote:
  I am trying to setup a FBSD 6.1 machine at work. I have an IP addressed by a
  DHCP server. However, to connect to the internet I need to use a proxy. How
  do I configure the system to connect via the proxy?
 
  I cannot use a browser in to do the same because I am presently trying to
  install the window manager and other applications via ports.

The ports collection uses the fetch(1) tool for retrieving
distfiles (i.e. source code) from the internet via HTTP or
FTP protocols.  If you need to use a proxy, add a line like
this to your file /etc/make.conf (create it if it doesn't
exist yet):

FETCH_ENV=  HTTP_PROXY=http://your.proxy.name:port/

You have to use the right hostname and port number of the
proxy, of course, for example:

FETCH_ENV=  HTTP_PROXY=http://proxy.internal.net:3128/

You must use URL syntax for the proxy.  3128 is the default
port if omitted.  The HTTP_PROXY will also be used for FTP,
unless FTP_PROXY is also set.  So, if you need different
proxies (or different ports) for FTP and HTTP, you need two
lines, for example:

FETCH_ENV=  HTTP_PROXY=http://http-proxy.internal.net:3128/
FETCH_ENV+= FTP_PROXY=http://ftp-proxy.internal.net:3129/

(Note the += on the second line.)

Best regards
   Oliver

--
Oliver Fromme,  secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

And believe me, as a C++ programmer, I don't hesitate to question
the decisions of language designers.  After a decent amount of C++
exposure, Python's flaws seem ridiculously small. -- Ville Vainio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




--
Best Regards,

Ivan Levchenko
[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: ftp-proxy with pf

2006-08-16 Thread Ivan Levchenko

i got it working with this configuration when i have the ftp client on
the linux box use passive ftp mode.
I haven't  got into looking at pftpx yet, but its already working for
now, just have to make sure that i am using a client that works in
passive mode, not active.

On 8/15/06, Jeremy C. Reed [EMAIL PROTECTED] wrote:

Also, what do your pf logs say when you attempt to use FTP client?




--
Best Regards,

Ivan Levchenko
[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: ftp-proxy with pf

2006-08-15 Thread Ivan Levchenko

COOOL!

I will definately look into this when i get home..
nice, thanks!

On 8/15/06, Joao Barros [EMAIL PROTECTED] wrote:

On 8/14/06, Ivan Levchenko [EMAIL PROTECTED] wrote:
 Hello Gilberto,

 No, that wouldn't work, there is no sense in adding a nat rule to the
 internal interface.

 I just found out why it didn't work. All this time, I was using active
 ftp on my ubuntu box. when i switched to passive, it all worked like a
 charm. found it on some forum archive .. forgot the link. on linux the
 env setting for passive ftp doesn't work.. .i never knew that.. you
 have you add -p to the ftp command or start it using pftp..

 On 8/14/06, Gilberto Villani Brito [EMAIL PROTECTED] wrote:
  Try using this rule:
  nat on $int_if from any to any port 21 - 127.0.0.1 port 8021
 
 
  Gilberto
 
 
  2006/8/13, Ivan Levchenko  [EMAIL PROTECTED]:
  
  Hi everybody,
 
  having some troubles with ftp-proxy on my gateway at home: the darn
  thing gets me connected to an outside ftp server, but won't let me do
  anything else with it.
 
  the gateway computer is freebsd (it is running pf with nat to share
  and secure a pppoe connection); the client computer is running kubuntu
  6.06.
 
  any help (the right keyword to google with will be nice too!!!) will be
  great!


I'm happilly using pftpx with no problems :-)

http://www.freshports.org/ftp/pftpx/

--
Joao Barros




--
Best Regards,

Ivan Levchenko
[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: ftp-proxy with pf

2006-08-14 Thread Ivan Levchenko

Hello Gilberto,

No, that wouldn't work, there is no sense in adding a nat rule to the
internal interface.

I just found out why it didn't work. All this time, I was using active
ftp on my ubuntu box. when i switched to passive, it all worked like a
charm. found it on some forum archive .. forgot the link. on linux the
env setting for passive ftp doesn't work.. .i never knew that.. you
have you add -p to the ftp command or start it using pftp..

On 8/14/06, Gilberto Villani Brito [EMAIL PROTECTED] wrote:

Try using this rule:
nat on $int_if from any to any port 21 - 127.0.0.1 port 8021


Gilberto


2006/8/13, Ivan Levchenko  [EMAIL PROTECTED]:

Hi everybody,

having some troubles with ftp-proxy on my gateway at home: the darn
thing gets me connected to an outside ftp server, but won't let me do
anything else with it.

the gateway computer is freebsd (it is running pf with nat to share
and secure a pppoe connection); the client computer is running kubuntu
6.06.

here is what i get when trying to connect to a ftp server behind the nat:

$ ftp ftp.freebsd.org
Connected to ftp.freebsd.org .
220 ftp.FreeBSD.org NcFTPd Server (licensed copy) ready.
Name (ftp.freebsd.org:ivan): ftp
331 Guest login ok, send your complete e-mail address as password.
Password:
230-You are user #112 of 1000 simultaneous users allowed.
230-
230 Logged in anonymously.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp ls
550 Data connection must go to same host as control connection.
ftp: bind: Address already in use
ftp

or i get this error when connecting to a different ftp server (vsftpd):
500 Illegal PORT command.
ftp: bind: Address already in use.

i read the ftp-proxy and pf.conf man pages and have google-ed more
than my brain can comprehend but still no answer for this.

i attached the conf files for pf.conf and inetd.conf

any help (the right keyword to google with will be nice too!!!) will be
great!

--
Best Regards,

Ivan Levchenko
[EMAIL PROTECTED]


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








--
Best Regards,

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


ftp-proxy with pf

2006-08-13 Thread Ivan Levchenko

Hi everybody,

having some troubles with ftp-proxy on my gateway at home: the darn
thing gets me connected to an outside ftp server, but won't let me do
anything else with it.

the gateway computer is freebsd (it is running pf with nat to share
and secure a pppoe connection); the client computer is running kubuntu
6.06.

here is what i get when trying to connect to a ftp server behind the nat:

$ ftp ftp.freebsd.org
Connected to ftp.freebsd.org.
220 ftp.FreeBSD.org NcFTPd Server (licensed copy) ready.
Name (ftp.freebsd.org:ivan): ftp
331 Guest login ok, send your complete e-mail address as password.
Password:
230-You are user #112 of 1000 simultaneous users allowed.
230-
230 Logged in anonymously.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp ls
550 Data connection must go to same host as control connection.
ftp: bind: Address already in use
ftp

or i get this error when connecting to a different ftp server (vsftpd):
500 Illegal PORT command.
ftp: bind: Address already in use.

i read the ftp-proxy and pf.conf man pages and have google-ed more
than my brain can comprehend but still no answer for this.

i atached the conf files for pf.conf and inetd.conf

any help (the right keyword to google with will be nice too!!!) will be great!

--
Best Regards,

Ivan Levchenko
[EMAIL PROTECTED]


inetd.conf
Description: Binary data


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

Fwd: deleted /var/db/pkg, now what?

2006-08-04 Thread Ivan Levchenko

-- Forwarded message --
From: Ivan Levchenko [EMAIL PROTECTED]
Date: Aug 4, 2006 2:58 PM
Subject: Re: deleted /var/db/pkg, now what?
To: Gobbledegeek [EMAIL PROTECTED]


pkgdb -u (look for more info in man pkgdb)

On 8/4/06, Gobbledegeek [EMAIL PROTECTED] wrote:

I rebuilt the pkgdb.db  but all the other files are gone...
Now portupgrade  thinks  no  packages  are installed.
gnome-upgrade.sh aborts  because it cannot handle  'nilclass'  string.

Any tips to  get back  my  list  of installed packages?

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




--

Best Regards,

Ivan Levchenko
Manager of Programming department
[EMAIL PROTECTED]
[EMAIL PROTECTED]


--

Best Regards,

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


samba3

2006-08-01 Thread Ivan Levchenko

Hello All,

Just tried to install samba3 from ports ( yes i just updated ports
with portsnap) and i got this error:


===  samba-3.0.23,1 broken IPC and code.
*** Error code 1

Stop in /usr/ports/net/samba3.
*** Error code 1

Whats up with it?

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


Re: pf states

2006-07-31 Thread Ivan Levchenko

Thanks a lot for the tips, will keep them in mind.

I have seen those states on port 53 for udp.

p.s. pf works like a charm just for the interest, i looked into
/etc/rc.firewall and i was just terrified by it. pf looks like a
breath of fresh air.

On 7/31/06, Darrin Chandler [EMAIL PROTECTED] wrote:

On Sun, Jul 30, 2006 at 09:33:15PM +, Ivan Levchenko wrote:
 Thanks, i have some knowledge of these things (at least i have been
 reading the man pages for pf and altq, and the openbsd pf faq =) ..

 like always ... there is still more reading ahead.

 thanks.

The thing that I forgot to mention is that pf tries to keep state for
udp and icmp, even though these are not strictly stateful protocols. So
there are state entries that you will not find any information about
if you go read about icmp or udp.

For instance, if you have a default block in rule, but a pass out
icmp keep state and you send out a ping (icmp echo-request) then pf
will create a state waiting for the echo reply and let it in. The same
goes for udp, which is often seen on port 53 for DNS.

It's good that you want to know what is going on and are learning. Too
many people do not.

--
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |




--

Best Regards,

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


pf states

2006-07-30 Thread Ivan Levchenko

Hello all,

Have a little question to which google didn't help a lot.

I have pf firewall working great. i installed pftop to see whats going
on in real time. I see some state meanings that i would like to know
more about, for example no_traffic.

I looked in the man pages and what not, but could not find what i was
looking for.

Thanks in advance.

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


OpenBSD PF firewall in Freebsd

2006-07-25 Thread Ivan Levchenko

Hello all,

Is PF installed with the base system in FreeBSD 6.1? I see that there
is IPF, is it the same thing? I didn't find PF in the ports tree, so
thats why i'm asking.

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


Re: OpenBSD PF firewall in Freebsd

2006-07-25 Thread Ivan Levchenko

Thanks everybody, looks great..

thanks for the reply!

On 7/25/06, fbsd [EMAIL PROTECTED] wrote:

yes OpenBSD pf is part of the FreeBSD base release.
Read the firewall section of the handbook for
instructions on how to activate.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ivan
Levchenko
Sent: Tuesday, July 25, 2006 11:53 AM
To: freebsd-questions@freebsd.org
Subject: OpenBSD PF firewall in Freebsd


Hello all,

Is PF installed with the base system in FreeBSD 6.1? I see that
there
is IPF, is it the same thing? I didn't find PF in the ports tree, so
thats why i'm asking.

Thanks!
___
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]


Fwd: pppNAT woes =(

2006-07-21 Thread Ivan Levchenko

-- Forwarded message --
From: Ivan Levchenko [EMAIL PROTECTED]
Date: Jul 21, 2006 2:26 PM
Subject: Re: pppNAT woes =(
To: [EMAIL PROTECTED]


Internet works on all of them when i connect via pppoeconf and pon
dsl-provider in linux and ppp -ddial n freebsd or via a windows
connection. To connect on each box, i have to enter my username and
password.

Thats why i want to connect to the internet on my freebsd box and then
have the windows computers connect through it via the internet.

Is it even possible to do it with this kind of lan configuration:

(internet)--(switch)-(three computers connected to the switch)
(instead of internet, there probably should be an adsl modem, but i
don't have access to it, nor do i know its IP address, so it doesn't
matter)

right now, i have acccess from any  of the computers if i *connect*,
but that eliminates the possiblity for my three computers to use the
same connection at the same time.

On 7/21/06, fbsd [EMAIL PROTECTED] wrote:

You say that in current configuration you can get on internet from
all 3 pc's at same time, this means your ADSL modem is already
performing NAT function for you. There is no need to do NAT on
FreeBSD box unless you want to run one of the 3 FreeBSD firewalls to
protect your LAN. In that case you will have to get additional NIC
card and cable like explained in previous post. Adding NAT to your
FreeBSD box using your current cable layout will not work as you
have all ready found out. Your current network is cabled together
wrong for that to work. How LAN is cabled is too large of subject to
explain here. Use google and search internet for 'LAN hardware
config'.
The FreeBSD install guide covers building simple home LAN in detail.
www.a1poweruser.com


-Original Message-
From: Ivan Levchenko [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 6:22 AM
To: [EMAIL PROTECTED]
Subject: Re: pppNAT woes =(


Its a little bit different. I can power up all the pc's at the same
time.

Is it possible to get it working without two ethernet cards?

currently, the internet connection works from any computer, but I
would like to get it go through my freebsd box without rebuilding
the
lan.

On 7/21/06, fbsd [EMAIL PROTECTED] wrote:
 If your saying that in your current network configuration you can
 only power up and use one of the 3 PC's on the switch at a time?
 That you can not use all 3 pc's at the same time?

 If that is correct. Then you need to cable the FreeBSD pc direct
to
 the ADSL cable like the switch is now. Then add a second LAN card
to
 the FreeBSD box and cable it to the input port on the switch.
Switch
 stays cabled to the 2 window pc's.

 Add gateway_enable=YES and ifconfig_xl0=inet 10.0.10.2  to
 rc.conf,  You can install dhcp server to auto assign ip address to
 pc's on LAN or manually assign un-routable ip address in each
 windows network window.



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Ivan
 Levchenko
 Sent: Thursday, July 20, 2006 9:27 PM
 To: freebsd-questions@freebsd.org
 Subject: pppNAT woes =(


 Hello All,

 Internet adsl - PPPoE. ( i don't have access to the router/modem)

 Current setup:

 One ethernet cord that I got from the ISP that is connected to a
 switch
 three computers (one freebsd and 2 windows) connected to the same
 switch

 I am able to connect to the internet from any of my boxes. I want
to
 setup a pppnat on freebsd so that all of my computers can use the
 same
 connection.

 When i connect from freebsd, internet works, but when i add the ip
 address of my freebsd box as the default gateway to the connection
 in
 windows, it doesn't work. Here are my configs:

 /etc/ppp/ppp.conf

 default:
   #set log Phase tun command # you can add more detailed logging
if
 you wish
   #set ifaddr 0.0.0.0 0.0.0.0
   set log Phase Chat LCP IPCP CCP tun command
 wp:
   set device PPPoE:rl0 # replace xl1 with your Ethernet device
   set authname 
   set authkey 
   #set dial
   set ctsrts off
   #set login
   add default HISADDR
   #enable dns
   set mru 1492
   set mtu 1492
   set timeout 0
   set redial 0 0
   enable lqr

 /etc/rc.conf
 font8x14=cp866-8x14
 font8x16=cp866b-8x16
 font8x8=cp866-8x8
 #gateway_enable=YES
 hostname=proxy1
 ifconfig_rl0=inet 192.168.0.236  netmask 255.255.255.0
 inetd_enable=YES
 keymap=ru.koi8-r
 linux_enable=YES
 mousechar_start=3
 scrnmap=koi8-r2cp866
 sshd_enable=YES
 usbd_enable=YES
 #We do not need sendmail
 sendmail_enable=NO
 #PPP nat enable
 ppp_enable=YES
 ppp_mode=ddial
 ppp_nat=YES
 ppp_profile=wp
 ppp_user=root

 /boot/loader.conf
 ng_UI_load=YES
 ng_ether_load=YES
 ng_ppp_load=YES# PPP protocol netgraph node type
 ng_pppoe_load=YES  # RFC 2516 PPPOE protocol netgraph node
 type
 ng_socket_load=YES

 custom kernal:
 machine i386
 cpu I686_CPU
 ident   MYKERNEL


 makeoptions DEBUG=-g# Build kernel with gdb(1)
 debug symbols

 options

Fwd: pppNAT woes =(

2006-07-21 Thread Ivan Levchenko

Ok, I will do that, I can make the changes, it just that its a little
more time consuming (go and buy the card and stuff, redo the lan).

Ok, will go with the method that you described.

Thanks a lot for clearing things out.

Will post back my results and how i got it working ( i am being optimistic =))

On 7/21/06, fbsd [EMAIL PROTECTED] wrote:

NO  NO   NO you can not do what you want without changing your
cabling layout like I have told you before.  internet to FreeBSD
box, add second NIC card to FreeBSD box and cable it to switch. Then
FreeBSD box is common gateway to internet for all pc on LAN and all
LAN PCs will share your single ISP user account just like you want.

If you can not make this change you are SOL.

-Original Message-
From: Ivan Levchenko [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 7:27 AM
To: [EMAIL PROTECTED]
Subject: Re: pppNAT woes =(


Internet works on all of them when i connect via pppoeconf and pon
dsl-provider in linux and ppp -ddial n freebsd or via a windows
connection. To connect on each box, i have to enter my username and
password.

Thats why i want to connect to the internet on my freebsd box and
then
have the windows computers connect through it via the internet.

Is it even possible to do it with this kind of lan configuration:

(internet)--(switch)-(three computers connected to the
switch)
(instead of internet, there probably should be an adsl modem, but i
don't have access to it, nor do i know its IP address, so it doesn't
matter)

right now, i have acccess from any  of the computers if i *connect*,
but that eliminates the possiblity for my three computers to use the
same connection at the same time.

On 7/21/06, fbsd [EMAIL PROTECTED] wrote:
 You say that in current configuration you can get on internet from
 all 3 pc's at same time, this means your ADSL modem is already
 performing NAT function for you. There is no need to do NAT on
 FreeBSD box unless you want to run one of the 3 FreeBSD firewalls
to
 protect your LAN. In that case you will have to get additional NIC
 card and cable like explained in previous post. Adding NAT to your
 FreeBSD box using your current cable layout will not work as you
 have all ready found out. Your current network is cabled together
 wrong for that to work. How LAN is cabled is too large of subject
to
 explain here. Use google and search internet for 'LAN hardware
 config'.
 The FreeBSD install guide covers building simple home LAN in
detail.
 www.a1poweruser.com


 -Original Message-
 From: Ivan Levchenko [mailto:[EMAIL PROTECTED]
 Sent: Friday, July 21, 2006 6:22 AM
 To: [EMAIL PROTECTED]
 Subject: Re: pppNAT woes =(


 Its a little bit different. I can power up all the pc's at the
same
 time.

 Is it possible to get it working without two ethernet cards?

 currently, the internet connection works from any computer, but I
 would like to get it go through my freebsd box without rebuilding
 the
 lan.

 On 7/21/06, fbsd [EMAIL PROTECTED] wrote:
  If your saying that in your current network configuration you
can
  only power up and use one of the 3 PC's on the switch at a time?
  That you can not use all 3 pc's at the same time?
 
  If that is correct. Then you need to cable the FreeBSD pc direct
 to
  the ADSL cable like the switch is now. Then add a second LAN
card
 to
  the FreeBSD box and cable it to the input port on the switch.
 Switch
  stays cabled to the 2 window pc's.
 
  Add gateway_enable=YES and ifconfig_xl0=inet 10.0.10.2  to
  rc.conf,  You can install dhcp server to auto assign ip address
to
  pc's on LAN or manually assign un-routable ip address in each
  windows network window.
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Ivan
  Levchenko
  Sent: Thursday, July 20, 2006 9:27 PM
  To: freebsd-questions@freebsd.org
  Subject: pppNAT woes =(
 
 
  Hello All,
 
  Internet adsl - PPPoE. ( i don't have access to the
router/modem)
 
  Current setup:
 
  One ethernet cord that I got from the ISP that is connected to a
  switch
  three computers (one freebsd and 2 windows) connected to the
same
  switch
 
  I am able to connect to the internet from any of my boxes. I
want
 to
  setup a pppnat on freebsd so that all of my computers can use
the
  same
  connection.
 
  When i connect from freebsd, internet works, but when i add the
ip
  address of my freebsd box as the default gateway to the
connection
  in
  windows, it doesn't work. Here are my configs:
 
  /etc/ppp/ppp.conf
 
  default:
#set log Phase tun command # you can add more detailed logging
 if
  you wish
#set ifaddr 0.0.0.0 0.0.0.0
set log Phase Chat LCP IPCP CCP tun command
  wp:
set device PPPoE:rl0 # replace xl1 with your Ethernet device
set authname 
set authkey 
#set dial
set ctsrts off
#set login
add default HISADDR
#enable dns
set mru 1492
set mtu 1492
set timeout 0
set redial 0 0
enable lqr
 
  /etc

pppNAT woes =(

2006-07-20 Thread Ivan Levchenko

Hello All,

Internet adsl - PPPoE. ( i don't have access to the router/modem)

Current setup:

One ethernet cord that I got from the ISP that is connected to a switch
three computers (one freebsd and 2 windows) connected to the same switch

I am able to connect to the internet from any of my boxes. I want to
setup a pppnat on freebsd so that all of my computers can use the same
connection.

When i connect from freebsd, internet works, but when i add the ip
address of my freebsd box as the default gateway to the connection in
windows, it doesn't work. Here are my configs:

/etc/ppp/ppp.conf

default:
 #set log Phase tun command # you can add more detailed logging if you wish
 #set ifaddr 0.0.0.0 0.0.0.0
 set log Phase Chat LCP IPCP CCP tun command
wp:
 set device PPPoE:rl0 # replace xl1 with your Ethernet device
 set authname 
 set authkey 
 #set dial
 set ctsrts off
 #set login
 add default HISADDR
 #enable dns
 set mru 1492
 set mtu 1492
 set timeout 0
 set redial 0 0
 enable lqr

/etc/rc.conf
font8x14=cp866-8x14
font8x16=cp866b-8x16
font8x8=cp866-8x8
#gateway_enable=YES
hostname=proxy1
ifconfig_rl0=inet 192.168.0.236  netmask 255.255.255.0
inetd_enable=YES
keymap=ru.koi8-r
linux_enable=YES
mousechar_start=3
scrnmap=koi8-r2cp866
sshd_enable=YES
usbd_enable=YES
#We do not need sendmail
sendmail_enable=NO
#PPP nat enable
ppp_enable=YES
ppp_mode=ddial
ppp_nat=YES
ppp_profile=wp
ppp_user=root

/boot/loader.conf
ng_UI_load=YES
ng_ether_load=YES
ng_ppp_load=YES# PPP protocol netgraph node type
ng_pppoe_load=YES  # RFC 2516 PPPOE protocol netgraph node type
ng_socket_load=YES

custom kernal:
machine i386
cpu I686_CPU
ident   MYKERNEL


makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_ULE   # ULE scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
   # output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
   # output.  Adds ~215k to driver.
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

device  eisa
device  pci

device  fdc

device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering
device  atapicam



device  scbus   # SCSI bus (required for SCSI)
device  ch  # SCSI media changers
device  da  # Direct Access (disks)
device  cd  # CD
device  pass# Passthrough device (direct SCSI access)
device  ses # SCSI Environmental Services (and SAF-TE)



device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  kbdmux  # keyboard 

Re: CDROM

2006-07-14 Thread Ivan Levchenko

Hello,

Could you show the results of:

dmesg | grep acd
and
ls -l /dev/ | grep acd

On 7/14/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Here is my latest try on it (where I dropped the 'a' at the end of
'acd0a'):
# mount -t cd9660  /dev/acd0  /cdrom
cd9660: /dev/acd0: No such file or directory
#



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


Re: CDROM

2006-07-13 Thread Ivan Levchenko

Hello,

Try just mount -t cd9660  /dev/acd0 /cdrom
(without the a)

On 7/12/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

On  Mon, Jul 10, 2006 07:48 PM, Bill Moran  wrote:
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

  I can read from my  CDROM  under  Windows 98 , but when I try
 to read from it under  FreeBSD 4.3  I get told that the device is
 busy.  My presumption is that either part of the device driver is
 corrupted, or there is some status data kept long time that is never
 reset but it tells the system that the device is busy.
snip
 You can start by describing _exactly_ what you are doing and the
 _exact_ results.

Here it is (first I show you what was mounted, then the  mount  command):
0-# mount
/dev/ad0s4a on / (ufs, local)
/dev/ad0s4g on /mp1 (ufs, local)
/dev/ad0s4h on /mp2 (ufs, local)
/dev/ad0s4e on /usr (ufs, local)
/dev/ad0s4f on /var (ufs, local)
procfs on /proc (procfs, local)
/dev/fd0 on /a (msdos, local)
0-# mount -t cd9660  /dev/acd0a  /cdrom
cd9660: /dev/acd0a: Device busy


___
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: flash / pandora.com / google video

2006-07-12 Thread Ivan Levchenko

Hello,

I installed linux-flock and linuxplugin wrapper. Then when I went to a
webpage with flash, it asked me if i wanted to install it and i did.
flash works great for me.

On 7/11/06, Erin Sharmahd [EMAIL PROTECTED] wrote:

I've been working on trying to get flash working on my freebsd 6.1
system, and have had a bit of luck, but not quite as much as I'd like
to have.

After recovering from some less-successful attempts, I followed the
instructions at http://www.jail.se/freebsd.html, and can now get most
flash websites to work correctly.  However, Google Video and
Pandora.com both completely crash firefox.  Has anybody found a
solution to this problem?

Thanks,
~TuxGirl

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


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