Re: Freebsd installation problem with 3ware 8506-4LP - storage controller (RAID)

2011-12-25 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Sat Dec 24 23:42:28 2011
 Date: Sun, 25 Dec 2011 00:38:04 -0500
 From: heat...@trans-world.org
 To: freebsd-questions@freebsd.org
 Subject: Freebsd installation problem with 3ware 8506-4LP - storage
  controller (RAID)

 Hello, we tried to instal Freebsd with my 3ware 8506-4LP - storage 
 controller (RAID)
 and it seems freebsd does not support my raid card could you please 
 tell me how to fox this problem?

Read the list of supported hardware. 

See: http://www.freebsd.org/releases/index.html
select hardware notes' for the release version of the O/S you are using.

The '3Ware 8506-4LP is listed there.

It requiress the 'twe' disk driver software, which _is_ provided by the 
standard distribution, *BUT* manual configuration is required.  you have
to do the indicated 'magic' for the installer before it will see the 
controller an disks as installation targets.  Then you have to do it  
AGAIN for the installed system, before booting it.

The 'twe' manpage describes what is required.  You can find it from the
hardware notes link mentioned above.  


___
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 LiveFS - How To Start SSHD?

2011-12-25 Thread Jeff Tipton

On 12/25/2011 07:42 AM, Drew Tomlinson wrote:

On 12/24/2011 9:05 PM, Adam Vande More wrote:
On Sat, Dec 24, 2011 at 4:35 PM, Drew Tomlinson 
d...@mykitchentable.net mailto:d...@mykitchentable.net wrote:



I can do the Configure the network connection, the  setup login
shell for root, and the Prepare SSH part.  However the Enable,
configure, and start sshd part doesn't seem to apply and really
doesn't make sense.

Bottom line is that after running /mnt2/use/sbin/sshd, I can see
the process in ps output.  However when I attempt to connect to
sshd as root, my connection is immediately closed.



ssh -vv


Thank you.  That led me to know that my host.allow file wasn't right.  
Fixed that.  Now failing when keyboard-interactive packet is sent.  
Thinking it's the PermitRootLogin yes problem.  Have created a 
sshd_config file set to yes and used the -f /path/to/file switch when 
starting sshd.  Have also tried using -o 'PermitRootLogin yes' when 
starting.  Still not


Thanks for your help.

Drew

It is the default behavior of sshd to reject root, and the reason is 
security. I, personally (and I think most of the guys there out), just 
leave it that way. Just access your server with ssh 
your-login-name@your-server-ip-or-dns-address, and then issue su 
command to become root. It will ask you the root password which you 
should know if you installed the system. When you have done all the 
system maintenance that you wanted, press ctrl-d. It will move you 
back to your personal shell and environment, out of root privileges. 
Press the ctrl-d the second time, and you are disconnected from your 
server.

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


Re: FreeBSD 8 LiveFS - How To Start SSHD?

2011-12-25 Thread Randal L. Schwartz
 Jeff == Jeff Tipton jef...@mail.com writes:

Jeff It is the default behavior of sshd to reject root, and the reason
Jeff is security. I, personally (and I think most of the guys there
Jeff out), just leave it that way. Just access your server with ssh
Jeff your-login-name@your-server-ip-or-dns-address, and then issue
Jeff su command to become root. It will ask you the root password
Jeff which you should know if you installed the system. When you have
Jeff done all the system maintenance that you wanted, press
Jeff ctrl-d. It will move you back to your personal shell and
Jeff environment, out of root privileges. Press the ctrl-d the second
Jeff time, and you are disconnected from your server.

Or better yet, install sudo, which doesn't require you to share the root
password with a group of people, reducing auditability.

I haven't used su in years, except to install sudo. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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[4]: high load system do not take all CPU time

2011-12-25 Thread Коньков Евгений
Здравствуйте, wishmaster.

Вы писали 19 декабря 2011 г., 6:54:08:



w   --- Original message ---
w  From: Коньков Евгений kes-...@yandex.ru
w  To: Daniel Staal dst...@usa.net
w   Date: 18 December 2011, 19:47:40
w  Subject: Re[2]: high load system do not take all CPU time
w  
w  


 Здравствуйте, Daniel.
 
 Вы писали 18 декабря 2011 г., 17:52:00:
 
 DS --As of December 17, 2011 10:29:42 AM +0200, Коньков Евгений 
 DS is alleged to have said:
 
  How to debug why system do not use free CPU resouces?
 
  On this pictures you can see that CPU can not exceed 400tics
  http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/
  http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/
  http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/
 
 
  On these pictures you can see that problems begin with trafic on re0
  when CPU load rise to maximum
  http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/
  http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/
 
  But there is 25% CPU idle yet at that moment.
 
 DS snip
 
 # top -SIHP
  last pid: 93050;  load averages:  1.45,  1.41,  1.29
  up 9+16:32:06  10:28:43 237 processes: 5 running, 210 sleeping, 2
  stopped, 20 waiting
  CPU 0:  0.8% user,  0.0% nice,  8.7% system, 17.7% interrupt, 72.8% idle
  CPU 1:  0.0% user,  0.0% nice,  9.1% system, 20.1% interrupt, 70.9% idle
  CPU 2:  0.4% user,  0.0% nice,  9.4% system, 19.7% interrupt, 70.5% idle
  CPU 3:  1.2% user,  0.0% nice,  6.3% system, 22.4% interrupt, 70.1% idle
  Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free
  Swap: 4096M Total, 15M Used, 4080M Free
 
 DS --As for the rest, it is mine.
 
 DS You are I/O bound; most of your time is spent in interrupts.  The CPU is
 DS dealing with things as fast as it can get them, but it has to wait for 
 the
 DS disk and/or network card to get them to it.  The CPU is not your problem;
 DS if you need more performance, you need to tune the I/O.  (And possibly 
 get
 DS better I/O cards, if available.)
 
 DS Daniel T. Staal
 
 can I get interrupt limit or calculate it before that limit is
 reached?
 
 interrupt source is internal card:
 # vmstat -i
 interrupt  total   rate
 irq14: ata0   349756 78
 irq16: ehci07427  1
 irq23: ehci1   12150  2
 cpu0:timer  18268704   4122
 irq256: re0 85001260  19178
 cpu1:timer  18262192   4120
 cpu2:timer  18217064   4110
 cpu3:timer  18210509   4108
 Total  158329062  35724
 
 Have you any good I/O tuning links to read?
 
 -- 
 С уважением,
 Коньков  mailto:kes-...@yandex.ru
w   
w  Your problem is in the poor performance LAN Card. Guy from
w Calomel Org told you about it. He advised you to change to Intel Network 
Card.

see at time 17:20
http://piccy.info/view3/2404329/dd9f28f8ac74d3d2f698ff14c305fe31/

at this point freeradius start to work slow because of no CPU time is
allocated to it or is allocated to little and mpd5 start to drop users because 
of no response
from radius. I do not know what idle were on 'top', sadly.

does SNMP return right values for CPU usage?

-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru

___
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: Re[4]: high load system do not take all CPU time

2011-12-25 Thread wishmaster


  --- Original message ---
 From: Коньков Евгений kes-...@yandex.ru
 To: wishmaster artem...@ukr.net
  Date: 25 December 2011, 18:10:22
 Subject: Re[4]: high load system do not take all CPU time
 
 


 Здравствуйте, wishmaster.
 
 Вы писали 19 декабря 2011 г., 6:54:08:
 
 
 
 w   --- Original message ---
 w  From: Коньков Евгений kes-...@yandex.ru
 w  To: Daniel Staal dst...@usa.net
 w   Date: 18 December 2011, 19:47:40
 w  Subject: Re[2]: high load system do not take all CPU time
 w  
 w  
 
 
  Здравствуйте, Daniel.
  
  Вы писали 18 декабря 2011 г., 17:52:00:
  
  DS --As of December 17, 2011 10:29:42 AM +0200, Коньков Евгений 
  DS is alleged to have said:
  
   How to debug why system do not use free CPU resouces?
  
   On this pictures you can see that CPU can not exceed 400tics
   http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/
   http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/
   http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/
  
  
   On these pictures you can see that problems begin with trafic on re0
   when CPU load rise to maximum
   http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/
   http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/
  
   But there is 25% CPU idle yet at that moment.
  
  DS snip
  
  # top -SIHP
   last pid: 93050;  load averages:  1.45,  1.41,  1.29
   up 9+16:32:06  10:28:43 237 processes: 5 running, 210 sleeping, 2
   stopped, 20 waiting
   CPU 0:  0.8% user,  0.0% nice,  8.7% system, 17.7% interrupt, 72.8% idle
   CPU 1:  0.0% user,  0.0% nice,  9.1% system, 20.1% interrupt, 70.9% idle
   CPU 2:  0.4% user,  0.0% nice,  9.4% system, 19.7% interrupt, 70.5% idle
   CPU 3:  1.2% user,  0.0% nice,  6.3% system, 22.4% interrupt, 70.1% idle
   Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M 
   Free
   Swap: 4096M Total, 15M Used, 4080M Free
  
  DS --As for the rest, it is mine.
  
  DS You are I/O bound; most of your time is spent in interrupts.  The CPU 
  is
  DS dealing with things as fast as it can get them, but it has to wait for 
  the
  DS disk and/or network card to get them to it.  The CPU is not your 
  problem;
  DS if you need more performance, you need to tune the I/O.  (And possibly 
  get
  DS better I/O cards, if available.)
  
  DS Daniel T. Staal
  
  can I get interrupt limit or calculate it before that limit is
  reached?
  
  interrupt source is internal card:
  # vmstat -i
  interrupt  total   rate
  irq14: ata0   349756 78
  irq16: ehci07427  1
  irq23: ehci1   12150  2
  cpu0:timer  18268704   4122
  irq256: re0 85001260  19178
  cpu1:timer  18262192   4120
  cpu2:timer  18217064   4110
  cpu3:timer  18210509   4108
  Total  158329062  35724
  
  Have you any good I/O tuning links to read?
  
  -- 
  С уважением,
  Коньков  mailto:kes-...@yandex.ru
 w   
 w  Your problem is in the poor performance LAN Card. Guy from
 w Calomel Org told you about it. He advised you to change to Intel Network 
 Card.
 
 see at time 17:20
 http://piccy.info/view3/2404329/dd9f28f8ac74d3d2f698ff14c305fe31/
 
 at this point freeradius start to work slow because of no CPU time is
 allocated to it or is allocated to little and mpd5 start to drop users 
 because of no response
 from radius. I do not know what idle were on 'top', sadly.
 
 does SNMP return right values for CPU usage?
 
   Here is some  interesting articles about performance, mpd and others. Read 
it.
 http://dadv.livejournal.com/138951.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


ZFS NFS

2011-12-25 Thread Chris Brennan
Greetings!

Hopefully I don't get to lost in my explanation here. I have a raid1
array w/ ZFS running ontop of it, yes I realize this isn't the ideal way
to do things, I didn't know that at the time.

The system is stock FreeBSD-8.2-i386, with 2GB of RAM.

In /boot/loader.conf I have the following:
vfs.zfs.txg.timeout=5
kern.maxvnodes=25
vfs.zfs.txg.write_limit_override=1073741824

The array is 2x750GB Seagate 2.5 drives w/ 16MB cache/ea. I'm not
doing anything fancy except storage of various Operating System
ISO's and some other files, all being served to my lan via Samba
(to some windows clients) and via nfs to several linux/freebsd clients.

Now, on to the juicy stuff.

Windows is unable to successfully connect to the SMB shares anymore,
and I can't figure out why. No error messages are printed in
/var/log/messages on the server. The samba share block for /tank/store
is as follows:

[tank]
comment = ZFS Tank
path = /tank
valid users = chris
admin users = chris
read list = chris
write list = chris
read only = No
'chris' being the uid I use everywhere on my lan. Every machine
has this login.

NFS wise, I have the following set up:

[root@ziggy ~]# cat /etc/exports
/home   -alldirs  -network 192.168.0.0 -mask 255.255.255.0
/usr/obj-maproot=root -alldirs -rw
/usr/src-maproot=root -alldirs -rw
/usr/ports  -maproot=root -alldirs -rw
/usr/ports/distfiles-maproot=root -alldirs -rw
/usr/ports/packages -maproot=root -alldirs  -rw
[root@ziggy ~]# cat /etc/zfs/exports
# !!! DO NOT EDIT THIS FILE MANUALLY !!!

/tank   -maproot=root -alldirs -rw
/tank/music -maproot=root -alldirs -rw
/tank/store -maproot=root -alldirs -rw
/tank/tmp   -maproot=root -alldirs -rw

[root@ziggy ~]# showmount -ae
All mount points on localhost:
stewie.xaerolimit.net:/tank/store
Exports list on localhost:
/tank/tmp  192.168.0.0
/tank/storeEveryone
/tank/music192.168.0.0
[root@ziggy ~]#


/usr/src, /usr/obj, /usr/ports, /usr/ports/distfiles, and
/usr/ports/packages are all zfs remounts

[root@ziggy ~]# df -h
Filesystem  SizeUsed   Avail Capacity  Mounted on
/dev/ad10s1a989M175M735M19%/
devfs   1.0K1.0K  0B   100%/dev
/dev/ad10s1e989M4.2M906M 0%/tmp
/dev/ad10s1f 61G1.0G 55G 2%/usr
/dev/ad10s1d5.8G 96M5.2G 2%/var
/dev/ad8p2  902G2.4M830G 0%/usr/home
procfs  4.0K4.0K  0B   100%/proc
tank488G4.8G483G 1%/tank
tank/music  483G 27M483G 0%/tank/music
tank/store  622G139G483G22%/tank/store
tank/tmp539G 56G483G10%/tank/tmp
tank/obj484G634M483G 0%/usr/obj
tank/ports  484G257M483G 0%/usr/ports
tank/ports/distfiles484G580M483G 0%/usr/ports/distfiles
tank/ports/packages 483G196M483G 0%/usr/ports/packages
tank/src484G798M483G 0%/usr/src
[root@ziggy ~]#

Now when I try to mount anything from the tank path, I get success,
but, I am not able to create files on /tank/store, whereas I can on
/tank/tmp and /tank/music, which is odd in of itself.

Now if I try to mount any of the zfs-remounted shares from /usr, I get
permission denied errors, such as this.

From the client: (fbsd8.2 laptop, recompiled srcs)
root@blackdragon ~]# mount -t nfs ziggy:/usr/src /usr/src/

[tcp] ziggy:/usr/src: Permission denied

^C
[root@blackdragon ~]#

And from the server's /var/log/messages I see:
Dec 25 16:49:15 ziggy mountd[788]: mount request denied from 192.168.0.5
for /usr/src

I'll get that error message for any of the following nfsshares:
/usr/src, /usr/obj, /usr/ports, /usr/ports/packages, and
/usr/ports/distfiles.

So I am unsure where I went wrong but some guidance would be
greatly appreciated.

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)

___
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


Archived FreeBSD versions

2011-12-25 Thread David Jackson
I have been looking for archived versions of FreeBSD back to 2.0. Where can
these be found? I have looked on the FTP site but cannot find them there.
___
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: Archived FreeBSD versions

2011-12-25 Thread Polytropon
On Sun, 25 Dec 2011 21:37:41 -0500, David Jackson wrote:
 I have been looking for archived versions of FreeBSD back to 2.0. Where can
 these be found? I have looked on the FTP site but cannot find them there.

http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/

You'll also find ISO-IMAGES/ in there.


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


Re: FreeBSD 8 LiveFS - How To Start SSHD?

2011-12-25 Thread perryh
mer...@stonehenge.com (Randal L. Schwartz) wrote:
  Jeff == Jeff Tipton jef...@mail.com writes:
 Jeff It is the default behavior of sshd to reject root ...
 Jeff Just access your server with
 Jeff ssh your-login-name@your-server-ip-or-dns-address,
 Jeff and then issue su command to become root ...

 Or better yet, install sudo, which doesn't require you to share
 the root password with a group of people, reducing auditability.

It makes all kinds of sense to avoid direct root logins to an
installed system, but the OP was asking how to use ssh to connect to
a system booted from a LiveCD -- which doesn't have any user logins.
___
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


Problems with pkg_upgrade

2011-12-25 Thread David Jackson
Since I wish to use packages instead of ports to update my system, someone
recommended I use pkg_upgrade. However, basically, it does not work. It
gets to downloaded packages. But, after 10 packages, it prints a message
Protocol error and then Package x cannot be fetched, where x is the
name of the pavkage it stops at. I can restart pkg_upgrade, it downloads 10
more packages where it stopped previously, but then gives this same message
again. Maybe the connection to the FTP server os being lost and code needs
to be added to automatically restart the FTP connection without the whole
thing crashing?

I do think packages need to be better supported on FreeBSD, many users do
prefer to use packages due to speed and convenience and do not prefer to
build it all. it shouldnt be such a hassle
___
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: Problems with pkg_upgrade

2011-12-25 Thread Carl Johnson
David Jackson djackson...@gmail.com writes:

 Since I wish to use packages instead of ports to update my system, someone
 recommended I use pkg_upgrade. However, basically, it does not work. It
 gets to downloaded packages. But, after 10 packages, it prints a message
 Protocol error and then Package x cannot be fetched, where x is the
 name of the pavkage it stops at. I can restart pkg_upgrade, it downloads 10
 more packages where it stopped previously, but then gives this same message
 again. Maybe the connection to the FTP server os being lost and code needs
 to be added to automatically restart the FTP connection without the whole
 thing crashing?

 I do think packages need to be better supported on FreeBSD, many users do
 prefer to use packages due to speed and convenience and do not prefer to
 build it all. it shouldnt be such a hassle

I can't help directly with your problem, but both portupgrade and
portmaster support packages.  In both cases you can just supply the -P
or -PP options to specify how to handle packages.  I think they both
require that the ports tree be present for the /usr/ports/INDEX file,
but otherwise they can use just packages.
-- 
Carl Johnsonca...@peak.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


Clearing Login Screen on Console

2011-12-25 Thread Kevin Zheng
I run FreeBSD 8.2-p5 (release) and I can clear the terminal at the login
prompt by hitting CTRL-L on my keyboard. However, I've installed FreeBSD
9.0-R3 and CTRL-L doesn't clear the screen.

Personally, I like having CTRL-L to clear the login prompt before and
after I log in, and I'd like to see that on FreeBSD 9 as well. Is there
something I can do with /etc/gettytab to get this behavior working again?

Thanks in advance,
Kevin
___
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: Problems with pkg_upgrade

2011-12-25 Thread David Jackson
On Sun, Dec 25, 2011 at 11:52 PM, Carl Johnson ca...@peak.org wrote:

 David Jackson djackson...@gmail.com writes:

  Since I wish to use packages instead of ports to update my system,
 someone
  recommended I use pkg_upgrade. However, basically, it does not work. It
  gets to downloaded packages. But, after 10 packages, it prints a message
  Protocol error and then Package x cannot be fetched, where x is the
  name of the pavkage it stops at. I can restart pkg_upgrade, it downloads
 10
  more packages where it stopped previously, but then gives this same
 message
  again. Maybe the connection to the FTP server os being lost and code
 needs
  to be added to automatically restart the FTP connection without the whole
  thing crashing?
 
  I do think packages need to be better supported on FreeBSD, many users do
  prefer to use packages due to speed and convenience and do not prefer to
  build it all. it shouldnt be such a hassle

 I can't help directly with your problem, but both portupgrade and
 portmaster support packages.  In both cases you can just supply the -P
 or -PP options to specify how to handle packages.  I think they both
 require that the ports tree be present for the /usr/ports/INDEX file,
 but otherwise they can use just packages.
 --
 Carl Johnsonca...@peak.org

 _



The fact is, I have had problems with portupgrade as well, in fact,
portupgrade would give errors as well with not being able to download
packages, the entire upgrade process at that point would fail. That is the
reason I am trying pkg_upgrade. Again, things should work better than this.
Things shouldnt be such a hassle. It should work similar to ubuntu apt-get,
where it just works out of the box.  You type apt-get upgrade and it
automatically upgrades everything, no need to mess around,

 __
 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: Clearing Login Screen on Console

2011-12-25 Thread Polytropon
On Sun, 25 Dec 2011 22:37:48 -0600, Kevin Zheng wrote:
 I run FreeBSD 8.2-p5 (release) and I can clear the terminal at the login
 prompt by hitting CTRL-L on my keyboard. However, I've installed FreeBSD
 9.0-R3 and CTRL-L doesn't clear the screen.
 
 Personally, I like having CTRL-L to clear the login prompt before and
 after I log in, and I'd like to see that on FreeBSD 9 as well. Is there
 something I can do with /etc/gettytab to get this behavior working again?

Can you put the command clear or tput clear in the
shell's login and logout files (globally /etc/csh.login
and /etc/csh.logout, local to the respective user ~/.login
and ~/.logout)?

You can also test those two commands interactively. I
think they are connected to the ^L key, just to make
sure if something's wrong with the /etc/gettytab file.


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