Re: pf firewall and ftp

2012-04-16 Thread David Walker
There's also web available manuals for probably every release of OpenBSD here:
http://www.openbsd.org/cgi-bin/man.cgi

http://www.openbsd.org/cgi-bin/man.cgi?query=pf.confmanpath=OpenBSD+4.5
___
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: Moved drives ...

2012-03-15 Thread David Walker
Hey.

On 15/03/2012, ill...@gmail.com ill...@gmail.com wrote:

 Yes, you can change the fstab (if you can get in via mountroot:
 at the boot prompt, I believe) from single user mode.

I've read boot(8) to some degree and tried interrupting boot and so on.
At some point I get a ...
mountroot
... prompt which I guess is what you refer to.
I'm not sure how to influence this - there seems to be no keyboard
control at any rate ...

I've decided to re-install FreeBSD rather than try to learn about this - lazy.
During install, although FreeBSD correctly recognizes all the drives
and allows me to select one as a target and use whole, when it gets
to slicing up the drive and presents the list of all drives, it
incorrectly shows the first drive (the Windows drive) as having UFS
partitions and so on - that drive is a single NTFS slice ...
Needless to say there's no way I'm proceeding with install.

So I leave the cabling order (which is what I originally changed
prompting me to email the list) but unplug the Windows drive and
install FreeBSD.
Reboot and ... same situation.
Sort of expected.

Presumably, this is an understood situation with a simple workaround
(failed drives etcetera).
Please let me know (man pages accompanied by cluesticks are fine - I'm
new here).

  If you'd've
 used labels (either glabel or tunefs -L) you'd not have to change
 your /etc/fstab at all.

I'd have no problem with that ... except it's not given as an option
during install as far as I can see.


 --
 --


Best wishes.
___
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


Moved drives ...

2012-03-14 Thread David Walker
Hey.

I had installed 9.0 to a SATA drive (ada1 I think) and went to install
Windows on a higher numbered drive but Windows doesn't like that or so
I gathered.
Anyway, I moved drives around and installed Windows - FreeBSD is now
ada2 I think.
I'm used to OpenBSD where fixing this is a vi fstab ...
What's the procedure on FreeBSD?

Best wishes.
___
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


Mouse disconnecting and reconnecting ...

2012-03-08 Thread David Walker
Hey.

I've recently installed 9.0 amd64 and X11 and Gnome.

Here is my rc.conf mouse stuff:

moused_nondefault_enable=NO

Originally I'd bump the mouse and see it doing stuff on the console
and although it's a common mouse (a few weeks old) apparently it's
regarded as a non-default mouse.

I notice on the console (ttyv0) the following message repeated over
and over (say once a minute or so):

ugen4.2: Microsoft at usbus4 (disconnected)
ums0: at uhub4, port 2, addr 2 (disconnected)
ugen4.2: Microsoft at usbus4
ums0: Microsoft Microsoft Basic Optical Mouse v2.0, class 0/0, rev
1.10/1.04, addr 2 on usbus4
ums0: 3 buttons and [XYZ] coordinates ID=0

I don't use mouse on the console so no problem.

Anyway, when I use Gnome, if I hover over something that can be
clicked or selected ... it will be clicked or selected without me
presing the left mouse button - this happens consistently and takes a
few seconds.
I'm not sure if those two things are connected (the message on the
console and the automatic mouse in Gnome) but I'm interested in
finding out.

dmesg follows.

Best wishes.

Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
CPU: AMD Athlon(tm) II X2 250 Processor (3013.68-MHz K8-class CPU)
  Origin = AuthenticAMD  Id = 0x100f62  Family = 10  Model = 6  Stepping = 2
  
Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
  Features2=0x802009SSE3,MON,CX16,POPCNT
  AMD 
Features=0xee500800SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!
  AMD 
Features2=0x37ffLAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT
  TSC: P-state invariant
real memory  = 4294967296 (4096 MB)
avail memory = 4075315200 (3886 MB)
Event timer LAPIC quality 400
ACPI APIC Table: GBTGBTUACPI
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 2.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: GBT GBTUACPI on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, cfce (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 900
acpi_timer0: 32-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pcib0: Length mismatch for 3 range: 2ed0 vs 2ee1
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge irq 18 at device 2.0 on pci0
pci1: ACPI PCI bus on pcib1
vgapci0: VGA-compatible display port 0xef00-0xef7f mem
0xfb00-0xfbff,0xd000-0xd7ff,0xde00-0xdfff irq
18 at device 0.0 on pci1
nvidia0: GeForce GT 520 on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
hdac0: NVidia (Unknown) High Definition Audio Controller mem
0xfcffc000-0xfcff irq 19 at device 0.1 on pci1
pcib2: ACPI PCI-PCI bridge irq 18 at device 10.0 on pci0
pci2: ACPI PCI bus on pcib2
re0: RealTek 8168/8111 B/C/CP/D/DP/E PCIe Gigabit Ethernet port
0xde00-0xdeff mem 0xfdfff000-0xfdff,0xfdfe-0xfdfe irq 18
at device 0.0 on pci2
re0: Using 1 MSI-X message
re0: Chip rev. 0x3c00
re0: MAC rev. 0x0040
miibus0: MII bus on re0
rgephy0: RTL8169S/8110S/8211 1000BASE-T media interface PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX,
100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master,
1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow,
1000baseT-FDX-flow-master, auto, auto-flow
re0: Ethernet address: 6c:f0:49:71:50:6b
ahci0: ATI IXP700 AHCI SATA controller port
0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f
mem 0xfe02f000-0xfe02f3ff irq 22 at device 17.0 on pci0
ahci0: AHCI v1.10 with 6 3Gbps ports, Port Multiplier supported
ahcich0: AHCI channel at channel 0 on ahci0
ahcich1: AHCI channel at channel 1 on ahci0
ahcich2: AHCI channel at channel 2 on ahci0
ahcich3: AHCI channel at channel 3 on ahci0
ahcich4: AHCI channel at channel 4 on ahci0
ahcich5: AHCI channel at channel 5 on ahci0
ohci0: OHCI (generic) USB controller mem 0xfe02e000-0xfe02efff irq
16 at device 18.0 on pci0
usbus0: OHCI (generic) USB controller on ohci0
ohci1: OHCI (generic) USB controller mem 0xfe02d000-0xfe02dfff irq
16 at device 18.1 on pci0
usbus1: OHCI (generic) USB controller on ohci1
ehci0: EHCI (generic) USB 2.0 controller mem 0xfe02c000-0xfe02c0ff
irq 17 at device 18.2 on pci0
usbus2: EHCI version 1.0
usbus2: EHCI (generic) USB 2.0 controller on ehci0
ohci2: OHCI (generic) USB controller mem 

Re: sysinstall

2012-03-06 Thread David Walker
Da Rock freebsd-questions at herveybayaustralia.com.au
 What tv card? Mine work fine

Thread here:
http://lists.freebsd.org/pipermail/freebsd-drivers/2012-February/001370.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: sysinstall

2012-03-05 Thread David Walker
Nikola Pavlović nzp at riseup.net
 OK, here goes: (in Nelson Muntz's voice) Haha, you clown, that's what
 you get for believing what documentation says.  Use a magnetized needle
 and a steady hand you buffoon!

 There.  I respect! :)

Well played.

It's a serious issue for me after 15 years of Windows on the desktop
to change environment to FreeBSD.
I've reached this point after lengthy deliberation with the intent to
change once only.

While I consider it disappointing and surprising that man pages are
suspect (no doubt most are accurate) the bottom line is the community
response which includes man page writers and you and me.
Well played there too.

Disregarding any hiccups, I'm running FreeBSD on my main machine, I've
installed X11 and Gnome and it works better than I could have
envisoned - the first video I went to on YouTube played ... roll on
HTML5 ... sound works ...

Fix my tv card and I'll shut up. :]

Best wishes.
___
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: sysinstall

2012-03-04 Thread David Walker
Nikola Pavlović nzp at riseup.net
 If you did it the normal way

Please define normal.

As per the way you do it? Surely that's not what you mean right?

As per the handbook?
As per the man pages?

As per the way I usually do it?
I'm new here so I don't have a normal way other than spending hours
reading documentation ... and telling myself that everything that goes
wrong is probably my fault.
That's my normal way when I'm using new software.

That's also my normal way when I'm familiar with something.
Please tell me if that methodology is not as good as yours ...

 with bsdinstall then I guess everything
 would install correctly.

I guess that also.
Please read man sysinstall for me and point out why I should be
guessing whether or not system utilities are intended to function as
described.
Replies to the list are fine.

  But anyway, you can use the other methods
 mentioned in the handbook.

... and anyway, if cp(1) fails I can use dump(8) instead.
Problem solved.

  Doing it with

 # portsnap fetch extract

 seems the most straight forward way to me.

Sysinstall seems the most straight forward way to me.

It might be of interest to you that after spending an hour or so with
sysinstall I proceeded to spend an hour or so with portsnap before it
appeared to work.
My undocumented experience with it and what you apparently consider
are normal and/or straight forward, seem, under the circumstances, of
no import.

If you want to espouse an opposing view without explanation or
ridicule my methodology, knock yourself out but please do it like I'm
your friend.
A simple use portsnap you clown probably would have done it for me
and put a smile on my face.
In my experience that's the normal and most straight forward way
someone who respects me might approach this ...

Best wishes.
___
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


sysinstall

2012-03-03 Thread David Walker
So I installed amd64 9.0 tonight and decided against installing ports.
I'm at a point now where I'm thinking about adding it and I see sysinstall:
http://www.freebsd.org/doc/handbook/ports-using.html
Looks easy.

For some unknown reason sysinstall spits the following:

Warning: The disc currently in the drive is either not a FreeBSD
disc or it is an older (pre 1.2.5) FreeBSD CD which does not have a
version number on it. Do you wish to use this disc anyway?

Like any sane person who burned this CD a few hours previously on the
same machine from within FreeBSD and then installed from it shortly
afterwards I click Yes ...

So that doesn't work.
I wonder what would have happened if I had elected to install ports
during the initial install ...

I'm here if anyone's bothered and wants more information.

Best wishes.
___
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: sysinstall

2012-03-03 Thread David Walker
So of course I can't install source using sysinstall either ...

No problem, I'll re-install (reverting a few hours of work) and do it
on the install.
Of course it works perfectly - I am able to install ports and src from
the CD that sysinstall fails on ...

As I'm getting used to though, there's more facepalming ...

I'll do what I'm accustomed to do ... and partition my drive ... this
should be easy.
/ 1GB swap 1GB /root 1GB /tmp /1GB /usr 50GB etcetera ...

FreeBSD can't extract root/.profile from base.txz (or similar)
avanothergo or exit ...
No worries, it's a bit of dust, avanothergo ...
Rinse and repeat x times - so I pull the CD out of the drive and rinse.
Looks pretty clean ... try again.
FreeBSD can't extract etcetera.

I installed from this CD a few hours previously on a brand new (a
handful of uses) drive. I remember reading somewhere that 2GB is a
recommended size for / (don't ask me where, I've looked) but I've
taken this into account with a separate /root right?
Let's bump all of them anyway.
/ 2GB swap 2GB /root 2GB /tmp /2GB /usr 50GB etcetera ...

FreeBSD can't extract some file from some where ...
... avanothergo and use the default partitioning scheme, it must be
the CD but I'll verify that ...
So after an hour or so, success.

I'm interested in the reason for this. Surely not inodes?
Is this considered a bug?
Is there at least one reason why a separate /root slice should not be allowed?
If so, I think it would be nice to see an error message that describes
the situation.

On 04/03/2012, David Walker davidianwal...@gmail.com wrote:
 So I installed amd64 9.0 tonight and decided against installing ports.
 I'm at a point now where I'm thinking about adding it and I see sysinstall:
 http://www.freebsd.org/doc/handbook/ports-using.html
 Looks easy.

 For some unknown reason sysinstall spits the following:

 Warning: The disc currently in the drive is either not a FreeBSD
 disc or it is an older (pre 1.2.5) FreeBSD CD which does not have a
 version number on it. Do you wish to use this disc anyway?

 Like any sane person who burned this CD a few hours previously on the
 same machine from within FreeBSD and then installed from it shortly
 afterwards I click Yes ...

 So that doesn't work.
 I wonder what would have happened if I had elected to install ports
 during the initial install ...

 I'm here if anyone's bothered and wants more information.

 Best wishes.

___
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


Simple question about pkg_add ...

2012-02-28 Thread David Walker
Hey.

I believe I have a pcmcia card that requires upgt firmware.
From upgt(4) ...

 This driver requires the upgtfw firmware to be installed before it will
 work.  The firmware files are not publicly available.  A package of the
 firmware which can be installed via pkg_add(1) is available:

   http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz

pkg_add http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz
Fetching http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz... Done.
pkg_add: unable to open table of contents file '+CONTENTS' - not a package?

Best wishes.
___
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: Simple question about pkg_add ...

2012-02-28 Thread David Walker
Hi Polytropon.

I did have a look inside and I did pkg_add -v which gives enough
information combined with my meagre knowledge to guess that it had
something to do with source.
I'm so unfamiliar with pkg_add I'm not sure if that is normal.
I'm very new here.
Certainly it's not in a suitable format for pkg_add to deal with.

I guess pkg_add is the preferred option for firmware installation.
I'll contact the maintainer.

On 29/02/2012, Polytropon free...@edvax.de wrote:
 On Wed, 29 Feb 2012 01:52:13 +1030, David Walker wrote:
 Hey.

 I believe I have a pcmcia card that requires upgt firmware.
 From upgt(4) ...

  This driver requires the upgtfw firmware to be installed before it
 will
  work.  The firmware files are not publicly available.  A package of
 the
  firmware which can be installed via pkg_add(1) is available:

 http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz

 pkg_add http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz
 Fetching http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz...
 Done.
 pkg_add: unable to open table of contents file '+CONTENTS' - not a
 package?

 Did you have a look at what's inside the .tar.gz file?
 A directory upgt-firmware-2.13.1.0 with the following
 files: Makefile, distinfo, pkg-descr, and pkg-plist.

 Obviously, that's not a binary package for pkg_add use.
 It's a port.

 Extract the file and use it with the port infrastructure
 (i. e. make install).

 Seems that the instruction in man 4 upgt is just missing
 the proper terminology...



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


kern/94369: [bktr] [patch] Patch to support Leadtek WinFast Tv2000 XP bktr card

2012-02-26 Thread David Walker
Hi.

I have one of these cards.
I notice the PR is open - does this mean the patch was not committed?

Is there anything I can do to get eyeballs on this?
I've never compiled from source or applied a diff but if it needs
testng and someone's willing to give me a basic outline of the
procedure I'll see if I can avago.
Learning this stuff is on my todo list for this decade but time is short.

Best wishes.
___
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


Using Gnome ...

2012-01-17 Thread David Walker
A colleague and I were talking about operating systems and I said, hey
lets install FreeBSD and see what Gnome looks like.
I did an install at work but ran out of time so I brought another
machine home but I'm having trouble.

I burnt an ISO of 9.0 and installed it.

I did a pkg_add ...
# pkg_add -r gnome2
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html
http://www.freebsd.org/gnome/docs/faq2.html#q1

I tried to enable Gnome by editing /etc/rc.conf ...
gdm_enable=YES
gnome_enable=YES
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html
http://www.freebsd.org/gnome/docs/faq2.html#full-gnome
Note the difference there.

If I reboot I get a message to the console that gdm is starting but it
goes to a console login.

Is there anything else I need to do?

Best wishes.
___
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: Using Gnome ...

2012-01-17 Thread David Walker
Thanks to all the quick and helpful replies.

Getting the low hanging fruit out of the way first ...

On 18/01/2012, Warren Block wbl...@wonkity.com wrote:
 At least some of the desktop environments don't actually depend on X, so
 it may not have even been installed.  'pkg_info -Ix xorg-server' should
 show xorg-server installed.  Otherwise, 'pkg_add -r xorg' is needed.

# pkg_info -x xorg-server
pkg_info: no packages match pattern(s)

:]

BTW, a couple of the mirrors don't represent - 404  ...
http://ftp14.us.freebsd.org/pub/FreeBSD/
http://ftp9.us.freebsd.org/pub/os/FreeBSD/
Listed here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html

Best wishes.
___
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