RE: freebsd-questions Digest, Vol 169, Issue 9

2007-03-13 Thread Grant Wagner
As both a Christian and a FreeBSD user, I have stickers on my car
related to
both. It's truly humorous to see the occasional glare I might get
because of
Beastie or the rare double take due to both being there
simultaneously.
Luckily my church has a respectably sized geek community, and more
often
that not, Beastie gets the respect he deserves. Always it's a good
conversation starter about either.

Grant

-Original Message-
Message: 17
Date: Tue, 13 Mar 2007 22:03:20 +0300
From: Andrew Pantyukhin [EMAIL PROTECTED]
Subject: Re: FreeBSD Devil Image
To: Adam Gerety [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=UTF-8; format=flowed

On 3/13/07, Adam Gerety [EMAIL PROTECTED] wrote:
 What are the rules, in terms of using the FreeBSD Devil image to
make
 some stickers?  I am huge fan/supporter of FreeBSD and want a
sticker
 that is just the Devil to put on my computers.  Not planning to
sell
 them, though it might make a nice avenue for financial contribution
 to the effort.

Our beastie may be a bit devilish in some respects, but
please don't call him just a devil. Some people stay
away from FreeBSD for religious reasons. Feeding their
misconception is the last thing we want to do.

Thanks!



 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mounting a smb share from fstab

2007-02-20 Thread Grant Wagner
Hi Folks,

  I'm attempting to mount a guest smb share on my server at boot up.
I've
set up a .nsmbrc file which will get me past a password login if I
try to
mount it after a log in, and I've added the following line to my
fstab file.

//[EMAIL PROTECTED]/DataHeap /mnt/server smbfs rw 0 0

Now, since my .nsmbrc file is in my home directory, it's clearly not
read
during boot up and the whole process pauses waiting for me to input
an empty
password.

Can I somehow add a flag to fstab to tell it it's only a guest
account and
thus doesn't need a password or perhaps move the .nsmbfs file
somewhere
where it's picked up at boot time? Any ideas?

Grant



 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mounting a smb share from fstab

2007-02-20 Thread Grant Wagner
 
Hi Folks,

  I'm attempting to mount a guest smb share on my server at boot up.
I've
set up a .nsmbrc file which will get me past a password login if I
try to
mount it after a log in, and I've added the following line to my
fstab file.

//[EMAIL PROTECTED]/DataHeap /mnt/server smbfs rw 0 0

Now, since my .nsmbrc file is in my home directory, it's clearly not
read
during boot up and the whole process pauses waiting for me to input
an empty
password.

Can I somehow add a flag to fstab to tell it it's only a guest
account and
thus doesn't need a password or perhaps move the .nsmbfs file
somewhere
where it's picked up at boot time? Any ideas?

Grant



 

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]


RE: Mounting a smb share from fstab

2007-02-20 Thread Grant Wagner
-N was the correct option and worked like a charm. 
 
Thanks,
Grant


-
From: Vasile C [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 20, 2007 12:31 PM
To: Grant Wagner
Subject: Re: Mounting a smb share from fstab





On 2/20/07, Grant Wagner [EMAIL PROTECTED]  wrote:
Hi   Folks,

  I'm attempting to mount a guest smb share on my   server at boot up.
I've
set up a .nsmbrc file which will get me past a   password login if I
try to
mount it after a log in, and I've added the   following line to my 
fstab file.

//[EMAIL PROTECTED]/DataHeap   /mnt/server smbfs rw 0 0

Now, since my .nsmbrc file is in my home   directory, it's clearly not
read
during boot up and the whole process   pauses waiting for me to input 
an empty
password.

Can I somehow   add a flag to fstab to tell it it's only a guest
account and
thus   doesn't need a password or perhaps move the .nsmbfs file
somewhere
where   it's picked up at boot time? Any ideas?   

Grant





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]


Hello,

I did this a few years ago and I remember there was some flag in fstab , I`m 
not sure but it was something like :
//[EMAIL PROTECTED]/DataHeap /mnt/server smbfs rw,-N 0 0
Hope it helps.

-- 

If UNIX doesn't have the solution you have the wrong problem. 
UNIX is simple, but it takes a genius to understand it's simplicity.

Regards , 
Vasile C 
 
-
8:00? 8:25? 8:40?  Find a flick in no time
 with theYahoo! Search movie showtime shortcut.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SciTe will compile but will not run.

2007-02-16 Thread Grant Wagner
Howdy folks,

 I've installed the scite editor from ports, and it build
beautifully.
However when I run it, I'm getting several errors before a core dump.
The
error message..

(SciTE:5682):Glib-Gobject-WARNING **: specified class size for type
Scintilla is smaller than the parent type's `GtkContainer` class size

Any ideas?

Grant



 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Low-cost dedicated FreeBSD server or non-jail VPS?

2007-02-09 Thread Grant Wagner
Subject: Re: Low-cost dedicated FreeBSD server or non-jail VPS?

If you don't mind the lack of vidio (serial connection or network)
then
maybe one of these babies might be for you. I want to experement with
one
with a pci or better slot for a full home server for off the grid
homes.
Most of these boxes use less than 5 watts total.

SBC http://www.linuxdevices.com/articles/AT8498487406.html

On Wed, Feb 07, 2007 at 05:34:47PM -0800, Jay Chandler wrote:

 Derek Ragona wrote:
 FreeBSD runs on most i386 based hardware as long as you have 64 MB
ram 
 or more.  So you can recycle an old desktop PC to run FreeBSD and
then 
 have at it.  Or buy a cheap new desktop or refurbished.
 
 -Derek
 
 
 The problem with this approach is that it doesn't get you a static
IP 
 with proper rDNS and a host of other things...

It does if you buy an ISP account that includes a static IP and
does DNS for you or you set up your own DNS and register the server.

jerry

 
 I'd have interest in the answer to this question as well, as a
jailed 
 environment isn't quite what I want either.
 
 
 -- 
 Jay Chandler



 

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]


Re: print quotas in CUPS

2007-01-28 Thread Grant Wagner


Giorgos Keramidas [EMAIL PROTECTED] wrote:
 I am having difficulty installing cups and getting printing working on
 my Samsung ML-1710.  I've installed cups from port, and the splix
 driver from http://splix.ap2c.org/.  My printer shows up as /dev/ulpt0
 and running

echo stuff  /dev/ulpt0

 causes my printer to warm up, so I know at least I can write to the
 port and communication is working partially.  In the cups menu, I added
 the printer, and attempted to print a test page. I get an error
 message saying my quota is full.  Wierd as I don't have quota support
 on this machine.

 Any ideas?  Grant

I can't find any mention of quota in the web interface of CUPS running
on my laptop here.  There is a possibility that quota is enabled for
some printer, by setting options in the printers.conf file though.

Can you show us the contents of the file:

/usr/local/etc/cups/printers.conf

from your system?

If it contains the options which enable quotas for a certain printer,
you should see something like `PageLimit', then this is the `quota' that
you see mentioned above.

- Giorgos

Here is my cups printers.conf file.

# Printer configuration file for CUPS v1.2.7
# Written by cupsd on 2007-01-27 17:30
Printer laser2
Info laser2
DeviceURI usb:/dev/ulpt0
State Idle
StateTime 1169882462
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
AllowUser root
OpPolicy default
ErrorPolicy retry-job
/Printer

It appears that this too has no quota on it. Also, the job which I kicked off 
last night has been processing ever since.

I've included the error log for said job as well.

Thanks
Grant

 
-
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Can not compile kernel.

2007-01-27 Thread Grant Wagner


[EMAIL PROTECTED] wrote: Grant Wagner  wrote:

 Now I have a custom kernel which is failing to build. I've attached the  
 config file for it, and it fails trying to build with references about  
 ieee80211. The odd thing is I have no wireless in my box and have  
 commented out all the wireless references. What else is dependant on  
 them and should be commented out as well? The last bit of output is  
 below.

  if_ural.o(.text+0xe5): In function `ural_next_scan':
  : undefined reference to `ieee80211_next_scan'
  *** Error code 1
 Stop in /usr/obj/usr/src/sys/STRIPPED.
  *** Error code 1
 Stop in /usr/src.
  *** Error code 1

Remove 'device ural' from your kernel config. file. Ural is a driver for  
wireless adapters and depends on 'device wlan' which is commented in your  
conf. file.

Thanks applecom, I noticed that too. My kernel have been compiled and now is 
installed and runs nicely
 
 Now, on to another problem. I am having difficulty installing cups and getting 
printing working on my Samsung ML-1710. I've installed cups from port, and the 
splix driver from http://splix.ap2c.org/. My printer shows up as /dev/ulpt0 and 
running echo stuff  /dev/ulpt0 causes my printer to warm up, so I know at 
least I can write to the port and communication is working partially. In the 
cups menu, I added the printer, and attempted to print a test page. I get an 
error message saying my quota is full. Wierd as I don't have quota support on 
this machine.
 
 Any ideas?
 Grant

 
-
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can not compile kernel.

2007-01-26 Thread Grant Wagner
Hi, although have used various forms of unix for quite a while, I still 
consider myself a rather novice user. I have reciently reconfigured my machine 
to dual boot FreeBSD 6.2 and Windows (damn gaming addiction).

I have installed a basic system (only base, games, man and src distros) and 
modified my /etc/make.conf to look like the following...

 CPUTYPE=athlon64
 CFLAGS= -O3 -pipe -funroll-loops -ffast-math
 COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math

I have build from ports Open Office (so much easier with the diablo java 
system), X, nvidia graphics drivers, Enlightenment, and after a few days 
Gnome2. I even have all three of my screens setup properly.

I am currently having issues attempting to build a kernel. Running the command 
make clean cleandepend depend buildkernel KERNCONF=GENERIC in /usr/src as 
root will eventually stop with the following output. Not even being able to 
build the generic makes me nervice about building a custom one.

Also, when I attempt to run a linux binary game (such as UT 2004 Demo or Quake 
4 Comercial, both installed from ports) I have quite a few graphics glitches. 
Mostly missing or unshaded(black) surfaces and low frame rates on my Nvidia 
6600 PCI-x 256MB card. Any ideas about either issue will be greatly welcomed.


Thanks,
Grant
=== aic (all)
cc -O3 -pipe -funroll-loops -ffast-math -march=athlon-mp -fno-strict-aliasing 
-Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-   -DHAVE_KERNEL_OPTION_HEADERS 
-include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-I@/../include -finline-limit=8000 -fno-common -g 
-I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions 
-std=c99 -c /usr/src/sys/modules/aic/../../dev/aic/aic.c
/usr/src/sys/modules/aic/../../dev/aic/aic.c: In function `aic_reset':
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1345: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1347: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1306: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1307: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1310: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1313: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1314: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1317: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1318: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1321: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1322: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1325: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1326: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1329: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1332: warning: called from here
./machine/bus.h:515: warning: 

Re: Can not compile kernel.

2007-01-26 Thread Grant Wagner


Kris Kennaway [EMAIL PROTECTED] wrote: On Fri, Jan 26, 2007 at 04:40:13PM 
-0800, Grant Wagner wrote:
 Hi, although have used various forms of unix for quite a while, I still 
 consider myself a rather novice user. I have reciently reconfigured my 
 machine to dual boot FreeBSD 6.2 and Windows (damn gaming addiction).
 
 I have installed a basic system (only base, games, man and src distros) and 
 modified my /etc/make.conf to look like the following...
 

  CFLAGS= -O3 -pipe -funroll-loops -ffast-math
  COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math

Step 0) Note the warning about changing these settings in
/usr/share/examples/etc/make.conf and in the make.conf manpage.

Step 1) Revert those silly optimizations back to the default

Step 2) Rebuild everything to undo the damage

Kris

Well, in short, that worked. I have now build the kernel. I'm a little confused 
though and could use a bit of an explination.
 
 I thought only the COPTFLAGS options where used during kernel compilation and 
I had attempted to build with those commented out completely before. I can only 
guess that the CFLAGS are still in effect too.
 
 Now I have a custom kernel which is failing to build. I've attached the config 
file for it, and it fails trying to build with references about ieee80211. The 
odd thing is I have no wireless in my box and have commented out all the 
wireless references. What else is dependant on them and should be commented out 
as well? The last bit of output is below.
 
 Thanks again,
 Grant
 MAKE=make sh /usr/src/sys/conf/newvers.sh STRIPPED
 cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99  -nostdinc -I-  -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter 
-I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm 
-I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Werror  vers.c
 linking kernel
 if_ural.o(.text+0x66): In function `ural_free_tx_list':
 : undefined reference to `ieee80211_free_node'
 if_ural.o(.text+0x2d3): In function `ural_rxeof':
 : undefined reference to `ieee80211_find_rxnode'
 if_ural.o(.text+0x2eb): In function `ural_rxeof':
 : undefined reference to `ieee80211_input'
 if_ural.o(.text+0x2f1): In function `ural_rxeof':
 : undefined reference to `ieee80211_free_node'
 if_ural.o(.text+0x893): In function `ural_start':
 : undefined reference to `ieee80211_find_txnode'
 if_ural.o(.text+0x8b9): In function `ural_start':
 : undefined reference to `ieee80211_encap'
 if_ural.o(.text+0xa0a): In function `ural_start':
 : undefined reference to `ieee80211_free_node'
 if_ural.o(.text+0xa3f): In function `ural_start':
 : undefined reference to `ieee80211_encap'
 if_ural.o(.text+0xa53): In function `ural_start':
 : undefined reference to `ieee80211_free_node'
 if_ural.o(.text+0xa65): In function `ural_start':
 : undefined reference to `ieee80211_crypto_encap'
 if_ural.o(.text+0xe47): In function `ural_txeof':
 : undefined reference to `ieee80211_free_node'
 if_ural.o(.text+0xeee): In function `ural_watchdog':
 : undefined reference to `ieee80211_watchdog'
 if_ural.o(.text+0x1188): In function `ural_detach':
 : undefined reference to `ieee80211_ifdetach'
 if_ural.o(.text+0x16f3): In function `ural_attach':
 : undefined reference to `ieee80211_ieee2mhz'
 if_ural.o(.text+0x1719): In function `ural_attach':
 : undefined reference to `ieee80211_ifattach'
 if_ural.o(.text+0x1754): In function `ural_attach':
 : undefined reference to `ieee80211_media_status'
 if_ural.o(.text+0x175f): In function `ural_attach':
 : undefined reference to `ieee80211_media_init'
 if_ural.o(.text+0x182b): In function `ural_attach':
 : undefined reference to `ieee80211_ieee2mhz'
 if_ural.o(.text+0x185f): In function `ural_attach':
 : undefined reference to `ieee80211_ieee2mhz'
 if_ural.o(.text+0x1894): In function `ural_attach':
 : undefined reference to `ieee80211_ieee2mhz'
 if_ural.o(.text+0x18e6): In function `ural_attach':
 : undefined reference to `ieee80211_announce'
 if_ural.o(.text+0x1b8e): In function `ural_set_chan':
 : undefined reference to `ieee80211_chan2ieee'
 if_ural.o(.text+0x21c3): In function `ural_task':
 : undefined reference to `ieee80211_beacon_alloc'
 if_ural.o(.text+0x2be0): In function `ural_media_change':
 : undefined reference to `ieee80211_media_change'
 if_ural.o(.text+0x2c3e): In function `ural_media_change':
 : undefined reference to `ieee80211_media_change'
 if_ural.o(.text+0x2cf7): In function `ural_ioctl':
 : undefined reference to `ieee80211_ioctl'
 if_ural.o(.text+0xe5): In function `ural_next_scan':
 : undefined reference to `ieee80211_next_scan'
 *** Error