Re: Soekris for a Trac server

2013-10-01 Thread Bill Tillman





 From: Michael michip...@gmail.com
To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org 
Sent: Tuesday, October 1, 2013 2:22 AM
Subject: Soekris for a Trac server
 

I am planning to move a jail-hosted service to a physical device and
would like to hear the advices of experts here.


My service runs sshd, apache and trac (the ticket service) and I am
considering getting one of the products by soekris. I know that some
list users have some experience with these products so it would be very
nice for me to ear if this kind of product is suitable for my project
and if FreeBSD is doing well on these platforms.

Also I am bit unsure about the setup I should pick: we are a hand of
users for the service and I would like to know if a 64-MB Ram and a
166Mhz setup could do, or if I definitely should consider a faster CPU
or more RAM. Given my actual jail based setup, is there an easy way to
guess the required RAM — In the jail `top` reports a Size of 111M for
the Python process, but I guess the interpreter is taking things easy
when a lot of RAM is available, doesn't it?

Last, are FreeBSD jails lightweight enough to run in such a constrained
environment? It is not unlikely that the device evolves to run several
other services (like a nfs) and I would appreciate to be able to confine
services appropriately using jails.

Thank you for your comments!
Michael

___
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


The way technology has moved on these days I would approach this from a
completely different manner. Soekris makes some cool little boxes, but the
last time I looked they still had I486 cpu's...today may be different, probably
is. My point is that with computers so cheap these days why not just use
a box, sans the drives and do a diskless boot from one of your FreeBSD
servers...or better yet, setup another FreeBSD server using VM. It doesn't
make sense to buy a box with VM technology so freely available.
___
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: Diskless question

2013-09-15 Thread Bill Tillman





 From: Bernt Hansson b...@bananmonarki.se
To: Bernt Hansson b...@bananmonarki.se 
Cc: Julian H. Stacey j...@berklix.com; freebsd-questions@freebsd.org 
Sent: Saturday, September 14, 2013 12:37 PM
Subject: Re: Diskless question
 

On 2013-09-14 15:41, Bernt Hansson wrote:
 On 2013-09-14 11:05, Julian H. Stacey wrote:
 Hi, Reference:
 From:        Bernt Hansson b...@bananmonarki.se
 Date:        Sat, 14 Sep 2013 09:36:58 +0200

 Bernt Hansson wrote:
 Hello list!

 I have a setup with a diskless machine and working, but I can not log in
 as root on the diskless. How to proceed?

 Log in as non root  see what /var/log shows
 Mount the media elsewhere then either
     give a good look at what might be wrong,
     relax some restrictive permissions
     create some temporary back doors.
     rlogin, ssh, no or simple password on toor etc

 Cheers,
 Julian

 I solved it. Root did not have a password as strange as it may be.

Unsolved. Root do not have a password, pressing enter at the passwd 
prompt gives sorry
___
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



It's been a long time since I did this but there was some command for passwd 
for root which I had to do as well. The initial diskless boot will login you in 
with root without a password as I recall. Aha, here it is...

cd /etc
cp passwd master.passwd /pxeroot/conf/default/etc/
cd /pxeroot/etc
pwd_mkdb -d /pxeroot/etc master.passwd

You may need to adjust this based on your setup. I found lots of good info on 
diskless booting at this site:

http://www.nber.org/sys-admin/FreeBSD-diskless.html
___
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: X client without X server

2013-07-03 Thread Bill Tillman





 From: Anton Shterenlikht me...@bris.ac.uk
To: me...@bristol.ac.uk; olivier2...@gmail.com 
Cc: o...@cs.ait.ac.th; freebsd-questions@freebsd.org 
Sent: Wednesday, July 3, 2013 9:17 AM
Subject: Re: X client without X server
 

    From olivier2...@gmail.com Wed Jul  3 13:09:25 2013

    Anton,

    On Wed, Jul 3, 2013 at 5:47 PM, Anton Shterenlikht me...@bris.ac.uk wrote:
             Date: Wed, 3 Jul 2013 10:55:48 +0700 (ICT)
             From: Olivier Nicole olivier.nic...@cs.ait.ac.th
             To: freebsd-questions@freebsd.org
             Subject: X client without X server
    
             Hi,
    
             Is there a way to install an X client without automatically 
install an
             X server?
    
             On all my systems, I throw xterm and emacs, as the primary tools 
I use
             for management, but the display is always remote, I never, ever, 
run X
             on the machine, but still it install X server, fonts and a lot of
             useless junk like xcalc.
    
             Is there a way to install xterm and only the libraries that are 
needed
             to run xterm?
    
             TIA,
    
             Olivier
    
     I've been doing this for years.
     What's the problem?
    
     Just install xterm, or whatever you need.
     All the necessary libs will be pulled in, e.g.:
    
     $ pkg info -xd xterm
     xterm-293:
             xproto-7.0.24
             xextproto-7.2.1
             renderproto-0.11.1
             printproto-1.0.5
             libxcb-1.9.1
             libXrender-0.9.8
             libXpm-3.5.10
             libXp-1.0.2,1
             libXext-1.3.2,1
             libXdmcp-1.1.1
             libXau-1.0.8
             libX11-1.6.0,1
             libSM-1.2.1,1
             libICE-1.0.8,1
             kbproto-1.0.6
             libXt-1.1.4,1
             libXmu-1.1.1,1
             libXaw-1.0.11,2
             libXft-2.3.1
             fontconfig-2.9.0,1
             expat-2.0.1_2
             freetype2-2.4.12_1
             pkgconf-0.9.2_1
             pcre-8.33
             libpthread-stubs-0.3_3
    
     Obviously xterm does not depend on xorg-server.

    But for some reason, xorg-server gets installed too. And tons of fonts, and 
...

    It could be emacs, or cvsup, these are the 3 X Window clients I install.

I don't use emacs, but you can quickly check,
prior to installing, what other ports will be
required, e.g. do

make -C /usr/ports/ search name=emacs-24

You might be familiar with this already, but
if not, the B-deps are those ports which
are required to build your port, and R-deps
are required to run your port. For emacs-24,
both the default and the devel branches, you
see that they depend on xorg-fonts-truetype-7.7_1
and lots of other libs, but not on xorg-server.
net/cvsup has a lot fewer dependencies, again
no xorg-server.

In general X server is only required by the ports
running on the graphical side - screen, mouse, kbd, etc.,
e.g.:

$ pkg info -xr xorg-server
xorg-server-1.7.7_8,1:
        xf86-input-keyboard-1.7.0
        xf86-input-mouse-1.9.0
        xf86-video-vesa-2.3.2
        nvidia-driver-310.44_1
$

So I'd say something is wrong with your installation
if xorg-server is being pulled in when you build
emacs, xterm or cvsup.

Post the output from pkg info -aq.
Maybe this will give us a hint.

Anton

___
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

Just my 2¢ worth on this. Sure, one always wants to keep overhead low. But the 
days of limited RAM, small hard drives, etc...are long since behind us. I 
remember in 1994 when and IT consultant came in and built a Novell server for 
us with a whopping 1 GB hard drive. And back then how we thought with a 1 GB 
hard drive we'd never run out of space. Well these days one could easily run 
out of space with such a small hard drive. But with today's systems having 2 or 
3 TB drives and GB's of RAM, something as trivial as X-Server should not be a 
problem. If you don't need it, don't run it. But to worry about the space it 
takes up is kind of a moot point these days. And like some of the other replies 
mentioned, xterm may not require it, but one of xterm's dependencies may. I run 
Asterisk routinely on my systems and I'm always amazed at how installing one 
port requires no less than 38 other ports to be installed as well.
___
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: Diskless question

2013-04-25 Thread Bill Tillman


 


 From: Arthur Chance free...@qeng-ho.org
To: Bernt Hansson b...@bananmonarki.se 
Cc: questions FreeBSD FreeBSD-questions@freebsd.org 
Sent: Wednesday, April 24, 2013 9:52 AM
Subject: Re: Diskless question
  
On 04/24/13 13:45, Bernt Hansson wrote:


 2013-04-24 13:21, Arthur Chance skrev:
 On 04/24/13 11:55, Bernt Hansson wrote:
 2013-04-24 12:30, Arthur Chance skrev:
 On 04/24/13 09:18, Bernt Hansson wrote:
 Hello list!

 I have set up a diskless machine with 8.3-stable and i as a user can
 log
 in, but when I try to log in as root it won't work. How to resolv that
 issue. I have tried with and without password but the computer said
 no.


 How did it say no? What does the entry for root in /etc/passwd say?

 $su
 Sorry

 root:*:0:0:Charlie :/root:/bin/csh


 That's not logging in directly as root, that's using su as a normal
 user. Only members of wheel group can use su. Try logging in directly on
 the console as root. That should work unless you've marked the console
 as insecure or have an impossible password in /etc/master.passwd.

 I am a member of the wheel group.

Curious, I would have expected the su to work. Time for a quick look at 
the source.

 In the long run you need to add your normal user to wheel group so you
 can use su. Can you edit the diskless machine's /etc/group from the
 server that's supplying its disk(s)? In the days when I ran diskless
 systems I usually found it easier to work on the diskless systems'
 config files via the server.

 I have tried and my own password is easily changed via the server.

 if i try, on the diskless,

 Login: root
 Password: password or none

 Login incorrect

As I mentioned in another post, have you got a valid looking password 
field in /etc/master.passwd or just a '*'? Valid fields tend to look 
something like $2a$04$XXX or $6$XXX where XXX is a lot of base64 
encoded data.

Looking in the source for su there are three places that generate 
Sorry. They all send messages to syslog. Is there a BAD SU entry in 
your /var/log/auth.log or a PAM related error in /var/log/messages 
and/or on the console?

-- 
In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a
new race of servants. Called Uruk-Oh-Hai in the Black Speech, they
were cruel and delighted in torturing spelling and grammar.

        _Lord of the Rings 2.0, the Web Edition_
___
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


When you're editing the /etc/passwd file make sure it's the one in the 
partition that you set for your root for the diskless machine. It could be the 
same one as the server but typically another partition is setup as the root for 
the diskless machine(s).   
___
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


Virtual Box on FreeBSD Server

2013-04-19 Thread Bill Tillman
I've been looking into setting up some Linux servers but instead I'm thinking 
that I could use Virtual Box on my FreeBSD servers to do this. I would like 
some seasoned advice from others on the following before proceeding:

1. As I understand it you can install Virtual Box from the ports collection. 
But then I see the instructions in the Handbook:

      To launch VirtualBox, type from a Xorg session:
% VirtualBox
So am I to assume the only way to run Virtual Box is to have Xorg installed and 
running on the FreeBSD server?  Which is a drag because my current FreeBSD 
servers are exactly that, servers, and do not have the fancy video cards, 
monitors, etc.. to run Xorg. Is there an alternative to running the interface 
from Xorg. I'm a command line fanatic when it comes to servers. Or would I be 
able to install Xvnc or something like that and run it from one of my Windows 7 
machines which has all the fancy video capabilities?


2. Once installed, I will be able to install something like Fedora or openSUSE? 
These will only be installed as server so I can run databases like MySQL in the 
Linux environment. The client I'm working for insists on using SUSE...no 
FreeBSD allowed. They think it's poison and are very biased on this so there's 
no talking them out of it. I need to gain experience using these databases on 
Linux, not FreeBSD.

3. I'm going to buy a 1 TB SATA drive for this setup. It will be running on an 
AMD64 server with FreeBSD 9.x or whatever is the latest release as of this 
weekend.

4. There is also a Plan 'B' to go the other way. Since I already have two i7 
machines running Windows 7, perhaps it might be better to install the Windows 
version of Virtual Box or even VMWare and create my instances of Linux on one 
or even both of these machines.

Any advice would be appreciated.
___
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: Mounting a samba share on boot?

2012-12-12 Thread Bill Tillman




From: Polytropon free...@edvax.de
To: Bill Tillman btillma...@yahoo.com 
Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org 
Sent: Wednesday, December 12, 2012 12:40 AM
Subject: Re: Mounting a samba share on boot?


On Tue, 11 Dec 2012 14:08:38 -0800 (PST), Bill Tillman wrote:
 Typically, Samba is used so that Windows or other SMB type
 OS'es can access the server. That said, I would simplify all
 this with the way I have mine setup. You will of course need
 the shares configured in your smb.conf, then simply put a
 command in your /etc/rc.local or /etc/rc.d/ to launch smdb
 and nmbd. I don't rely on anything in /etc/fstab to use samba.
 It's all in my smb.conf file.

Yes, that would be the other way round, which I thought would
be less probable due to the question presented in the subject.
Terms like mount [...] on boot suggests that FreeBSD would act
as a SMB client here. Of course, the standard way to do things
like this would usually be something like NFS, which is not
very well supported in Windows land (and therefor requiring
SMB stuff).

Delegating the configuration into _one_ file (instead of spreading
it across /etc/fstab, /etc/nsmb.conf and maybe some handcrafted
/usr/local/etc/rc.d script) sounds like a much better approach.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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've heard from more than one person that Samba is no good. Including the IT
guru here where I work. All I know is that  I've been running it for years and
without a single incident. I quietly and reliably allows my Windows workstations
to access my FreeBSD server's like they were very expensive Windows file
servers. Never messed with the printing side of it and don't need to . File 
sharing alone has been worth the investment in time to learn Samba.

As for NFS, I have found, on my network at least that using the TCP and -i
options to keep it from timing out has worked fine.
___
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: Mounting a samba share on boot?

2012-12-11 Thread Bill Tillman





From: Polytropon free...@edvax.de
To: Hanafi Syahroini han...@zigma-jp.com 
Cc: freebsd-questions@freebsd.org 
Sent: Tuesday, December 11, 2012 11:57 AM
Subject: Re: Mounting a samba share on boot?

On Tue, 11 Dec 2012 23:25:56 +0700, Hanafi Syahroini wrote:
 [nothing]

First of all, it's not uncommon to place the question into
the message body (which you did not), and using a descriptive
subject (which you did). :-)

So I assume your question is _how_ to mount a SMB share at
boot.

This can be easily done by adding the required line to the
/etc/fstab file. Because network connection is required to
perform the mount, you could use the late option in
addition to other options you might need. See man mount
for detais, as well as /etc/rc.d/mountlate.

The line would be like this:

    //USERNAME@SERVERNAME/share  /smb/share  smbfs  rw,late  0  0

In this example, SERVERNAME is the server to access, and share
the name of the share; /smb/share will be the directory it will
be mounted at.

Access to multiple drive letters would look like this:

    //Administrator@WINPC/a$  /smb/a  smbfs  rw,late  0  0
    //Administrator@WINPC/c$  /smb/c  smbfs  rw,late  0  0
    //Administrator@WINPC/d$  /smb/d  smbfs  rw,late  0  0
    //Administrator@WINPC/e$  /smb/e  smbfs  rw,late  0  0
    //Administrator@WINPC/f$  /smb/f  smbfs  rw,late  0  0

Here WINPC is the name of the server. Using Administrator
in this case is not safe, but no problem in settings where
people don't care for security anyway. :-)

Also see man smbfs and man fstab for details.

It might be required to put additional information in
/etc/nsmb.conf, for example:

    [default]
    workgroup=YOUR_WORKGROUP_NAME

    [SERVERNAME]
    addr=192.168.2.2

    [SERVERNAME:USERNAME]
    password=TOPSECRET

Substitute SERVERNAME, USERNAME and TOPSECRET for the
organisational information and access credentials that apply.
See man nsmb.conf for details.

Further instructions can easily be found in the online docs:

http://www.freebsd.org/doc/faq/book.html#mount-smb-share

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-samba.html



Note that if you still encounter network problems, it's better
to write a short rc.d style script that performs the mount_smb
commands, and use the proper keywords to have it run when the
network connection is up and running. See man rc.d for
details.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


That's a great answer but let me insert that most people, not all but most, do 
not use Samba to access a server from other FreeBSD servers. So I feel the two 
replies thus far are overkill. Typically, Samba is used so that Windows or 
other SMB type OS'es can access the server. That said, I would simplify all 
this with the way I have mine setup. You will of course need the shares 
configured in your smb.conf, then simply put a command in your /etc/rc.local or 
/etc/rc.d/ to launch smdb and nmbd. I don't rely on anything in /etc/fstab to 
use samba. It's all in my smb.conf file.

However, Polytropon has presented a great answer here.
___
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: i386 vs amd64

2012-11-29 Thread Bill Tillman


 


 From: Fleuriot Damien m...@my.gd
To: birdf...@yahoo.com 
Cc: freebsd-questions@freebsd.org 
Sent: Wednesday, November 28, 2012 12:40 PM
Subject: Re: i386 vs amd64
 


On Nov 28, 2012, at 6:36 PM, mike miskulin birdf...@yahoo.com wrote:

 About to build a replacement system for an older i386 setup.   A few
 years ago I had tried the amd64 port on it and found it was frustrating
 as things that just worked on i386 did not on amd64. IIRC ports were 
 large annoyance too.
 
 Now I have a new system with 8GB, etc,etc and wonder if I am best off to
 stick with i386 and PAE or is the amd64 version finally on a par or
 close enough that I would not likely have many issues like in the past?
 
 Thanks for your thoughts/(recent) experiences.


What port was that ?

I've never had a *single* problem due to using amd64 over i386.

From a professional point of view, we're using over 60 amd64 fbsd 8.0 8.1 8.2 
and 8.3 boxes at work and they work just fine.


I for one can recommend the 64 bits version.

___
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 have been using amd64 for at least 5 years now on mulitple systems and I 
don't know of any troubles like you're defining. And if you're using 8 GB of 
RAM then why waste 4 GB. i386 will not see anything above 4 GB. I'd say at 
least give it a try before you relent.
___
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: Anyone Tried to use iPXE to boot with iSCSI?

2012-09-21 Thread Bill Tillman


- Original Message -
From: Paul Wootton cas...@caspersworld.co.uk
To: Bill Tillman btillma...@yahoo.com
Cc: 
Sent: Thursday, September 20, 2012 4:08 AM
Subject: Re: Anyone Tried to use iPXE to boot with iSCSI?

On 09/20/12 01:42, Bill Tillman wrote:
 Interesting project you've got there. I can't say mine is similar but I do 
 have a machine which I'm using as a router which boots disklessly. Running 
 8.3-STABLE amd64, in fact I just rebuilt the world on both the server which 
 serves this puppy it's OS and the /diskless partition where this puppy get's 
 it's boot up from. Booting by pxe is not an easy thing to do. The docs are 
 terrible and out of synch with the latest versions of the OS. I think there 
 may have been some improvments on that end but it's still kind of a seat of 
 the pants operation. I had several contacts in #FreeBSD on FreeNode who told 
 me they had many diskless servers running yet when pressed for how they did 
 it the answers they gave were vague and ambiguous, that is if they answered 
 at all. I did finally find a site which explained most of it in an almost 
 clear manner, but even that site was filled with typos and out of date 
 information. The router I've built is great...no disks at all
   and until the reboot a few weeks ago it had been running 24/7 for 276 
days...without one failure. We watch lots of NetFlix movies here, sometimes 
two or three at a time with my teenage kids here with their laptops. And I can 
still enjoy a quick download or two in my lab while all this bandwidth is 
being served.
 ___
 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

Hi Bil,,

I am actually looking at doing something very similar with my soekris box. 
Currently it boots from a CF card, but the card is getting old and I think it 
is coming to the end of it's life.

Can you please shed a little light on what you did?


Cheers
Paul



This is the website where I found the best and most accurate information on 
diskless booting. 

http://www.nber.org/sys-admin/FreeBSD-diskless.html

The authors appear to have updated this just a few months ago as well. I 
had trouble with it until I understood what the conf/ folders were all about. 
It's easy for a novice to read this and get confused because the authors assume 
the reader knows as much about it as they do or they are just lazy hacks like 
me and don't want to type all the real meat of the setup. I wrote an e-mail to 
them and explained several typos they had in their article in 2010 when I first 
found this article. The guy who replied back was very cool and he thanked me 
for helping with some of the corrections. I read lots of other stuff, including 
the FreeBSD handbook but as usual it was not in synch with the newest releases 
and I couldn't get it working. I'm happy to say that now I have a 
wonderful diskless setup which I can update when I want toI don't think I'm 
going to go past 8.3-STABLE with it. The new 9.x-RELEASE uses a new drive 
format which has created
 problems for me with the older equipment I have around here. I'm finally 
throwing out most of the old stuff I've had for years around here. Just built 
two new Windows 7 workstations with i7 Quad cores and 16 GB RAM. These older 
servers are still working fine for me and I plan on using them until they drop.
___
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: Anyone Tried to use iPXE to boot with iSCSI?

2012-09-19 Thread Bill Tillman


- Original Message -
From: dweimer dwei...@dweimer.net
To: FreeBSD Questions freebsd-questions@freebsd.org
Cc: 
Sent: Wednesday, September 19, 2012 1:53 AM
Subject: Anyone Tried to use iPXE to boot with iSCSI?

I was just trying some proof of concept testing to see if I could get a system 
booting with no local disk using iSCSI running from my FreeNAS box.

I got started, by first booting a 9.1-RC1 CD, into live CD, created a 
/tmp/iscsi.conf used kldload to load the iscsi initiator, connected to the 
target, created a gpt boot partition, swap partition and just a single / volume 
using remianing space.  Copied the bootcode, created the file system, extracted 
the system etc.  Created a loader.conf file, added the 
iscsi_initiator_load=YES option, copied my /tmp/iscsi.conf file to the new 
file system at /etc/iscsi.conf created a /etc/fstab file using the gpart labels 
to mount / and swap partitions.

Booted the system from the iPXE.iso, ran the necessary configuration options, 
connected to the iscsi volume, and booted from it.  It does launch the 
bootcode, as expected, and then breaks failing to mount root.

Whoch I actually expected, I have proved I can install to an iSCSI volume, I 
can connect to that iSCSI volume prior to loading the kernel, and load the 
kernel from it.

What I can't seem to find any information on is how to mount iSCSI volumes at 
boot on FreeBSD, so that the kernel can mount the root partition.  Does anyone 
have any idea how to do this, or if its even possible?

-- Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
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


Interesting project you've got there. I can't say mine is similar but I do have 
a machine which I'm using as a router which boots disklessly. Running 
8.3-STABLE amd64, in fact I just rebuilt the world on both the server which 
serves this puppy it's OS and the /diskless partition where this puppy get's 
it's boot up from. Booting by pxe is not an easy thing to do. The docs are 
terrible and out of synch with the latest versions of the OS. I think there may 
have been some improvments on that end but it's still kind of a seat of the 
pants operation. I had several contacts in #FreeBSD on FreeNode who told me 
they had many diskless servers running yet when pressed for how they did it the 
answers they gave were vague and ambiguous, that is if they answered at all. I 
did finally find a site which explained most of it in an almost clear manner, 
but even that site was filled with typos and out of date information. The 
router I've built is great...no disks at all
 and until the reboot a few weeks ago it had been running 24/7 for 276 
days...without one failure. We watch lots of NetFlix movies here, sometimes two 
or three at a time with my teenage kids here with their laptops. And I can 
still enjoy a quick download or two in my lab while all this bandwidth is being 
served.
___
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: Patent hit - MS goes after Linux - FreeBSD ?

2012-08-03 Thread Bill Tillman




- Original Message -
From: C. P. Ghost cpgh...@cordula.ws
To: freebsd-questions@freebsd.org
Cc: 
Sent: Thursday, August 2, 2012 7:20 PM
Subject: Re: Patent hit - MS goes after Linux - FreeBSD ?

On Thu, Aug 2, 2012 at 8:57 PM, Chad Perrin per...@apotheon.com wrote:
 It is possible that Microsoft is going the way of SCO -- into its grave,
 having hung all its hopes on litigation.  Along the way, though, it will
 probably do a lot of damage to a lot of people, projects, and businesses,
 and I just hope it doesn't get as far as the FreeBSD project or any
 FreeBSD users before things come crashing down.

Right!

Let's also hope that most patents that could harm us (should there
be some lurking out there) will have expired by then. Unless Congress
pulls a Mickey Mouse Protection Act-lookalike on patents by extending
them just as they did with Copyright.

But as usual with Congress, I wouldn't hold my breath: they aren't
exactly known for enacting reasonable and sensible laws. Especially
not when heavily lobbied by mega corps with deep pockets like MSFT,
Oracle, Apple and so on. Yes, things will get really nasty once those
corporations go the way of the SCO.

 (disclaimer: I am not a lawyer.  This is not legal advice.  Et cetera.)

 --
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
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


For M$ to talk about patent infringment is like the kettle calling the pot 
black.
Ever take a copy of M$ ftp.exe and place it on a unix machine and then run
this on it:

strings.exe ftp.exe | grep Copyright

Just see what you find there.

And don't forget, if you've got an operating system...you didn't build that.
Someone else did.
___
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: Running OS tftp vs. pxeboot tftp

2012-03-06 Thread Bill Tillman



From: Rick Miller vmil...@hostileadmin.com
To: Erik Nørgaard norga...@locolomo.org; freebsd-questions@freebsd.org 
Sent: Sunday, March 4, 2012 3:51 PM
Subject: Re: Running OS tftp vs. pxeboot tftp

Hi Erik,

Thanks for getting back to me.  The original problem is the same
issue...we are still working it, but we've isolated the configuration
where the issue manifests itself.  It has to do with the FreeBSD
pxeboot and Brocade switches.  We will continue troubleshooting in our
lab.  When we've identified a fix/workaround I will be sure to follow
up here.

On 3/4/12, Erik Nørgaard norga...@locolomo.org wrote:
 On 01/03/2012 16:16, Rick Miller wrote:
 Hi All,

 Are there significant differences in the implementation between the
 tftp client in FreeBSD 8.2-RELEASE and the client implementation in
 pxeboot.bs?

 I have no reason to believe there should be any difference. If you
 believe there is a problem with the supplied pxeboot, you can compile
 your own.

 You previusly wrote about VLAN tagging for your pxeboot nodes, but never
 wrote back if you solved the problem. What's your setup?

 I ask because I have encountered a scenario where pxeboot.bs is
 tftp'ing boot files from a PXE server and fails in random spots while
 attempting to download boot files to start a 8.2-RELEASE install.
 When we run the same sequence of tftp gets in a running 8.2-RELEASE
 instance continuously, we never received a single failure in a solid
 hour of attempts.

 You should have some log or other traces to debug on the problem, can't
 help much without.

 BR, Erik

 --
 M: +34 666 334 818
 T: +34 915 211 157
 ___
 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


-- 
Sent from my mobile device

Take care
Rick Miller
___
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 can't speak to all the technical nuiances you reference here but I have a 
diskless
booting system which runs 8.2-STABLE and it's been running flawless for several
months. I last did make buildworld on the server's os and the diskless's boot
partition in December...all is well for me.
___
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: Brother Printer

2012-03-03 Thread Bill Tillman



From: Da Rock freebsd-questi...@herveybayaustralia.com.au
To: freebsd-questions@freebsd.org 
Sent: Friday, March 2, 2012 10:37 AM
Subject: Re: Brother Printer

On 03/02/12 23:57, Michel Talon wrote:
 On Fri, 02 Mar 2012 22:40:21 +1000 Da Rock wrote:
 Are you sure its just a script? Any clue as to what shell it is using?
 Bash? I do believe there should be some binaries there somewhere as well.
 Yes im sure. I have a ppd File, they linked
 to /usr/local/libexec/brlpdwrapperMFC730 and thats a shell scipt.
 
 I just went to the Brother site and downloaded a cups driver from here. It is 
 not exactly
 the same as yours, it is for the MFC7320 but for sure there is a shell script 
 plus a binary.
 called brcupsconfig3, which is called in the shell script called 
 cupswrapperMFC7320-2.0.2.
 
 The binary is
 niobe% file brcupsconfig3
 brcupsconfig3: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), 
 dynamically linked (uses shared libs),
 for GNU/Linux 2.2.5, not stripped
 
 So at best you can hope to run it with Linux emulation. Personally i have an 
 Epson dot printer
 and it is the same, the Linux driver contains binary blobs and cannot be run 
 under FreeBSD.
 
 If you want to  avoid such problems the only solution is to buy a printer 
 with postscript
 or pdf support and direct network connection, that is an expensive one. Here 
 at the lab we are very happy
 with Xerox sublimation models (i think it is an evolution of the old 
 Tektronix phaser)
 for doing color prints. In particular the use costs are low, much lower than 
 with color laser printers,
 in par with black and white laser printers.
 But if you want to produce nice photographic prints, unfortunately you have 
 to rely on good
 epson dot printers or similar, which means FreeBSD is excluded, unfortunately.
How good are the sublimation printers? When I was at Xerox, the C410 produced 
brilliant photographic prints and it was laser; I'd expect better from the 
subs. I'm also surprised epson doesn't work.

As to this brother problem, I've also heard from Robert, so this also 
influences this discussion.

Could it be possible to run the binaries under linuxulator? Don't port it as 
such. The whole premise of cups is a pipeline, so this should work surely? 
Forget compiling and run it all under linuxulator - main program _and_ .so. I 
considered this before with other printers.
___
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'm just a cheap, lazy hack and when faced with a similar problem with my 
Brother Laser printer I opted for the cheap, lazy way out. I plugged the 
printer into a USB port, installed Ghostsctipt (free), made a simple printer 
filter file which redirected the PS input to ghostscript, setup the needed 
spooling directories under /var and installed lpd with the -w switch so it 
would take print jobs from wireless laptops which are running on another router 
in my home. Then on each Windows workstation and my son's Mac book, we 
installed a simple PS printer, on the Windows machines I had to install Unix 
Printing Services, then directed these printers to lpr port on my FreeBSD 
server. It works without CUPS, without Samba, it just works. I don't know if 
ghostscript would have a compatible driver for your model of printer but it 
didn't have one for mine either. I just found one that was compatible and it's 
been working now for several years without any hassles.
___
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: mplayer fails to compile on amd64 machine

2012-01-21 Thread Bill Tillman



From: Antonio Olivares olivares14...@gmail.com
To: FreeBSD Questions freebsd-questions@freebsd.org 
Sent: Thursday, January 19, 2012 9:07 PM
Subject: mplayer fails to compile on amd64 machine

Dear kind folks,

Running Amd64 FreeBSD 8.0 updated


l/live/groupsock/libgroupsock.a                  -lm
-rpath=/usr/lib:/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc46
-liconv /usr/lib/libncurses.so -lpng -lz -ljpeg -lungif
-L/usr/local/lib -lfreetype -lz -lbz2 -lfontconfig  -lz
/usr/lib/libbz2.so -llzo2 -lmad -lspeex -L/usr/local/lib -ltheora
-logg    -lstdc++  -L/usr/local/lib -lrtmp -lz -lssl -lcrypto  -ldv
-pthread  -rdynamic -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
-lv4l1 -lv4l2 -lrtmp -lXext -lX11 -pthread -lXss -lXv -lvdpau
-lXinerama -lXxf86vm -lXxf86dga -laa -lcaca -lvga -lSDL -lGL -pthread
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext
-lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage
-lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11
-lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0
-lgthread-2.0 -lglib-2.0 -lglib-2.0
ffmpeg/libavcodec/libavcodec.a(ffv1.o): In function `find_best_state':
/usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg/libavcodec/ffv1.c:243:
undefined reference to `log2'
ffmpeg/libavcodec/libavcodec.a(aacsbr.o): In function `sbr_make_f_master':
/usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg/libavcodec/aacsbr.c:428:
undefined reference to `log2f'
/usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg/libavcodec/aacsbr.c:456:
undefined reference to `log2f'
ffmpeg/libavcodec/libavcodec.a(aacsbr.o): In function `sbr_make_f_derived':
/usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg/libavcodec/aacsbr.c:580:
undefined reference to `log2f'
/usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg/libavcodec/aacsbr.c:580:
undefined reference to `log2f'
collect2: ld returned 1 exit status
gmake: *** [mplayer] Error 1
*** Error code 1

Stop in /usr/ports/multimedia/mplayer.
*** Error code 1

Stop in /usr/ports/multimedia/mplayer.

=== make failed for multimedia/mplayer
=== Aborting update

=== Update for multimedia/mplayer failed
=== Aborting update

Terminated

/usr/src/UPDATING shows nothing relevant.

ideas/suggestions/advice/comments are welcome and appreciated.

Regards,

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


The mplayer port has been broken before. Now doubt it's in need of fixing 
again. I have found over the years that once you get a working version of it in 
place, don't try to reinstall it. I'm sure the port maintainer does their best, 
afterall this is a Linux program ported to run on FreeBSD and all the subtle 
changes can never be thought completely through. Send an e-mail to the port 
maintainer, they'll get it fixed in the next round.
___
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: 9.0-RELEASE amd64 Bricked My Hard Drive

2012-01-06 Thread Bill Tillman


 



From: Waitman Gobble gobble...@gmail.com
To: Bill Tillman btillma...@yahoo.com 
Cc: FreeBSD Questions freebsd-questions@freebsd.org 
Sent: Friday, January 6, 2012 5:09 AM
Subject: Re: 9.0-RELEASE amd64 Bricked My Hard Drive


On Thu, Jan 5, 2012 at 7:16 PM, Bill Tillman btillma...@yahoo.com wrote:

 Today I encountered a problem which has me stumped. I downloaded and
 burned the ISO image for 9.0-RELEASE for amd64. I  installed an older
 IDE hard drive to test the new OS with and did the install.

...

 Well the install finished and
 then I attempted to reboot the system but nothing happened. And by that I
 mean the computer's flash screen would come up and give me the choice
 to enter the Bios Setup or Boot Menu and that's all. I could not enter the
 bios setup or the Boot menu.

...

 So basically,
 FreeBSD-9.0-RELEASE bricked an otherwise good 80GB hard drive
 and I can't seem to recover it.



Hi Bill,

What was going on with this drive before the install?  ie, it was sitting
on the self not being used, it was a daily use machine running something
else, ... etc.
At the moment it sounds to me like an inconvenient hardware failure.

Waitman
___
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 had been running a similar computer with Windows XP with it. The 
drive was working fine a few moments before I did the install. I have
a utility to test hard drives which boots from CD but like I said, when
this drive is on a cable connected to any machine, booting is a 
non-option. I have an old IDE controller but it's ISA and I have
not ISA slots on this computer. Looks like I may have to try the USB
drive boot option to get on with this rescue.
___
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


9.0-RELEASE amd64 Bricked My Hard Drive

2012-01-05 Thread Bill Tillman
Today I encountered a problem which has me stumped. I downloaded and
burned the ISO image for 9.0-RELEASE for amd64. I  installed an older
IDE hard drive to test the new OS with and did the install. I was very
surprised at the (1) the dvd is actually a live CD if you wanted it to be
and (2) the installers screens have all been revamped. I can't say for sure
if the partitioning part was where it went south on me because I was
attempting to setup some additional partitions but the input screens had
me confused and I pressed Auto so it took off and made the default
paritions. I thought cool, I'll let the install finish and check things out then
reinstall later with the partition setup I wanted. Well the install finished and
then I attempted to reboot the system but nothing happened. And by that I
mean the computer's flash screen would come up and give me the choice
to enter the Bios Setup or Boot Menu and that's all. I could not enter the
bios setup or the Boot menu. The keyboard was still responding as I
could press the CapLock key and toggle the light on and off, but outside
of that the computer would not boot. On the advice of some of the techs
in #FreeBSD channel I moved the drive over to another computer which
was working fine, and the same thing happened. The computer would
start up, show me the flash screen to do the Bios setup and then nothing.
I put the other drive back in and it worked fine. I tried another computer
and the results were the same. Now it gets really wierd. I thought that I
could just make this IDE drive a slave and boot with another drive and
cleanup the mess. But no matter which computer I chose, and no matter
how I setup the Slave/Master drive, as long as this drive which I had
installed FreeBSD-9.0-amd64 was in the loop, the computer would
lockup at the bios screen. I could not get anything to boot if this drive
was in the loop. If I removed it everything was fine. So basically,
FreeBSD-9.0-RELEASE bricked an otherwise good 80GB hard drive
and I can't seem to recover it.
 
Any suggestions would be appreciated.  
___
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: Thinkpad w500 microphone with Conexant CX20561 (Hermosa)

2012-01-02 Thread Bill Tillman


 



From: Eric Schuele e.schu...@computer.org
To: Lyubomir Grigorov lyubo...@grigorovl.eu 
Cc: freebsd-questions@freebsd.org 
Sent: Sunday, January 1, 2012 5:34 PM
Subject: Re: Thinkpad w500 microphone with Conexant CX20561 (Hermosa)


On 01/01/2012 15:23, Lyubomir Grigorov wrote:
 I assume you are using Skype with linuxator? In this case, are the sound 
 devices in Skype set to OSS? From the PC-BSD forum, the following got sound 
 working for me, since OSS wasn't showing as an option:

hmm.  well. thats a good quesiton (with linuxulator?) now that you
mention it.
The port is marked BROKEN.  and if you unmark it as such you can't get
the distfiles.  So I pulled them off a machine I had it one from some
time (years?) back and built it.  It built fine.  Runs fine.  Digging
into var/db/pkg/skype* ... +CONTENTS says linux this and that  so
I'd dare to say yes then.

There does not seem to be a config option in Skype that I can find to
set it to use OSS.  Just says '/dev/dsp' and /dev/dsp0'.

 
 # pkg_add -r linux-f10-alsa-plugins-oss
 # cp /compat/linux/etc/alsa/pcm/pcm-oss.conf-dist 
  /compat/linux/etc/alsa/pcm/
 

I'm not seeing the above in the ports tree.  :/

 Lyubomir Grigorov (bgalakazam)


Hard to believe that ThinkPads are still in existence. The overpriced computers 
that so many folks just had to have back in the mid to late 1990's. I recall 
one lawyer I worked for paid over $7,000 USD for his ThinkPad and that 15 years 
ago when the dollar was still ahead of the Euro. Everybody wanted one because 
of those three magic lettters, IBM. And I always thought that was funny 
because IBM made very little if any of the parts that went into a ThinkPad 
laptop.
___
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: mailing list and personal assaults

2012-01-02 Thread Bill Tillman

 
 



From: Johan Hendriks joh.hendr...@gmail.com
To: FreeBSD freebsd-questions@freebsd.org 
Sent: Monday, January 2, 2012 8:58 AM
Subject: mailing list and personal assaults


I as a normal sys admin like to read the mailing lists, because it learned me a 
lot, and it still does.

But lately it looks like more and more people get personal!
The word ass, has passed this year even more  then i used my own.

Maybe it is the time we live in, but please !
If you are not agree with someone's statement or thoughts, ignore it or write 
your thoughts and be done with it.

regards
Johan

___
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 agree. A mailing list like this should not fall to the lowest common 
denominator. And I would like to add that while this community seems to be an 
exception, far too often someone wastes bandwidth and bytes by telling the 
person with a question to RTFM. I just finished a rather complicated project 
which took me days to resolve and several times when I asked questions there 
was always some wise crack at hand who would make the commen that if you just 
RTFM everything would be fine. In this case the manuals were lacking and most 
of the data was obselete or irrelavent to the project I was conductingkind 
of like FreeBSD documentation.
___
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: Legacy releases of freeBSD

2011-12-19 Thread Bill Tillman
I think we understand why you're looking for older versions, there might even 
be a copy of 3.5 out there somewhere but as I recall the latest version was 3.3 
sometime in 2001. I have an old CD around here somewhere with 4.9 but I think 
others as well would encourage you to use the latest version and then read the 
handbook which comes with FreeBSD. There is a section in the docs which is 
titled For People New to Unix which is just as good for the new versions as 
it was for the old versions. Why limit yourself with an old version.




From: Vong Bui vong...@embarqmail.com
To: freebsd-questions@FreeBSD.org 
Sent: Friday, December 16, 2011 3:00 PM
Subject: Legacy releases of freeBSD

Hello,
I am trying to learn Unix by using freeBSD and wanted to obtain an older 
version of freeBSD, such as version 3.5, to accompany a book about freeBSD 
published around 1999. Can you point me to where the iso images can be found, 
if they are available for download.

Thank you

-- Vong Bui
E-mail: vong...@embarqmail.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
___
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: HP LaserJet Pro P1102 stops responding after a while

2011-12-19 Thread Bill Tillman






From: Jeff Tipton jef...@mail.com
To: freebsd-questions@freebsd.org 
Sent: Tuesday, December 13, 2011 5:10 PM
Subject: HP LaserJet Pro P1102 stops responding after a while

But what I do find is that my laser printer also goes into sleep mode to save
power and life...which is a good thing. And most of the time when it does
the lpd deamon stops working as well. When I check the status with lpq it
tells me there is no deamon present. I just stop lpd and restart it to get
things working again and all is fine. I am a real paperless type of person
these days so I hardly ever print anything. I often turn my printer off for
weeks, even months at a time and then when I turn it back on most of the
time the the above scenario happens. On rare occassions the lpd deamon
works fine without having to restart it. But most of the time a restart of
lpd is required. Your setup using CUPS and SAMBA may not be the same.
Hi,

I put HP LaserJet Pro P1102 on a CUPS server with Samba. I followed the steps 
as shown here:
http://forums.freebsd.org/showthread.php?t=21312

except I have 7.4-RELEASE, so I recompiled the kernel without ulpt device as 
suggested in foo2zjs site (INSTALL notes on FreeBSD 7), and the printer is now 
on ugen0.1.

After installation, the printer became available in CUPS, I could print a test 
page, then I exported CUPS and WINDOWS postscript drivers to Samba with 
cupsaddsmb.

Then I added the printer on some Windows XP workstations, and the shared driver 
installed automatically as expected.

The problem is that after some idle minutes, the printer stops responding. The 
job just disappears from the queue, but nothing prints. The same thing on the 
CUPS web interface. If I restart cupsd, the printer prints again. But as soon 
as try printing from another workstation, it's again silent. Really weird.

I found in the HP manual that it has an economic usage feature that by 
default is set to switch the printer off after 5 minutes being idle. The 
printer should switch on again when a new job is sent. This can be disabled but 
only with a native HP driver (don't really understand where it happens -- on 
the host the printer is attached to or within the printer's firmware). I tried 
to install the HP Windows driver on a workstation, attached the printer 
directly to it, disabled the switching off, sent a job from there as told in 
the manual but it didn't help. But maybe the 'economic usage feature' isn't the 
reason.

Any ideas of what could be wrong?
___
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 cannot say this for sure about your setup because mine is a little different.
___
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: booting

2011-12-17 Thread Bill Tillman
 



From: Maxime-Etienne de Gier maxime.etie...@gmx.com
To: freebsd-questions@FreeBSD.org 
Sent: Saturday, December 17, 2011 9:04 AM
Subject: booting


I am really interested in Freebsd or PC-BSD but unfortunately every time
when I download an ISO of either of them and try to boot up (from the
DVD-ROM) my machine will not boot up (Laptop PackardBell).
Any insight?  Thanks and much regard.


Maxime.


-- 
Maxime-Etienne de Gier maxime.etie...@gmx.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

We have to start with the basics here:

1. You say you download the iso but you don't indicate that your burn the iso 
to DVD. Sorry, don't mean to cast any doubts on your ability but we get lots of 
posts from new users who simply copy the iso file to a DVD and then expect it 
to boot. The iso file must be translated by a program like Nero, or burncd in 
order to make it bootable.

2. What exactly are the error messages you are seeing on the screen at the time 
it attempts to boot?
___
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


Files End Up Read-Only With Samba

2011-12-14 Thread Bill Tillman
I am running FreeBSD-8.2-STABLE-amd64, last update was a few weeks ago. I run 
Samba-3.6 on this server and it has served me well for my Windows clients to 
store and share files. All was working fine until recently I've began to notice 
that whenever I save a file to this server, they always end up with permissions 
which force me to open them in RO mode when I access them later. The message 
I'm seeing on the Windows clients is that the file is locked by another user. I 
check and the owners of the file are root:my_user_account. The permissions are 
set to rwxr-xr-x. I'm not sure why the root account shows up in the ownership 
and like I said this was working fine before.  
___
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: Default Samba port?

2011-11-14 Thread Bill Tillman






From: Robert Simmons rsimmo...@gmail.com
To: freebsd-questions@freebsd.org
Sent: Sunday, November 13, 2011 10:36 AM
Subject: Re: Default Samba port?


On Sun, Nov 13, 2011 at 7:37 AM, Peter Harrison
four.harris...@googlemail.com wrote:
 Can anyone advise me the appropriate Samba port to install - the handbook 
 refers to samba34, but I see samba35 and samba36 in in ports. This is for a 
 home server, so I'm not necessarily looking for production standard, but 
 something that just works on RELEASE-8.2 amd64.

samba36 is the current stable version.  The other two are kept for
legacy compatibility.  35 and 34 are the last version in those
branches.  Don't worry about them.  The handbook has not been updated
for two major revisions of samba.

This is a comment for the others on the list, not directly at you:
maybe ports like this should have a directory samba that always points
to the most recent stable version.  Then the handbook would not need
to be updated to reflect version changes like this.  It would only
need to be updated if the actual instructions change or become
outdated?
___
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 second the motion. Then when you do something like whereis samba, it
won't come back empty and force you to search in /usr/ports for the desired
port directory.

As for the original question, I'd install samba36, which is the latest port. The
configuration is still the same as previous releases so go for the latest one.

Samba has some security issues but it rocks as a file server for *nix machines.
I've used it with great success to allow M$ clients to share files. I do not use
it for print services however, only file sharing.

___
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: OpenVPN - what configuration do I need/want

2011-11-06 Thread Bill Tillman

 


From: Ryan Coleman edi...@d3photography.com
To: Bill Tillman btillma...@yahoo.com
Cc: FreeBSD Questions freebsd-questions@freebsd.org
Sent: Saturday, November 5, 2011 9:32 PM
Subject: Re: OpenVPN - what configuration do I need/want

So... basically you've just set up servers that utilize the host connection or 
doesn't route?

On Nov 5, 2011, at 5:35 AM, Bill Tillman wrote:

  
 
 
 From: Ryan Coleman edi...@d3photography.com
 To: FreeBSD Questions freebsd-questions@freebsd.org
 Sent: Friday, November 4, 2011 10:22 AM
 Subject: OpenVPN - what configuration do I need/want
 
 I have a PE 2450 with dual NICs and I want to turn it into a bridging VPN for 
 the guys in the office to utilize.
 
 Our configuration:
 My office: 192.168.46.0/24
     Server IPs: 192.168.46.2 [8.2-RELEASE] + public IP
 Corporate office: 192.168.45.0/24
 My VPN: 192.168.47.0/24 [preferred]
 There's a NetVanta VPN between my office and the corporate office and I 
 presume that will still work to route 47.0/24 to 45.0/24 when all is said and 
 done.
 
 I am going to be supporting Windows and Mac clients (well, all windows and 
 then my mac) and I'd like to test it from my 8.2 server at home before 
 pushing this over to my MacBook Pro (using Tunnelblick) and then to my 
 Windows users.
 
 I've tried the FreeBSD handbook and the Section6.net walkthroughs to no avail.
 
 Any help would be appreciated.
 
 Thanks,
 Ryan 
 
 ___
 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 can't say that I'm familiar with your setup which uses bridging. But I 
 setup OpenVPN to work on a server inside my LAN which is behind my FreeBSD 
 firewall server. The setup wasn't that hard, you just have to forward the 
 right ports and get the certificates copied to the clients correctly. The 
 docs on the OpenVPN site were very helpful in this for me. 
 The trouble you may find is that this other VPN appliance you reference, 
 NetVanta, may or may not be compatible with OpenVPN. I tried this several 
 years ago with a remote company I was working for and found out quite 
 dissappointingly that the protocol used by OpenVPN would not work whatsoever 
 with Cisco equipment. That may have changed now but at the time all the 
 advice I got was forget about it. Cisco equipment would not work with OpenVPN 
 period. Luckily at the time I had a small Cisco appliance at my house and 
 that is the only way I could get that setup to work. These days I happily 
 connect to my LAN with encrypted tunnels from most places like hotels, etc... 
 There is a problem sometimes at places like Starbucks or McDonalds where they 
 have equipment which is blocking ports needed to run VPN. And in most cases 
 it's not that they are blocking specific ports, it's that they are blocking 
 everything except port 80 to only let their freebie users surf web
 content. 
 YMMVcheck the docs on the OpenVPN site. Many HOWTOs and examples will 
 help you get going.
 ___
 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



Yes, but the setup is very similar. The docs available on the OpenVPN website 
give HOWTOs on both setups and they are very similar. I would check these as I 
found them to be very helpful. OpenVPN also has a great mailing list where I 
got some additional help.

___
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: Urgent!. Problem with / etc / rc.conf

2011-11-06 Thread Bill Tillman






From: Zantgo zan...@gmail.com
To: Robert Simmons rsimmo...@gmail.com
Cc: freebsd-questions@FreeBSD.org freebsd-questions@freebsd.org
Sent: Sunday, November 6, 2011 12:52 AM
Subject: Re: Urgent!. Problem with / etc / rc.conf




El 06-11-2011, a las 1:29, Robert Simmons rsimmo...@gmail.com escribió:

 On Sun, Nov 6, 2011 at 12:10 AM, Zantgo zan...@gmail.com wrote:
 Without wanting to erase all contents of / etc / rc.conf, by running echo 
 slim_enable = YES  / etc / rc.conf. Please help!.
 
 Well, the absolute basics would be:
 hostname=YourHostNameHere
 ifconfig_NameOfNicCardDeviceHere=inet IPADDRESS netmask NETMASK
 defaultrouter=IPOfGateway/Router
 
 You may also have had:
 sshd_enable=YES
 
 You can also look at dmesg -a and get a grasp over what other services
 you had started.
 
 Two other things, use  rather than  to append to the file (better
 yet, learn vi, it's much safer), and always backup any changes from
 default you make to config files.  I keep them all on pastebin.com for
 convenience, but you can keep them anywhere, even scribbled on a
 postit note stuck to the front of the server in question (what I used
 to do).
 
 Rob
I gave up, and now reinstall everything again :(
___
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


Wow, to reinstall everything is like throwing the baby out with the bath water. 
Rather drastic. There are some simple steps you could have taken to get things 
back to normal but without knowing what you had in your original rc.conf file 
that's probably oversimplifying things. 

I keep a little script in my /root/bin folder to backup my config files 
periodically to another server. This is something you should look into. We all 
make mistakes and when we do, a backup copy can make the difference between oh 
wow and oh f***.

___
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


8.2-STABLE GENERIC kernel will not build

2011-11-06 Thread Bill Tillman
I updated the sources on one of my FreeBSD-8.2-STABLE servers and
rebuilt the GENERIC kernel just last night. All went well. This morning I
updated the sources on another machine and rebuilt a custom kernel and
all went well.
 
This evening I updated the sources on a 3rd server and the make 
buildworld went well, but when I tried to build the GENERIC kernel on
this one I get:
 
/usr/src/sys/dev/usb/usb_process.c:104: error: too few argument to
function 'kthread_suspend_check'
*** Error code 1
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src.
 
I tried the build twice and both times it failed this way. Any suggestions?
___
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: 8-STABLE And fxp Driver

2011-11-06 Thread Bill Tillman






From: Tim Daneliuk tun...@tundraware.com
To: FreeBSD Mailing List freebsd-questions@freebsd.org
Sent: Sunday, November 6, 2011 1:03 PM
Subject: 8-STABLE And fxp Driver


Is there are known recent problem with the fxp driver and 8-STABLE.
I buildworld/kernel every 7-10 days and I have recently begun to
see a bunch of Link Down/Link Up messages.  Before I tear through
cables, switches, and other hardware, I want to make sure this isn't
some recently introduced driver artifact...

Thanks,
-- 
Tim Daneliuk    tun...@tundraware.com
PGP Key:         http://www.tundraware.com/PGP/

___
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 run 8.2-STABLE on my system and have fxp0 nic on it. No problems thus far 
with mine. I updated src about 1 week ago.

___
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: OpenVPN - what configuration do I need/want

2011-11-05 Thread Bill Tillman
 


From: Ryan Coleman edi...@d3photography.com
To: FreeBSD Questions freebsd-questions@freebsd.org
Sent: Friday, November 4, 2011 10:22 AM
Subject: OpenVPN - what configuration do I need/want

I have a PE 2450 with dual NICs and I want to turn it into a bridging VPN for 
the guys in the office to utilize.

Our configuration:
My office: 192.168.46.0/24
    Server IPs: 192.168.46.2 [8.2-RELEASE] + public IP
Corporate office: 192.168.45.0/24
My VPN: 192.168.47.0/24 [preferred]
There's a NetVanta VPN between my office and the corporate office and I presume 
that will still work to route 47.0/24 to 45.0/24 when all is said and done.

I am going to be supporting Windows and Mac clients (well, all windows and then 
my mac) and I'd like to test it from my 8.2 server at home before pushing this 
over to my MacBook Pro (using Tunnelblick) and then to my Windows users.

I've tried the FreeBSD handbook and the Section6.net walkthroughs to no avail.

Any help would be appreciated.

Thanks,
Ryan 

___
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 can't say that I'm familiar with your setup which uses bridging. But I 
setup OpenVPN to work on a server inside my LAN which is behind my FreeBSD 
firewall server. The setup wasn't that hard, you just have to forward the right 
ports and get the certificates copied to the clients correctly. The docs on the 
OpenVPN site were very helpful in this for me. 
The trouble you may find is that this other VPN appliance you reference, 
NetVanta, may or may not be compatible with OpenVPN. I tried this several years 
ago with a remote company I was working for and found out quite 
dissappointingly that the protocol used by OpenVPN would not work whatsoever 
with Cisco equipment. That may have changed now but at the time all the advice 
I got was forget about it. Cisco equipment would not work with OpenVPN period. 
Luckily at the time I had a small Cisco appliance at my house and that is the 
only way I could get that setup to work. These days I happily connect to my LAN 
with encrypted tunnels from most places like hotels, etc... There is a problem 
sometimes at places like Starbucks or McDonalds where they have equipment which 
is blocking ports needed to run VPN. And in most cases it's not that they are 
blocking specific ports, it's that they are blocking everything except port 80 
to only let their freebie users surf web
 content. 
YMMVcheck the docs on the OpenVPN site. Many HOWTOs and examples will help 
you get going.
___
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: Make buildworld don't run

2011-11-02 Thread Bill Tillman






From: Michael Powell nightre...@hotmail.com
To: freebsd-questions@freebsd.org
Sent: Wednesday, November 2, 2011 4:00 PM
Subject: Re: Make buildworld don't run


Zantgo wrote:

 I write make buildworld, this is the answer:
 
 #make buildworld
 make: don't know how to make buildworld. Stop

Since this works just fine for all those who have learned how to use FreeBSD 
I can only assume this indicates you do not know what you are doing.

 PS: I use FreeBSD 9.0 RC1, and I try to follow current

This is a poor choice for anyone new to FreeBSD. There are mainly 3 branches 
of FreeBSD to consider: -CURRENT is for developers and other contributors 
working on the next version of FreeBSD, -STABLE is somewhat in the middle in 
that it will have patches for problems that have been fixed in current and 
merged back to earlier release versions of code, and RELEASE. There is also 
a SECURITY branch where only security patches are updated to RELEASE.

Since it is obvious you do not know what you are doing the best place for 
you to begin is RELEASE. Install and begin using a RELEASE version as a 
learning tool. This means version 8.2! The Handbook may have pieces which 
are old and could stand updating, but largely it is _THE_ reference you 
should be working your way through as you proceed to learn FreeBSD. The 
greatest bulk of what you need to learn is in there. It comes in versions 
other than English too:

http://www.freebsd.org/doc/es_ES.ISO8859-1/books/handbook/index.html

If your only exposure to date with computers has been with Windows and you 
are looking to expand your reach, you will first find that the *Nix world is 
heavy on reading documentation and trying to figure stuff out for yourself 
first, before splattering help channels with every little thing that comes 
along. Once you have made some intial effort you will find that you are in a 
better position to provide better details on how we can help you. We cannot 
help you with the effort you need to make in learning the basics, and these 
basics are all contained in the documentation. 

I will make no effort to address your error. First of all, you should not be 
starting in FreeBSD with a release candidate and following -CURRENT. Your 
error is the result of trying to jump over learning what you need to know.

-Mike




___
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


Is it just me or does someone need to choke this guy. We all had to start
somewhere and granted this guy's question was a newbie one, but please
get off your soapbox. It's amazing how you make no effort to help this
person yet you have the time to make alot of effort to ridicule. Your entire
response could have been as simple as:

cd /usr/src

I work with people all the time who complain that they have no time to
help you yet they have all the time in the world to send a lame e-mail 
complaining about how they have no time to help you.

Lighten up ... life is too short,
___
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: Fast personal printing _without_ CUPS

2011-10-27 Thread Bill Tillman





From: Ronald F. Guilmette r...@tristatelogic.com
To: freebsd-questions@freebsd.org
Sent: Thursday, October 27, 2011 4:28 AM
Subject: Fast personal printing _without_ CUPS



This isn't really a question.  It's more of a semi-rant, combined with some
information that I wanted to put on the record (so that it can be googled)
because it may benefit some folks, other than just me.

I'm impatient by nature, and I don't like CUPS.  (I would say that I hate
it, but I don't actually feel that strongly.)

I have two personal workstations.  When I say personal I mean it.  I'm
the only one who ever touches them.

One of them I have been bringing back up recently after a long hiatus,
and I've just installed 8.2-RELEASE/amd64 on it.

One of the first things I found I needed to do with it, after installing
the OS and a bunch of my favorite ports  packages was to set it up for
printing to a crusty/trusty old workhorse... an HP Laserjet 3015.  (This
printer can print both plain text and Postscript, but if I just send
it plain text the output doesn't really suit me, so I've made it prettier.
See below.)

Because I've never used 8.2 before... or even any 8.x release, I naturally
went into the Handbook and looked for _current_ guidance on setting up
printers.  Most of that information was quite helpful, right up to the point
where it started discussing CUPS.

The bottom line is that CUPS is sophisticated, which is to say complex and
convoluted.  If you are impatient, then setting up CUPS properly is both
tedious and time consuming.  Of course, it _is_ essential that you properly
set up CUPS if you are setting up a _server_ that multiple people will use,
but for a personal workstation, the entire queueing structure is just overkill,
in my opinion.

More importantly, CUPS, for me at least, seems to be quite slow.  There's a
lng pause after I queue something for printing until something actually
comes out of the printer.  Maybe that's my fault, e.g. because I didn't con-
figure CUPS correctly, and maybe it isn't.  I don't know, and actually, I
don't want to know, because I found a way to nicely print stuff that just
bypasses CUPS entirely.  And it works for me, so I am a happy camper.

I just wanted to share what I did.

In a nutshell, I moved/renamed /usr/bin/lpr to /usr/bin/lpr- and replaced
it with this trivial script:


#!/bin/sh

printer='/dev/ulpt0'

if [ $# = 0 ]; then
  cat | /usr/local/libexec/psif  $printer
else
  for arg in $* ; do
    cat $arg | /usr/local/libexec/psif  $printer
  done
fi


My Laserjet 3015 used to be hooked up via a good old fashioned bulky centronix
parallel cable, but I thought that I ought to finally get myself into this
century, so I got a new USB 2.0 cable for it just the other day, and now it's
name is /dev/ulpt0 rather than /dev/lpt0 as before.

As you can see, the script above just takes whatever filnames are given on
the cmmand line and cats them one-by-one through psif and then the output
from that gets sent straight to /dev/ulpt0.

One little snag though... as I found out, it doesn't matter if you try to
set the SUID bit on this script and make it owned by root.  Nowadays shell
scripts simply do not do SUID anymore.  The only reason that's even signifi-
cant is that you'll probably want to be able to print while logged in as
any old user, and in order to make that work with this scheme, you have to do:

   chmod 0666 /dev/ulpt0

so that any user can write to the printer device file.

I only fiddled a couple of other small things in order to make this all work.
Firstly, I created my own versions of /usr/local/libexec/psif-text and also
/usr/local/libexec/psif-ps.  Here they are:

/usr/local/libexec/psif-text:
=
#! /bin/sh

/usr/local/bin/textps -c 10 -l 60 -m 38 -t 46  printf \004  exit 0
=

/usr/local/libexec/psif-ps:
=
#! /bin/sh

/bin/cat  printf \004  exit 0
=

The parameters for textps that I have in my psif-text file were just some
parameters that I slapped together after running a few tests to see what
values created output that looked good to me.  Your milage may vary.

After I set up all of the above stuff, I noticed that my attempts to use the
lpr command to print things from non-root user accounts was still resulting
in very long delays before anything would print.  It took me some head scratch-
ing but I finally found the problem.  In a nutshell, the problems was that
at one point while I was trying to get this all going, I did in fact install
the CUPS package (and friends).  As I 

Re: Breakin attempt

2011-10-23 Thread Bill Tillman





From: Bruce Cran br...@cran.org.uk
To: Polytropon free...@edvax.de
Cc: freebsd-questions@freebsd.org
Sent: Saturday, October 22, 2011 10:37 AM
Subject: Re: Breakin attempt


On 22 Oct 2011, at 15:12, Polytropon wrote:

 On Sat, 22 Oct 2011 15:08:50 +0100, Bruce Cran wrote:
 I suspect that these sorts of attacks are fairly normal if you're 
 running ssh on the standard port. I used to have lots of 'break-in 
 attempts' before I moved the ssh server to a different port.
 
 Is there _any_ reason why moving from port 22 to something
 different is _not_ a solution?

If you run some sort of shell server, or where many people need to login using 
ssh, you'll have a bit of a support problem telling people to select the 
non-default port. Also, some might consider it security through obscurity, 
which is often said to be a bad thing.

-- 
Bruce Cran

___
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 agree. I run ssh on a different port and still some hackers, usually from the 
Far East still detect it and try to gain access. It happens all the time. 
Remember there is a big difference between a break-in and an attempted 
break-in. It is a sad state of affairs that so much effort and energy and high 
IQ thinking is spent on security these days. If we could just channel all that 
energy into something more useful.

The point about giving so many others ssh logins is something I cringe on as 
well. I realize it's useful and needed, but there is a real myth out there that 
hackers are overwhelmingly intelligent and must be highly skilled to hack into 
someone's system. I think if you were to examine the real numbers you'd find 
the vast majority of break ins come from someone who either has a login 
username and password, bought or stole a username and password or overheard 
someone talking about their username and password. There are of course 
exceptions but the media and hype about all these intelligent hackers is just 
overblown. Loose lips sink ships. And as soon as more than one person knows a 
secret...it's no longer a secret.
___
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


Need to Backup Using Dump

2011-10-23 Thread Bill Tillman
I have two FreeBSD 8.2-STABLE servers running NFS. I have tons of files on 
Server A that I want to backup to a big drive on Sever B. Server B nfs_mounts 
one of the filesystems on Server A to /mnt. So if I wanted to make a backup of 
the filesytem on Server A to Server B I tried:

dump -d /home/my_home/backups/20111024 /mnt

but each time I try this it tells me that filesystem /mnt is unknown. /mnt is 
not in /etc/fstab. I manually mounted this via NFS and that's where all the 
files I want to backup are accessible to the command line on Server B. What am 
I missing?
___
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: Please secure your FTP access

2011-09-15 Thread Bill Tillman



From: Sarang. sarang.ch...@gmail.com
To: freebsd-questions@FreeBSD.org
Sent: Tuesday, September 13, 2011 3:43 PM
Subject: Please secure your FTP access



Oooh! This big bad but ethical hacker is going to erase all the FTP files
I'm shaking in my boots. Please Mr. Big Bad, don't hurt us!

Now close your cup holder and take this advice. Don't go away madjust go 
away!



H! there,

I have seen your site and also got ftp access..

Please secure your ftp acces otherwise anyone can delete your data

Why anyone? even I am also interested in it.. please move your ass
otherwise it will cost you.

If you are not going to fix this problem then I will delete all the
files tommorrow...

Take care..

Ethical but Bad Hacker...
___
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
___
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: wireless access point in FreeBSD 8.2p2

2011-08-28 Thread Bill Tillman



From: Paul Beard paulbe...@gmail.com
To: 
Cc: freebsd-questions@FreeBSD. ORG freebsd-questions@freebsd.org
Sent: Sunday, August 28, 2011 12:22 PM
Subject: Re: wireless access point in FreeBSD 8.2p2


On Aug 28, 2011, at 7:04 AM, CyberLeo Kitsana wrote:

 It is especially useful when you cannot ping, as it can tell you if the
 packets are even arriving.

The no route to host result makes me think the packets aren't going far ;-) 
The new device and the wired interface are at adjacent numeric addresses and 
all the devices here are in the same subnet behind the WRT54G and that is 
behind the cable co's black box. 

I think I may be more confused now than when I started. 

One thing that has seemed opaque to me is that both ath0 and wlan0 display when 
I run ifconfig and look very similar: makes me think they might be stepping on 
each other. Or it's just one more thing I don't understand :-( 

ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
    ether 00:0d:88:93:21:3a
    media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
    status: running

wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
    ether 00:0d:88:93:21:3a
    inet 192.168.0.26 netmask 0xff00 broadcast 192.168.0.255
    inet6 fe80::20d:88ff:fe93:213a%wlan0 prefixlen 64 scopeid 0x8 
    nd6 options=3PERFORMNUD,ACCEPT_RTADV
    media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
    status: running
    ssid lower channel 8 (2447 MHz 11g) bssid 00:0d:88:93:21:3a
    regdomain FCC indoor ecm authmode OPEN privacy OFF txpower 27
    scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs

I know (or think I do) that ath0 is the real interface and wlan0 is a 
virtualized or cloned or something handle to it. But the similarities (both are 
running, both show the same info for media) trouble me. The only thing that 
makes me think I'm doing anything here is that wlan0 is actually assigned to 
channel 8. 

I can sort of see that getting it working as a client would be instructive and 
I think I did that some time ago (perhaps in 7.x) but since you reuse almost 
nothing but the hardware, I don't see a lot of value in that, other than 
verifying that the hardware works and that you can follow the instructions. The 
latter can be a challenge, I'll admit. 

So to recap: the idea of this was to provide a redundant spare for the WRT54G, 
behind a cable modem, in a private network, with the only security being at the 
AP
    • No ipfw or any of that, as it wouldn't be visible on the public internet.
    • I'll add WPA/2 once it works (that seems trivial, as I have been able to 
authenticate to the AP even though it didn't pass any packets beyond that). 
    • It would deal with static addresses (I could add dhcp later, once this 
was working, as phones and other devices are more easily dealt with that way). 
So it looks like a bridge, if it joins an Ethernet network and an 802.11-based 
one. Curiously, none of the instructions I have seen mention bridging, even 
though the explicitly connect Ethernet and wireless. And all the HOWTOs look 
simple, the work of a few minutes of copy and paste. 

I think I may just shelve this and if needed, turn up my Time Capsule's 
wireless capability (if it would play nicely and extend the WRT54G, I'd be 
using it now). And APs that support open source firmware are not that hard to 
find, though Tomato doesn't support as many as the *-wrt variants. 

*grumble*


--
Paul Beard

Are you trying to win an argument or solve a problem? 

___
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



It's been about 18 months since I went through this exercise with FreeBSD but I 
found it to be not worth the effort. I spent several hours getting all the 
configs right and the docs were as usual out of date but I eventually got it 
going. The trouble was it was sporadic at best. Sometimes the laptop clients 
made the connection and other times they didn't. And when they did the speed of 
the wireless connection was so slow, it just wasn't worth my time.

I did this to have the experience with it and to have a backup to my Netgear 
wireless router. The trouble was the Netgear wireless AP device works so well 
and is plenty fast, unlike what I was getting with my FreeBSD server. The 
Netgear device has been working 24/7 for almost 2 years now so I just gave up 
on the  FreeBSD option. I would like to think that things are better now, I 
just haven't had the time to take another whack at it.

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: Sendmail not accepting connections on port 25

2011-07-23 Thread Bill Tillman


--- On Thu, 7/21/11, Bernt Hansson b...@bananmonarki.se wrote:


From: Bernt Hansson b...@bananmonarki.se
Subject: Re: Sendmail not accepting connections on port 25
To: ssgriffonuser ssgriffonu...@gmail.com
Cc: freebsd-questions@freebsd.org
Date: Thursday, July 21, 2011, 3:31 AM


2011-07-20 06:24, ssgriffonuser skrev:

 I still can't telnet in from an external network.

To me, that sounds like your external network might be blocking outgoing 
traffic on port 25.

Can you connect to any other mailservers on port 25?

%telnet gmail-smtp-in.l.google.com 25
Trying 74.125.77.27...
telnet: connect to address 74.125.77.27: Connection refused
telnet: Unable to connect to remote host

My isp is blocking outgoing traffic on port 25.
___
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 am not surprised. Like in my previous reply, every ISP I've ever worked with 
blocks ports 25. They have this done by their 3rd tier techs because when you 
call them for help they will be clueless as to what you're talking about. The 
thing I've found with Comcast is they do what's called black listing your IP 
address with some service. They will claim that your server has been sending 
spam. When it actuality all they are doing is forcing you to go to their sales 
people and pay extra if you want to run a mail server on your LAN. Gone are the 
days when I could run my own mailserver at home.
___
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: Sendmail not accepting connections on port 25

2011-07-19 Thread Bill Tillman




From: Robert Bonomi bon...@mail.r-bonomi.com
To: freebsd-questions@freebsd.org; ssgriffonu...@gmail.com
Sent: Tue, July 19, 2011 12:31:56 PM
Subject: Re: Sendmail not accepting connections on port 25


 Date: Tue, 19 Jul 2011 00:03:58 -0700
 From: ssgriffonuser ssgriffonu...@gmail.com
 Subject: Sendmail not accepting connections on port 25

 Hi all,

 I'm having difficulty getting sendmail set up on my server.  I can send 
 and receive to localhost and I can send to external networks but I can 
 not receive from external networks (I receive a 550: Address rejected).  

What does the sendmail LOG FILE show?

 Netstat says sendmail is listening on port 25 but I cannot telnet to it.

Netstat just says something has port 25 open on 'any' address -- this may,
or may *not* be the sendmail instance you think is running.  It probably 
*IS*, but you need to be sure.

 When I do a port scan of the server, nmap does not show anything on port 
 25 but does show smtp on 587.

May I recommend 'lsof'?

The command-line  lsof -n -P |grep IPv  will show exactly what processes
have have what ports, on what addresses, open.


 As far as configuration goes, I added my hostname to 
 /etc/mail/local-host-names and created a /etc/host/virtusertable that 
 looks like:

 ad...@host.com    shane
 sh...@host.com    shane

 then I ran 'make all install restart' .

*Unless* you modified the .mc  file, I believe 'virtusertable' should be in
/etc/mail, not /etc/host.

what does 'grep Kvirtuser /etc/mail/sendmail.cf' show?

Lastly, you need to run 'makemap hash virtusertable' in the directory where
the virtusertable file lives.


___
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


It's been ages since I configured an e-mail server but I do recall that 
sendmail 
likes to have the makemap hash command run as well as a few config file 
adjustments. If you get into the m4 stuff with sendmail it can become quite 
complex which is why lots of people stay away from sendmail these days in favor 
of postfix or qmail.

I am surprised that your able to send mail but not receive it. It's usually the 
other way around because ISP's block e-mail being sent from their subscribers 
due to spammers and because they have found they can charge you extra if you 
want to run an e-mail server other than the one they provide. Also, receiving 
mail usually runs with with a pop3 or imap deamon, your setup may be different 
and those programs usually default to port 110, not 25. Port 25 would be the 
typical outgoing port.
___
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: Lennart Poettering: BSD Isn't Relevant Anymore

2011-07-18 Thread Bill Tillman


From: per...@pluto.rain.com per...@pluto.rain.com
To: jri...@gmail.com; cbergst...@pathscale.com
Cc: freebsd-questions@freebsd.org
Sent: Mon, July 18, 2011 9:05:47 AM
Subject: Re: Lennart Poettering: BSD Isn't Relevant Anymore

Joshua Isom jri...@gmail.com wrote:
 On 7/17/2011 6:16 PM, Mario Lobo wrote:
  On Sunday 17 July 2011 10:13:13 C. Bergstr??m wrote:
  I hope gnome does [go Linux-only]..  Maybe then more
  people would forget about it and focus on making KDE better ;)
...
 What about enlightenment?

For us old-timers :)

What's the advantage of any of these desktop environments (Gnome,
KDE, enlightenment, Xfce) over ordinary X11 with (say) FVWM2 or TWM?
Certainly there are some useful apps that, for better or worse, are
built with gtk or the KDE toolkit, but what does the full-blown
environment really contribute (other than bloat)?
___
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'm with you on this one. My FreeBSD servers are SERVERS and I don't need a gui 
to be efficient and reliable with them. And when I do occassionally go with a 
FreeBSD for my desktop I don't need all the bloat of GNOME or KDE. I have used 
TWM from the beginning and it does just fine by me.

Now as for BSD becoming irrelevantI think that's all sour grapes. Linux 
gets 
all the hype but I don't see te BSD's going by the wayside because of it. I do 
wish there was a more richer library of drivers available, like with Linux. 
That 
I would not complain about.
___
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: how to force a hard reboot remotely

2011-07-16 Thread Bill Tillman




From: Aryeh Friedman aryeh.fried...@gmail.com
To: FreeBSD Mailing List freebsd-questions@freebsd.org
Sent: Sat, July 16, 2011 10:40:19 PM
Subject: how to force a hard reboot remotely

Is there any way to force a complete power down and then reset of a
i386 without physically being present?
___
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



WOW! That's a tall order. A reboot from remote is simple, but a cold bootI 
don't think that's possible unless you have some kind of Wake-On-Lan capable 
NIC 
which could detect a connection attempt while the machine is off. I can't say 
that for sure because what you've got to remember is that with a cold boot, the 
machine will no longer remember what OS it was running until it reboots. My 
advice would be to get to the console if you absolutely have to cold boot it. 
Or 
call someone nearby the console and have the actually turn the machine off, 
wait 
the obligatory 30 seconds and then restart it. Someone else may have a better 
idea.
___
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: IPFW Firewall NAT inbound port-redirect

2011-07-13 Thread Bill Tillman






From: Michael Sierchio ku...@tenebras.com
To: Dan Nelson dnel...@allantgroup.com
Cc: Bill Tillman btillma...@yahoo.com; freebsd-questions@freebsd.org
Sent: Tue, July 12, 2011 6:35:19 PM
Subject: Re: IPFW Firewall NAT inbound port-redirect

We're not talking about natd.  The question was about the use of ipfirewall nat.

On Tue, Jul 12, 2011 at 9:03 AM, Dan Nelson dnel...@allantgroup.com wrote:
 In the last episode (Jul 12), Michael Sierchio said:
 Is there a way of specifying a particular public address if there is
 more than one bound to the external interface?  A la

 nat 123 config if re0.2 log same_ports redirect_port tcp 10.0.0.3:22 
102.10.22.1:

 Yes; the redirect_port syntax is described in the natd manpage:

     redirect_port proto targetIP:targetPORT[-targetPORT]
                 [aliasIP:]aliasPORT[-aliasPORT]
                 [remoteIP[:remotePORT[-remotePORT]]]



 --
        Dan Nelson
        dnel...@allantgroup.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

___
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


NATD and IPFW work together. It's a little hard to explain in this format so as 
Dan suggests, you should read the manpage on each. Also, do some google 
searches 
and you will find many helpful articles. But take my word for this, you can do 
exactly what you want with IPFW+NATD. There are those who will probably promote 
PF as the firewall of choice as well. It all depends on what you become 
familiar 
with.
___
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: IPFW Firewall NAT inbound port-redirect

2011-07-12 Thread Bill Tillman






From: Dan Nelson dnel...@allantgroup.com
To: Michael Sierchio ku...@tenebras.com
Cc: freebsd-questions@freebsd.org
Sent: Mon, July 11, 2011 1:07:31 PM
Subject: Re: IPFW Firewall NAT inbound port-redirect

In the last episode (Jul 11), Michael Sierchio said:
 Sorry for the naive question, but most of my old rulesets still use
 natd, and I've only used built-in nat for outbound traffic.  I'd like
 to redirect certain ports on certain addresses to the same ports on
 internal (RFC1918) addresses.  The examples in the man page aren't
 helpful, and the handbook still seems very natd-centric in its
 examples.  Thanks in advance.

I use this at the top of my /etc/ipfw.conf file (re0.2 is the interface
corresponding to my internet connection) :

nat 123 config if re0.2 log same_ports redirect_port tcp 10.0.0.3:22 22 
add nat 123 ip from any to any via re0.2

, which redirects incoming port 22 connections to 10.0.0.3.  If you want to
redirect more ports, add more redirect_port tcp host:port port expressions
to the end of your nat line.  I believe you can run the nat config command
manually with a new list (as in ipfw nat 123 ...) to add/remove entries
dynamically.  I'm not at home to try it, and don't want to risk losing my
remote connection if I mess up :)

-- 
    Dan Nelson
    dnel...@allantgroup.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



I have used IPFW for many years now. As for forwarding traffic from your 
gateway 
to internal machines I've always used the following in my /etc/natd.conf file:

dynamic
redirect_port tcp 10.0.0.254:80 80 # Apache Webserver inside my LAN
redirect_port udp 10.0.0.214:1194 1194 # OpenVPN Port
redirect_port tcp 10.0.0.213:443 443   # OpenVPN Port

Of course you will need a line like this in your /etc/rc.conf to get natd to 
read this file:

natd_flags=-f /etc/natd.conf

___
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: cvs vs. DVD

2011-06-27 Thread Bill Tillman






From: Lars Eighner luvbeas...@larseighner.com
To: wayne mitchell wayne.mitchell...@gmail.com
Cc: questi...@freebsd.org
Sent: Sun, June 26, 2011 3:57:50 PM
Subject: Re: cvs vs. DVD

On Sun, 26 Jun 2011, wayne mitchell wrote:

 hey,
 be warned, you are dealing with a  'newbie'


Be warned, I don't know the official best practices response.  I'm 
just telling you what I would do^H^Htry in your circumstances.

 i have one machine that has internet access and another that does not
 both machines were installed with FreeBSD_RELEASE_8_1 with a DVD
 i am now using cvsup to upgrade the RELENG_8_1_RELEASE tree

 my second machine does not have working ethernet

 how do i transfer the updated ports tree to the other machine using
 only storage media (DVD, USB)

This is assuming 1) You haven't crossed a major release number since you
installed from disc on both. 2) you know how to make a dvd from a file
system.  Since you are going from BSD to BSD, you don't have to make ISOs,
but it will do no harm if you do (and might even be good for you).

In the updated machine go to /usr/src/ and make clean.  The official right
way, I think is to use backup to make the file you will write to DVD and
restore on the netdead machine to recreate /usr/src/ from disc. tar + dd or
cp might work. (backup and restore are commands, check them out)

Then on the netdead machine do the make buildworld, make kernel, etc. to
update the machine's system.  The instructions are in /usr/src/UPDATING near
the bottom.

In /usr/ports/ (master machine) use portsclean -CDP. This should clean out
all the working directories and the old versions of packages and
distributions which are no longer necessary to recreate the ports you have
installed.  This is not strictly necessary, but there is no point in
carrying over the deadwood.  If you have a relatively young installation,
on the other hand, this may not save much.

Now you can do whatever you did (backup/restore), dd, etc. with the source
tree to the ports tree.  Then you can update ports on the slave machine, or
hold off. The important thing is for the ports tree itself to be somewhat
in sync with world.

 my guess (hack) is to find all relavent files/data trees and simply
 copy over, then run necessary updates (portsdb, make world...)

Do not mess directly with the ports database (in /var/db/pkg) on either
machine.  Until you actually do some updates in ports, pkgdb, which
deals with installed ports, will not change.

 if that is correct then can you tell where those files are ?

The whole ports tree is in /usr/ports/.  This should include the distfiles
and packages you have installed since you installed from disc.  The
whole source tree is in /usr/src/.  It is possible to install from disc
without installing either of these, but if you have been cvsup'ing or cvs
source and ports on the netlive machine, it certainly has them.  If you did
not install them on the netdead machine, you can install the copies from
the netlive machine without further ado.  You can even delete them from
the netdead machine (if they are there) on the netdead machine, and you
will still have an operable system -- nothing in them is necessary to run.
But if you have the disc space, I suggest you rename (mv) them until you
know your update is successful.  I suggest you go through the mergemaster
both times in rebuilding the system on the netdead machine. It is almost
impossible to keep configuration files sufficiently in sync to make copying
/etc and /usr/local/ect a viable plan (moreover, it would certainly be wrong
to do so if both machines are on a net, local or internet).


 if not then how should i do this ?

I think you are basically on the right track.

This probably will work across major releases and with drastically different
architectures between the machines, but caution on the target machine is in
order.  (Other than cleaning, this process should not involve anything
remotely dangerous to the source machine.)

-- 
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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



Call me old-fashioned but with Ethernet cards only costing $5 these days, 
what's 
holding you back from installing a NIC in the other machine. This would 
simplify 
all your problems.
___
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: Any working SIP-phone on FreeBSD?

2011-06-23 Thread Bill Tillman






From: Chad Perrin per...@apotheon.com
To: FreeBSD freebsd-questions@freebsd.org
Sent: Wed, June 22, 2011 11:26:30 PM
Subject: Re: Any working SIP-phone on FreeBSD?




Hey guys.this thread is really starting to stink. Take it outside.

On Wed, Jun 22, 2011 at 10:08:59PM -0500, David Scheidt wrote:
 On Jun 20, 2011, at 10:46 AM, Chad Perrin wrote:
  
  . . . and, somehow, social convention tells me it would be rude to
  let this person know (for next time) that everything will be much
  easier for everyone if the data is just left in its original format.
 
 Oh, I'd have sent an email saying sorry, your data is not in the
 required format.  See the requirements at (url, or other way where it's
 specified.). If you didn't specify the format, well, stop bitching,
 because it's your own fault. 

You appear prone to leaping to assumption and being kind of an asshole.

I specified the format.  This is not, however, a strictly business
relationship -- so different social rules apply, much to my dismay.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.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: Any working SIP-phone on FreeBSD?

2011-06-19 Thread Bill Tillman
Wow. this thread really took a turn for the worse. So getting back to the main 
topic about SIP phones, I have been using SIP phones since 2006 and I never 
found anything that worked under FreeBSD. Mainly for this reason and this 
reason 
seems to mirror where this thread went off topic.

While I could make something work on my end, because I'm a hobbyist, I could 
not 
get my friends, family, co-workers, customers, etc... to make anything work, 
even in the M$ environment. The main reason is that hackers in this world have 
caused all of us to in one way or another deploy firewalls. And I would say 
that 
99% of the non-hobbyists out there don't have a clue how to configure their 
firewall, indeed many of them don't even know they have one working. Whether 
it's M$ built-in firewall or the firewall on their ISP supplied router/modem, 
or 
the hotel they are staying at is blocking SIP ports. Unless you can get the 
person on the other end to receive your phone call then very little works. 
Which 
is a real shame because as a hobbyist I have done some really neat things with 
SIP phones, Asterisk, not to mention VPN and other packages. But without 
another 
hobbyist on the other end, its proved more than impossible to get things 
working 
which I could really use on a daily basis.

Oh and just in case...I use Asterisk on FreeBSD-8.2-STABLE as my PBX for my 
private home office. I connect via SIP with a VOIP provider who provides not 
only phone service but a DID as well. I use SIP phones (actual phones, not 
software) to make my SOHO appear to be a professional corporate office with 
transfers, conference calls, Music on hold, voice mail, the works. I 
occassionally use an IAX softphone or SIP softphone program on Windows to make 
and receive calls but for the most part I use the actual phones. Several 
friends 
and family members have asked me to set them up similarly but unless I could 
make it totally handsfree for them there is no way it will ever work, simply 
because they are not hobbyists like me and have no desire to do anything but 
click a big button on their desktop which looks like a phone. Anything beyond 
that and you're into the realm of impossibleagain.
___
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: how do i fsck my server?

2011-06-15 Thread Bill Tillman






From: Chuck Swiger cswi...@mac.com
To: Gary Kline kl...@thought.org
Cc: FreeBSD Mailing List freebsd-questions@FreeBSD.ORG
Sent: Wed, June 15, 2011 4:04:23 PM
Subject: Re: how do i fsck my server?

On Jun 15, 2011, at 12:50 PM, Gary Kline wrote:
 can anybody clue me in on why fsck on my server [yes, of course as root]
 seem to refuse to WRITE?

Bad sectors on the hard drive are a somewhat common cause of this.

  we had a power out locally and i caught my UPS at
 the last second.  i powered off my server to save the battery, etc, and 
 a few minutes ago when i ran 
 
 # fsck -y /var
 
 there were unresolved inconsistancies that fsck was not allowed to resolve.

Was /var mounted already?  You shouldn't be running fsck on a live filesystem; 
boot single user or from a FreeBSD CD, and run fsck that way.

 i tried to boot single use but the server (Dell 530) panicked.  so finally,
 after deliberately crashing the box three times, fsck_ufs ran.  i was able to
 ping outside.  
 
 is there any way of scripting fsck *every* time i reboot this box?  i just
 want to make abs certain that the filesystems are clean.  ---didn't fscking
 used to be easier?

You can set fsck_y_enable=YES in /etc/rc.conf, but it shouldn't be 
necessary.  
The system can figure out for itself whether it shutdown cleanly or whether a 
fsck is necessary.

Regards,
-- 
-Chuck

___
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 hate to be a pain here but this answer completely misses something very 
important about a reboot after a crash with FreeBSD. 


The system can figure out for itself whether it shutdown cleanly or whether 
fsck is necessary.

With no disrespect meant, this is like telling someone that in case of a fire 
it's not a good idea to use the elevators. The correct reply to this IMHO 
should 
have been HELL YES, your server will check for a clean exit on every reboot. 
It 
will count to 60 seconds and then if the last shutdown was not clean it will 
start running fsck all by itself and this will tie up your system's resources 
for quite a while depending on the size of your hard drive(s). And this time 
can 
be quite lengthy. I have two 750 GB hard drives in my server and it crashed a 
couple of times in the recent past. It made running almost anything on it slow 
as can be while the fsck process run automatically cleaned up the mess. And it 
takes the better part of an hour for this process to complete.
___
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: ftp installation

2011-06-12 Thread Bill Tillman






From: Daniel Feenberg feenb...@nber.org
To: Robert Simmons rsimmo...@gmail.com
Cc: freebsd-questions@freebsd.org
Sent: Sat, June 11, 2011 8:50:48 PM
Subject: Re: ftp installation



On Sat, 11 Jun 2011, Robert Simmons wrote:

 On Sat, Jun 11, 2011 at 6:52 PM, Daniel Feenberg feenb...@nber.org wrote:

 I have tried many of the ftp sites enumerated in sysinstall, with both
 7.4-RELEASE and 8.2-RELEASE, and in all cases the installation proceeds
 for a few seconds and then hangs, with the last message on the console
 always being:

  DEBUG: Generating /etc/fstab file.

...

 Is there something off about the sysinstall ftp dialog? I don't see a way to
 monitor what is happening.

 Your firewall may be interfering with the connection.  You may want to
 read the handbook section on FTP installs (the grey box at the bottom
 of the page):
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-media.html


Well, our router has never interfered with ftp transfers done from the 
command line, but switching to the firewall-friendly mode in sysinstall
does fix the problem.

Thank you
Daniel Feenberg
NBER


If I recall correctly I had to open up my firewall completely to get the ftp 
installations to work. I use a FreeBSD diskless router running IPFW+NATD and 
the 
log files are set to max out at 5 so I can't see which port is trying to be 
used 
which gets blocked. So just for the 10 minutes or so to do an FTP install I 
just 
open the firewall wide and allow any to any. Once the install is complete I 
close the firewall again.
___
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: Need Help Installing and Configuring Xorg

2011-06-12 Thread Bill Tillman


From: Daniel Staal dst...@usa.net
To: John or Judy Hixson johnorj...@earthlink.net; 
freebsd-questions@freebsd.org
Sent: Fri, June 10, 2011 8:24:23 PM
Subject: Re: Need Help Installing and Configuring Xorg

--As of June 10, 2011 4:26:27 PM -0700, John or Judy Hixson is alleged to have 
said:

 I'm having trouble getting Xorg to run on my just recently installed
 FreeBSD 7.4-RELEASE(i386) system. I'm trying to follow the procedures in
 Sections 5.3 and 5.4 of the Handbook and can't seem to get startx to
 fire up; I get a black screen when I try. Here's what I've done so far:

--As for the rest, it is mine.

Weird question: Have you installed xterm yet?  Without a window manager 
configured, startx will try to open X with a single xterm window.  (At least, 
as 
installed from ports, I believe.)  I'm not sure what it would do if it couldn't 
find xterm, but a blank black screen sounds possible...

If I'm right, Xorg is _running,_ you just haven't started any programs in it.  
Which you might be able to see if you ssh'd into the box.  If so, you could 
kill 
Xorg and get your terminal back on your standard terminal.

Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
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 have installed and configured Xorg many times on several different machines. 
When it installs it comes with twm (Trivial Window Manager) which is the 
default, no frills window manager. It should have installed with the Xorg port. 
If you installed via pkg_add I can't say for sure that tvw installs by default, 
but using the ports it will. Without a window manager, you will see nothing but 
a black graphics screen when you run startx.

There are loads of other windows managers and choices for desktop. I am a big 
believer in the KISS method and prefer not to add in all the overhead that 
comes 
with KDE or GNOME and I just use tvm. I can open any application and it looks 
fine, I can open several Xterm windows with it and spread them across my dual 
monitor setup. It just works for me but I'm sure others will toot their horns 
for KDE and GNOME, etc...
___
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: Need Help Installing and Configuring Xorg

2011-06-12 Thread Bill Tillman






From: Chuck Swiger cswi...@mac.com
To: Polytropon free...@edvax.de
Cc: FreeBSD Questions freebsd-questions@freebsd.org
Sent: Sun, June 12, 2011 2:43:16 PM
Subject: Re: Need Help Installing and Configuring Xorg



I stand corrected. Tab Window Manager it iseither way, I use it because 
it's 
just plain simple and I don't really need all the whistles and bells that come 
with the other WM's. I'm still stuck with using Windows because all my business 
is conducted there and it's got all the bells and whistles one would need.

On Jun 12, 2011, at 11:29 AM, Polytropon wrote:
 twm doesn't stand for Trivial Window Manager-- it stands
 for Tom's Window Manager because it was written by Tom
 LaStrange on Sun-3_35 or 3_50 hardware back around X11R1.
 
 Without any further investigation and research, my
 brain seems to remember that is's (also?) called
 Tab Window Manager. Is my brain wrong here? :-)

I went by wikipedia to double-check.

I'm right about the original name.  At some point after twm was included in the 
X11 core distribution, later developers decided to rename it to Tab Window 
Manager because they'd changed so much code.  (If they'd done it with Tom's 
OK, 
then I don't have any concern; if they'd just renamed it themselves without 
discussion with the original author, well, I'd find that a bit tacky.)

I remember switching from uwm? to twm around 1990 and finding the later vastly 
more tolerable.  But I also largely switched from X11 to Display Postscript on 
NEXTSTEP or Sun's OpenWin (X11+Motif+DPS extension, IIRC) around then.

Regards,
-- 
-Chuck

___
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
___
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: copying hard drives

2011-06-10 Thread Bill Tillman




From: David Banning david+dated+1308165107.fdb...@skytracker.ca
To: questi...@freebsd.org
Sent: Fri, June 10, 2011 3:11:46 PM
Subject: copying hard drives

I am interested in copying hard drives and would like some feedback.

1. I would like a way to take peoples windows -or- unix systems and
store each on portable hard drive as a single file - so that in the
end I have a large, say 2TB drive with a number of peoples operating
system backed up - that can later be restored.  

One concern I have is that the file saved is under a certain generic
standard - I don't want to be in a situation down the road where I
need to restore, but the required software to restore is defunct.
It would be nice to have the operating system on a stick - so I
could boot into the program from a clients computer, connect a large
drive, and backup their entire drive.

2. I'd like a simple way to copy - my FreeBSD system to another
drive - a clone so to speak - which I know dd can do - but I wonder
if there is a way to do this so that clone drive can be smaller that
the original. My thinking here is that I need to experiment with
changes but can't do it on a live system - hence the copy booted
from a separate machine.
___
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



Look into G4U...Ghost for Unix. It's a free and based on NetBSD. It will clone 
a 
drive, make images of drives, etc...and you can't beat the price. I've used it 
successfully many times.
___
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: Long Day's Journey into Bleep

2011-06-09 Thread Bill Tillman






From: Gary Kline kl...@thought.org
To: FreeBSD Mailing List freebsd-questions@FreeBSD.ORG
Sent: Wed, June 8, 2011 8:56:59 PM
Subject: Long Day's Journey into Bleep


Well, people, 

It's been a long, long century.  I've been down for 5 days.
Couldn't understand _why_ I couldn't ping anywhere [expect the
Server itself].  Finally, tho, it became more and more likely that
my FreeBSD was fine ... even tho I kept stripping the most likely
problem points.  My large 16-port LinkSys router was either *it* or
it was some kind of bug unknown to geekdom.  After a friend bought
me a new (and tiny) 8-port switch, yes!  I could ping everywhere.  

I'm still bringing back the dozens of things I removed from ethic.
And testing new ideas.  But I have a general question: have any of
you wizards who run your own domains or otherwise use a switch [or
hub] *ever* had it just-quit?!  It is solid-state.  Yes, the box is
within my feet/foot reach.  I have accidently kicked it i suppose,
but still.  

After wandering in the wilderness for 5 days, mmph, dunno.  

gary

PS: yes, this is a serious question.  1) I like things-Cisco, and 
LinkSys.  I just bought this switch about 2.5 years ago, so I really
am looking for feedback.

PPS:  Another question to ask about upgrading is next.


-- 
Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
          Journey Toward the Dawn, E-Book: http://www.thought.org
          The 8.51a release of Jottings: http://jottings.thought.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



Good to hear you're back on line. But to answer your question about parts going 
bad. I haven't had much go bad on me in the last 10 years but back in the 
1990's 
when I was doing pure IT work and was making lots of purchases of parts I did. 
Now you have to remember that back then a 28.8 modem cost $375 and cell phones 
were only in the hands of the very rich and very important. I could buy parts 
and sometimes find them defective out of the box. Others would work fine.

Today, I haven't bought many new components because everything is working. My 
switch has been operating fine for the last five years. I replaced my FreeBSD 
sever a few years ago. It was a P166 with 96MB RAM and it had been running 
almost non-stop, 24/7 for 12 years. But then I had another machine right next 
to 
it that I built in 2002 and it whimped out only a couple of years later and I 
hardly ever ran that machine. 


In today's world, I would say that the majority of the parts you buy will be 
good to go, but that's why parts only come with a 90 or 1 year warranty. The 
manufacturers know when to back off their guarantees on electronic components.

___
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: start X in background without it taking over the console?

2011-05-11 Thread Bill Tillman






From: CyberLeo Kitsana cyber...@cyberleo.net
To: Chris Telting christopher...@telting.org
Cc: freebsd-questions@freebsd.org
Sent: Wed, May 11, 2011 7:07:01 AM
Subject: Re: start X in background without it taking over the console?

On 05/11/2011 05:36 AM, Chris Telting wrote:
 I already do... I'm want to automate it.  Every other virtual screen
 terminal can start without grabbing the console, I don't want X to
 either.  I do development and I suffer crashes.  I want to do work while
 it boots up for a couple minutes and I'm tired of manually switching
 back to text mode.  It's gets annoying the 200th time.

You could script it right after X starts, as such:

vidcontrol -s 1 # Equivalent to Alt-F1

I don't think X is currently designed to start without initializing the
graphics hardware, though, so the initial vt change is probably
unavoidable. Perhaps once KMS trickles down?

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
cyber...@cyberleo.net

Furry Peace! - http://.fur.com/peace/
___
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'm watching this thread with interest. First, I don't run X that much and what 
I seem to know about it is that once you start X is grabs your video hardware 
and that's that. I have never been able to get a text console back once I do 
startx. But I'm a simpleton and only run the normal standard windows manager 
which installs with X. I've tried all the others and while they are great I 
just 
don't see the need for all the overhead since my FreeBSD servers are just 
that...servers. Once in X I can open as many Xterm windows as I want and I have 
access to the text console. Still I would be interested to know if there is a 
resolution to his poster's question.
___
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


OpenVPN Setup

2011-05-11 Thread Bill Tillman
Thanks to everyone for the replies yesterday on OpenVPN. I'd like to report a 
few interesting things:

1. In doing some google searches on this last night, believe it or not some of 
the search results were the exact questions I asked in this group, only 
yesterday afternoon. And this was while I was watching Fox News make reports on 
how Google is watching and recording everything these days...Sheesh I didn't 
know their spiders ran that fast.

2. I have my OpenVPN process running on my FreeBSD server and wish to test it 
with the OpenVPN client for Windows on my laptop from an outside location. But 
the only outside locations I have access to right now are the local McDonalds 
and Starbucks which offer free WiFi via ATT's network. The trouble with this 
is 
they appear to be blocking almost everything at these locations with the 
exception of HTTP traffic. I can't make the connection and I cannot acces my 
LAN 
via SSH either. I don't think they are blocking any particular ports on these 
systems as much as they are just blocking everything except those ports which 
allow users to surf the web. The only thing which appears in the status window 
is that's it trying to make the handshake but then fails. I can ping my home 
server from these outside locations so I know my server is reachable.
___
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: OpenVPN Setup

2011-05-11 Thread Bill Tillman






From: Kevin Wilcox kevin.wil...@gmail.com
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Wed, May 11, 2011 9:28:08 AM
Subject: Re: OpenVPN Setup

On Wed, May 11, 2011 at 09:11, Bill Tillman btillma...@yahoo.com wrote:

 2. I have my OpenVPN process running on my FreeBSD server and wish to test it
 with the OpenVPN client for Windows on my laptop from an outside location. But
 the only outside locations I have access to right now are the local McDonalds
 and Starbucks which offer free WiFi via ATT's network. The trouble with this 
is
 they appear to be blocking almost everything at these locations with the
 exception of HTTP traffic. I can't make the connection and I cannot acces my 
LAN
 via SSH either. I don't think they are blocking any particular ports on these
 systems as much as they are just blocking everything except those ports which
 allow users to surf the web. The only thing which appears in the status window
 is that's it trying to make the handshake but then fails. I can ping my home
 server from these outside locations so I know my server is reachable.

It's not uncommon for guest/visitor/unsponsored/portal wireless to
only have ports 80 and 443 (sometimes only port 80) open. You can
modify your server's config to use port 80 instead of 1194 (assuming
you aren't running a webserver on that machine). Keep in mind that if
you do that then before you can connect you'll have to:

o change the config on the server
o restart openvpn on the server
o change the config on the client

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

Thanks again. Setting the proto to tcp, port 443 is working at least. I'm 
sitting comfortably in a Starbucks with a cup of java and smooth jazz playing 
and with a powered connection so I won't have to worry about battery in this 
laptop which only lasts about 20 minutes these days. So I can run the VPN 
client 
here and it makes connection and grabs an IP address 10.8.0.6, and I can ping 
the tunnel device on the other end 10.8.0.1 but I cannot access the other side 
of the VPN server at home, 10.0.0.0/24. Nothing will reply to pings and my 
attempts to do remote desktop with one of my windows machines fails and I 
cannot 
access the Samba shares on the VPN server. I guess this must be a routing issue 
but I thought the OpenVPN server set this up when it started. Any additional 
advice will be appreciated. I'm going to stay here and hack at it until they 
run 
me off.
___
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: OpenVPN Setup

2011-05-11 Thread Bill Tillman

 


From: Kevin Wilcox kevin.wil...@gmail.com
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Wed, May 11, 2011 9:28:08 AM
Subject: Re: OpenVPN Setup

On Wed, May 11, 2011 at 09:11, Bill Tillman btillma...@yahoo.com wrote:

 2. I have my OpenVPN process running on my FreeBSD server and wish to test it
 with the OpenVPN client for Windows on my laptop from an outside location. But
 the only outside locations I have access to right now are the local McDonalds
 and Starbucks which offer free WiFi via ATT's network. The trouble with this 
is
 they appear to be blocking almost everything at these locations with the
 exception of HTTP traffic. I can't make the connection and I cannot acces my 
LAN
 via SSH either. I don't think they are blocking any particular ports on these
 systems as much as they are just blocking everything except those ports which
 allow users to surf the web. The only thing which appears in the status window
 is that's it trying to make the handshake but then fails. I can ping my home
 server from these outside locations so I know my server is reachable.

It's not uncommon for guest/visitor/unsponsored/portal wireless to
only have ports 80 and 443 (sometimes only port 80) open. You can
modify your server's config to use port 80 instead of 1194 (assuming
you aren't running a webserver on that machine). Keep in mind that if
you do that then before you can connect you'll have to:

o change the config on the server
o restart openvpn on the server
o change the config on the client

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

Thanks again. Setting the proto to tcp, port 443 is working at least. I'm 
sitting comfortably in a Starbucks with a cup of java and smooth jazz playing 
and with a powered connection so I won't have to worry about battery in this 
laptop which only lasts about 20 minutes these days. So I can run the VPN 
client 
here and it makes connection and grabs an IP address 10.8.0.6, and I can ping 
the tunnel device on the other end 10.8.0.1 but I cannot access the other side 
of the VPN server at home, 10.0.0.0/24. Nothing will reply to pings and my 
attempts to do remote desktop with one of my windows machines fails and I 
cannot 
access the Samba shares on the VPN server. I guess this must be a routing issue 
but I thought the OpenVPN server set this up when it started. Any additional 
advice will be appreciated. I'm going to stay here and hack at it until they 
run 
me off.


Just cleared one more hurdle. Turns out the PUSH line in server.conf was still 
commented out. A quick change there and it's off and running. I can now ping 
inside my LAN from this remote connection and just completed a successful 
Remote 
Desktop session with one of the Windows clients inside as well. I'm still 
somewhat confused on the routes needed and several of my tests are still in 
place on the home LAN servers so I'm not sure what actually worked and what can 
be removed if any. The PUSH line though seemed to be all it needed but I think 
there is something on the inside which needs to be set as well.

Sorry for all the traffic, but I have the time this week to hack at this until 
I 
get it right.

___
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


OpenVPN Setup

2011-05-11 Thread Bill Tillman
Thanks again for all the great tips on OpenVPN setup. I think its about ready 
for real deployment but I have a couple of more questions.

My OpenVPN server (10.0.0.254) is inside my LAN behind another FreeBSD 
router/gateway (10.0.0.253) which is running IPFW+NATD and handles the LAN's 
connection to the cable modem. All that is running fine.

In the docs I read it told me to turn forwarding on at the OpenVPN server 
(10.0.0.254) as well, effectively turning it into another gateway. I was 
wondering if this could be avoided, assuming the docs I read were about a setup 
where the VPN server was right off the Internet and was needed as the gateway.

I added this route to the FreeBSD router (10.0.0.253) which on my LAN is the 
machine right off the cable modem:

    route add -net 10.8.0.0/24 10.0.0.254

This made everything work but I'd like to ask if this is the most efficient way 
of setting up the routing table.on the router (10.0.0.253).

When I check the routing tables on the OpenVPN server with netstat -nr I see 
this info:

Internet:
Destination    Gateway    Flags    Refs  Use  Netif Expire
default   10.0.0.253 UGS 0  31257     bge0
10.0.0.0/24    link#3    U   1   101587  bge0
10.0.0.254 link#3    UHS  0     0   lo0
10.8.0.0/24    10.8.0.2UGS 0    33716   tun0
10.8.0.1      link#5   UHS  0    2   
 lo0
10.8.0.2  link#5   UH    0 0  
 tun0
127.0.0.1    link#4   UH    0    472    lo0

I'm curious as to why the 3rd entry shows the route for 10.8.0.0/24 goes 
through 
10.8.0.2 as it's gateway. 10.8.0.2 is not pingable in this setup.
___
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


OpenVPN Setup

2011-05-10 Thread Bill Tillman
I have a FreeBSD-8.2-STABLE server running OpenVPN. What I'm trying to do is to 
be able to access my LAN with my M$ Windows laptop using a M$ compatible 
client. 
I read the manpage and it basically sets forth examples in which there will be 
two (2) OpenVPN servers. In my case I will only have one OpenVPN server and my 
laptop out there on the road. And of course I won't know the IP address of my 
laptop until I connect out there somewhere. Can anyone recommend how to do this 
or where I can read more about how to use OpenVPN with only one server?
___
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


Fw: OpenVPN Setup

2011-05-10 Thread Bill Tillman

 


From: Chuck Swiger cswi...@mac.com
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Tue, May 10, 2011 4:14:34 PM
Subject: Re: OpenVPN Setup

On May 10, 2011, at 12:55 PM, Bill Tillman wrote:
 I have a FreeBSD-8.2-STABLE server running OpenVPN. What I'm trying to do is 
 to 

 be able to access my LAN with my M$ Windows laptop using a M$ compatible 
client. 

 I read the manpage and it basically sets forth examples in which there will 
 be 

 two (2) OpenVPN servers. In my case I will only have one OpenVPN server and 
 my 

 laptop out there on the road. And of course I won't know the IP address of my 
 laptop until I connect out there somewhere. Can anyone recommend how to do 
 this 

 or where I can read more about how to use OpenVPN with only one server?


OpenVPN's site provides fine documentation:

  http://openvpn.net/index.php/open-source/documentation.html
  
http://openvpn.net/index.php/open-source/documentation/miscellaneous/78-static-key-mini-howto.html


Regards,
-- 
-Chuck

___
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'm working through the docs you referenced in the HOWTO and it says:
Next, initialize the PKI. On Linux/BSD/Unix:
. ./vars
./clean-all
./build-ca
the vars file is not executable and from what I see in the Makefile they want 
to 
chmod it to 644I tried /bin/sh ./vars and it seemed to work but then when I 
run ./clean-all which is executable I get
Please source the vars script first (i.e. . ./vars)
Make sure you have edited it to reflect your configuration.
I'm stumped as this appears to be something Linux will handle but not 
FreeBSDany suggestions?

___
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: OpenVPN Setup

2011-05-10 Thread Bill Tillman
Yes, I got that after a few searches...I ended up installing bash because so 
many things these days are Linux centric and bash is the default shell on 
Linux. 
I through all the setup and created the certificates. Now to fire it up and 
then 
take my laptop down to Starbucks and try to login.





From: Chuck Swiger cswi...@mac.com
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Tue, May 10, 2011 6:02:13 PM
Subject: Re: OpenVPN Setup

On May 10, 2011, at 2:50 PM, Bill Tillman wrote:
 OpenVPN's site provides fine documentation:
 
  http://openvpn.net/index.php/open-source/documentation.html
  
http://openvpn.net/index.php/open-source/documentation/miscellaneous/78-static-key-mini-howto.html

[ ... ]
 I'm working through the docs you referenced in the HOWTO and it says:
 Next, initialize the PKI. On Linux/BSD/Unix:
 
 . ./vars
 ./clean-all
 ./build-ca

If you're trying to setup a CA for PKI, then you're not following the static 
key 
document:

Static Key Mini-HOWTO

Introduction

Static key configurations offer the simplest setup, and are ideal for 
point-to-point VPNs or proof-of-concept testing.

Static Key advantages

    • Simple Setup
    • No X509 PKI (Public Key Infrastructure) to maintain

 the vars file is not executable and from what I see in the Makefile they want 
to chmod it to 644I tried /bin/sh ./vars and it seemed to work but then 
when 
I run ./clean-all which is executable I get
 Please source the vars script first (i.e. . ./vars)

Yes.  The directions assume you are running /bin/sh (or Bourne-compatible 
shells 
bash, ksh, zsh, etc).

Do that, and . ./vars will work.  Running /bin/sh ./vars also works, but is 
useless because it changes the variables in a subshell which exits once it 
finishes processing the ./vars file.

 Make sure you have edited it to reflect your configuration.
 I'm stumped as this appears to be something Linux will handle but not 
FreeBSDany suggestions?

Yes, follow the directions.  OpenVPN works fine on FreeBSD.

Regards,
-- 
-Chuck

___
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

___
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: OpenVPN Setup

2011-05-10 Thread Bill Tillman
One more thing. I am going to need the Windows Client but I don't seem to find 
that at the OpenVPN site, only the full install which I assume installs the 
server as well as the client. Or am I missing the link to get just the client 
install. I would like to keep the overhead to a minimum.





From: Chuck Swiger cswi...@mac.com
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Tue, May 10, 2011 6:02:13 PM
Subject: Re: OpenVPN Setup

On May 10, 2011, at 2:50 PM, Bill Tillman wrote:
 OpenVPN's site provides fine documentation:
 
  http://openvpn.net/index.php/open-source/documentation.html
  
http://openvpn.net/index.php/open-source/documentation/miscellaneous/78-static-key-mini-howto.html

[ ... ]
 I'm working through the docs you referenced in the HOWTO and it says:
 Next, initialize the PKI. On Linux/BSD/Unix:
 
 . ./vars
 ./clean-all
 ./build-ca

If you're trying to setup a CA for PKI, then you're not following the static 
key 
document:

Static Key Mini-HOWTO

Introduction

Static key configurations offer the simplest setup, and are ideal for 
point-to-point VPNs or proof-of-concept testing.

Static Key advantages

    • Simple Setup
    • No X509 PKI (Public Key Infrastructure) to maintain

 the vars file is not executable and from what I see in the Makefile they want 
to chmod it to 644I tried /bin/sh ./vars and it seemed to work but then 
when 
I run ./clean-all which is executable I get
 Please source the vars script first (i.e. . ./vars)

Yes.  The directions assume you are running /bin/sh (or Bourne-compatible 
shells 
bash, ksh, zsh, etc).

Do that, and . ./vars will work.  Running /bin/sh ./vars also works, but is 
useless because it changes the variables in a subshell which exits once it 
finishes processing the ./vars file.

 Make sure you have edited it to reflect your configuration.
 I'm stumped as this appears to be something Linux will handle but not 
FreeBSDany suggestions?

Yes, follow the directions.  OpenVPN works fine on FreeBSD.

Regards,
-- 
-Chuck
___
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


Fw: OpenVPN Setup

2011-05-10 Thread Bill Tillman






From: Chuck Swiger cswi...@mac.com
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Tue, May 10, 2011 6:39:48 PM
Subject: Re: OpenVPN Setup


 
OK I know I saw this somewhere but it eludes me now. I have generated the keys 
and certificates for the server and client on my FreeBSD server. I then copied 
them over to my Windows laptop but apparently cannot find where I'm supposed to 
copy them to. And my replies keep getting blocked by some kind of spam filter.
On May 10, 2011, at 3:31 PM, Bill Tillman wrote:
 One more thing. I am going to need the Windows Client but I don't seem to 
 find 
that at the OpenVPN site, only the full install which I assume installs the 
server as well as the client. Or am I missing the link to get just the client 
install. I would like to keep the overhead to a minimum.

There isn't different software for server and client; OpenVPN performs either 
role depending on how it is configured.
Given that the Windows installer is very close to the size of a 1.4 MB floppy, 
you're likely consuming about twenty cents worth of disk space, or about a 
dollar's worth of SSD space.

Regards,
-- 
-Chuck

___
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: Fw: OpenVPN Setup

2011-05-10 Thread Bill Tillman






From: Kevin Wilcox kevin.wil...@gmail.com
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Tue, May 10, 2011 7:42:21 PM
Subject: Re: Fw: OpenVPN Setup

On Tue, May 10, 2011 at 19:19, Bill Tillman btillma...@yahoo.com wrote:

 OK I know I saw this somewhere but it eludes me now. I have generated the keys
 and certificates for the server and client on my FreeBSD server. I then copied
 them over to my Windows laptop but apparently cannot find where I'm supposed 
to
 copy them to. And my replies keep getting blocked by some kind of spam filter.

The client conf and all certs can go in one directory under

(32-bit Windows) C:\Program Files\OpenVPN\config\

(64-bit Windows) C:\Program Files(x86)\OpenVPN\config\

kmw


This is a very frustrating process but I think I'm getting there. The files I 
created on the FreeBSD server which I copied over are:

   client1.crt
   client1.csr
   client1.key

But the windows setup appears that it wants one of these files to be called 
client.ovpn. Of course I can't give all of them that name so I'm stumped again.
___
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: Newbie Needing Help

2011-05-09 Thread Bill Tillman




From: Janos Dohanics w...@3dresearch.com
To: FreeBSD Questions freebsd-questions@freebsd.org
Sent: Mon, May 9, 2011 1:06:31 AM
Subject: Re: Newbie Needing Help

On Sun, 8 May 2011 17:17:48 -0700
John or Judy Hixson johnorj...@earthlink.net wrote:

 [...]
 Another problem that's throwing me for a loop is that even though I'm
 logged in as root I'm getting a permission denied return when I
 list a file (e.g. /etc/fstab) and press enter.

When you enter a file name at the prompt, such as /etc/fstab, and you
receive the response permission denied, it is because /etc/fstab is
not an executable file. Entering just the file name will cause the
shell to try to execute the file, but this file has no permission to be
executed, (even by root).

You can view the permissions for this file by entering:

ls -l /etc/fstab

and you'll see something similar to this:

-rw-r--r--  1 root  wheel  278 Sep 28  2008 /etc/fstab
  ^  ^  ^

However, for example, the file /bin/ls is executable:

-r-xr-xr-x  1 root  wheel  29656 Dec 11  2009 /bin/ls
  ^  ^  ^

Michael Lucas' book is a great way to get started. You can read many of
his tutorials at http://oreilly.com/pub/ct/13. I have also found Dru
Lavigne's series of articles FreeBSD Basics a great resource
(http://oreilly.com/pub/ct/15).

-- 
Janos Dohanics
___
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


As you can see, many users here will be helpful. The best advice I've seen so 
far 

is to do some google or yahoo searches for UNIX TUTORIALS and you'll find
dozens of them. The FreeBSD website has a nice section called 

http://www.freebsd.org/projects/newbies.html

which will get you off to a good start. And in spite of what the VI fans will
tell you there is another built-in text editor called ee for Easy Editor and
it's designed for newbies to get started editing files. VI is a very powerful
tool but it's not very intuitive until you learn it or have the commands
listed next to you.

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: Sending a Fax

2011-05-07 Thread Bill Tillman
I knew this thread would bring up some ironies. For the record it's all in 
their 
minds. E-Mails have been upheld in the US Court system as legal documents. And 
those people afraid or distrusting of e-mail have only to give me their fax 
number and watch how quickly I can send them bogus fax documents. Like I said, 
it's all in their minds. Faxing is no safer or more secure than any other form 
of comminication. Its simply a waste of ink, toner and paper as far as I'm 
concerned.

I just finished an assignment at a dinosaur of a company which still prints of 
sets of huge D and E size drawings for their estimating department. When I 
showed them the things you can do with a software package like Bluebeam Revu, 
they scoffed at it because it costs $189 per seat. I showed them how they were 
wasting $200 to $500 each week printing out huge sets of drawings. In just on 
month they could have bought enough licensed copied of Revu to account for this 
and then stop printing so much paper which only ends up in the trash. Their 
secretaries were still sending out proposals via fax even when the client 
requested a PDF be sent by e-mail. Their reason for this was, This is the only 
way we know how and we've done it like this for so long, we don't want to 
change.

IMHO...Faxing is so last century.





From: David Brodbeck g...@gull.us
To: FreeBSD Questions questi...@freebsd.org
Sent: Fri, May 6, 2011 1:30:58 PM
Subject: Re: Sending a Fax

On Fri, May 6, 2011 at 3:47 AM, Bill Tillman btillma...@yahoo.com wrote:
 I read the other replies to your post so let me put in my 2 cents worth. For 
the
 last few years, I have basically abandoned faxing in favor of e-mailing PDF 
and
 other document files. Paperless is not only more efficient but its green too.

Believe it or not, there are industries where faxing is still the
norm.  Many industrial suppliers want purchase orders by fax.  It also
seems to be the common way that pharmacies communicate with doctors'
offices.  These are conservative industries where email (and
especially, email attachments) are still viewed with some suspicion.
A lot of times these days the actual endpoint is a digital fax system,
though; sometimes the fax never actually reaches paper.
___
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

___
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: Home firewall with DLink router FreeBSD

2011-05-06 Thread Bill Tillman
Please excuse me. I typed my reply below all the existing text but somehow it 
ended up being formatted into the middle of this one. Can someone give me the 
tip for insuring I don't top post and that my reply ends up at the bottom of 
the 
e-mail?





From: Bill Tillman btillma...@yahoo.com
To: Leonardo M. Ramé martinr...@yahoo.com; questi...@freebsd.org
Sent: Fri, May 6, 2011 6:53:56 AM
Subject: Re: Home firewall with DLink router  FreeBSD




From: Leonardo M. Ramé martinr...@yahoo.com
To: questi...@freebsd.org
Sent: Thu, May 5, 2011 3:44:36 PM
Subject: Home firewall with DLink router  FreeBSD


The short answer is a definite yes, but you will need two NIC's in the FreeBSD 
server. I have a FreeBSD server which runs diskless and it acts as my router 
right behind the cable modem. All networks in my home including the wireless 
one 

uses this machine as it's route to the Internet. It runs IPFW2 as the firewall. 
It also does some port forwarding from my Asterisk PBX and webserver which are 
running on other FreeBSD servers inside my LAN.

There is excellent information in the FreeBSD handbook on how to setup a 
FreeBSD 

server as a gateway/router. Check it out.

Hi, at home I have a DLink Dir 300 router to provide internet access for my 
home 

network. The network is composed by two Windows PCs, one Linux laptop and one 
FreeBSD server we use mainly for storage and as web/database server.

I must add, the server only have one network card.

I would like to know if its possible to use the FreeBSD server as a Firewall 
for 

the whole network, securing LAN and WiFi connections. If this can be done, then 
how? could you point me to some howto?.

Thanks in advance,
Leonardo M. Ramé
http://leonardorame.blogspot.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
___
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

___
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: Home firewall with DLink router FreeBSD

2011-05-06 Thread Bill Tillman



From: Leonardo M. Ramé martinr...@yahoo.com
To: questi...@freebsd.org
Sent: Thu, May 5, 2011 3:44:36 PM
Subject: Home firewall with DLink router  FreeBSD


The short answer is a definite yes, but you will need two NIC's in the FreeBSD 
server. I have a FreeBSD server which runs diskless and it acts as my router 
right behind the cable modem. All networks in my home including the wireless 
one 
uses this machine as it's route to the Internet. It runs IPFW2 as the firewall. 
It also does some port forwarding from my Asterisk PBX and webserver which are 
running on other FreeBSD servers inside my LAN.

There is excellent information in the FreeBSD handbook on how to setup a 
FreeBSD 
server as a gateway/router. Check it out.

Hi, at home I have a DLink Dir 300 router to provide internet access for my 
home 
network. The network is composed by two Windows PCs, one Linux laptop and one 
FreeBSD server we use mainly for storage and as web/database server.

I must add, the server only have one network card.

I would like to know if its possible to use the FreeBSD server as a Firewall 
for 
the whole network, securing LAN and WiFi connections. If this can be done, then 
how? could you point me to some howto?.

Thanks in advance,
Leonardo M. Ramé
http://leonardorame.blogspot.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
___
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: Sending a Fax

2011-05-06 Thread Bill Tillman


From: Doug Hardie bc...@lafn.org
To: FreeBSD Questions questi...@freebsd.org
Sent: Thu, May 5, 2011 10:21:29 PM
Subject: Sending a Fax

One of my clients needs to send a lot of faxes.  He has a Brother 8680DN which 
will fax.  Any ideas how to send a file to it and get it to send a fax?  I am 
not finding anything beyond printing for that unit via 
Google.___
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 read the other replies to your post so let me put in my 2 cents worth. For 
the 
last few years, I have basically abandoned faxing in favor of e-mailing PDF and 
other document files. Paperless is not only more efficient but its green too. 
Still there are those who must or insist on cutting down huge swaths or forest 
in order to send out more paper which will only end up in the land-fills. OK 
that's my 2 cents worth so now I will address your question.

I would assume that the Brother Fax machine you have should be able to handle 
network printing which means it should handle network faxing. It not then it 
will almost certainly have to be decommissioned if network faxing is what 
you're 
after. Some have said you can get FreeBSD using Linux emulation to talk to it, 
but unless you really know what you're doing this will be like reinventing the 
wheel. Personally, I doubt you could get this to work and even if you did, it 
would be such a complex setup that no one but you would know how it works and 
the next IT person who steps up to manage it will curse the day you were born. 
Not to mention getting your people in userland to understand and use this 
process will prove fruitless because unless the users can simply point and 
click 
it will never be accepted by them. So unless you plan on being there to hold 
the 
user's hand throughout each fax.get the picture.

HylaFAX is a nice alternative and the port in FreeBSD has been tried and tested 
by many and it has earned it's stripes. But you will need a modem of some kind 
to work with it and I doubt that the modem inside the Brother unit you have 
will 
work. On top of that, if your client is using Windows as their workstation OS 
then you wil need a client to interface with HylaFAX unless again you plan on 
being there to massage and handhold them through the entire process. There are 
several Windows clients available for HylaFAX, a few of them are free but 
require more than a point and click process to run. The makers of HylaFAX have 
an excellent client which works just like a simple print queue process but it 
costs $35 per seat. Other clients are available and cost a few $$ per seat as 
well. I have a nice setup with HylaFAX and Windows clients but I just don't fax 
anymore so I hardly ever use it.

I assume the Brother machine will do other tasks like printing, scanning, 
etc... 
but to get it to interface with FreeBSD will be a major undertaking. No offense 
but the users in this group will make suggestions which sounf like you just 
simply plug-n-play. When in reality, it will take a huge effort for which there 
will be little or no documentation available and in many cases will never work 
in the first place because drivers don't exist for what you want to do.
___
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: console based sound control

2011-04-03 Thread Bill Tillman
I use audacity but that is a sound editor and may not be what you're looking 
for.




From: Alokat mail...@alokat.org
To: freebsd-questions@freebsd.org
Sent: Sun, April 3, 2011 9:59:57 AM
Subject: console based sound control

Hi,

I'm looking for a sound control tool (like alsamixer) but for oss.

Does someone know one?

Regards,
alokat
___
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
___
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: How to forward old root mails to an external email address?

2011-02-23 Thread Bill Tillman
The only problem with this is that unlike 10 years ago, today almost all ISP's 
block anything coming down port 25 unless you have an account that allows your 
e-mail server to work. And they of course charge for this. I used to enjoy my 
own private e-mail server but these days if the ISP's don't charge you for it 
they block it.





From: Sergio de Almeida Lenzi lenzi.ser...@gmail.com
To: Andy Wodfer wod...@gmail.com
Cc: freebsd-questions freebsd-questions@freebsd.org
Sent: Sat, February 19, 2011 6:37:23 PM
Subject: Re: How to forward old root mails to an external email address?

You can use fetchmail (in the ports) and teapop (in the ports too)
setup a config that fetches your email (via pop)
and send via smtp to another place in the planet

It has been a long time (about 10 years) since I use this...


Sergio


___
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



  
___
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: How to forward old root mails to an external email address?

2011-02-23 Thread Bill Tillman






From: Polytropon free...@edvax.de
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions freebsd-questions@freebsd.org
Sent: Wed, February 23, 2011 4:41:02 PM
Subject: Re: How to forward old root mails to an external email address?

On Wed, 23 Feb 2011 11:32:03 -0800 (PST), Bill Tillman btillma...@yahoo.com 
wrote:
 The only problem with this is that unlike 10 years ago, today almost all 
 ISP's 

 block anything coming down port 25 unless you have an account that allows 
 your 

 e-mail server to work. And they of course charge for this. I used to enjoy my 
 own private e-mail server but these days if the ISP's don't charge you for it 
 they block it.

This is sadly true and possibly the result of spamming
traditionally coming from compromised home PCs. Some
providers offer you to use their MX, so if you're using
sendmail as MTA, let it hand its messages to your ISP's
MX as a realy which will then identify by a good IP.

This can be configured in your sendmail's mc as follows:

    define(`SMART_HOST', `mx.your.isp.blah')

Note that most relays will only accept messages coming
from the respective ISP's net, so when you try to use
it from a different ISP, it will deny your access.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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

Yes, but in the good ol' USA it's all about the money. They will not let me do 
anything like this unless I pay more to upgrade my service. The wierd thing is 
that once in a blue moon my IP address will change. Then I can send e-mail for 
a 
few hours or even days. but soon they will start blocking me saying that I have 
been identified as a spammer. But for a fee and a monthly reoccurring one at 
that, they can fix the problem for me. Not like the old days in 1998.



___
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: android

2011-02-14 Thread Bill Tillman
I haven't mounted my Android yet on my FreeBSD servers but I would think the 
advice below of mounting it like a MSDOS thumb drive would be correct. I would 
also think you'd need to use the longname switch as well on your command 
line. 
Otherwise you'll be stuck with the old 8.3 filename format limits.





From: Mike Tancsa m...@sentex.net
To: ajtiM lum...@gmail.com
Cc: freebsd-questions@freebsd.org
Sent: Mon, February 14, 2011 8:32:56 PM
Subject: Re: android

On 2/14/2011 8:00 PM, ajtiM wrote:
 Hi!
 
 I bought HTC Inspire 4G phone and I lie to upload some mp3 files. When I 
 connected a phoe to the USB port I got:
 
 da4 at umass-sim1 bus 1 scbus3 target 0 lun 0
 da4: HTC Android Phone 0100 Removable Direct Access SCSI-2 device
 da4: 4 MB/s transfers
 
 How can I mount it, please?

Try,
    ls -l /dev/da4*

You will probably see /dev/da4s1 which is most likely msdos. If so, try
mount_msdosfs /dev/da4s1 /mnt

    ---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada  http://www.tancsa.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




___
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: The nightmarish problem of installing a printer

2010-09-21 Thread Bill Tillman
I once used an inkjet printer and almost went broke keeping it fed with ink. I 
found a refurbished Brother HL-2040 Laser printer at Tiger Direct for $89. It's 
been running now for almost 3 years and I'm only on my second toner cartridge. 
To be honest, we're all on a big paperless effort and I rarely print anything 
these days. With PDF files and new software like Bluebeam Revu I just don't 
have the need to print much.
 
But since I occassionally do print and the kids need it from time to time for 
school I have my laser setup on a FreeBSD server which serves all segments in 
my LAN, including the separate wireless LAN for laptops. CUPS is installed on 
my server as a dependency for other apps but I don't use it to print.
 
I used to run it with a parallel cable but when I updated my server I had to 
switch to the USB port on the printer. And I just use simple LPR printing from 
the windows clients. Now I won't say it was that easy but once it was up and 
running it's hands free. The FreeBSD server uses ghostscript and a simple 
filter file which envokes gs. The /etc/printcap file is very simple too. I set 
the windows clients up to use a postscript printer driver to send the files to 
the server which it then processes and prints. All is well and I never have any 
trouble with it. One day soon I will have to purchase another toner cartridge 
but those are available at several sources.
 
Don't be intimidated by printing under FreeBSD. It's really quite simple unless 
you're trying to use one of those WinPrinters which will only run with M$.
 



___
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


NFS Issue

2010-09-06 Thread Bill Tillman
I have two LAN segments with a FreeBSD server on each. 
 
Server A is 10.0.0.254
Server B is 192.168.0.102
 
I setup server A has two drives and I setup a share on drive #2 to be shared 
via NFS with the both networks. I also made a symlink on drive #2 to a folder 
on drive #1
 
On server B I can nfs_mount the share on server A and see the symlink. But when 
I try to access the files in the symlink it shows the link is broken, In other 
words no files show up.
 
On server A I can see the files in the symlink folder just fine.


  
___
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


USB Hard Drive Dock

2010-08-02 Thread Bill Tillman
I just purchased a setup which will allow me to access IDE and/or SATA drives 
through a USB port. Of course I was hoping for it to work with FreeBSD and in 
spite of the reviews which said it needed no Windows drivers as soon as I 
opened it up there was a CD with the drivers for Windows on it.
 
When I hook this thing up to my FreeBSD server it shows up like this:
 
Jul 31 15:06:29 FreeBSD1 root: Unknown USB device: vendor 0x152d product 0x2338 
bus uhub1
Jul 31 15:06:29 FreeBSD1 kernel: usbd_set_config_index: could not read device 
status: USB_ERR_SHORT_XFER
Jul 31 15:06:29 FreeBSD1 kernel: ugen1.2: JMicron at usbus1
Jul 31 15:06:29 FreeBSD1 kernel: umass0: MSC Bulk-Only Transfer on usbus1
Jul 31 15:06:29 FreeBSD1 kernel: umass0:  SCSI over Bulk-Only; quirks = 0x4000
Jul 31 15:06:30 FreeBSD1 kernel: umass0:0:0:-1: Attached to scbus0
Jul 31 15:06:31 FreeBSD1 kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. 
CDB: 0 0 0 0 0 0
Jul 31 15:06:31 FreeBSD1 kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI 
Status Error
Jul 31 15:06:31 FreeBSD1 kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check 
Condition
Jul 31 15:06:31 FreeBSD1 kernel: (probe0:umass-sim0:0:0:0): SCSI sense: NOT 
READY asc:3a,0 (Medium not present)
Jul 31 15:06:31 FreeBSD1 kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
Jul 31 15:06:31 FreeBSD1 kernel: da0:    Fixed Direct Access SCSI-2 device
Jul 31 15:06:31 FreeBSD1 kernel: da0: 40.000MB/s transfers
Jul 31 15:06:31 FreeBSD1 kernel: da0: Attempt to query device size failed: NOT 
READY, Medium not present
Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10). 
CDB: 25 0 0 0 0 0 0 0 0 0
Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI 
Status Error
Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): SCSI status: Check 
Condition
Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): SCSI sense: NOT READY 
asc:3a,0 (Medium not present)
Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10). 
CDB: 25 0 0 0 0 0 0 0 0 0
Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI 
Status Error
Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): SCSI status: Check 
Condition
Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): SCSI sense: NOT READY 
asc:3a,0 (Medium not present)
 
So apparently the FreeBSD server senses when this thing is connected but it 
cannot see the drive connected to it. BTW - The FreeBSD server only reports 
anything when I power up the drive on the device. So again I see there might be 
hope to access it.
 
Of course I cannot mount anything as /dev/da0s1...etc are not there, only 
/dev/da0. The drive I'm attempting to mount was the main drive in another 
FreeBSD server I had working. The drive is ok and I can mount it using other 
methods. But this hot-swap USB method has some advantaged I'd like to use.



___
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: USB Hard Drive Dock

2010-08-02 Thread Bill Tillman


--- On Mon, 8/2/10, Roland Smith rsm...@xs4all.nl wrote:


From: Roland Smith rsm...@xs4all.nl
Subject: Re: USB Hard Drive Dock
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Monday, August 2, 2010, 3:42 PM


On Mon, Aug 02, 2010 at 10:18:46AM -0700, Bill Tillman wrote:

 I just purchased a setup which will allow me to access IDE and/or SATA
 drives through a USB port. Of course I was hoping for it to work with
 FreeBSD and in spite of the reviews which said it needed no Windows drivers
 as soon as I opened it up there was a CD with the drivers for Windows on it.

Take a look at the Windows driver, especially the .INF files that come with
it. Sometimes this gives you interesting info.

It may also help to add the ID of this particular chip to the list in the
umass driver. Maybe it also needs some quirks, as some other chips do.

 So apparently the FreeBSD server senses when this thing is connected but it
 cannot see the drive connected to it. BTW - The FreeBSD server only reports
 anything when I power up the drive on the device. So again I see there might
 be hope to access it.

With multi-card readers it sometimes helps to touch(1) the device node. Have
you tried that?

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
 
I will give the drivers on the CD the once over as you suggest. I'm curious 
about the touch command you recommend. By that do you mean I should
 
# touch /dev/da0s1
 
or 
 
# touch /dev/da0s1a...f
 
I didn't know that the newer versions of FreeBSD would allow you to write in 
/dev folder.




___
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 setting up a mail server

2010-07-20 Thread Bill Tillman
Message: 24
Date: Tue, 20 Jul 2010 14:05:13 -0400
From: Jerry McAllister jerr...@msu.edu
Subject: Re: Help with setting up a mail server
To: Odhiambo Washington odhia...@gmail.com
Cc: Aryeh M. Friedman aryeh.fried...@gmail.com,
    freebsd-questions@freebsd.org
Message-ID: 20100720180513.gb46...@gizmo.acns.msu.edu
Content-Type: text/plain; charset=iso-8859-1

On Tue, Jul 20, 2010 at 09:03:55PM +0300, Odhiambo Washington wrote:

 On Tue, Jul 20, 2010 at 4:46 PM, Aryeh M. Friedman
 aryeh.fried...@gmail.com wrote:
  On Tue, 20 Jul 2010 09:33:28 -0400
  Jerry freebsd.u...@seibercom.net wrote:
 
  On Tue, 20 Jul 2010 09:26:44 -0400
  Aryeh M. Friedman aryeh.fried...@gmail.com articulated:
 
   I am a consultant and was retained by my client to setup qmail or
   exim on a VPS running 8.0-STABLE (i386). After setting up the DNS
   (A record and MX record) we have been unable to send or receive
   mail. The client has/had a working script for installing qmail on
   7.1-STABLE but it seems to not work on 8.0-STABLE. They are using
   the same VPS provider who this 7.1-STABLE install script worked
   under. I have tried everything I can think of to make it work
   including asking obvious questions on -questi...@.
  
   I informed the client that the task is likely beyond me capabilities
   but I would help recruit someone who would be able to do it at a
   reasonable fee paid to them (I am acting as a no cost middle man on
   this [I am helping the client for free since I was unable to get it
   done]).
  
   Please send any ideas and/or offers to do the job
 
  I would seriously suggest that you consider installing Postfix. It is
  in the ports tree, is well maintained and works out of the box. The
  Postfix forum will be glad to give you any advice you need for setting
  up and securing your mail server. Qmail is no longer supported by its
  author and can be a nightmare to maintain.
 
 
  We had also tried sendmail and couldn't get that working either so I
  suspect it is a general config issue not a MTA one.  (I have set
  sendmail up about 30 times in the past so I know a little bit about it)
 
 Exim is a very good choice. Forget the Postfix suggestions. It's
 Sendmail's brother:-)

Sendmail comes from a good family.

jerry

 
 
 -- 
 Best regards,
 Odhiambo WASHINGTON,
 Nairobi,KE
 +254733744121/+254722743223
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 If you have nothing good to say about someone, just shut up!.
                -- Lucky Dube
 
At the risk of starting a flame war, I think sendmail gets a bad rap. It's not 
been the most widely used MTA for the last few decades because it sucks. It's 
about personal preference.
 
Now I know this may be redundant advice but I used to run an MTA and enjoyed 
having the use of it and freedom to have my own mailserver at home. But alas, 
the spammers have ruined that for all of us and almost every ISP out there will 
block port 25 by default. Even if they don't block port 25 it will only be a 
matter of time before they detect your outgoing mail traffic and then block you 
so that you're forced to purchase an add-on service to run your own MTA. They 
will use lame excuses that you've been blacklisted because of spam. It's simply 
their way of making you cough up extra dough for your service. This is one of 
the parts of the Internet that I really hate and long for the good old days.




___
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: /boot is full after running make installkernel on

2010-07-06 Thread Bill Tillman

Thanks guys.

:-)

Doesn't that seem odd that the default partition size for root
(512M) isn't quite big enough?

Should I make the partition size slightly larger (on future installs)
to eliminate this problem?

Ed


--
 
I had the same problem and since my drives are large I just started making all 
my new builds with / set for 1G. As I understand it this is not actually the 
solution the in the know folks recommend. I was advised to just delete 
kernel.old. Of course this will work but what about when you might need 
kernel.old to get you out of a jamb or just want to keep it for nostalgia.
 
I think I'm finally at the point where I will stop doing make buildworlds 
unless absolutely needed. I've been keen on doing this regularly but I really 
should adopt the policy of if it ain't broken don't fix it.


 
___
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: PDF storage software recommendations?

2010-06-18 Thread Bill Tillman

Date: Thu, 17 Jun 2010 23:31:15 -0700
From: Charlie Kester corky1...@comcast.net
Subject: Re: PDF storage software recommendations?
To: freebsd-questions@freebsd.org
Message-ID: 20100618063115.ga57...@comcast.net
Content-Type: text/plain; charset=us-ascii; format=flowed

On Thu 17 Jun 2010 at 19:57:03 PDT Polytropon wrote:

Maybe my answer will sound low level, but it works - REALLY works -
and works with mostly every kind of data.

It's good to see someone recommending a true Unix-style solution.  :)

Here, here.  I too love simple text files. With the speed of today's computers 
it's not impractical to use text files. And something like you suggest with awk 
I think would workexcept for one major thing. When building a database like 
this you usually have to build an interface that normal users will work with. 
And something that I could use versus something the other people in the office 
could use are often worlds apart. I once wrote a program to do linear 
optimization for cutting metal parts from stock lengths. For me it was a simple 
block of code about 30-40 lines as I recall. The other guys in the warehouse 
saw it and told the boss they wanted it too. He then instructed me to expand it 
so the common users could work with it. Well 2 months later and about another 
400 lines of code to make it user friendly we finally had something. So as I 
see it the interface for other not so tech-savvy users will be the trouble 
with this approach. But put me
 down for a vote on this method using simple text files and awk.
 
We have a Windows based system at my current job which uses FileMaker Pro. It's 
amazing what we can do with this and it's like having a gigantic electronic 
filing cabinet. It's pricey and it took the IT guys some time to build it but 
it does do some fantastic things in keeping tons of files organized, indexed 
and searchable. But I'd like to try my hand at building something with text 
files and awk.



___
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: Add watermark to PDF

2010-06-02 Thread Bill Tillman
Date: Tue, 1 Jun 2010 19:36:02 +0200
From: C. P. Ghost cpgh...@cordula.ws
Subject: Re: Add watermark to PDF
To: John Almberg jalmb...@identry.com
Cc: freebsd-questions@freebsd.org
Message-ID:
    aanlktimkc8ff4mk8gu3vut_vq28lej9tw0raiwj0u...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jun 1, 2010 at 4:15 PM, John Almberg jalmb...@identry.com wrote:
 So basically this script would have to read in the PDF and (ideally) a plain
 text file, and output a PDF with the plain text merged into the PDF as a
 footer.

Maybe this will help?
  http://www.reportlab.com/software/opensource/rl-toolkit/
There's even a FreeBSD port for it:
  print/py-reportlab2

 Any ideas, much appreciated.

 -- John

-cpghost.

I think the reportlab program is a bit overkill not to mention the huge 
learning curve. I have used the port 
 
 /usr/port/print/pdftk
 
with some success to insert watermarks, merge files and rotate the pages. 
Nothing beats the real thing when working with PDF files and while Adobe 
Acrobat Professional is not cheap, if your doing real work it's worth the 
investment.



___
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: Wireless

2010-05-26 Thread Bill Tillman
Several months ago I installed a Sabarent Wireless-G NIC using 
FreeBSD-7.2-STABLE. It took some reading about wpa_supplicant but I got it 
working both and a wireless node and a wireless access point for my laptop 
computers. While it worked I can't say it worked well. Sometimes the laptop 
would take 3-4 minutes before connecting. Sometimes it wouldn't connect at all. 
Most of the time it did connect but when it did the transfer rate was slow, 
slow, slow. It was so unpredictable and slow I redeployed my D-Link wireless 
router because it still just works very reliably and there seems to be no 
bottleneck on the speed. Wish this were not the case because I like using my 
FreeBSD servers. But right now this D-Link wireless router has been running 
24/7 for almost 4 months without interruption. Can't argue with results like 
this.


  
___
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


Diskless Booting Router

2010-05-26 Thread Bill Tillman
Thank to all who replied on my previous request for information about diskless 
booting. I am now that much closer to my goal of having a totally diskless 
router. It's working right now but there are still two major bugs I need to 
work out.
1. When the FreeBSD box which is my diskless router boots it gets an IP address 
and gateway information from the dhcp server. This dhcp server also server also 
serves IP addresses to all other machines on my LAN. The problem is when the 
2nd NIC which is attached to my cable modem picks up it's IP address from the 
cable modem the default route is already set and thus it doesn't get set to the 
modem's IP, thus I can't access anything outside of my LAN. I have manually 
deleted the default route and then added the correct route and all works well. 
But of course I need to automate this so it takes care of itself on reboot.
I'm thinking my choices here are to use a group in my dhcpd.conf file which 
doesn't assign a default router. I'm just wondering if this will work. My other 
choice would be if there is some flag or switch I could use in my /etc/rc.conf 
file for the 2md NIC's dhcp. Does dhclient allow the command to force whatever 
route comes from the cable modem to override the current default route? My last 
and most painful choice is to write a script which would sleep for a few 
seconds to wait on everything to settle down and then delete the default route 
and add a new one. The trouble with this is that occasionally the cable modem 
route will be different so hard coding into a script will mean that I will 
always have to be on the lookout for changes.
2. The second bug is that once the router is up and running even though I have 
built a new custom kernel to allow all by default, when I load my IPFW rules 
from /etc which is nfs mounted it craps out after the first rule is run and I 
have to reboot the server. I have temporarily worked around this by copying the 
set of IPFW rules into a file in the mfs area. When I riun it from there it 
goes well and then my router is working and in a true diskless manner.
Any advice would be appreciated.


  
___
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


Diskless Booting Can't Set /var in mfs larger than 4MB

2010-05-23 Thread Bill Tillman
I have a diskless workstation booting nicely but for some reason I cannot get 
the /var directory to set larger than 4MB. The docs I read said edit 
/pxeroot/conf/base/etc/fstab like this:

# DeviceMountpoint  FStype  Options       Dump
Pass#
md         /var           mfs      -s=30m,rw    0       
  0
md          /tmp          mfs      
-s=30m,rw    0         0
proc     /proc             procfs                rw 
  0         0

When I do this the /tmp directory sets up in mds at 30MB in size. But /var 
always comes up at only 4MB in size. Can anyone tell me how to adjust the size 
of /var in a diskless setup?



  



___
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: Very simple file sharing between FreeBSD server and

2010-05-14 Thread Bill Tillman
I've watched this thread for several days now and to put in my 2 cents:
 
1. Samba is not that complicated. I've been using it for years and can have it 
up and configured in a matter of minutes.
 
2. Samba quickly allows you to see your FreeBSD servers from your windows 
clients just like it was a Windows Server. A simple smb.conf file is all you 
need.
 
3. You can get a lot more complex setup with Samba with security, R/W options 
etc... but for what you're descibing I'd recommend Samba or use a graphical FTP 
client on your Windows clients to access your FreeBSD server. Command line FTP 
is an option but it's a lot more complicated than just setting up Samba.
 
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


make buildworld runs out of space

2010-03-17 Thread Bill Tillman
I have built two machines with 8.0-STABLE-201002-amd64. When I updated the 
sources and ran make buildworld process it would fail claiming that / was full.
 
It seems to be running into the problem when the make installkernel portion of 
my script was running. Both machines were built using the default of 512M for 
/. I rebuilt the machines with 1G / and all was well. But one shouldn't have to 
do this as 512M for / should be adequate.



___
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: Printing via USB Port

2010-02-27 Thread Bill Tillman


--- On Fri, 2/26/10, Robert Bonomi bon...@mail.r-bonomi.com wrote:


From: Robert Bonomi bon...@mail.r-bonomi.com
Subject: Re: Printing via USB Port
To: btillma...@yahoo.com
Date: Friday, February 26, 2010, 8:29 PM


 From owner-freebsd-questi...@freebsd.org  Fri Feb 26 18:20:29 2010
 Date: Fri, 26 Feb 2010 16:19:40 -0800 (PST)
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Printing via USB Port


 
  From: Warren Block wbl...@wonkity.com
  Subject: Re: Printing via USB Port
  Date: Friday, February 26, 2010, 5:38 PM
 
  On Fri, 26 Feb 2010, Bill Tillman wrote:
   
   Thanks again for your valuable input. I have set up lpd printing on my 
   old 
   FreeBSD server at least a dozen times and it became a simple routine to 
   do 
   with apsfilter.Let me see if I can place all my cards in one place and 
   perhaps we can find the bug.
 
  I think I found it. The HL-2040 is a GDI printer, aka winprinter (aka oh 
  no,
  one of those, aka I guess I didn't really want to print that after all).
  It won't respond to PCL, unlike the one I looked up first, the HL-2060.
 
  Based on http://beej.us/hl2040/:
 
   % cd /usr/local/libexec
   % cp ps2pcl ps2hl1250
 
  Change the line in ps2hl1250 to:
 
  /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=hl1250 -sOutputFile=- -
                                                  ^^
  And change the if= line in the printcap to refer to ps2hl1250.
 
  (And remember, buying winprinters just encourages them to make more.)
 
  -Warren Block * Rapid City, South Dakota USA

 Warren,

 Once again many thanks, but that is one of the first things I tried. By 
 checking ghostcript's drivers

 #gs -h | grep hl

 I found many drivers for the HL-12xx models. I have used this in my previous 
 setup with my old parallel server. I actually tried what you suggested and it
 only worked when using the parallel cable, not the USB. For some reason the 
 USB connection on this and any other FreeBSD server I connect to is DOA for
 printing. I run mouse and keyboard via USB. But these print jobs are lining 
 up in the queue and just sit there no matter how many times I reconnect the 
 printer, or reboot it or reboot the computer. And once again I'm seeing two 
 instances of lpd running when I only launched it from the command-line once,
 no entry in /etc/rc.conf.

 BigDell# ps -ax | grep lpd
 1311 ?? Is 0:00.00 lpd
 1329 ?? IE 0:00.00 lpd

 BigDell# lpq
 no entries

 BigDell# lpc status all
 lp:
  queuing is enabled
  printing is enabled
  no entries in spool area
  printer idle

 BigDell#

 This just don't make sense and I hope when we find it it's something we can
  laugh about.


OK, it's time to try some _basics_.   Can you throw data _directly_ at the
printer (i.e., *NOT* through lpr/lpd), and will it print?

You can't use a simple  'echo Hello, World! /dev/lp' to find out, because its 
a fscking 'winprinter'.

power everything down, connect the USB cable only, power up the printer first,
then the computer.

When it has come up, do you have a /dev/usb/lp0 device?

Have you created a symlink at /dev/lp that points to /dev/usb/lp0?


What happens if you do (as root) where 'testfile.ps' is a simple Postscript 
doc]:
    # /usr/local/libexec/ps2hl1250  testfile.ps /dev/usb/lp0

how about: 
    # /usr/local/libexec/ps2hl1250  testfile.ps /dev/lp


For that matter, what does find /dev -name '*lp*' -ls show?

If any of the names show as symlinks, do an 'ls -l' on the symlink target.

I'm guessing that /dev/lp is a 'character device' node, pointing to the 
parallel port; and when lpd tries tyo print to _that_ -- with only the USB
connection, --  it *doesn't*work* (for what is now an 'obvious' reason :)

 
Thanks for your reply. I hate to be such a noob about this but USB and FreeBSD 
don't ever seem to work right for me.
 
I tried the echo method
 
# echo Hello  /dev/lp
/dev/lp: Operation not supported.
 
So I then tried
# echo Hello  /dev/ulpt0
 
and I got an empty prompt until I pressed Ctrl+c to exit.
 
I disconnected everything except the keyboard which is PS2 and the monitor and 
rebooted the printer and computer allowing the printer to come up first. When I 
did a directory on the /dev/usb folder this is what shows up:
 
BigDell# ll /dev/usb/
total 0
crw---  1 root  operator    0,  72 Feb 27 07:40 0.1.0
crw---  1 root  operator    0,  76 Feb 27 07:40 0.1.1
crw---  1 root  operator    0,  94 Feb 27 02:40 0.2.0
crw---  1 root  operator    0,  96 Feb 27 02:40 0.2.1
crw---  1 root  operator    0,  97 Feb 27 02:40 0.2.2
crw---  1 root  operator    0,  87 Feb 27 02:40 0.3.0
crw---  1 root  operator    0,  89 Feb 27 02:40 0.3.1
crw---  1 root  operator    0, 100 Feb 27 02:40 0.3.2
crw---  1 root  operator    0,  74 Feb 27 07:40 1.1.0
crw---  1 root  operator    0,  77 Feb 27 07:40 1.1.1
 
I'm not so sure this is what we call a Windows printer. Maybe I'm off base 
there but by that if you mean it's not a real printer and relies on Windows to 
do most

RESOLVED: Printing via USB Port

2010-02-27 Thread Bill Tillman


--- On Fri, 2/26/10, Robert Bonomi bon...@mail.r-bonomi.com wrote:


From: Robert Bonomi bon...@mail.r-bonomi.com
Subject: Re: Printing via USB Port
To: btillma...@yahoo.com
Date: Friday, February 26, 2010, 8:29 PM


 From owner-freebsd-questi...@freebsd.org  Fri Feb 26 18:20:29 2010
 Date: Fri, 26 Feb 2010 16:19:40 -0800 (PST)
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Printing via USB Port


 
  From: Warren Block wbl...@wonkity.com
  Subject: Re: Printing via USB Port
  Date: Friday, February 26, 2010, 5:38 PM
 
  On Fri, 26 Feb 2010, Bill Tillman wrote:
   
   Thanks again for your valuable input. I have set up lpd printing on my 
   old 
   FreeBSD server at least a dozen times and it became a simple routine to 
   do 
   with apsfilter.Let me see if I can place all my cards in one place and 
   perhaps we can find the bug.
 
  I think I found it. The HL-2040 is a GDI printer, aka winprinter (aka oh 
  no,
  one of those, aka I guess I didn't really want to print that after all).
  It won't respond to PCL, unlike the one I looked up first, the HL-2060.
 
  Based on http://beej.us/hl2040/:
 
   % cd /usr/local/libexec
   % cp ps2pcl ps2hl1250
 
  Change the line in ps2hl1250 to:
 
  /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=hl1250 -sOutputFile=- -
                                                  ^^
  And change the if= line in the printcap to refer to ps2hl1250.
 
  (And remember, buying winprinters just encourages them to make more.)
 
  -Warren Block * Rapid City, South Dakota USA

 Warren,

 Once again many thanks, but that is one of the first things I tried. By 
 checking ghostcript's drivers

 #gs -h | grep hl

 I found many drivers for the HL-12xx models. I have used this in my previous 
 setup with my old parallel server. I actually tried what you suggested and it
 only worked when using the parallel cable, not the USB. For some reason the 
 USB connection on this and any other FreeBSD server I connect to is DOA for
 printing. I run mouse and keyboard via USB. But these print jobs are lining 
 up in the queue and just sit there no matter how many times I reconnect the 
 printer, or reboot it or reboot the computer. And once again I'm seeing two 
 instances of lpd running when I only launched it from the command-line once,
 no entry in /etc/rc.conf.

 BigDell# ps -ax | grep lpd
 1311 ?? Is 0:00.00 lpd
 1329 ?? IE 0:00.00 lpd

 BigDell# lpq
 no entries

 BigDell# lpc status all
 lp:
  queuing is enabled
  printing is enabled
  no entries in spool area
  printer idle

 BigDell#

 This just don't make sense and I hope when we find it it's something we can
  laugh about.


OK, it's time to try some _basics_.   Can you throw data _directly_ at the
printer (i.e., *NOT* through lpr/lpd), and will it print?

You can't use a simple  'echo Hello, World! /dev/lp' to find out, because its 
a fscking 'winprinter'.

power everything down, connect the USB cable only, power up the printer first,
then the computer.

When it has come up, do you have a /dev/usb/lp0 device?

Have you created a symlink at /dev/lp that points to /dev/usb/lp0?


What happens if you do (as root) where 'testfile.ps' is a simple Postscript 
doc]:
    # /usr/local/libexec/ps2hl1250  testfile.ps /dev/usb/lp0

how about: 
    # /usr/local/libexec/ps2hl1250  testfile.ps /dev/lp


For that matter, what does find /dev -name '*lp*' -ls show?

If any of the names show as symlinks, do an 'ls -l' on the symlink target.

I'm guessing that /dev/lp is a 'character device' node, pointing to the 
parallel port; and when lpd tries tyo print to _that_ -- with only the USB
connection, --  it *doesn't*work* (for what is now an 'obvious' reason :)
 
Okay guys this is finally working. I found the answer here:
 
http://forums.freebsd.org/showthread.php?p=64508
 
This didn't come up in my other searches. This morning I put in freebsd hl2040 
usb into my yahoo search and this came up.
 
Seems this guy got it to work by using unlpt0 not ulpt0. I had tried this 
before and was using the ifhp filter but that didn't work. So I did this with 
/etc/printcap:
 
lp|HL2040|Brother HL-2040:\
    :lp=/dev/unlpt0:\
    :af=/home/bill/hl1250.ppd:\
    :if=/usr/local/bin/foomatic-rip:\
    :lf=/var/log/lpd/hl2040.log:\
    :sh:sd=/var/spool/lpd/laser:

I got the hl1250.ppd file from openprinting.org. I edited the file like the 
poster said to do to be sure the gs program was pointed to by it's complete 
pathname. I then installed the foomatic-filter port because the foomatic-rip 
program was not on this machine. I also made myself a member of the deamon 
group like this post said, but I don't think this will actually be required. 
 
I'm in another room doing most of this by ssh to the FreeBSD box with the 
printer in another part of the house. I ran a postscript file through this and 
thought I heard the printer ejecting pages down the hall. To my surprise there 
were four perfectly formatted pages sitting in the output bin waiting

Re: RESOLVED: Printing via USB Port

2010-02-27 Thread Bill Tillman


--- On Sat, 2/27/10, Warren Block wbl...@wonkity.com wrote:


From: Warren Block wbl...@wonkity.com
Subject: Re: RESOLVED: Printing via USB Port
To: Bill Tillman btillma...@yahoo.com
Cc: Robert Bonomi bon...@mail.r-bonomi.com, freebsd-questions@freebsd.org
Date: Saturday, February 27, 2010, 2:26 PM


On Sat, 27 Feb 2010, Bill Tillman wrote:
 Okay guys this is finally working. I found the answer here:
  
 http://forums.freebsd.org/showthread.php?p=64508
  
 This didn't come up in my other searches.
 
 This morning I put in freebsd hl2040 usb into my yahoo search and this came 
 up.

Didn't you get my last message yesterday?  It had that very link.
 
 Seems this guy got it to work by using unlpt0 not ulpt0. I had tried this 
 before and was using the ifhp filter but that didn't work.

The printer is not HP or even PCL, so ifhp is likely not the right filter.

 So I did this with /etc/printcap:
  
 lp|HL2040|Brother HL-2040:\
     :lp=/dev/unlpt0:\
     :af=/home/bill/hl1250.ppd:\
     :if=/usr/local/bin/foomatic-rip:\
     :lf=/var/log/lpd/hl2040.log:\
     :sh:sd=/var/spool/lpd/laser:

It was probably the unlpt0 device that cured it.  Could you verify whether the 
plain lpd entry with the unlpt0 device works?

lp:\
     :lp=/dev/unlpt0:\
     :sh:\
     :mx#0:\
     :sd=/var/spool/lpd/lp:\
     :if=/usr/local/libexec/ps2hl1250: \
     :lf=/var/log/lpd-errs:

-Warren Block * Rapid City, South Dakota USA
 

OK, got the server and the printer back in their respective holes. Made the 
necessary changes on the server's config and it's working. Test pages et.al are 
being sent and printed like before but this time it's on the USB setup.
 
Warren, I must have been missing the forest for the trees. I saw your link but 
was convinced it was just another story about how it's not working. Anyway, 
turns out there is no need to make one a member of daemon group for this.
 
Now one last question. I print from two segments in my home LAN. One is 
10.0.0.0/24 which is where almost everything in the house is. The other is 
192.168.0.0/24 which is for all the wireless devices and guests who visit with 
their wireless laptops. I need to start lpd with -W parameter in order to get 
it to accept print jobs from the 192.168.0.0/24 wireless segment. So what is 
the proper syntax for this in /etc/rc.conf
 
lpd_enable=YES   
 
or should I just start lpd from /etc/rc.local where I can setup the command 
line as I need it?
 
Will test your other /etc/printcap settings listed above and report back.



___
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: RESOLVED: Printing via USB Port

2010-02-27 Thread Bill Tillman


--- On Sat, 2/27/10, Warren Block wbl...@wonkity.com wrote:


From: Warren Block wbl...@wonkity.com
Subject: Re: RESOLVED: Printing via USB Port
To: Bill Tillman btillma...@yahoo.com
Cc: Robert Bonomi bon...@mail.r-bonomi.com, freebsd-questions@freebsd.org
Date: Saturday, February 27, 2010, 2:26 PM


On Sat, 27 Feb 2010, Bill Tillman wrote:
 Okay guys this is finally working. I found the answer here:
  
 http://forums.freebsd.org/showthread.php?p=64508
  
 This didn't come up in my other searches.
 
 This morning I put in freebsd hl2040 usb into my yahoo search and this came 
 up.

Didn't you get my last message yesterday?  It had that very link.
 
 Seems this guy got it to work by using unlpt0 not ulpt0. I had tried this 
 before and was using the ifhp filter but that didn't work.

The printer is not HP or even PCL, so ifhp is likely not the right filter.

 So I did this with /etc/printcap:
  
 lp|HL2040|Brother HL-2040:\
     :lp=/dev/unlpt0:\
     :af=/home/bill/hl1250.ppd:\
     :if=/usr/local/bin/foomatic-rip:\
     :lf=/var/log/lpd/hl2040.log:\
     :sh:sd=/var/spool/lpd/laser:

It was probably the unlpt0 device that cured it.  Could you verify whether the 
plain lpd entry with the unlpt0 device works?

lp:\
     :lp=/dev/unlpt0:\
     :sh:\
     :mx#0:\
     :sd=/var/spool/lpd/lp:\
     :if=/usr/local/libexec/ps2hl1250: \
     :lf=/var/log/lpd-errs:

-Warren Block * Rapid City, South Dakota USA
 
Okay, we can put this one to rest. The simpler /etc/printcap above using 
ps2hl1250 which is a very short script works as well. No need to have to load 
the foomatic-filters port. Good thinking as this keeps the setup simple and 
easier.



___
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: RESOLVED: Printing via USB Port

2010-02-27 Thread Bill Tillman


--- On Sat, 2/27/10, Warren Block wbl...@wonkity.com wrote:


From: Warren Block wbl...@wonkity.com
Subject: Re: RESOLVED: Printing via USB Port
To: Bill Tillman btillma...@yahoo.com
Cc: Robert Bonomi bon...@mail.r-bonomi.com, freebsd-questions@freebsd.org
Date: Saturday, February 27, 2010, 2:26 PM


On Sat, 27 Feb 2010, Bill Tillman wrote:
 Okay guys this is finally working. I found the answer here:
  
 http://forums.freebsd.org/showthread.php?p=64508
  
 This didn't come up in my other searches.
 
 This morning I put in freebsd hl2040 usb into my yahoo search and this came 
 up.

Didn't you get my last message yesterday?  It had that very link.
 
 Seems this guy got it to work by using unlpt0 not ulpt0. I had tried this 
 before and was using the ifhp filter but that didn't work.

The printer is not HP or even PCL, so ifhp is likely not the right filter.

 So I did this with /etc/printcap:
  
 lp|HL2040|Brother HL-2040:\
     :lp=/dev/unlpt0:\
     :af=/home/bill/hl1250.ppd:\
     :if=/usr/local/bin/foomatic-rip:\
     :lf=/var/log/lpd/hl2040.log:\
     :sh:sd=/var/spool/lpd/laser:

It was probably the unlpt0 device that cured it.  Could you verify whether the 
plain lpd entry with the unlpt0 device works?

lp:\
     :lp=/dev/unlpt0:\
     :sh:\
     :mx#0:\
     :sd=/var/spool/lpd/lp:\
     :if=/usr/local/libexec/ps2hl1250: \
     :lf=/var/log/lpd-errs:

-Warren Block * Rapid City, South Dakota USA
 
Sorry to keep beating this dead horse but I forgot to mention that this also 
means that I didn't need the ppd file either. The ps2hl1250 takes care of 
everything through ghostscript. One less thing to worry about in the setup.
 
I guess the only thing left to do with this is to figure out an if/then module 
to decide whether the file is postscript or just plain text and then print just 
plain text without using the ghostscript portion. The ifhp filter did this and 
I will look there for ideas. Once in a blue moon I might actually print out 
some plain text files from one of the FreeBSD severs and I will need this 
functionality.
 
I'm going to write my HOWTO on this and shutup for now.



___
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: Printing via USB Port

2010-02-26 Thread Bill Tillman


--- On Fri, 2/26/10, C. P. Ghost cpgh...@cordula.ws wrote:


From: C. P. Ghost cpgh...@cordula.ws
Subject: Re: Printing via USB Port
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Friday, February 26, 2010, 3:44 AM


On Fri, Feb 26, 2010 at 2:28 AM, Bill Tillman btillma...@yahoo.com wrote:
 I tried cups but I could not get it to work even though it found the printer 
 on
 ulpt0:.

You may have the permissions-related problem described here:

http://farid.hajji.name/blog/2010/02/02/printing-woes-on-freebsd-8-with-cups/

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
 
Thanks, that's some very useful information but alas it did not help me. After 
further testing here is what I can say:
1. The ugen device does not show up in dmesg.

2. The ulpt0 device does show up and it clearly identifies the Brother-HL-2040 
printer on the other end of the USB cable.
 
# dmesg | grep ulpt
ulpt0: Brother HL-2040 series, class 0/0, rev 2.00/1.00, addr 2 on uhub0
ulpt0: using bi-directional mode

3, I edited /etc/devfs.rules as instructed and restarted the service. I then 
restarted cupsd. Nothing changed. I cold booted the entire setup but still cupd 
web interface will not find the printer. If I manually enter the printer and 
then install a ppd file for it I still get nothing to print.
 
This printer worked fine when I was using lpd and a parallel port. Also the 
apsfilter port is broken which makes it more difficult for a novice like me to 
get the correct setting for it with lpr method. So I was really looking forward 
to getting cupsd working this time round.
 
Any additional advice would be appreciated.
 



___
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: Printing via USB Port

2010-02-26 Thread Bill Tillman
Warren,
 
Thanks for your reply. Your answers are usually spot on but this is one of 
those difficult times when the Windows and Linux guys at work laugh their asses 
off at me for being such a FreeBSD die-hard. I thought it might be a faulty 
cable or even the printer shot it's wad so I moved it over to a Windows Vista 
machine and poof, 15 seconds later it had found it, installed the correct 
driver and printed two pages for me.
 
I tried your method below and even though I changed x attribute all I got was 
the following in the /var/log/lpd-errs file:
 
Feb 26 11:30:29 FreeBSD1 lpd[1413]: lp: cannot 
execv(/usr/local/libexec/ps2pcl): Exec format error
Feb 26 11:30:29 FreeBSD1 lpd[1412]: lp: job could not be printed 
(cfA000FreeBSD1.flgmsi.com)

So I added the standard #!/bin/sh line to the beginning of the ps2pcl file and 
nothing printed, not even error messages about what happened. And that seems to 
be what's going on here. I also tried the standard ifhp filter file shown in 
the handbook and switched the device from DJ500 to hl1250. This is the gs 
driver that worked before with the apsfilter method when the printer was on 
lpt0: The queue shows it's empty with no jobs waiting and the log files are 
void of any evidence of what happened to the job. The printer sits there as if 
nothing happened.
 
I understand these are difficult topics to overcome with FreeBSD as the docs 
are not always in synch with the OS. But just like before when I had trouble 
getting this laser printer to work under lpd until I found apsfilter it was 
difficult. Once I had that method down it was easy to setup again. It's got to 
be something simple here.
 
Thanks again for the advice. If you think of anything else please pass it on. 
In the meantime I'm still doing google and yahoo searches and will try again 
with the #freebsd channel.
 

--- On Fri, 2/26/10, Warren Block wbl...@wonkity.com wrote:


From: Warren Block wbl...@wonkity.com
Subject: Re: Printing via USB Port
To: Bill Tillman btillma...@yahoo.com
Date: Friday, February 26, 2010, 10:06 AM


Resending this off-list since my filter blocked the reply to Yahoo. I've 
unblocked Yahoo for now, but that probably won't last long.

On Fri, 26 Feb 2010, Warren Block wrote:
 On Fri, 26 Feb 2010, Bill Tillman wrote:
 
 This printer worked fine when I was using lpd and a parallel port. Also the 
 apsfilter port is broken which makes it more difficult for a novice like me 
 to get the correct setting for it with lpr method. So I was really looking 
 forward to getting cupsd working this time round.
 
 The original lpd will work with USB printers.  This will give you a 
 PostScript printer as the default lp.  (Following is collected from several 
 systems, please pardon if something was left out.)
 
 /etc/printcap:
 lp:\
     :lp=/dev/ulpt0:\
     :sh:\
     :mx#0:\
     :sd=/var/spool/lpd/lp:\
     :if=/usr/local/libexec/ps2pcl:\
     :lf=/var/log/lpd-errs:
 
 Create the spool directory:
 
  % mkdir /var/spool/lpd/lp
  % chmod 770 /var/spool/lpd/lp
 
 Create the PostScript to PCL filter (Brother HL2040 only understands PCL):
 
  % echo /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=ljet4 -sOutputFile=- 
-  /usr/local/libexec/ps2pcl
  % chmod +x /usr/local/libexec/ps2pcl
 
 Add lpd_enable=YES in /etc/rc.conf, and start it manually this time with 
 just
  % lpd
 
 More detail:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-intro-setup.html
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-advanced.html
 
 -Warren Block * Rapid City, South Dakota USA




___
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: Printing via USB Port

2010-02-26 Thread Bill Tillman
Okay, I have the setup like you show and at least now the jobs show up in the 
queue, but nothing makes it to the printer. It's funny because I can change the 
one line in /etc/printcap to point to lpt0 instead of ulpt0 and it works. I 
have both parallel and USB cables connected in this test setup, but the server 
I want to move the printer back to only has USB.
Something else that seems odd, when I rebooted and started lpd from the command 
line there are two instances of it showing up in the ps -ax output. Shouldn't 
only one be running?
After reboot and restarting lpd, the job is in the queue but nothing is 
printing when using the USB connection. Sorry to be so much trouble. I thought 
this would be one of those things that would just start working.


--- On Fri, 2/26/10, Warren Block wbl...@wonkity.com wrote:

From: Warren Block wbl...@wonkity.com
Subject: Re: Printing via USB Port
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Friday, February 26, 2010, 1:54 PM

On Fri, 26 Feb 2010, Bill Tillman wrote:

 Your answers are usually spot on but this is one of those difficult times 
 when the Windows and Linux guys at work laugh their asses off at me for being 
 such a FreeBSD die-hard.

That's like laughing at a chef when fast food is available.

 So I added the standard #!/bin/sh line to the beginning of the ps2pcl

Doh.  Time for me to create an article on this to avoid mistakes like that.

 file and nothing printed, not even error messages about what happened.

This probably means it works.  The ps2pcl filter expects PostScript input; it 
doesn't auto-format like apsfilter.  So format your print jobs in PS first.  
Many applications do that already (OpenOffice), or there are conversion 
programs like enscript (print/enscript-letter) for text.

  % enscript testfile.txt

Will format testfile.txt into PS and send it to the lp printer.

This works for me here--I reconnected my printer via USB to try it.

-Warren Block * Rapid City, South Dakota USA




___
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: Printing via USB Port

2010-02-26 Thread Bill Tillman


--- On Fri, 2/26/10, Warren Block wbl...@wonkity.com wrote:


From: Warren Block wbl...@wonkity.com
Subject: Re: Printing via USB Port
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Friday, February 26, 2010, 4:25 PM


On Fri, 26 Feb 2010, Bill Tillman wrote:

 Okay, I have the setup like you show and at least now the jobs show up in the 
 queue, but nothing makes it to the printer. It's funny because I can change 
 the one line in /etc/printcap to point to lpt0 instead of ulpt0 and it works. 
 I have both parallel and USB cables connected in this test setup, but the 
 server I want to move the printer back to only has USB.

[Please don't top-post, it makes replying harder.]

Some inexpensive printers don't auto-switch ports, so try disconnecting the 
parallel cable when testing USB.

 Something else that seems odd, when I rebooted and started lpd from the 
 command line there are two instances of it showing up in the ps -ax output. 
 Shouldn't only one be running?

If you have lpd_enable=YES in rc.conf, you don't need to start lpd from the 
command line.

There should still only be one running.  Is the second one grep, maybe?

 After reboot and restarting lpd, the job is in the queue but nothing is 
 printing when using the USB connection.

Check the status:

% lpc status lp

And try restarting the printer:

% lpc restart lp

-Warren Block * Rapid City, South Dakota USA
 
 

Warren,
 
Thanks again for your valuable input. I have set up lpd printing on my old 
FreeBSD server at least a dozen times and it became a simple routine to do with 
apsfilter. Let me see if I can place all my cards in one place and perhaps we 
can find the bug.
 
/etc/printcap

lp:\
 :lp=/dev/lpt0:\
 :sh:\
 :mx#0:\
 :sd=/var/spool/lpd/laser:\
 :if=/usr/local/libexec/ps2pcl:\
 :lf=/var/log/lpd-errs:

/usr/local/libexec/ps2pcl
===
#!/bin/sh
 
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=ljet4 -sOutputFile=- -

==
 
I start lpd and there is only one instance of it running. But then when I did 
this command:
 
lpr /tmp/ntpdate.ps
 
This file in my /tmp directory is a postscript formatted file. The job gets 
locked up in the queue, nothing prints and then there are two instances of lpd 
running. For now I am not running lpd from /etc/rc.conf. 
 
ps -ax | grep lpd
 1241  ??  Is 0:00.00 lpd
 1246  ??  IE 0:00.00 lpd
 
The USB side seems to be lost in it's own world. Again I tested the cable and 
the printer on the Windows box and it printed some very nice docs for me.
 
Here is some other output of dmesg that shows the printer is out there and the 
system is seeing it. Why it will not print is beyond my understanding now.
 
BigDell# dmesg | grep ulpt
ulpt0: Brother HL-2040 series, class 0/0, rev 2.00/1.00, addr 3 on usbus0
ulpt0: using bi-directional mode

BigDell# dmesg | grep ugen
ugen0.1: nVidia at usbus0
ugen1.1: nVidia at usbus1
ugen0.2: vendor 0x058f at usbus0
ugen0.3: Brother at usbus0
 
 
BigDell# ps -ax | grep lpd
 1241  ??  Is 0:00.00 lpd
 1246  ??  IE 0:00.00 lpd

BigDell# killall lpd
BigDell# ps -ax | grep lpd

BigDell# lpd

BigDell# ps -ax | grep lpd
 1311  ??  Ss 0:00.00 lpd

BigDell# lpr /tmp/ntpdate.ps

BigDell# lpq
lp is ready and printing
Rank   Owner  Job  Files Total Size
active root   14   /tmp/ntpdate.ps   22507 bytes

BigDell#





___
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: Printing via USB Port

2010-02-26 Thread Bill Tillman


--- On Fri, 2/26/10, Warren Block wbl...@wonkity.com wrote:


From: Warren Block wbl...@wonkity.com
Subject: Re: Printing via USB Port
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Friday, February 26, 2010, 5:38 PM


On Fri, 26 Feb 2010, Bill Tillman wrote:
  
 Thanks again for your valuable input. I have set up lpd printing on my old 
 FreeBSD server at least a dozen times and it became a simple routine to do 
 with apsfilter. Let me see if I can place all my cards in one place and 
 perhaps we can find the bug.

I think I found it.  The HL-2040 is a GDI printer, aka winprinter (aka oh no, 
one of those, aka I guess I didn't really want to print that after all).  It 
won't respond to PCL, unlike the one I looked up first, the HL-2060.

Based on http://beej.us/hl2040/:

  % cd /usr/local/libexec
  % cp ps2pcl ps2hl1250

Change the line in ps2hl1250 to:

/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=hl1250 -sOutputFile=- -
                                                ^^
And change the if= line in the printcap to refer to ps2hl1250.

(And remember, buying winprinters just encourages them to make more.)

-Warren Block * Rapid City, South Dakota USA
 
Warren,
 
Once again many thanks, but that is one of the first things I tried. By 
checking ghostcript's drivers
 
#gs -h | grep hl
 
I found many drivers for the HL-12xx models. I have used this in my previous 
setup with my old parallel server. I actually tried what you suggested and it 
only worked when using the parallel cable, not the USB. For some reason the USB 
connection on this and any other FreeBSD server I connect to is DOA for 
printing. I run mouse and keyboard via USB. But these print jobs are lining up 
in the queue and just sit there no matter how many times I reconnect the 
printer, or reboot it or reboot the computer. And once again I'm seeing two 
instances of lpd running when I only launched it from the command line once, no 
entry in /etc/rc.conf.
 
 
BigDell# ps -ax | grep lpd
 1311  ??  Is 0:00.00 lpd
 1329  ??  IE 0:00.00 lpd

BigDell# lpq
no entries

BigDell# lpc status all
lp:
    queuing is enabled
    printing is enabled
    no entries in spool area
    printer idle

BigDell#

This just don't make sense and I hope when we find it it's something we can 
laugh about.



___
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


Printing via USB Port

2010-02-25 Thread Bill Tillman
I had a nifty setup with an old computer running as my FreeBSD file and print 
server. Worked so good I decided to update the computer. But since most 
computers no longer come with parallel port for printing I'm forced to use the 
USB feature on my Brother HL-2040 printer.
 
In the previous setup I used apsfilter to install the proper filter and entries 
for /etc/printcap. But alas, apsfilter won't install right now because the 
hpijs port is broken. Short of this, can anyone recommend a way around this. I 
tried cups but I could not get it to work even though it found the printer on 
ulpt0:.



___
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


Marvell Yukon LAN Adapters

2010-02-19 Thread Bill Tillman
I just built a screaming machine with X58i motherboard, i7 CPU and 12 GB RAM. 
But alas, besides problems with loading Windows on it I seemed to have hit a 
snag with FreeBSD as well. 

The motherboard has two built-in Gigabyte Ethernet ports which 
FreeBSD-8.0-STABLE-2010002-amd64 identifies as msk0 and msk1. All seems well 
when the machine boots and I get an IP address from my dhcp server. I can even 
make a connection via ftp or ping something but it won't be long before I start 
seeing Tx descriptor error messages and then watchdog timeout message for the 
NIC which is running. I've tried with both NIC's, swapped out cables, changed 
switches, etc...but this keeps happening.
My LAN runs on 10/100 switches, I don't have the $$ to upgrade my switches and 
NICs to Gigabyte yet. But it's my understanding that these NIC's will 
auto-detect the speed of my LAN and adjust accordingly, or maybe not.
Some google searches show this to be a wide spread problem and indicate that 
the FreeBSD drivers were fixed sometime in Decemnber or January. So if I 
installed the lastest STABLE code I'm not sure why this is happening.
Anyone have some advice on this?



___
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


FreeBSD to Cisco ASA 5505 VPN Connection

2010-02-17 Thread Bill Tillman
I have a small dilemma. The boss finally relented and is allowing me to work 
from home. This is a good deal for him too I just have to convince him. They 
have a Cisco ASA 5505 VPN router at the office. I have a wonderfully working 
LAN that uses a FreeBSD-7.2-STABLE server running NATD+IPFW. This in turn 
connects to a cable modem to my ISP and I couldn't be happier with it. All is 
well.

Now my employer wants me to use a VPN server on my end to connect to his VPN. 
Okay cool I think Open VPN would do the trick. WRONG...Open VPN does not work 
with Cisco ASA 5505 routers. In fact, Open VPN doesn't work with alot of Cisco 
equipment. So much for trying to connect my router directly to their router. 
But I do have a small Cisco/Linksys RV042 VPN router which does talk to their 
Cisco router. So we tried hooking this up. First behind my router because I 
felt it would be safer there and I only need it for a VOIP phone they gave me. 
That's all this exercise was about was to allow the phone to work securely for 
their Asterisk system. I know there are other ways to do this but the techs 
don't want to mess with the Asterisk server because it will void the support 
contract and warranty.
Through trial and error I finally got this small router to work but I had to 
put in on the outside of my FreeBSD router. No big deal really, seems to be 
safe as it has a firewall and the only thing connected to it besides my other 
FreeBSD router which is tight as a drum, is the VOIP phone which works quite 
well.
The tech told me that I need to forward ports 500 and 4500 with my FreeBSD 
router to the small VPN router inside my LAN. That's simple enought but then he 
tells me I need to redirect all EPS and all AH traffic as well. I guess this is 
where FreeBSD+NATD+IPFW hits the wall when working with Cisco or is it? I gotta 
believe this can work but I don't know how the heck to do it and the tech at 
our IT consultant is totally lost when it comes to anything besides Cisco 
equipment.
Has anyone got a suggestion on how to do a port redirect with natd to pickup 
these EPS and AH packets. I added some new lines to my /etc/natd.conf file and 
the AH part seemed ok but the console screen immediately said what the heck is 
EPS. And worse it did not work. Only when I put the VPN router outside of my 
existing router does this setup work. I really want to keep this thing inside 
my LAN or even better would be how do I get my existing router to work as a VPN 
on it's own?

  


  
___
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: FreeBSD to Cisco ASA 5505 VPN Connection

2010-02-17 Thread Bill Tillman

--- On Wed, 2/17/10, Chuck Swiger cswi...@mac.com wrote:


From: Chuck Swiger cswi...@mac.com
Subject: Re: FreeBSD to Cisco ASA 5505 VPN Connection
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Wednesday, February 17, 2010, 5:17 PM


Hi--

On Feb 17, 2010, at 3:06 PM, Bill Tillman wrote:
 The tech told me that I need to forward ports 500 and 4500 with my FreeBSD 
 router to the small VPN router inside my LAN. That's simple enought but then 
 he tells me I need to redirect all EPS and all AH traffic as well. I guess 
 this is where FreeBSD+NATD+IPFW hits the wall when working with Cisco or is 
 it? I gotta believe this can work but I don't know how the heck to do it and 
 the tech at our IT consultant is totally lost when it comes to anything 
 besides Cisco equipment.
 Has anyone got a suggestion on how to do a port redirect with natd to pickup 
 these EPS and AH packets. I added some new lines to my /etc/natd.conf file 
 and the AH part seemed ok but the console screen immediately said what the 
 heck is EPS. And worse it did not work. Only when I put the VPN router 
 outside of my existing router does this setup work. I really want to keep 
 this thing inside my LAN or even better would be how do I get my existing 
 router to work as a VPN on it's own?

When I was dealing with the Cisco VPN client, I was doing so with IPFW+natd and 
you need 500/udp, 4500/udp, 62515/udp, 1723/tcp, 1/tcp, and the GRE 
protocol.  In my case, /etc/natd.conf contained:

punch_fw 1:100
redirect_proto gre 10.1.1.247
redirect_port udp 10.1.1.247:500 500
redirect_port udp 10.1.1.247:4500 4500
redirect_port udp 10.1.1.247:62515 62515
redirect_port tcp 10.1.1.247:1 1
redirect_port tcp 10.1.1.247:pptp pptp

...to send the traffic to a VPN endpoint located at IP 10.1.1.247.

Regards,
-- 
-Chuck


Thanks for everyone's valuable input on this. I'm still new to all this 
protocol and port forwarding topics.
 
As I see it, in the /etc/protocols file they list esp, ah and gre
 
so I would need all of this in my /etc/natd.conf like this:
 
punch_fw 1:100
redirect_proto gre 10.0.0.252
redirect_proto esp 10.0.0.252
redirect_proto ah 10.0.0.252
redirect_port udp 10.0.0.252:500 500
redirect_port udp 10.0.0.252:4500 4500
redirect_port udp 10.0.0.252:62515 62515
redirect_port tcp 10.0.0.252:1 1
redirect_port tcp 10.0.0.252:pptp pptp

 
 
The VPN router inside my LAN is 10.0.0.252. Then I added these rules to my ipfw 
rule set:
 
ipfw add allow udp from any to any 500
ipfw add allow udp from any to any 4500
ipfw add allow udp from any to any 62515
ipfw add allow tcp from any to any 1
ipfw add allow tcp from any to any 1723

The VPN router makes the connection to the other Cisco router but the phone 
still does not work. I turned the firewall in my VPN router off but still no 
go. This only works when I place the VPN router upstream of my router so it's 
got to be something in my FreeBSD router which is not letting the traffic 
through. I've been checking my /var/log/security file but don't see anything 
being blocked that's related to this.



___
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: Wireless Access Point

2010-02-07 Thread Bill Tillman
Thanks to everyone for the great advice. For clarity on this I erased all the 
other previous messages.
 
The bottome line is I got it to work. It was a problem with my NATD setup on 
the server inside the LAN which is running as AP for the wireless computers in 
my house. It's all working grea. And like some of you pointed out I was 
natd_interface-ing to the wrong interface. That's all fixed now but there are a 
few bigs which I don't know can be worked out.
 
The extisting wireless D-Link router has been trouble free since I installed it 
and we routinely acheive download speeds on the wireless machines in excess of 
100KB/s. It's also very fast to assign IP's and it just seems to work every 
time. So why replace it you ask...because I'm a stupid hack who just can't stop 
experimenting with FreeBSD servers. And I do want to use this new AP server to 
replace my old file server which is running DHCP for the 10.0.0.0/24 segment 
and is running Samba and aloowing wireless people who visit my house to store 
and share files. The whole thing works great as it is but the old FreeBSD 
server is old and needs to go and the D-Link router is well just needs to go.
 
Now the problem is that the new AP server while the CPU us very fast and I have 
two massive 2 TB drives in it, is not up to snuff on the wireless AP. It can 
take forever to get an IP address and most of the time I only end up with 
limited connection. The worst thig though is that even when I do make s soild 
connection with this AP the download speed is horrendously slow. Last night I 
began downloading the ISO-DVD1 image of the 8.0 source from freebsd.org and the 
max speed I got was only 39KB/s which means the download would have taken 
almost 10 hours. On the other hand I resetup with the D-Link router and the 
download was only going to take 90 minutes for the same file.
 
Guess I'm not out of the woods on this one yet. But again thanks to all who 
replied and offered the helpful advice.



___
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: Wireless Access Point

2010-02-07 Thread Bill Tillman

Okay bad news.
 
There were just too many problems with this setup. I recall a few weeks ago 
building an 8.0 server and it had troubles as well. So I reinstalled 
7.2-RELEASE on this server and here's what happened:
 
The laptop got an IP address and connected not instantly but much quicker than 
when I was running 8.0-STABLE.
 
The download speed from ftp.freebsd.org was over 200KB/s instead of 39KB/s like 
last night under 8.0-STABLE
 
I'm still testing this today but this NIC at least (Saberent using the ral0 
chip) appears to have big problems under 8.0-STABLE
 
 



___
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


Wireless Access Point

2010-02-06 Thread Bill Tillman
Okay I have finally decided to scrap my old D-Link wireless router in favor of 
my FreeBSD-8.0 server with a wireless NIC ral0. I have thus far got the NIC to 
come up and work as an access point. I can connect to this AP with my laptop 
computer via wireless. I'm running dhcpd on the FreeBSD server so my laptop is 
also assigned an IP address as well.
 
My existing setup has a FreeBSD server running as a router/gateway for my 
entire LAN. This router has two NICs one connected to the cable modem from my 
ISP and one connected to a switch on 10.0.0.0/24 Lan.
 
The existing D-Link router has it's WAN port connected to this same switch and 
it gets a 10.0.0.0/24 IP address from another FreeBSD server running dhcpd. 
This D-Link router is running dhcpd and it assigns 192.168.0.0/24 IP addresses 
to all wireless clients. When a wireless client boots up in my house they 
connect to this D-Link router and all is well.
 
This setup is working fine as all the workstations on 10.0.0.0/24 can access 
the Internet and all wireless clients on 192.168.0.0/24 can access the Internet.
 
Now my new FreeBSD-8.0-STABLE server seems to be almost ready to take over for 
the D-Link router and my old FreeBSD server. I have two NIC's in this server, 
an ethernet cable one (bge0) and the wireless NIC (ral0) or wlan0. 
 
I can ping outside addresses from this new server but of course it's using the 
10.0.0.0/24 segment which I knew would work. But even though the wireless 
clients can connect to the wirless NIC and be assigned an IP address and can 
ping the IP address of the server, both of them,  I cannot access the Internet 
from any of the wireless machines. I could use some advice on what to do to 
correct this. 
 



___
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: Wireless Access Point

2010-02-06 Thread Bill Tillman


--- On Sat, 2/6/10, Warren Block wbl...@wonkity.com wrote:


From: Warren Block wbl...@wonkity.com
Subject: Re: Wireless Access Point
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Saturday, February 6, 2010, 1:45 PM


On Sat, 6 Feb 2010, Bill Tillman wrote:
...
 Now my new FreeBSD-8.0-STABLE server seems to be almost ready to take over 
 for the D-Link router and my old FreeBSD server. I have two NIC's in this 
 server, an ethernet cable one (bge0) and the wireless NIC (ral0) or wlan0.
...  
 I can ping outside addresses from this new server but of course it's using 
 the 10.0.0.0/24 segment which I knew would work. But even though the wireless 
 clients can connect to the wirless NIC and be assigned an IP address and can 
 ping the IP address of the server, both of them,  I cannot access the 
 Internet from any of the wireless machines. I could use some advice on what 
 to do to correct this.

Sounds like NAT is working for the internal wired interface, but not the 
wireless interface.  Check your firewall rules.

-Warren Block * Rapid City, South Dakota USA
 
Thanks for your reply. The new FreeBSD-8.0-STABLE server is currently not 
running a firewall. I have that taken care of with the other FreeBSD router 
10.0.0.253.
 
In this other router I do have IPFW running and have assigned 
natd_interface=rl0. My new server is doing a make buildworld right now so I 
can't test this right away, but it sounds like I need to add 
natd_interface=wlan0 in the /etc/rc.conf file. Is there a way to add this to 
the setup without editing /etc/rc.conf and restarting the system? Otherwise I 
have to wait until the make buildworld is over. This is a very fast machine so 
it shouldn't be long.



___
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


  1   2   3   >