Re: How to customize login?

2011-04-15 Thread Manolis Kiagias
On 04/16/2011 09:06 AM, Alexander Lardner wrote:
> Hello list,
> I have set a banner welcoming anybody on the console. I still see the 
> "FreeBSD/i386 (Amnesiac) (ttyvX)" message. How can I stop this from 
> displaying? I'd like the banner to be the only thing displayed.
> Thanks to anybody helping!___
>

This is controlled by the im parameter in /etc/gettytab:

default:\
:cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\
:if=/etc/issue:

I guess you can remove it altogether. Have a look at man gettytab

___
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 customize login?

2011-04-15 Thread Alexander Lardner
Alright, got it done. Thanks!

On Apr 15, 2011, at 11:28 PM, Manolis Kiagias  wrote:

> On 04/16/2011 09:06 AM, Alexander Lardner wrote:
>> Hello list,
>> I have set a banner welcoming anybody on the console. I still see the 
>> "FreeBSD/i386 (Amnesiac) (ttyvX)" message. How can I stop this from 
>> displaying? I'd like the banner to be the only thing displayed.
>> Thanks to anybody helping!___
>> 
> 
> This is controlled by the im parameter in /etc/gettytab:
> 
> default:\
>:cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\
>:if=/etc/issue:
> 
> I guess you can remove it altogether. Have a look at man gettytab
> 
___
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 customize login?

2011-04-15 Thread Alexander Lardner
Yes, but by banner I mean /etc/issue. Here's what I get now when I boot 
up/switch to a new console:

Welcome to the Magnolia/Foothill FreeBSD Portable!
This system running FreeBSD 8.2-RELEASE

Please log in with the username and password provided to you:

/*Note: Until this point it's all been /etc/issue. This next part I want to get 
rid of.*/

FreeBSD/i386 (Amnesiac) (ttyvX /*where X is the console number*/)

Then it is followed by the login prompt.

On Apr 15, 2011, at 11:16 PM, Erich Dollansky  
wrote:

> Hi,
> 
> you have changed the file /etc/motd?
> 
> Erich
> 
> On Saturday 16 April 2011 13:06:16 Alexander Lardner wrote:
>> Hello list,
>> I have set a banner welcoming anybody on the console. I still see the 
>> "FreeBSD/i386 (Amnesiac) (ttyvX)" message. How can I stop this from 
>> displaying? I'd like the banner to be the only thing displayed.
>> Thanks to anybody helping!___
>> 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 customize login?

2011-04-15 Thread Erich Dollansky
Hi,

you have changed the file /etc/motd?

Erich

On Saturday 16 April 2011 13:06:16 Alexander Lardner wrote:
> Hello list,
> I have set a banner welcoming anybody on the console. I still see the 
> "FreeBSD/i386 (Amnesiac) (ttyvX)" message. How can I stop this from 
> displaying? I'd like the banner to be the only thing displayed.
> Thanks to anybody helping!___
> 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"


How to customize login?

2011-04-15 Thread Alexander Lardner
Hello list,
I have set a banner welcoming anybody on the console. I still see the 
"FreeBSD/i386 (Amnesiac) (ttyvX)" message. How can I stop this from displaying? 
I'd like the banner to be the only thing displayed.
Thanks to anybody helping!___
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: sound card not recognized by freebsd 8.2 but mentioned in PC-BSD 8.2

2011-04-15 Thread Erich Dollansky
Hi,

On Saturday 16 April 2011 11:16:39 Zhang Weiwu, Beijing wrote:
> On 04/16/2011 10:42 AM, Erich Dollansky wrote:
> > On Friday 15 April 2011 22:11:05 Zhang Weiwu, Beijing wrote:
> >> # kldload snd_driver
> > this will never work.
> >
> > You must load the driver for your sound card. Something like
> >
> > kldload  snd_hda
> 
> I am confused, because the handbook says the opposite:
> http://www.freebsd.org/doc/handbook/sound-setup.html
> >
the handbook also says:

'Other available loadable sound modules are listed in 
/boot/defaults/loader.conf.'

I simply tried some out. If I remember right, mine was also not listed to work 
but worked with the driver I used as an example for you.

Do not forget, the handbook is not necessarily written by the same person as 
the program.

Erich
___
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: sound card not recognized by freebsd 8.2 but mentioned in PC-BSD 8.2

2011-04-15 Thread Zhang Weiwu, Beijing

On 04/16/2011 10:42 AM, Erich Dollansky wrote:

On Friday 15 April 2011 22:11:05 Zhang Weiwu, Beijing wrote:

# kldload snd_driver

this will never work.

You must load the driver for your sound card. Something like

kldload  snd_hda


I am confused, because the handbook says the opposite:
http://www.freebsd.org/doc/handbook/sound-setup.html


To use your sound device, you will need to load the proper device driver.


Then:


If you are not sure which driver to use, you may try to load the 
snd_driver module:


#  kldload snd_driver
This is a metadriver loading the most common device drivers at once. 


Even though I wish to use only the right driver, the manual didn't say 
how can I find which driver is the right one except trying with 
snd_driver. It didn't even mention what drivers are there on the system. 
One might expect it at /usr/src/sys/i386/conf/GENERIC but there is 
nothing mentioning sound card.



You must replace snd_hda by the name of the driver for your card.


I'd be glad to try that if you inform me what is the name of the driver 
for my card, or point me way to find this information:)


Thanks for answering my mail!

--
我的博客:
http://zhangweiwu.ixiezi.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"


Re: sound card not recognized by freebsd 8.2 but mentioned in PC-BSD 8.2

2011-04-15 Thread Erich Dollansky
Hi,

did you really get no other answer?

On Friday 15 April 2011 22:11:05 Zhang Weiwu, Beijing wrote:
> Hello. I intend to use FreeBSD instead of PC-BSD. The sound card doesn't 
> work on FreeBSD 8.2. I tried to follow the manual and loaded all sound 
> card drivers
> 
> # kldload snd_driver

this will never work.

You must load the driver for your sound card. Something like

kldload  snd_hda

You must replace snd_hda by the name of the driver for your card.

Erich
> 
> But no driver works:
> 
> # cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
> Installed devices:
> 
> There is nothing after "installed devices". And there is nothing about 
> sound card mentioned in dmesg.
> 
> I had the impression non of the drivers recognizes the card, which is:
> 
> none1@pci0:0:4:0: class=0x040100 card=0x103b13bd chip=0x545510b9 rev=0x03 
> hdr=0x00
> vendor = 'Acer Labs Incorporated (ALi/ULi)'
> device = 'AC'97 Audio Controller (M1563M Southbridge)'
> class = multimedia
> subclass = audio
> 
> 
> Search for the chip ID as keyword on google reveals in PC-BSD this 
> keyword is mentioned in their driver database 
> "/PCBSD/soundDetect/soundcards.xml"
> 
> source: http://trac.pcbsd.org/changeset/3018/pcbsd
> 
> Somehow this hints PC-BSD recognizes and can configure this sound card.
> 
> My question is, if PC-BSD could play using this sound card, a FreeBSD 
> method must not be too far away, right? Can I configure FreeBSD somehow 
> to let a driver recognize and make use of this sound card?
> 
> P. S. If it doesn't work, I guess I'll fall back to Windows instead of 
> PC-BSD because I intend to use this machine for playing around and 
> testing GNUStep including its multimedia. The computer has a hard-wired 
> 8GB storage which is OK for the purpose, but not enough for PC-BSD.
> 
> -- 
> 我的博客:
> http://zhangweiwu.ixiezi.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"


problem building krb5

2011-04-15 Thread Graeme Dargie
Hi All,

I went back to a machine today that I think I had partially got samba 3.5 
installed on, I need to get krb5 on so I can add the system to my AD domain.

Clearly on my previous attempt I got something wrong, but I am not overly sure 
how to go about fixing this problem below, I don't need printer support as 
these machine do not have printers attached or need access to them.



amalthea# cd /usr/ports/security/krb5
amalthea# make install clean
===>   krb5-1.9_2 depends on executable: gm4 - found
===>   krb5-1.9_2 depends on executable: texi2dvi - found
===>   krb5-1.9_2 depends on executable: dvips - not found
===>Verifying install for dvips in /usr/ports/print/dvipsk-tetex
===>   dvipsk-tetex-5.95a_5 depends on file: /usr/local/share/texmf-local/ls-R 
- found
===>   dvipsk-tetex-5.95a_5 depends on file: 
/usr/local/share/texmf-dist/LICENSE.texmf - found
===>   dvipsk-tetex-5.95a_5 depends on executable: mktexlsr - not found
===>Verifying install for mktexlsr in /usr/ports/print/teTeX-base
===>  Installing for teTeX-base-3.0_21
===>   teTeX-base-3.0_21 depends on file: 
/usr/local/share/texmf-dist/LICENSE.texmf - found
===>   teTeX-base-3.0_21 depends on file: /usr/local/share/texmf-local/ls-R - 
found
===>   teTeX-base-3.0_21 depends on executable: texi2html - found
===>   teTeX-base-3.0_21 depends on executable: gs - not found
===>Verifying install for gs in /usr/ports/print/ghostscript8-nox11
===>  Building for ghostscript8-nox11-8.71_6
/bin/ln -s -f 
/usr/ports/print/ghostscript8-nox11/work/ghostscript-8.71/epag-3.09/gdevepag.c 
/usr/ports/print/ghostscript8-nox11/work/ghostscript-8.71/base
/bin/mkdir -p /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.71/obj
/bin/mkdir -p /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.71/bin
gmake LDFLAGS='-L/usr/local/lib  -shared -Wl,-soname=libgs.so.8' 
GS_XE=./bin/../sobin/libgs.so.8.71 STDIO_IMPLEMENTATION=c 
DISPLAY_DEV=./obj/../soobj/display.dev BINDIR=./bin/../sobin 
GLGENDIR=./obj/../soobj GLOBJDIR=./obj/../soobj PSGENDIR=./obj/../soobj 
PSOBJDIR=./obj/../soobj CFLAGS='-O2 -pipe -fno-strict-aliasing -fPIC 
-DUPD_SIGNAL=0 -I.  
-I/usr/ports/print/ghostscript8-nox11/work/ghostscript-8.71/jasper/src/libjasper/include
  -I/usr/local/include/libpng  -I/usr/local/include  -Wall -Wstrict-prototypes 
-Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings 
-Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common 
-DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -pipe 
-fno-strict-aliasing -DGS_DEVS_SHARED 
-DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/8.71\"' prefix=/usr/local 
./bin/../sobin/gsc ./bin/../sobin/gsx
gmake[1]: Entering directory 
`/usr/ports/print/ghostscript8-nox11/work/ghostscript-8.71'
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT-O2 -pipe -fno-strict-aliasing -fPIC 
-DUPD_SIGNAL=0 -I.  
-I/usr/ports/print/ghostscript8-nox11/work/ghostscript-8.71/jasper/src/libjasper/include
  -I/usr/local/include/libpng  -I/usr/local/include  -Wall -Wstrict-prototypes 
-Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings 
-Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common 
-DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -pipe 
-fno-strict-aliasing -DGS_DEVS_SHARED 
-DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/8.71\" -I./obj/../soobj 
-I./base  -g -o ./bin/../sobin/gsc ./psi/dxmainc.c -L./bin/../sobin -lgs
./bin/../sobin/libgs.so: undefined reference to `lips_mode3format_encode'
gmake[1]: *** [bin/../sobin/gsc] Error 1
gmake[1]: Leaving directory 
`/usr/ports/print/ghostscript8-nox11/work/ghostscript-8.71'
gmake: *** [so] Error 2
*** Error code 1

Stop in /usr/ports/print/ghostscript8-nox11.
*** Error code 1

Stop in /usr/ports/print/ghostscript8-nox11.
*** Error code 1

Stop in /usr/ports/print/teTeX-base.
*** Error code 1

Stop in /usr/ports/print/dvipsk-tetex.
*** Error code 1

Stop in /usr/ports/security/krb5.
*** Error code 1

Stop in /usr/ports/security/krb5.


Regards

Graeme
___
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 RELEASE amd64 support for broadcom 432b(4322)

2011-04-15 Thread Ricardo Gomez
I am attempting to run freebsd on a macbook 5, 1. I installed using dvd1 and
everithing went fine. The only problem is that my
builtin wireless is a bcm432b which is PITA to make work in any
non-propietary system.I know for other bcm43xx cards there
is the bwi driver, but mine isn't supported. I've tried tried

   - Ndisgen on bcmwl5.inf and bcmwl564.sys
   - Ndisgen on bcmwl6.inf and bcmwl664.sys
   - ndiscvt bcmwl5.inf and bcmwl564.sys to ndis_data_header.h and compiling
   ndis.ko

Here's what I noted

   - bcmwl564_sys.ko creates an ndis0 interface which seems to work except
   it doesn't communicate with the router
   - also, when loaded from loader.conf somewhere in the boot sequence the
   computer reboots
   - bcmwl664_sys.kp does nothing
   - The new ndis.ko also does nothing

This is not my first attempt at FreeBSD on my macbook. The last time the
major stumbling block was the gpt and sysinstall. Now the big problem for me
is the wireless because I keep the router in another room. As extra info, in
Debian Lenny broadcom's wl driver works but iwconfig will NOT work.
In Ubunu 10.04 broadcom's wl works too but iwconfig won't work and it's very
slow.

I'd rather waste space on a networkless BSD. So if not i'll erase the
partition, install linux(debian), and try FreeBSD in a year or two.
___
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"


3par iscsi with 8.2?

2011-04-15 Thread Ragona, Derek
Is anyone connecting to 3par SAN units using iscsi with release 8.2?

I am trying to do this, and having some trouble.


-Derek

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


sound card not recognized by freebsd 8.2 but mentioned in PC-BSD 8.2

2011-04-15 Thread Zhang Weiwu, Beijing
Hello. I intend to use FreeBSD instead of PC-BSD. The sound card doesn't 
work on FreeBSD 8.2. I tried to follow the manual and loaded all sound 
card drivers


# kldload snd_driver

But no driver works:

# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:

There is nothing after "installed devices". And there is nothing about 
sound card mentioned in dmesg.


I had the impression non of the drivers recognizes the card, which is:

none1@pci0:0:4:0: class=0x040100 card=0x103b13bd chip=0x545510b9 rev=0x03 
hdr=0x00
vendor = 'Acer Labs Incorporated (ALi/ULi)'
device = 'AC'97 Audio Controller (M1563M Southbridge)'
class = multimedia
subclass = audio


Search for the chip ID as keyword on google reveals in PC-BSD this 
keyword is mentioned in their driver database 
"/PCBSD/soundDetect/soundcards.xml"


source: http://trac.pcbsd.org/changeset/3018/pcbsd

Somehow this hints PC-BSD recognizes and can configure this sound card.

My question is, if PC-BSD could play using this sound card, a FreeBSD 
method must not be too far away, right? Can I configure FreeBSD somehow 
to let a driver recognize and make use of this sound card?


P. S. If it doesn't work, I guess I'll fall back to Windows instead of 
PC-BSD because I intend to use this machine for playing around and 
testing GNUStep including its multimedia. The computer has a hard-wired 
8GB storage which is OK for the purpose, but not enough for PC-BSD.


--
我的博客:
http://zhangweiwu.ixiezi.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"


Re: FreeBSD 8.2 (i386) does not install under Hyper-V

2011-04-15 Thread Scheller, Roland
Hi,


>> Try to install FreeBSD 8.2 on Hyper-V but some-virt-hdd.VHD not bigger then 
>> 30Gb.

Thanks for your hint.  My VHD was about 32 Gb. I tried one more install on a 16 
GB VHD. Now everything seems to work.

Thanks for your efforts.
Roland
___
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: Remote access to Freebsd server

2011-04-15 Thread DeadSun
If you use NAT network setting in vmware or virtualbox or something else in
your win 7. It cannot be access to the virtual server from your host
throught network. You must use bridge network setting in your software.

On Wed, Apr 13, 2011 at 11:37 PM, afiddler10  wrote:

> Hi, I am new to the Linux environment.  I am trying to build a virtual
> Freebsd server to run another virtual device (a Juniper router).  I have
> found that after building the base operating system that I cannot remotely
> access the virtual Freebsd server.  I have tried using both Qemu and VMware
> with the same result.  It looks to me as though the server has a default
> setting that allows it to contact other devices (e.g., I can ping, ftp,
> telnet, etc., other devices from my Freebsd server) but I cannot ping,
> ftp, telnet into the Freebsd server from my host PC.  My host is a Windows 7
> desktop, but I have tried pinging from another virtual device and cannot get
> a response from the Freebsd server.  I do not believe that the issue is my
> Windows 7 PC.
>
> I have tried the newest Disk 1 ISO image of Freebsd, 8.2, but I've also
> tried a few other images with the same result.
>
> I have combed through the documentation, tried configuring the firewall
> using the "open" template, tried to disable the packet filter in rc.conf
> (pf_enable="NO"), to no avail.  I cannot reach the Freebsd server no matter
> what I have tried, and I feel I have exhausted my options.  The ports are
> open and responsive on the virtual server itself, but access seems to be
> blocked to the Freebsd server.
>
> I am hoping you can tell me how to change the default settings on the
> Freebsd server to allow access from my Windows 7 host PC.  Hopefully it does
> not involve manually rebuilding the kernel!
>
> Thanks for your 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"
>



-- 
非淡薄无以明志,非宁静无以致远
___
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"