Re: suggestions wanted.... {OT}

2013-01-12 Thread Gary Kline
On Sat, Jan 12, 2013 at 06:41:43AM +0100, Polytropon wrote:
 On Fri, 11 Jan 2013 15:52:16 -0800, Gary Kline wrote:
  I'm looking for a small and portable tablet [or whatever] device
  to use on the once-every-75-years when I do get out.  I am not
  looking for a cell phone.  the one I have works fine for auto-
  dialing whoever.  instead, im thinking of something with a 
  small screen and somekind of keyboard.  it has to have a speaker.
  some version of 'unix' is essential.
 
 Have you considered using something like a small laptop
 (like the Asus eeePC) which is small enough and provides
 sufficient UNIX compatibility? Additionally, a regular
 keyboard (even if in small size) provides tactile feedback
 which can be an advantage (as you don't need visual
 confirmation about something that's covered by your
 fingers).
 
 I think such kind of netbook can be obtained for few money.
 Some of them were shipped with Linux, if I remember correctly,
 and if you wish to install FreeBSD, it's also possible.
 Here are some examples which illustrate the feasibility
 of such a project:
 
 http://wiki.freebsd.org/AsusEee
 
 http://www.freebsdgr.org/articles/en_US.ISO8859-1/articles/install-eeepc/article.html


these look hopeful since  I need to update my debian  5.X.

 
 http://www.unixarea.de/installEeePC.txt
 
 The requirements are met: small screen, physical keyboard,
 built-in speakers. If getting online with it is required,
 that's also possible by using some selected USB web stick.
 
 
I have an EEE-900A that I bought on ebay about two years ago.  it
works fine for my speech program.  I got something about a google
tablet, and [i think] a nook tablet. [?].  then theres the amazon
tablet.  is there a samsung tablet?  does the windoze tablet have
the ability to be unixified, or is it stuck with its crappy op-
sys?

you can see the problem of there being dozens of these small
gadgets out there--yes, including thed android--.  Can anything
be overwritten with anything like we are all used to?  unix.
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
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: suggestions wanted.... {OT}

2013-01-12 Thread Gary Kline
On Sat, Jan 12, 2013 at 12:51:19PM +0700, Erich Dollansky wrote:
 Hi,
 
 On Fri, 11 Jan 2013 15:52:16 -0800
 Gary Kline kl...@thought.org wrote:
 
  
  note that this question is =OT=.
  
  sorry if this is a re-request for clues.  I =did= ask a very
  similar question a year or three ago; I'm just not sure
  where.  
 
 Ah, I remember. Wans't it when the Newton was released?

is the newton still around?  I thought it was a huge flop.
I'll ck, tx.

  I'm looking for a small and portable tablet [or whatever]
  device to use on the once-every-75-years when I do get out.  I am not
  looking for a cell phone.  the one I have works fine for auto-
  dialing whoever.  instead, im thinking of something with
  a small screen and somekind of keyboard.  it has to have a speaker.
  some version of 'unix' is essential.
  
 
 have you looked at Samsung. They have a quiet interesting range from
 hand phones to tablets. I do not know the size up to which they can be
 used as hand phones but some pretty large models have this function
 built-in.


great if there's a model w/ a 5 to 7 screen.  kybd, speaker.
any idea if I can install gvim and espeak...?  and add my own code.


 
 My daughter has one I would still call a hand phone. She is very happy
 with it. 
 
 The keyboard has to be an external one in all cases. I do not know it
 this works on all models. 


so the keybd is a plug-in for the phones.  how about the tablets?
I AM/[have been] looking for a book-device that can read to me.

thanks for the clue,

gary


 
 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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
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


Entry level C++ projects

2013-01-12 Thread alwin doss
Hi All,

I am a C++ developer and I want to contribute to FreeBSD.
There are so many applications.
Is there any C++ project which is simple enough to start with.

Thanks in advance for your help.

--
Alwin Doss
God's Beloved
___
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: Entry level C++ projects

2013-01-12 Thread C. P. Ghost
On Sat, Jan 12, 2013 at 11:10 AM, alwin doss alwindos...@gmail.com wrote:
 Hi All,

 I am a C++ developer and I want to contribute to FreeBSD.
 There are so many applications.
 Is there any C++ project which is simple enough to start with.

 Thanks in advance for your help.

Hi Alwin,

there's indeed a lot to do, though it's mostly in plain C.
If you want to help, please check out the PR-Database:

http://www.freebsd.org/cgi/query-pr-summary.cgi

and pick one problem report. Then try to fix it, and submit
a (working) patch as a follow-up. That's an excellent way to
get acquainted with the system and get some practice. ;-)

 Alwin Doss
 God's Beloved

Kind regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
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: Duplicate files on distro ISO

2013-01-12 Thread Herbert J. Skuhra
On Sat, 12 Jan 2013 02:37:49 -0500
Christian Campbell dc...@alumni.ufl.edu wrote:

 I just tried creating a bootable USB stick with UNetbootin
 from FreeBSD-9.1-RELEASE-i386-dvd1.iso. The stick was blank (newly
 formatted). While UNetbootin worked it asked about overwriting the
 following files:

Why are you not using FreeBSD-9.1-RELEASE-amd64-memstick.img and just
write it with dd to the stick? Not booting?

  /usr/bin/cc
 
 /usr/bin/cc
 
 /usr/bin/mail
 
 [..]
 
 So, the files seem to be in the ISO twice each. FWIW:

e.g:

% ls -la /usr/bin/[Mm]ail 
-r-xr-xr-x  3 root  wheel  82196  2 jan 16:18 /usr/bin/Mail
-r-xr-xr-x  3 root  wheel  82196  2 jan 16:18 /usr/bin/mail

% ls -la /usr/bin/[Cc][Cc]
-r-xr-xr-x  3 root  wheel  176888  2 jan 16:16 /usr/bin/CC
-r-xr-xr-x  2 root  wheel  395648  2 jan 16:16 /usr/bin/cc

Unetbootin is propably creating a FS (VFAT), that is not
case-sensitive.

--  
Herbert
___
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-update IDS

2013-01-12 Thread ajtiM
Hi!

I run freebsd-update on my upgraded FreeBSD 9.1-RELEASE and I got:
/var/cache has 0755 permissions, but should have 0750 permissions

I don't have a server. Should I change  permission, please?

Thank you.

Mitja

http://www.redbubble.com/people/lumiwa
___
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


gpart, glabel and newfs -- what am I doing wrong

2013-01-12 Thread Erich Dollansky
Hi,

in general, I try to create the partitions with gpart, add a label with
glabel and put a filesystem. I think that I am doing something very
simple the wrong way but I cannot see the error.

I try to do it in the following way:

# gpart destroy -F da0
# gpart create -s GPT da0
# gpart add -t freebsd-boot -s 64k da0
# gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 da0
# gpart add -t freebsd-ufs -s 512m -a 4k -l Toshiba16GB2boot da0
# gpart add -t freebsd-ufs -s 10m -a 4k -l Toshiba16GB2root da0
# gpart add -t freebsd-swap -s 10m -a 4k -l Toshiba16GB2swap da0
# gpart add -t freebsd-ufs -s 10m -a 4k -l Toshiba16GB2var da0
# gpart add -t freebsd-ufs -s 10m -a 4k -l Toshiba16GB2tmp da0
# gpart add -t freebsd-ufs -a 4k -l Toshiba16GB2usr da0

Label the partitions:

# glabel label Toshiba16GB2boot /dev/da0p2
# glabel label Toshiba16GB2root /dev/da0p3
# glabel label Toshiba16GB2swap /dev/da0p4
# glabel label Toshiba16GB2var /dev/da0p5
# glabel label Toshiba16GB2tmp /dev/da0p6
# glabel label Toshiba16GB2usr /dev/da0p7

And put a file system onto the partitions.

# newfs /dev/label/Toshiba16GB2boo
# newfs /dev/label/Toshiba16GB2roo
# newfs /dev/label/Toshiba16GB2var
# newfs /dev/label/Toshiba16GB2tmp
# newfs /dev/label/Toshiba16GB2usr

But newfs on the first partition results in this:

Filesystem size 15  minimum size of 48

When I ran the newfs directly on the device, I get this:

[X220]/home/erich (root)  newfs /dev/da0p2
/dev/da0p2: 512.0MB (1048576 sectors) block size 32768, fragment size
4096 using 4 cylinder groups of 128.03MB, 4097 blks, 16512 inodes.
super-block backups (for fsck -b #) at:
 192, 262400, 524608, 786816

Of course, this is what I expect.

I believe that it is something simple but I am not able to see my
mistake.

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


download port directory/tarvall ?

2013-01-12 Thread Peter Vereshagin
Hello.

I used to download the selected port's directory from cvsweb.

Now cvsweb seems to be not updated any more.

I am missing this feature from svnweb.freebsd.org.

Is there any way to download the particular port's directory?

Tried with 'svn co' but it downloads all of the ports without directory
selection, or did I overlook a thing?

Thank you.

--
Peter Vereshagin pe...@vereshagin.org (http://vereshagin.org) pgp: 1754B9C1
___
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: gpart, glabel and newfs -- what am I doing wrong

2013-01-12 Thread Mardorf Ralf
FWIW I could not partition using the FreeBSD 9.0 amd64 install DVD. I 
partitioned with the PcBSD  8.2 DVD and then tried to install from 9.0, but it 
anyway caused partitioning issues.
After that I partitioned using FreeBSD 8.3, installed 8.3 and then updated to 
9.1.

Regards,
Ralf

___
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: USB in Windows7 guest

2013-01-12 Thread Boris Samorodov
Hi Leslie and All,

09.01.2013 16:38, Leslie Jensen пишет:
 
 Hello.
 
 I posted this on the freebsd-virtualization list but got no answers so 
 now I hope that someone here can shed the light for me.
 
 
 I have a Windows7 guest OS in Virtualbox on a FreeBSD 9.1-RELEASE system.
 
 I've followed the instructions in the handbook for enabling USB-support 
 in Virtualbox.
 
 In the machines settings I've ticked for activation of USB controller 
 but not for USB2 because it needs an extension pack that's not available 
 for freebsd if I've understood it right.
 
 I have an Epson V500 scanner that is recognized as an unknown device by 
 the host OS.
 
 ugen7.2: EPSON at usbus7
 Unknown USB device: vendor 0x04b8 product 0x0130 bus uhub7
 
 
 I cannot get it to appear in the guest OS.
 
 Is it possible and if so what do I need to do in order to make it visible?

Sure it's possible. For me it (FreeBSD-i386 9-STABLE host, WinXP guest)
it just works. I'm not sure if it matters -- I install guest additions.

I'd recommend double check your configuration. Ah, yes one more place to
check that you had not mention: is USB enabled at VirtualboxManager for
this virtual machine?

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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

Claws Mail

2013-01-12 Thread Ralf Mardorf

Hi  :)

does anybody know how to set up Claws Mail to use POP/SMTP with  
Yahoo/Rocketmail?


I was able to set up Opera for FreeBSD, the settings are
pop.mail.yahoo.com , port 995, secure connection TLS enabled, Auto  
(Plaintext) and
sntp.mail.yahoo.com, port 465, secure connection TLS enabled, Auto (AUTH  
LOGIN).

On Linux I am using Evolution with
pop.mail.yahoo.com , port 995, SSL on a dedicated port and
sntp.mail.yahoo.com, port 465, server requires authentication enabled, SSL  
on a dedicated port, Login.


Regarding to the settings Claws Mail is able to contact the server, but it  
can not send or retrieve messages.


Regards,
Ralf

--
FreeBSD 9.1-RELEASE amd64
___
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


pax command and sparse files

2013-01-12 Thread Fbsd8

I have a sparse file allocated to 1G
ls -lh test.img   shows 1.0G
du -h  test.img   shows 5.9M

This is what I was expecting.

Now after pax on that single test.img file

ls -lh test.img.tar.gz   shows 1.4M
du -h  test.img.tar.gz   shows 1.4M

This is what I was expecting.

Here is the problem:
Running pax on a native directory tree takes 2 seconds to archive it.
I put that same directory tree into a sparse file
and now pax takes 35 seconds to archive it.

The resulting archive file is good and restores correctlly.

Why does pax take so long to archive a sparse file?


___
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


9.1-R and garbage on the console

2013-01-12 Thread bsd
Hello.

I installed 9.1-R amd64 on a flash drive and boot off it to do remote ZFS
backups.  Booting and the text console screen, including the other alt-f?
consoles, work fine at this point.  A few minutes into the ZFS receive my
console turns into blocky garbage:  http://imgur.com/y8kWR . The system is
not crashed and works fine via SSH.  The box's mainboard (GA-E7AUM-DS2H)
has Integrated NVIDIA GeForce 9400 graphics.  It appears to me that the
RAM shared with the video card is overwritten/corrupted.

Any ideas on how to remedy this?  Thanks for any advice.


___
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: Jails

2013-01-12 Thread Devin Teske

On Jan 11, 2013, at 11:31 PM, Zyumbilev, Peter wrote:

 Hi,
 
 I have not tested it, but so far things do not look promising...
 
 I cannot even run netstat -nvatp properly, however sopcast seemed to
 run, but have not tested it, for plex - have not tried yet.
 

netstat isn't allowed in traditional jails (but is allowed in vimage jails 
which have their own network stack).

If you're able/willing to compile a new kernel to enable the VIMAGE feature, 
then this can be improved so that you can indeed use netstat within the jail.

NOTE: netstat is not allowed within traditional (non-VIMAGE) jails due to 
security restrictions.
-- 
Devin



 On 11/01/2013 21:19, Mark Felder wrote:
 On Fri, 11 Jan 2013 18:28:41 +0200
 Zyumbilev, Peter pe...@aboutsupport.com wrote:
 
 1. Use
 http://download.openvz.org/template/precreated/debian-6.0-x86.tar.gz
 instead the file listed in the howto.
 
 2. Run sysctl compat.linux.osrelease=2.6.32 in Freebsd shell before
 starting the jail, otherwise you will get error kernel too old.
 
 Does PLEX work? I'm highly interested in this I even posted asking for 
 FreeBSD support on the relevant forum post...
 
 ___
 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

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
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: gpart, glabel and newfs -- what am I doing wrong

2013-01-12 Thread Warren Block

On Sat, 12 Jan 2013, Erich Dollansky wrote:


in general, I try to create the partitions with gpart, add a label with
glabel and put a filesystem. I think that I am doing something very
simple the wrong way but I cannot see the error.

I try to do it in the following way:

# gpart destroy -F da0
# gpart create -s GPT da0
# gpart add -t freebsd-boot -s 64k da0
# gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 da0
# gpart add -t freebsd-ufs -s 512m -a 4k -l Toshiba16GB2boot da0
# gpart add -t freebsd-ufs -s 10m -a 4k -l Toshiba16GB2root da0
# gpart add -t freebsd-swap -s 10m -a 4k -l Toshiba16GB2swap da0
# gpart add -t freebsd-ufs -s 10m -a 4k -l Toshiba16GB2var da0
# gpart add -t freebsd-ufs -s 10m -a 4k -l Toshiba16GB2tmp da0
# gpart add -t freebsd-ufs -a 4k -l Toshiba16GB2usr da0

Label the partitions:

# glabel label Toshiba16GB2boot /dev/da0p2
# glabel label Toshiba16GB2root /dev/da0p3
# glabel label Toshiba16GB2swap /dev/da0p4
# glabel label Toshiba16GB2var /dev/da0p5
# glabel label Toshiba16GB2tmp /dev/da0p6
# glabel label Toshiba16GB2usr /dev/da0p7


There is no need for all this.  You already created GPT labels with
'gpt -l' above.  And those labels don't need extra metadata at the end 
of the partition.



And put a file system onto the partitions.

# newfs /dev/label/Toshiba16GB2boo
# newfs /dev/label/Toshiba16GB2roo
# newfs /dev/label/Toshiba16GB2var
# newfs /dev/label/Toshiba16GB2tmp
# newfs /dev/label/Toshiba16GB2usr


Those look cut off.  And there's surely a limit to the length of label 
names, but I'm not sure what it is.  Anyway, use


  # newfs /dev/gpt/Toshiba16GB2boot

And consider using -U with newfs.
___
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: Duplicate files on distro ISO

2013-01-12 Thread Polytropon
On Sat, 12 Jan 2013 02:37:49 -0500, Christian Campbell wrote:
 I just tried creating a bootable USB stick with UNetbootin
 from FreeBSD-9.1-RELEASE-i386-dvd1.iso. The stick was blank (newly
 formatted).

Formatted with _which_ file system? I'm asking because of this:

 2. The files deposited on the stick had capitalised names, like /usr/bin/CC

The UFS file system should be sensitive to case difference, so
cc and CC are different file names. If you have accidentally
formatted the stick with some MS-DOS format (fat16, fat32, vfat
or other fat stuff) that might be the problem. Try inializing
the stick with the newfs command.

Attention! If you're intending to boot from that stick, other
actions might need to be taken prior to initializing (like
creating partition table, setting active partition and so on).
Refer to the documentation on what you need to do manually.



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


Keyboard weirdness

2013-01-12 Thread Andre Goree

All of a sudden today Im having a very weird issue with my keyboards.

1. Pressing the ctrl key nets a single quotation mark
2. Pressing s nets s. (s followed by a period).  Pressing period nets that  
same s. combination

3. Pressing the quotation key does nothing.

Thats just what Ive come across so far.  You can imagine how much Ive had  
to edit this mes.s.age with all the periods and letter s Ive typed...


Anyone have an idea of why this might be happening?  I didnt change  
anything, and it seems to happen even on the console.


--
Using Opera's mail client: http://www.opera.com/mail/
___
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: Keyboard weirdness

2013-01-12 Thread Andre Goree

On Sat, 12 Jan 2013 14:48:01 -0500, Andre Goree an...@drenet.info wrote:


All of a sudden today Im having a very weird issue with my keyboards.

1. Pressing the ctrl key nets a single quotation mark
2. Pressing s nets s. (s followed by a period).  Pressing period nets  
that same s. combination

3. Pressing the quotation key does nothing.

Thats just what Ive come across so far.  You can imagine how much Ive  
had to edit this mes.s.age with all the periods and letter s Ive typed...


Anyone have an idea of why this might be happening?  I didnt change  
anything, and it seems to happen even on the console.




Turns out this is a hardware problem with they keyboard itself, I have the  
same issue when plugging the keyboard into another system.




--
Using Opera's mail client: http://www.opera.com/mail/
___
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


manpage - html

2013-01-12 Thread Fbsd8

Is there any command line command to convert a port's manpage to html?
Well really any manpage.
___
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: manpage - html

2013-01-12 Thread Tim Daneliuk

On 01/12/2013 06:24 PM, Fbsd8 wrote:

Is there any command line command to convert a port's manpage to html?
Well really any manpage.


In the ports under:


   textproc/man2html



--

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: manpage - html

2013-01-12 Thread Mehmet Erol Sanliturk
On Sat, Jan 12, 2013 at 4:24 PM, Fbsd8 fb...@a1poweruser.com wrote:

 Is there any command line command to convert a port's manpage to html?
 Well really any manpage.




http://en.wikipedia.org/wiki/Mandoc
http://mdocml.bsd.lv/


Thank you very much .

Mehmet Erol Sanliturk
___
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: manpage - html

2013-01-12 Thread Fbsd8

Mehmet Erol Sanliturk wrote:



On Sat, Jan 12, 2013 at 4:24 PM, Fbsd8 fb...@a1poweruser.com 
mailto:fb...@a1poweruser.com wrote:


Is there any command line command to convert a port's manpage to html?
Well really any manpage.




http://en.wikipedia.org/wiki/Mandoc
http://mdocml.bsd.lv/


Thank you very much .

Mehmet Erol Sanliturk



OK let me be more specific.
Using just commands that are in the base system.
IE; come with the 9.1 system



___
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


BWN WLAN wpa_supplicant ssid mismatch no carrier

2013-01-12 Thread Thomas D. Dean

FreeBSD 9.0 as of June 1, 2012.

I have an older laptop with a PC Card Linksys WiFi adapter.

I cannot connect to a close-by (2 ft) wireless router.

 cat rc.conf
...
ifconfig_wlan0=WPA SYNCDHCP
wlans_bwn0=wlan0
...

 cat /etc/wpa_supplicant.conf
network={
  ssid=tddhome
  psk=
}

# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -ddt
...
 0:   the correct router ssid='' wpa_ie_len=22 ...
  skip - SSID mismatch
...

The interface is seeing the correct router
 ifconfig -v wlan0 list scan
...

SSIDtddhome ... WPAv1 mc:AES-CCMP uc:AES-CCMP km:8021X-PSK ...

What am I doing wrong?

Tom Dean
___
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: gpart, glabel and newfs -- what am I doing wrong

2013-01-12 Thread Erich Dollansky
Hi,

On Sat, 12 Jan 2013 09:56:39 -0700 (MST)
Warren Block wbl...@wonkity.com wrote:

 On Sat, 12 Jan 2013, Erich Dollansky wrote:
 
  in general, I try to create the partitions with gpart, add a label
  with glabel and put a filesystem. I think that I am doing something
  very simple the wrong way but I cannot see the error.
 
  I try to do it in the following way:
 
  # gpart destroy -F da0
  # gpart create -s GPT da0
  # gpart add -t freebsd-boot -s 64k da0
  # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 da0
  # gpart add -t freebsd-ufs -s 512m -a 4k -l Toshiba16GB2boot da0
  # gpart add -t freebsd-ufs -s 10m -a 4k -l Toshiba16GB2root da0
  # gpart add -t freebsd-swap -s 10m -a 4k -l Toshiba16GB2swap da0
  # gpart add -t freebsd-ufs -s 10m -a 4k -l Toshiba16GB2var da0
  # gpart add -t freebsd-ufs -s 10m -a 4k -l Toshiba16GB2tmp da0
  # gpart add -t freebsd-ufs -a 4k -l Toshiba16GB2usr da0
 
  Label the partitions:
 
  # glabel label Toshiba16GB2boot /dev/da0p2
  # glabel label Toshiba16GB2root /dev/da0p3
  # glabel label Toshiba16GB2swap /dev/da0p4
  # glabel label Toshiba16GB2var /dev/da0p5
  # glabel label Toshiba16GB2tmp /dev/da0p6
  # glabel label Toshiba16GB2usr /dev/da0p7
 
 There is no need for all this.  You already created GPT labels with
 'gpt -l' above.  And those labels don't need extra metadata at the
 end of the partition.
 
For what is glabel then still good?

 And consider using -U with newfs.

Do not worry, this was just for the test.

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: BWN WLAN wpa_supplicant ssid mismatch no carrier

2013-01-12 Thread Erich Dollansky
Hi,

On Sat, 12 Jan 2013 16:58:31 -0800
Thomas D. Dean tomd...@speakeasy.org wrote:

 FreeBSD 9.0 as of June 1, 2012.
 
 I have an older laptop with a PC Card Linksys WiFi adapter.
 
 I cannot connect to a close-by (2 ft) wireless router.
 
   cat rc.conf
 ...
 ifconfig_wlan0=WPA SYNCDHCP

you must add here the ssid to be used.

 wlans_bwn0=wlan0
 ...
 
   cat /etc/wpa_supplicant.conf
 network={
ssid=tddhome
psk=
 }
 
 # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -ddt
 ...
   0:   the correct router ssid='' wpa_ie_len=22 ...
skip - SSID mismatch
 ...
 
 The interface is seeing the correct router
   ifconfig -v wlan0 list scan
 ...
 
 SSIDtddhome ... WPAv1 mc:AES-CCMP uc:AES-CCMP km:8021X-PSK ...
 
 What am I doing wrong?

You must tell ifconfig which ssid to use.

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: BWN WLAN wpa_supplicant ssid mismatch no carrier

2013-01-12 Thread Waitman Gobble
On Sat, Jan 12, 2013 at 4:58 PM, Thomas D. Dean tomd...@speakeasy.orgwrote:

 FreeBSD 9.0 as of June 1, 2012.

 I have an older laptop with a PC Card Linksys WiFi adapter.

 I cannot connect to a close-by (2 ft) wireless router.

  cat rc.conf
 ...
 ifconfig_wlan0=WPA SYNCDHCP
 wlans_bwn0=wlan0
 ...

  cat /etc/wpa_supplicant.conf
 network={
   ssid=tddhome
   psk=
 }

 # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -ddt
 ...
  0:   the correct router ssid='' wpa_ie_len=22 ...
   skip - SSID mismatch
 ...

 The interface is seeing the correct router
  ifconfig -v wlan0 list scan
 ...

 SSIDtddhome ... WPAv1 mc:AES-CCMP uc:AES-CCMP km:8021X-PSK ...

 What am I doing wrong?

 Tom Dean
 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org


Hi,

I don't recall connecting with CCMP (maybe there's no issue!!!) but check
the router settings. For some reason I remember having to set mine to use
TKIP. An idea. (?)


-- 
Waitman Gobble
San Jose California USA
510-830-7975
___
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: manpage - html

2013-01-12 Thread Polytropon
On Sat, 12 Jan 2013 19:52:06 -0500, Fbsd8 wrote:
 OK let me be more specific.
 Using just commands that are in the base system.
 IE; come with the 9.1 system

Very well:

zcat `man -w ls` | groff -Thtml -dpaper=a4 -P-pa4  ls.html

zcat `man -w ls` | groff -Thtml  ls.html

However, the output looks a bit strange here (tested with lynx
and Opera), so maybe some additional options are required. I've
just derived this from my man2pdf script and read man groff
for the -T parameter.


-- 
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: BWN WLAN wpa_supplicant ssid mismatch no carrier

2013-01-12 Thread Waitman Gobble
On Sat, Jan 12, 2013 at 5:14 PM, Waitman Gobble gobble...@gmail.com wrote:



 On Sat, Jan 12, 2013 at 4:58 PM, Thomas D. Dean tomd...@speakeasy.orgwrote:

 FreeBSD 9.0 as of June 1, 2012.

 I have an older laptop with a PC Card Linksys WiFi adapter.

 I cannot connect to a close-by (2 ft) wireless router.

  cat rc.conf
 ...
 ifconfig_wlan0=WPA SYNCDHCP
 wlans_bwn0=wlan0
 ...

  cat /etc/wpa_supplicant.conf
 network={
   ssid=tddhome
   psk=
 }

 # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -ddt
 ...
  0:   the correct router ssid='' wpa_ie_len=22 ...
   skip - SSID mismatch
 ...

 The interface is seeing the correct router
  ifconfig -v wlan0 list scan
 ...

 SSIDtddhome ... WPAv1 mc:AES-CCMP uc:AES-CCMP km:8021X-PSK ...

 What am I doing wrong?

 Tom Dean
 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org


 Hi,

 I don't recall connecting with CCMP (maybe there's no issue!!!) but check
 the router settings. For some reason I remember having to set mine to use
 TKIP. An idea. (?)


 --
 Waitman Gobble
 San Jose California USA
 510-830-7975



I think Erich is correct. Also, CCMP should work great if
wlan_ccmp_load=YES is in /boot/loader.conf

Waitman Gobble
San Jose California USA
510-830-7975
___
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: BWN WLAN wpa_supplicant ssid mismatch no carrier

2013-01-12 Thread Thomas D. Dean

On 01/12/13 17:39, Waitman Gobble wrote:

# kldload wlan_ccmp

# kldload wlan_ccmp
kldload: can't load wlan_ccmp: File exists

Tom Dean

___
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: manpage - html

2013-01-12 Thread Fbsd8

Polytropon wrote:

On Sat, 12 Jan 2013 19:52:06 -0500, Fbsd8 wrote:

OK let me be more specific.
Using just commands that are in the base system.
IE; come with the 9.1 system


Very well:

zcat `man -w ls` | groff -Thtml -dpaper=a4 -P-pa4  ls.html

zcat `man -w ls` | groff -Thtml  ls.html

However, the output looks a bit strange here (tested with lynx
and Opera), so maybe some additional options are required. I've
just derived this from my man2pdf script and read man groff
for the -T parameter.




  zcat `man -w ls` | groff -T html  ls.html

That kind of worked. It did create html code but it dropped all the 
indentations and blank lines. .Pp commands in the man page source.

___
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


Regarding: Script configure failed unexpectedly.

2013-01-12 Thread Joe Altman
Greetings...

I was upgrading kino tonight, and the upgrade process failed and tossed
this request at the tail of the error:

===  Script configure failed unexpectedly.
Please report the problem to po...@freebsd.org [maintainer] and attach
the /usr/ports/multimedia/kino/work/kino-1.3.4/config.log including
the output of the failure of your make command. Also, it might be a good
idea to provide an overview of all packages installed on your system
(e.g. a /usr/sbin/pkg_info -Ea).

On January 2, the same thing happened and I did as requested...my email
can be seen in the January 2013 thread in the mailing lists and seems
unacknowledged. Looking at it, I saw (and remembered) send-pr as the
method to use.

My question: should a PR be opened on the Script 'configure...
message, such that use send-pr instead of send it to ports@ is used?

I imagine this sort of problem is common.

Regards,

Joe Altman
___
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: manpage - html

2013-01-12 Thread Fbsd8

Fbsd8 wrote:

Polytropon wrote:

On Sat, 12 Jan 2013 19:52:06 -0500, Fbsd8 wrote:

OK let me be more specific.
Using just commands that are in the base system.
IE; come with the 9.1 system


Very well:

zcat `man -w ls` | groff -Thtml -dpaper=a4 -P-pa4  ls.html

zcat `man -w ls` | groff -Thtml  ls.html

However, the output looks a bit strange here (tested with lynx
and Opera), so maybe some additional options are required. I've
just derived this from my man2pdf script and read man groff
for the -T parameter.




  zcat `man -w ls` | groff -T html  ls.html

That kind of worked. It did create html code but it dropped all the 
indentations and blank lines. .Pp commands in the man page source.




   zcat `man -w ls` | groff -mdoc -T html  ls.html

The -mdoc is the FBSD style and it worked.
Got indentations for all sections plus the high-intensity stuff
converted to bold. The blank lines also can out.

Thanks for the pointer.
You're da man.


___
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: Regarding: Script configure failed unexpectedly.

2013-01-12 Thread Waitman Gobble
On Sat, Jan 12, 2013 at 6:01 PM, Joe Altman free...@chthonixia.net wrote:

 Greetings...

 I was upgrading kino tonight, and the upgrade process failed and tossed
 this request at the tail of the error:

 ===  Script configure failed unexpectedly.
 Please report the problem to po...@freebsd.org [maintainer] and attach
 the /usr/ports/multimedia/kino/work/kino-1.3.4/config.log including
 the output of the failure of your make command. Also, it might be a good
 idea to provide an overview of all packages installed on your system
 (e.g. a /usr/sbin/pkg_info -Ea).

 On January 2, the same thing happened and I did as requested...my email
 can be seen in the January 2013 thread in the mailing lists and seems
 unacknowledged. Looking at it, I saw (and remembered) send-pr as the
 method to use.

 My question: should a PR be opened on the Script 'configure...
 message, such that use send-pr instead of send it to ports@ is used?

 I imagine this sort of problem is common.

 Regards,

 Joe Altman
 ___
 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


Hi,

If the email contact is as listed it seems there is not a specific person
who has taken the port. I found your email to the ports list with the
attached config.log. I will take a look at the problem and probably find a
solution. I'm heading out for the evening so I may not get to it until
tomorrow morning.

-- 
Waitman Gobble
San Jose California USA
510-830-7975
___
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: BWN WLAN wpa_supplicant ssid mismatch no carrier

2013-01-12 Thread Thomas D. Dean

On 01/12/13 17:59, Thomas D. Dean wrote:

 cat /etc/rc.conf
...
ifconfig_wlan0=SYNCDHCP WPA ssid tddhome mode 11b
wlan0_bwn0=wlan0
...

I found another email that said the device did not support mode 11n. 
But, this does not seem to have changed anything.


Tom Dean
___
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: BWN WLAN wpa_supplicant ssid mismatch no carrier

2013-01-12 Thread Erich Dollansky
Hi,

On Sat, 12 Jan 2013 18:39:09 -0800
Thomas D. Dean tomd...@speakeasy.org wrote:

 On 01/12/13 17:59, Thomas D. Dean wrote:
 
   cat /etc/rc.conf
 ...
 ifconfig_wlan0=SYNCDHCP WPA ssid tddhome mode 11b
 wlan0_bwn0=wlan0
 ...
 
 I found another email that said the device did not support mode 11n. 
 But, this does not seem to have changed anything.
 
leave the mode away. It should then use a mode which both bwn and the
device will support.

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: manpage - html

2013-01-12 Thread Polytropon
On Sat, 12 Jan 2013 21:20:02 -0500, Fbsd8 wrote:
 Fbsd8 wrote:
  Polytropon wrote:
  On Sat, 12 Jan 2013 19:52:06 -0500, Fbsd8 wrote:
  OK let me be more specific.
  Using just commands that are in the base system.
  IE; come with the 9.1 system
 
  Very well:
 
  zcat `man -w ls` | groff -Thtml -dpaper=a4 -P-pa4  ls.html
 
  zcat `man -w ls` | groff -Thtml  ls.html
 
  However, the output looks a bit strange here (tested with lynx
  and Opera), so maybe some additional options are required. I've
  just derived this from my man2pdf script and read man groff
  for the -T parameter.
 
 
  
zcat `man -w ls` | groff -T html  ls.html
  
  That kind of worked. It did create html code but it dropped all the 
  indentations and blank lines. .Pp commands in the man page source.
  
  
 zcat `man -w ls` | groff -mdoc -T html  ls.html
 
 The -mdoc is the FBSD style and it worked.
 Got indentations for all sections plus the high-intensity stuff
 converted to bold. The blank lines also can out.

An all this confusion simply because I wanted to trim the
command nicely and left out some stuff from my man2pdf script.
Here it is for reference (in case you need to create PS or
PDF output from manpages):



#!/bin/sh

if [  $# = 0 ]; then
echo usage: man2pdf.sh topic
exit 1
fi

if [ -f $1.pdf ]; then
echo output file $1.pdf already exists, aborting.
exit 1
fi

zcat `man -w $@` | groff -Tps -dpaper=a4 -P-pa4 -mandoc | ps2pdf $1.pdf 

exit 0



And as you can see: the -mandoc option is in there, the big
difference being -Tps instead of -Thtml (as listed in man groff
regarding the -T option).

Note that this script requires ps2pdf as external package.



-- 
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: Regarding: Script configure failed unexpectedly.

2013-01-12 Thread Joe Altman
On Sat, Jan 12, 2013 at 06:21:28PM -0800, Waitman Gobble wrote:
 Hi,
 
 If the email contact is as listed it seems there is not a specific person
 who has taken the port. I found your email to the ports list with the
 attached config.log. I will take a look at the problem and probably find a
 solution. I'm heading out for the evening so I may not get to it until
 tomorrow morning.

Thank you; it's not urgent for me, as kino currently works. I just
wanted to open a bug report.

Also: it seems that since the last time I used send-pr Spamassassin was
placed between the recipients of send-pr and dynamic hosts. So it looks
as if it may be best for people to be told to use the web interface for
bugs, since send-pr seems to use the localhost MTA, rather than SMTP
AUTH.
___
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