Assemblers for FreBSD

2007-03-11 Thread Patrick Bowen
If one wanted to learn Assembly Language Programming, would he be better 
served starting with as(1) or nasm(1)? Also, are either of those 
applicable to AMD64, or just i386?


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


Re: polling my FreeBSD compariots...

2007-03-11 Thread Patrick Bowen

Jonathan Horne wrote:
ive been a KDE user for as long as i can remember.  this week, im off from 
work, and want to spend some time trying something new with my laptop.  so 
far i have it built with 6.2-RELEASE-p2, and xorg up to the minimal desktop.


id like to try to try something thats not gnome, or basically id like to try 
some of the lesser known, but still just as functional desktops.


can i get some recommendations, as well as what graphical mail reader and web 
browser works best with your recommendation?


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

  


Jonathan;

Take a look at WindowMaker, or BlackBox if you want to get real minimal. 
Both are excellent window managers (not desktops) and can be found in 
ports. Firefox, Thunderbird, and all the rest work just fine.


Patrick

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


Re: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA?

2007-03-07 Thread Patrick Bowen

Doug Poland wrote:

Hello,

I have just acquired a Linksys Instant Wireless Network PC Card
802.11b wireless NIC.  When plugged into a 6.2 i386 laptop, dmesg
reports:

wi0: The Linksys Group, Inc. Instant Wireless Network PC Card at
port 0x100-0x13f irq 11 function 0 config 1 on pccard1
wi0: using RF:PRISM3(PCMCIA)
wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2)
wi0: Ethernet address: 00:06:25:18:6e:1d

When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8) just
hangs.  When I turned off encryption on the WAP, and enter:

# dhclient wi0

Then the NIC connects just fine.  So the question is, is the NIC or the
wi(4) driver incapable of WPA encryption?

Thanks for the help.

  



Try adding;

ifconfig_wi0=DHCP

to /etc/rc.conf.

That way it will run dhclient automatically whenever you plug the card in.

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


Re: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA?

2007-03-07 Thread Patrick Bowen

Doug Poland wrote:

On Wed, March 7, 2007 17:57, Patrick Bowen wrote:
  

Doug Poland wrote:


Hello,

I have just acquired a Linksys Instant Wireless Network PC Card
802.11b wireless NIC.  When plugged into a 6.2 i386 laptop, dmesg
reports:

wi0: The Linksys Group, Inc. Instant Wireless Network PC Card at
port 0x100-0x13f irq 11 function 0 config 1 on pccard1
wi0: using RF:PRISM3(PCMCIA)
wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2)
wi0: Ethernet address: 00:06:25:18:6e:1d

When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8)
just hangs.  When I turned off encryption on the WAP, and enter:

# dhclient wi0

Then the NIC connects just fine.  So the question is, is the NIC or
the wi(4) driver incapable of WPA encryption?

  

Try adding;

ifconfig_wi0=DHCP

to /etc/rc.conf.

That way it will run dhclient automatically whenever you plug the card
in.


I don't have a problem running dhclient, I have a problem with WPA. 
Initially, my rc.conf said:


ifconfig_wi0=WPA DHCP

and I had the correct entry in my /etc/wpa_supplicant.conf.  I could
not connect to my WAP until I turned off WPA, as I stated in my OP.

  


Doug:

Sorry, I misunderstood. Please excuse the noise...

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


Re: Linux equivalent to freebsd

2007-02-28 Thread Patrick Bowen

[EMAIL PROTECTED] wrote:

Hi,

Sorry this question is a little off-topic...

We've been using Freebsd for many years and all of our servers are running
freebsd.

The only thing that is a pain with freebsd, is poor commercial support :(

We are running in a situation where a customer needs Zend platform 3
(http://www.zend.com/products/zend_platform) which won't be available for
freebsd until the end of the year...

So I will need to setup a machine with linux.

I don't know much about linux distributions, could someone recommend one to
me please.

We are looking for a platform that will support amd64 extensions, will act
as a console only server and that has a good way to install ports and
upgrade. We want something secure and stable. We don't wanna go with Redhat
or any commercial distribution.

I really like the cvsup/make install/portupgrade way of dealing with
software installation and updates and I am looking for something equivalent
on a linux distribution.

Could you recommend a distribution you are using in production, we've check
ubuntu, fedora and Debian, but I wonder what freebsd users recommend...

Thanks 




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

  


Take a look at Slackware.

http://www.slackware.com

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


Re: Linux equivalent to freebsd

2007-02-28 Thread Patrick Bowen

Patrick Bowen wrote:

[EMAIL PROTECTED] wrote:

Hi,

Sorry this question is a little off-topic...

We've been using Freebsd for many years and all of our servers are 
running

freebsd.

The only thing that is a pain with freebsd, is poor commercial 
support :(


We are running in a situation where a customer needs Zend platform 3
(http://www.zend.com/products/zend_platform) which won't be available 
for

freebsd until the end of the year...

So I will need to setup a machine with linux.

I don't know much about linux distributions, could someone recommend 
one to

me please.

We are looking for a platform that will support amd64 extensions, 
will act

as a console only server and that has a good way to install ports and
upgrade. We want something secure and stable. We don't wanna go with 
Redhat

or any commercial distribution.

I really like the cvsup/make install/portupgrade way of dealing with
software installation and updates and I am looking for something 
equivalent

on a linux distribution.

Could you recommend a distribution you are using in production, we've 
check

ubuntu, fedora and Debian, but I wonder what freebsd users recommend...

Thanks


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


  


Take a look at Slackware.

http://www.slackware.com

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




Sorry, my bad. Slackware doesn't support amd64 extensions. However, 
there is a  an unofficial port of Slackware to amd64 at 
http://slamd64.com/home.html.


Patrick

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


Re: burning a cd or dvd doesn't work

2007-02-25 Thread Patrick Bowen

Dino Vliet wrote:

Hi folks,

I thought I followed all the steps in the handbook to try to burn a cd or dvd 
from my freebsd 6.1 amd64 system but these commands show the problems I'm 
experiencing:

[EMAIL PROTECTED] /usr/ports/devel/g-wrap]# camcontrol devlist
LITE-ON DVD SOHD-16P9S FS09  at scbus1 target 0 lun 0 (cd0,pass0)
PHILIPS DVDR1640P P3.4   at scbus1 target 1 lun 0 (cd1,pass1)

[EMAIL PROTECTED] /usr/ports/devel/g-wrap]# cdrecord dev=1,1,0 -checkdrive
Cdrecord-Clone 2.01 (amd64-unknown-freebsd6.1) Copyright (C) 1995-2004 J�rg 
Schilling
scsidev: '1,1,0'
scsibus: 1 target: 1 lun: 0
cdrecord: Operation not permitted. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

[EMAIL PROTECTED] /usr/ports/devel/g-wrap]# cdrecord -scanbus
Cdrecord-Clone 2.01 (amd64-unknown-freebsd6.1) Copyright (C) 1995-2004 J�rg 
Schilling
cdrecord: Operation not permitted. Error opening /dev/pass0 Cam error 
'cam_real_open_device: couldn't open passthr. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

[EMAIL PROTECTED] /usr/ports/devel/g-wrap]# dmesg | grep cd1
acd1: DVDR PHILIPS DVDR1640P/P3.4 at ata1-slave UDMA33
cd1 at ata1 bus 0 target 1 lun 0
cd1: PHILIPS DVDR1640P P3.4 Removable CD-ROM SCSI-0 device 
cd1: 33.000MB/s transfers

cd1: Attempt to query device size failed: NOT READY, Medium not present


What am I missing?








 


Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  


You'll probably need to load the atapicam module.

   kldload atapicam

as root, of course.

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


Re: CVSup question

2007-02-21 Thread Patrick Bowen

Simon Gao wrote:
What if I just want to update ports for 5 stable tree? If using HEAD, 
then may some ports being updated be current but not stable? Or there 
is no such things as stable or current ports?

Simon


Joe Holden wrote:

Simon Gao wrote:

Hi,

I have some machines running FreeBSD 5.2.1. Is it safe to update 
ports to 5.4_stable via CVSup? Or should I use 5_stable?




Ports are independant of base branch, ports should generally be HEAD 
(tag=.).


HTH,
Joe

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


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




No such thing as -stable or -current ports.

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


Re: 64-bits platform question

2007-02-21 Thread Patrick Bowen

Aard Nerd wrote:
Hi list, as far as I know Intel 64 architecture (formerly known as 
Intel Extended Memory 64 Technology, or Intel EM64T) enables 64-bit 
computing on desktop when combined with supporting software. If I am 
right, 64-bit computing (on Intel architecture) requires a computer 
system with a processor, chipset, BIOS, operating system, device 
drivers and applications enabled for Intel EM64T architecture. So I 
bought an ASUS P4P800-VM with a 3.0GHz processor that supports Intel 
EM64T and 1Gb of Infineon PC3200 RAM memory. The system is ok...so why 
I can't install BSD 64 bits with my system ???


Any clues, thanks in advance.


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




Did you use the amd64 isos for the installation?

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


Re: gtk-2.10.9 doesn't compile

2007-02-12 Thread Patrick Bowen

On Mon, 12 Feb 2007 13:52:05 +0100 (GMT+01:00), Vittorio
[EMAIL PROTECTED] said:
 Dear All,
 
 Under a fresh installation of 6.2 I recently updated via 
 portsnap the ports tree and recompiled what was needed (including 
 portupgrade!), BUT after issuing as root:
 
 portupgrade gtk
 I obtain the 
 following obscure, esoteric diagnostic:
 snip
 gmake[2]: Leaving 
 directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.10.9/gdk'
 gmake
 [1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory 
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.10.9'
 gmake: *** [all] Error 
 2
 *** Error code 2
 
 Stop in /usr/ports/x11-toolkits/gtk20.
 ** Command 
 failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.55166.1 env 
 UPGRADE_TOOL=portupgrade UPGRADE_PORT=gtk-2.10.7 UPGRADE_PORT_VER=2.
 10.7 make
 ** Fix the problem and try again.
 /snip
 
 What shall I do?
 Ciao from Rome - Vittorio
 
 Ciao
 Vittorio
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 


You'll need to upgrade portupgrade(1) to the latest version (2.2.2_4 if
memory serves). See /usr/ports/UPDATING and grep for portupgrade.

Patrick
-- 
  Patrick Bowen
  [EMAIL PROTECTED]

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


Manufacturer documented wireless NIC's

2007-01-21 Thread Patrick Bowen
I'm looking to replace the Realtek rtl8185 mini-PCI wireless NIC in my 
laptop, and I was wondering about what to replace it with.


Could anyone tell me who the manufacturers are that support their chips 
with documentation available to FreeBSD for the writing of drivers, 
please. I believe that Ralink and Atmel are in that category, according 
to the googling I've been able to do.


I'd like to support those manufacturers that support FreeBSD.

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


Slow boot from btx load to kernel.

2006-10-24 Thread Patrick Bowen

Second try...

I have a triple boot setup ( WinXP, FreeBSD, and Ubuntu Linux) on which
I upgraded the Ubuntu from 6.06 to 6.10.

Now, when I boot the FreeBSD slice, it will take tens of seconds to load
/boot/loader and the sound modules I use. It used to go by so fast I
couldn't even see what exactly was happening.

I tried using fdisk -B -b /boot/boot0 /dev/ad0 and boot0cfg -B
/dev/ad0, thinking that moving back to the FreeBSD booter might do it,
but to no avail.

Can anyone tell me what I might have hosed, and how I might regain the
previous booting speed?

Thanks,
Patrick

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

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


Re: Wireless Inspiron 6400 anyone?

2006-10-21 Thread Patrick Bowen

Lane wrote:

Hello,

I've a new inspiron 6400 running FreeBSD 6.1 and I can't get Wireless to work.  
It works on WXP using the Dell WLAN drivers at 
http://ftp.us.dell.com/network/R115321.EXE


I've followed the instructions at 
http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-drivers/
but no ndis driver shows up after kldload if_ndis.  


ifconfig -a looks like:

bfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet6 fe80::215:c5ff:feb8:39e%bfe0 prefixlen 64 scopeid 0x1
inet 172.16.1.42 netmask 0xff00 broadcast 172.16.1.255
ether 00:15:c5:b8:03:9e
media: Ethernet autoselect (100baseTX full-duplex)
status: active
fwe0: flags=108943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,NEEDSGIANT 
mtu 1500

options=8VLAN_MTU
inet6 fe80::304f:c0ff:fe9c:7541%fwe0 prefixlen 64 scopeid 0x2
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
ether 32:4f:c0:9c:75:41
ch 1 dma 0
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00

It seems as if the fwe0 devices wants to be the wireless, as the bfe0 driver 
is my wired ethernet card.
  

...snip...

Any help is appreciated.

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


Lane;

When I did the same thing for a Broadcom wireless card the resulting 
loadable module was named bcmwl5_sys. Did you end up with something 
appropriate to your .sys and .inf files?


Also, the .sys and .inf files that came on the disk that came with the 
card either wouldn't work with ndisgen, or gave a file that didn't work 
with the card. I ended up using the .sys and .inf files from the Dell 
website that were reference in another ndis article.


Good Luck.

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


Re: Wireless Inspiron 6400 anyone?

2006-10-21 Thread Patrick Bowen

Lane wrote:

On Sunday 22 October 2006 00:06, Patrick Bowen wrote:
  

Lane wrote:


Hello,

I've a new inspiron 6400 running FreeBSD 6.1 and I can't get Wireless to
work. It works on WXP using the Dell WLAN drivers at
http://ftp.us.dell.com/network/R115321.EXE

I've followed the instructions at
http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-dri
vers/ but no ndis driver shows up after kldload if_ndis.

ifconfig -a looks like:

bfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet6 fe80::215:c5ff:feb8:39e%bfe0 prefixlen 64 scopeid 0x1
inet 172.16.1.42 netmask 0xff00 broadcast 172.16.1.255
ether 00:15:c5:b8:03:9e
media: Ethernet autoselect (100baseTX full-duplex)
status: active
fwe0:
flags=108943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,NEEDSGIANT
mtu 1500
options=8VLAN_MTU
inet6 fe80::304f:c0ff:fe9c:7541%fwe0 prefixlen 64 scopeid 0x2
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
ether 32:4f:c0:9c:75:41
ch 1 dma 0
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00

It seems as if the fwe0 devices wants to be the wireless, as the bfe0
driver is my wired ethernet card.
  

...snip...



Any help is appreciated.

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

Lane;

When I did the same thing for a Broadcom wireless card the resulting
loadable module was named bcmwl5_sys. Did you end up with something
appropriate to your .sys and .inf files?

Also, the .sys and .inf files that came on the disk that came with the
card either wouldn't work with ndisgen, or gave a file that didn't work
with the card. I ended up using the .sys and .inf files from the Dell
website that were reference in another ndis article.

Good Luck.

Patrick
___

Patrick, 


Thanks for your attention.

Yes, when I tried ndisgen the file bcmwl5_sys.ko was created, but I got a 
kernel panic when I tried to kldload it.


Do you remember the filename that you downloaded from DELL?  Did you save it?  
Or do you have the link for the other ndis article you mentioned?


What about pciconf on your system?  Does it show this card and chip 
combination?


[EMAIL PROTECTED]:0:0:class=0x028000 card=0x00071028 chip=0x431114e4 
rev=0x01 hdr=0x00

vendor   = 'Broadcom Corporation'
class= network

Thanks, again

lane
If nothing else, your response tells me that I'm on the right track.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  


Lane;

I can't find the article, but the file is R50907.EXE. You can find it by 
googling dell R50907. Heres a link


http://ftp1.us.dell.com/network/R90507.EXE

It's a self-extracting Windows archive.

BTW, you asked about my pciconf. Here ya go...

[EMAIL PROTECTED]:4:0: class=0x028000 card=0x000617f9 chip=0x431814e4 rev=0x02 
hdr=0x00

   vendor   = 'Broadcom Corporation'
   class= network

Also, if this is on a mini-card, you should be able to crack the case 
and look at the card and see exactly what the chipset is.  Mine is a 
BCM94318.



Hope this helps some.

Patrick


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


Re: Downloading files from -CURRENT, How?

2006-10-21 Thread Patrick Bowen

Nikolas Britton wrote:

I'm trying grab a copy of /usr/src/sys/dev/sound and
/usr/src/sys/modules/sound from HEAD so I can MFC a few things. I
tried this, but it didn't work:

$ more current-supfile
*default host=cvsup12.us.FreeBSD.org
*default base=/usr/src/HEAD/var/db
*default prefix=/usr/src/HEAD/usr
*default release=cvs tag=HEAD
*default delete use-rel-suffix
*default compress
src-sys

I'm not really sure of the best way to do it. Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



Shouldn't that be *default release=cvs tag=.

That is, a period instead of the word HEAD.

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


Slow boot from btx load to kernel.

2006-10-21 Thread Patrick Bowen

I have a triple boot setup ( WinXP, FreeBSD, and Ubuntu Linux) on which
I upgraded the Ubuntu from 6.06 to 6.10.

Now, when I boot the FreeBSD slice, it will take tens of seconds to load
/boot/loader and the sound modules I use. It used to go by so fast I
couldn't even see what exactly was happening.

I tried using fdisk -B -b /boot/boot0 /dev/ad0 and boot0cfg -B
/dev/ad0, thinking that moving back to the FreeBSD booter might do it,
but to no avail.

Can anyone tell me what I might have hosed, and how I might regain the 
previous booting speed?


Thanks,
Patrick

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


Re: How do uninstall a package and all it's dependencies ?

2006-04-22 Thread Patrick Bowen
Low Kian Seong wrote:

 The problem about the -R option is that normally that takes off stuff 
 like xorg-server and friends too ! Really not nice, or am I doing 
 something wrong ?

 On 4/20/06, *Patrick Bowen* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Low Kian Seong wrote:

 Dear all,
 
 Been digging around but never really found the answer to this
 one, say if i
 install xfce4 package and then later I want to uninstall xfce4
 and *all*
 it's dependencies, how do i do it ?
 
 Thank you all in advance.
 ___
 freebsd-questions@freebsd.org
 mailto:freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 
 
 

 Seong;

 I do that fairly often when I'm just looking at packages. Try
 pkg_deinstall -R package-name, where package-name is replaced
 with the
 name of the package you want to delete, in your case xfce4.

 pkg_deinstall -R xfce4.

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



If the dependancy pkg is required by something else, then pkg_deinstall 
will tell me that it can't delete the dependancy pkg because its used by 
another pkg. Works like a charm.

Patrick

-- 
  Patrick Bowen
  [EMAIL PROTECTED]

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


Re: How do uninstall a package and all it's dependencies ?

2006-04-19 Thread Patrick Bowen

Low Kian Seong wrote:


Dear all,

Been digging around but never really found the answer to this one, say if i
install xfce4 package and then later I want to uninstall xfce4 and *all*
it's dependencies, how do i do it ?

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

 



Seong;

I do that fairly often when I'm just looking at packages. Try 
pkg_deinstall -R package-name, where package-name is replaced with the 
name of the package you want to delete, in your case xfce4.


pkg_deinstall -R xfce4.

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


Re: where/under what do I look for relaxing the privlege requirements for mounting/accessing devices?

2006-04-19 Thread Patrick Bowen

Jim Stapleton wrote:


Sorry, my reply got bounced back, didn't realize it, but I sent a
second reply, here it is again:


It's different this time though:

mount_smbfs: can not setup kernel iconv table (ISO8859-1:tolower):
syserr = Operation not permitted



On 4/18/06, Patrick Bowen [EMAIL PROTECTED] wrote:
 


Jim Stapleton wrote:

   


That did not work either.



 


Jim;

Unless I'm mistaken, smbfs_load=YES should go into
/boot/loader.conf. Use kldstat to see if the module is loaded.

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



   


Jim;

not work how? Didn't load (wasn't listed by kldstat), or didn't work
when it *was* loaded?

Patrick

   


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

 



I'm over my head here, but i did some googling on mount_smbfs: can not 
setup kernel iconv table and got 216 hits. In a few of the solutions it 
states that you must be root to mount_smbfs. Check out google, it'll be 
more help than me at this point.


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


Re: Window Manager Opinions

2006-04-19 Thread Patrick Bowen

Huy Ton That wrote:


Just a general question; not sure if it belongs in questions but let me know
otherwise.  I'm currently using gnome2 as my desktop environment on RC
6.1but it is a little dry;  What are you all using out there and any
reasons as
to behind the decision and such.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

 



I use WindowMaker (/usr/ports/x11-wm/windowmaker). It's very fast to 
load, configurable/theme-able, and has a nice clean desktop. Check out 
their website at http://www.windomaker.org.


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


Re: where/under what do I look for relaxing the privlege requirements for mounting/accessing devices?

2006-04-18 Thread Patrick Bowen

Jim Stapleton wrote:


Works great so far, except I get the following error when trying to
mount SMB files still:


mount_smbfs: can not setup kernel iconv table (ISO8859-1:tolower):
syserr = Operation not permitted


Also, I still have to manually do a root 'kldload smbfs' before
mounting samba, I tried adding these two lines to rc.conf to no avail:

smbfs_load=YES
smbfs_enable=YES

Any other suggestions?

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

 



Jim;

Unless I'm mistaken, smbfs_load=YES should go into 
/boot/loader.conf. Use kldstat to see if the module is loaded.


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


Re: getting a user's home dir (sed/awk?)

2006-04-17 Thread Patrick Bowen

Erik Norgaard wrote:


Hi:

I am trying to create a script, the idea is to host a number of web
services, each running as a different process owned by a different user
bound to a non privileged port on localhost. The point is that each
service can be restarted without affecting other services and that any
security compromise does not propagate to other services.

Now, to start all servers I want to create a master script that looks up
the user's home directory and runs a script in a predefined path.

So the question is: given a username, how do I get the homedir?

I have found pw usershow user1 will return a line from the passwd
file, but that needs to be split chewed, and spit out. Seems awk can do
it but I have no clue.

Thanks, Erik

PS: Yes, I know, I could just create a perl script - but this time I
want to do it all using the tools in base.
 



Erik;

How 'bout something like;

pw usershow user1 | awk -F: ' { print $9 } '

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


Re: rc.local

2006-04-17 Thread Patrick Bowen

riko saputra wrote:


in my freebsd 6.0 there is no rc.local ,
how i can get rc.local ??
thanks.

 



riko;

man 8 rc should have the information you're looking for.

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


Re: wifi ath

2006-04-16 Thread Patrick Bowen

dick hoogendijk wrote:


Bought a WiFi D-Link with atheros chipset.
I use a non-default kernel, so I guess I have to put some options back in
and recompile. Will upgrade to 6.1-rc at the same time ;-)

Any pitfalls?
What options exactly do I need to have my ath based wifi card up and
running?

 


Dick;

Test the card with kldload if_ath as root, then ifconfig and dhcp, 
before you re-compile the kernel. If that works then you can just  add 
the modules at startup. Saves time recompiling.


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


Re: wireless setup help

2006-04-16 Thread Patrick Bowen

[EMAIL PROTECTED] wrote:


Hi,

I'm having difficulties connecting to my roommate's apple airport.

Following the guide I tried using a fixed IP:
ifconfig ath0 10.0.1.5 netmask 0xff00 ssid True That
but got status: no carrier and obviously couldn't ping anything.

I believe WEP is turned off at the moment as my roommate joins without any
password.

next I tried the dhcp method from someone in the mailing list.  I added
these lines to rc.conf then rebooted:
ifconfig_ath0=DHCP
ifconfig ath0 ssid True That

at reboot dhcp wasn't able to pick up any leases and I saw status: no
carrier on ifconfig ath0.

FreeBSD wireless setup is new to me, so I'm probably missing something
obvious.  The card is a DLink Airplus G and I have the if_ath.ko loading
at boot without any problems.  Any hints are most appreciated. Thanks,
Nathan

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

 



Nathan;

Unless the Apple device is running a DHCP server (you didn't mention if 
you knew that to be true), setting ifconfig_ath=DHCP in rc.conf will 
have no effect. Have you tried setting the IP and netmask and ssid to 
what your roommate's machine is using (just to see if it works)?


Also, the line in your rc.conf, ifconfig ath0 ssid True That is, I 
suspect, wrong. I'll bet it needs to be something like 
ifconfig_ath0_ssid=True That.


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


Re: a favorite graphical ftp client?

2006-04-16 Thread Patrick Bowen

Jonathan Horne wrote:


On Sunday 16 April 2006 20:17, [EMAIL PROTECTED] wrote:
 


i would like to ask the list for opinions on a good graphical ftp client
 


for a

   


freebsd desktop.  before i try them all, id like to get a few
recomendations :)
 


gftp is quite nice imho -- http://gftp.seul.org/
   



sorry, i should have mentioned i use KDE.  will gftp be any trouble to 
compile, or is it going to pull down the entire gnome to go with it?  im 
really looking for something that works well under KDE.


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

 



Jonathan;

No, it won't. I use it with WindowMaker. It pulled some stuff down with 
it, but not much.


BTW, if you're using KDE, there is a kftpgrabber graphical ftp client 
for KDE in the ports collection.


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


Re: ISO Image for FreeBSD5.4 that is Current

2006-04-02 Thread Patrick Bowen

Martin McCormick wrote:


The FreeBSD site has an installation ISO image for FreeBSD5.4
but it is dated last May.  There have been several core security
updates since then.  should I be looking in a different place to find
a stable 5.x ISO image that is current?

Thank you very much.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer

OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

 


Martin:

You'll need to install 5.4 from the iso, then use cvsup to update your 
sources with the updates. Then read the handbook and /usr/src/UPDATING 
for the instructions on how to recompile your world and kernel. Your 
other option is to wait for 5.5 which should be out any day now.


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


Re: flash plugins question

2006-04-01 Thread Patrick Bowen

Marlon Martin wrote:


linuxpluginwrapper is installed from ports, and linux-flashplugin7 after
that i copy libmap.conf-FreeBSD6
fromfile:///usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6
/usr/local/share/examples/linuxpluginwrapper/  to /etc/ and rename it as
libmap.conf but still no plugins for flash: when typing:
about:plugins

anyone can help fixing this? im running FBSD 6.1PRE
 



Marlon;

I had the same problem with FreeBSD-native mozilla. My final solution 
was to de-install mozilla and install linux-mozilla from ports. This 
solved all my problems, and now I can use flash, realplayer, 
mplayer-plugins, acroread, etc.


BTW, I'm running -current.

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


Re: Sound Wireless

2006-04-01 Thread Patrick Bowen

Zaid Dashti wrote:


Hello



I have installed FreeBSD v6.0R on my Toshiba satellite pro M30 laptop.

Everything works fine except and wireless.



The wireless card is identified, but I don't know how to find the access
points, is there a good tool for kde or consol that does a job?

Also, my sound driver is not identified, how do I do it?





Regards,

Zaid Dashti





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

 


Zaid;

What does your dmesg look like?

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


Re: List Etiquette Question - Thank yous

2006-03-24 Thread Patrick Bowen

On Fri, 24 Mar 2006 12:05:35 -0800, Oliver Iberien
[EMAIL PROTECTED] said:
 I have never been on a list from which I have received as much help as
 this 
 one, which raises a question for me. I would like to thank the people who 
 post questions to my answers, such as the fellow below, but don't want to 
 spam people's inboxes and/or the with thank-you notes that may be
 archived 
 for all time. Do people generally expect a note of thanks?
 
 Oliver
 
 
 On Friday 24 March 2006 11:47, Dan Nelson wrote:
  In the last episode (Mar 24), Oliver Iberien said:
   This may be a silly question, but I wanted to make sure:
  
   I have a SCSI R/W CD-ROM drive and an IDE DVD read-only drive. There
   have been times with linux where enabling SCSI emulation made the
   actual SCSI drive unavailable to k3b. I just want to make sure that
   adding ATAPICAM won't somehow get in the way of the actual SCSI
   device. Will it?
 
  At worst it may shuffle the device number if the atapi drive gets
  probed first.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Oliver:

I think it's generally expected that you reply to their help with
something like Bummer, that didn't work. or That fixed my problem!
Thanks so much!! I don't know, however, whether thank you's should be
privately or to the list. I usually say my thanks on the list. I guess I
feel that public help should receive public praise.

Patrick
-- 
  Patrick Bowen
  [EMAIL PROTECTED]

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


Kernel mixup after dump/restore

2006-03-13 Thread Patrick Bowen

List;

I have a slice on ad0s1 mounting the root FS from ad0s2a, and 
vice-verse. Here's what I did.


1.  Started out with a 20 Gig drive with two equal slices, ad0s1 (blank) 
and ad0s2 (FreeBSD).


2.  Used sysinstalls fdisk and bsdlabel to create /, /var, /tmp, and 
/usr partitions on ad0s1 equal in size to those on ad0s2.


3.  Used the following command to copy partitions from ad0s2 to ad0s1;

  dump -L -0 -f- /usr | (cd /mnt/hd/usr; restore -r -v -f-)

/usr is on ad0s2 and /mnt/hd/usr is ad0s1.

4.  Changed /mnt/hd/etc on ad0s1 to mount partitions on ad0s1, rather 
than ad0s2.


5.  Used grub to boot either to ad0s1 or ad0s2.

When I boot the first slice (ad0s1), df(1) shows all the partitions to 
be ad0s1, except root, which is ad0s2. When I boot the second slice 
(ad0s2), df(1) shows all partitions to be ad0s2, except root, which is 
ad0s1.


Can anyone explain this behaviour, and why it might have happened?

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


Re: Kernel mixup after dump/restore

2006-03-13 Thread Patrick Bowen

Patrick Bowen wrote:


List;

I have a slice on ad0s1 mounting the root FS from ad0s2a, and 
vice-verse. Here's what I did.


1.  Started out with a 20 Gig drive with two equal slices, ad0s1 
(blank) and ad0s2 (FreeBSD).


2.  Used sysinstalls fdisk and bsdlabel to create /, /var, /tmp, and 
/usr partitions on ad0s1 equal in size to those on ad0s2.


3.  Used the following command to copy partitions from ad0s2 to ad0s1;

  dump -L -0 -f- /usr | (cd /mnt/hd/usr; restore -r -v -f-)

/usr is on ad0s2 and /mnt/hd/usr is ad0s1.

4.  Changed /mnt/hd/etc on ad0s1 to mount partitions on ad0s1, rather 
than ad0s2.


5.  Used grub to boot either to ad0s1 or ad0s2.

When I boot the first slice (ad0s1), df(1) shows all the partitions to 
be ad0s1, except root, which is ad0s2. When I boot the second slice 
(ad0s2), df(1) shows all partitions to be ad0s2, except root, which is 
ad0s1.


Can anyone explain this behaviour, and why it might have happened?

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


I should have mentioned that I modified the dump/restore command in #3 
above to reflect all the different partitions.


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


Re: gmirror on a laptop.

2006-03-12 Thread Patrick Bowen

Chuck Swiger wrote:


Patrick Bowen wrote:
 


I wanted to fiddle around with gmirror(8) on a Dell C-600 Laptop. It has
a 2-slice, 20 Gig HD, and I essentially wanted to mirror ad0s1 to ad0s2.
I realize this will put the HD under stress, but otherwise it seems
do-able.

What I want to know is whether this is such an incredibly bad idea I
shouldn't even consider it --or-- it seems like a good way to get
familiar with gmirror, so go for it.
   



If you want to do this for the sake of practice, by all means, feel free.

However, mirroring onto the same device is going to result in almost no benefit
to reliability and will cause a very large performance hit, as well as reducing
the usable amount of disk space in half.  (In other words, actually leaving the
machine set up that way would be an incredibly bad idea.)

 


Mr. Swiger;

I agree, except that I had anticipated absolutely *no* benefit to 
reliability. If the disk goes bad, then having a mirror on the same 
disk, different slice, would still give me...no disk. I simply wanted to 
get the practice by actually doing, instead of just reading about it. 
I'll probably re-install Slackware on the other slice when I get done 
playing around.


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


gmirror on a laptop.

2006-03-11 Thread Patrick Bowen

List;

I wanted to fiddle around with gmirror(8) on a Dell C-600 Laptop. It has 
a 2-slice, 20 Gig HD, and I essentially wanted to mirror ad0s1 to ad0s2. 
I realize this will put the HD under stress, but otherwise it seems do-able.


What I want to know is whether this is such an incredibly bad idea I 
shouldn't even consider it --or-- it seems like a good way to get 
familiar with gmirror, so go for it.


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


Getting devfs to recognize a hotplug floppy

2004-11-25 Thread Patrick Bowen
The subject line just about says it all. I'm trying to learn how to get 
devfs to create an fd0 enty in /dev automatically when I plug a floppy 
drive into the serial port of a running Dell D600 laptop running 6.0 
current. I've looked at 'man devfs/devfs.conf/devfs.rules', searched the 
lists, searched the web, etc. this is either really simple, and I/m 
trying to make it complicated (probably), or no one else is trying to do 
this (probably not).

If someone can point me in the right direction, I'd appreciate it.
TIA,
Patrick
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]