modem communication

2012-12-15 Thread s m
hello guys,

please forgive me if my question is not related to this list but i don't
know where i should ask about it.

i have a freebsd8.2 and wanna talk my modem by com port. when i connect my
modem to com port, everything is ok.

for some reasons, i have to communicate with modem, run a command, close
the connection, connect again, run another command, close connection,... .
in the other words, in each communication i have to run just one ati
command and close connection.

my question is: are there any ati commands in modems that should be run
continuously (in the same communication)?  i mean running one command,
close connection, open it again and run another command would make any
wrong?

my program should work with all modems not a specific one.

any hints or comments are really appreciated.
sam
___
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: modem communication

2012-12-15 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Sat Dec 15 03:27:08 2012
 Date: Sat, 15 Dec 2012 12:54:44 +0330
 Subject: modem communication
 From: s m sam.gh1...@gmail.com
 To: freebsd-questions@freebsd.org

 hello guys,

 please forgive me if my question is not related to this list but i don't
 know where i should ask about it.

 i have a freebsd8.2 and wanna talk my modem by com port. when i connect my
 modem to com port, everything is ok.

 for some reasons, i have to communicate with modem, run a command, close
 the connection, connect again, run another command, close connection,... .
 in the other words, in each communication i have to run just one ati
 command and close connection.

BAD IDEA(TM)

 my question is: are there any ati commands in modems that should be run
 continuously (in the same communication)?  i mean running one command,
 close connection, open it again and run another command would make any
 wrong?

yes. 


 my program should work with all modems not a specific one.

 any hints or comments are really appreciated.

Open the serial port at the beginning of the 'session', keep it open while
you do everything needed, then (and only then!) close the serial port.



___
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: modem communication

2012-12-15 Thread Polytropon
On Sat, 15 Dec 2012 04:06:54 -0600 (CST), Robert Bonomi wrote:
  From owner-freebsd-questi...@freebsd.org  Sat Dec 15 03:27:08 2012
  Date: Sat, 15 Dec 2012 12:54:44 +0330
  Subject: modem communication
  From: s m sam.gh1...@gmail.com
  To: freebsd-questions@freebsd.org
 
  my program should work with all modems not a specific one.
 
  any hints or comments are really appreciated.
 
 Open the serial port at the beginning of the 'session', keep it open while
 you do everything needed, then (and only then!) close the serial port.

In addition, depending on how you access the modem, e. g.
via open() or fopen(), you could use the corresponding
flush operation - fsync() - to make sure the commands are
written to the modem port _right now_. There should be no
need to re-open the modem for every AT command you send.



-- 
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: Software Manager - try again later

2012-12-15 Thread Polytropon
On Fri, 14 Dec 2012 22:38:08 + (GMT), Mardorf Ralf wrote:
 Hi :)
 
 
 Software Manager (PC-BSD 8.2) can't install software.
 Removing and updating software does work, but if I try to install software, I 
 get
 Download failed! Please try again later. and I tried again for several days.
 I couldn't find a hint searching the web, so any hints are welcome ( 
 http://lmgtfy.com/ ;).
 
 This happens when I try to install Evolution, AbiWord, Claws, Hydrogen and 
 others.

I know it doesn't address the problem directly, but have you
tried using other methods of installing software on PC-BSD,
which are:

1. download a PBI and execute it

2. use pkg_add -r

3. use ports collection

I'm aware of the fact that this doesn't conform to PC-BSD's
software maintenance paradigm, but it should work. Mixing
PBI and ports/packages is possible, but discouraged.


-- 
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: make do not work in 10-Current

2012-12-15 Thread Ryan Steinmetz

On (12/15/12 11:30), Boris Samorodov wrote:
 (maintainer is CCed)
 
 15.12.2012 02:24, Eugen Konkov ??:
 
  # make
  Makefile, line 166: Malformed conditional (${PORT_OPTIONS:MFIREBIRD}  
  empty(${PORT_OPTIONS:MEXPERIMENTAL})
  Makefile, line 168: if-less endif
  make: fatal errors encountered -- cannot continue
 

Thanks for the report.  A fix for this has been committed.  Please
update your ports tree and try your build agian.

-r


 Please, try the attached patch (missing ) at the end of the
 quoted Makefile line).
 
 
 -- 
 WBR, Boris Samorodov (bsam)
 FreeBSD Committer, http://www.FreeBSD.org The Power To Serve

 Index: /usr/ports/net/freeradius2/Makefile
 ===
 --- /usr/ports/net/freeradius2/Makefile   (revision 308706)
 +++ /usr/ports/net/freeradius2/Makefile   (working copy)
 @@ -171,7 +171,7 @@
  .endif
  
  # Firebird module is still experimental
 -.if ${PORT_OPTIONS:MFIREBIRD}  empty(${PORT_OPTIONS:MEXPERIMENTAL}
 +.if ${PORT_OPTIONS:MFIREBIRD}  empty(${PORT_OPTIONS:MEXPERIMENTAL})
  EXPM=yes
  .endif
  


-- 
Ryan Steinmetz
PGP: EF36 D45A 5CA9 28B1 A550  18CD A43C D111 7AD7 FAF2
___
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


pkgng

2012-12-15 Thread ajtiM
My system: FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 00:18:27 UTC 2012 
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

I installed new pkg, I have WITH_PKGNG=yes in /etc/make.conf, I ran pkg2ng and 
I use portmaster. I turned ON SHLIBS=YES in pkg.conf and pkg_check -Ba show:

pkg check -Ba
pkg: (fltk-1.3.2) shared library libfltk_images.so.1.3 not found
pkg: (fltk-1.3.2) shared library libfltk_forms.so.1.3 not found
pkg: (fltk-1.3.2) shared library libfltk.so.1.3 not found
pkg: (fltk-1.3.2) shared library libfltk.so.1.3 not found
pkg: (fltk-1.3.2) shared library libfltk.so.1.3 not found
pkg: (fltk-1.3.2) shared library libfltk.so.1.3 not found
pkg: (fltk-1.3.2) shared library libfltk.so.1.3 not found
pkg: (fltk-1.3.2) shared library libfltk.so.1.3 not found
pkg: (fltk-1.3.2) shared library libfltk.so.1.3 not found
pkg: (fltk-1.3.2) shared library libfltk.so.1.3 not found
pkg: (fltk-1.3.2) shared library libfltk.so.1.3 not found
pkg: (fltk-1.3.2) shared library libfltk.so.1.3 not found
pkg: (htmldoc-1.8.27_7) shared library libfltk_images.so.1.3 not found
pkg: (htmldoc-1.8.27_7) shared library libfltk.so.1.3 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbasewx.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbase.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginvigraimpex.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libmakefilelib.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbasewx.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbase.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginvigraimpex.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libmakefilelib.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbase.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginvigraimpex.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libmakefilelib.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbase.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginvigraimpex.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libmakefilelib.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbasewx.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbase.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginvigraimpex.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginlines.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libmakefilelib.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libceleste.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginvigraimpex.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbase.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libmakefilelib.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbase.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginvigraimpex.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libmakefilelib.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbase.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginvigraimpex.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libmakefilelib.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library liblocalfeatures.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginvigraimpex.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbase.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libceleste.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libmakefilelib.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbase.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginvigraimpex.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libmakefilelib.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbase.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginvigraimpex.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libmakefilelib.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbase.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginvigraimpex.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbasewx.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libceleste.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libicpfindlib.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libmakefilelib.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbase.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginvigraimpex.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libmakefilelib.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbasewx.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginbase.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libhuginvigraimpex.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libmakefilelib.so.0.0 not found
pkg: (hugin-2011.4.0_3) shared library libicpfindlib.so.0.0 not 

Re[2]: make do not work in 10-Current

2012-12-15 Thread Eugen Konkov
Здравствуйте, Boris.

Вы писали 15 декабря 2012 г., 9:30:19:

BS (maintainer is CCed)

BS 15.12.2012 02:24, Eugen Konkov пишет:

 # make
 Makefile, line 166: Malformed conditional (${PORT_OPTIONS:MFIREBIRD}  
 empty(${PORT_OPTIONS:MEXPERIMENTAL})
 Makefile, line 168: if-less endif
 make: fatal errors encountered -- cannot continue

BS Please, try the attached patch (missing ) at the end of the
BS quoted Makefile line).



thank you

-- 
С уважением,
 Eugen  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: pkgng

2012-12-15 Thread Matthew Seaman
On 15/12/2012 14:16, ajtiM wrote:
 My system: FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 00:18:27 UTC 2012 
 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
 I installed new pkg, I have WITH_PKGNG=yes in /etc/make.conf, I ran pkg2ng 
 and 
 I use portmaster. I turned ON SHLIBS=YES in pkg.conf and pkg_check -Ba show:
 
 pkg check -Ba
 pkg: (fltk-1.3.2) shared library libfltk_images.so.1.3 not found
 pkg: (fltk-1.3.2) shared library libfltk_forms.so.1.3 not found
 pkg: (fltk-1.3.2) shared library libfltk.so.1.3 not found
 pkg: (fltk-1.3.2) shared library libfltk.so.1.3 not found
[... repetetive stuff elided ...]
 allocate memory
 pkg: elf_begin() for /usr/local/man/man1/jackstart.1.gz failed: I/O error: 
 Cannot allocate memory
 pkg: Cannot mmap /var/run/ld-elf.so.hints: Cannot allocate memory
 
 I rebuilt hugin, fltk and jack and ran again but I got the same.

Thank you for the report.  I'll add it to issue #403 at the pkgng github
(https://github.com/pkgng/pkgng/issues/403) so it doesn't get forgotten.

I'm slowly collecting examples of applications where the shlib analysis
doesn't work properly so I can debug them.  Sometimes it seems to be due
to ports needing LD_LIBRARY_PATH set in the environment, which we can't
do much about, but there are other cases which seemingly have a
different etiology.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: Software Manager - try again later

2012-12-15 Thread Ralf Mardorf
On Sat, 2012-12-15 at 13:11 +0100, Polytropon wrote:
 Mixing PBI and ports/packages is possible, but discouraged.

I read about it, but don't understand the issue.

If I never ever would use PBI again but ports/packages only in the
future, it still would cause issues? The port directory isn't empty.

I installed PC-BSD 8.2, regarding to the issues to partition, when I
started with FreeBSD 9.0,
http://lists.freebsd.org/pipermail/freebsd-multimedia/2012-December/013680.html 
.

Manually downloading and installing is ok as a workaround, but in the
end everything should work without workarounds.
So PC-BSD isn't really FreeBSD ;)? I asked before I installed it ;) and
it was said, that it is FreeBSD ;).

However, since I've got my Linux for work, I don't depend on BSD. I can
spend some time to get BSD working :), OTOH I don't have much time to do
the same things again and again + I have to avoid that working on BSD
might damage my Linux installs or data.

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

2012-12-15 Thread Walter Hurry
On Sat, 15 Dec 2012 15:31:03 +, Matthew Seaman wrote:

 'm slowly collecting examples of applications where the shlib analysis
 doesn't work properly

In case you don't already have them in your list:
opnjdk7
libreoffice


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

2012-12-15 Thread Matthew Seaman
On 15/12/2012 18:23, Walter Hurry wrote:
 On Sat, 15 Dec 2012 15:31:03 +, Matthew Seaman wrote:
 
 'm slowly collecting examples of applications where the shlib analysis
 doesn't work properly
 
 In case you don't already have them in your list:
 opnjdk7
 libreoffice

Thanks.  Added to the list.  It always has to be the really big projects
(and tedious to debug because of that) doesn't it.

Cheers,

Matthew 

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matt...@infracaninophile.co.uk



signature.asc
Description: OpenPGP digital signature


Re: Software Manager - try again later

2012-12-15 Thread Polytropon
On Sat, 15 Dec 2012 17:25:17 +0100, Ralf Mardorf wrote:
 On Sat, 2012-12-15 at 13:11 +0100, Polytropon wrote:
  Mixing PBI and ports/packages is possible, but discouraged.
 
 I read about it, but don't understand the issue.
 
 If I never ever would use PBI again but ports/packages only in the
 future, it still would cause issues? The port directory isn't empty.

As far as I know, this wouldn't be a problem on PC-BSD,
as long as you don't deal with applications that are
already installed. I don't know if PBI properly interoperates
with ports and packages as there are many things to
consider: package lists, directory structures and
locations, and software databases.



 I installed PC-BSD 8.2, regarding to the issues to partition, when I
 started with FreeBSD 9.0,
 http://lists.freebsd.org/pipermail/freebsd-multimedia/2012-December/013680.html
  .
 
 Manually downloading and installing is ok as a workaround, but in the
 end everything should work without workarounds.

There is also a CLI utility to avoid the unpleasant
process of fiddling with a web browser and holding
the wizard's hand during installation. :-)



 So PC-BSD isn't really FreeBSD ;)? I asked before I installed it ;) and
 it was said, that it is FreeBSD ;).

Not quite. PC-BSD is FreeBSD _and_, which means that the
core of the system is FreeBSD, but it gets some special
features such as the PBI installer and the integration
and preconfiguration of the KDE desktop. It also has a
custom installer. This implies that there are few things
that could be called incompatibilities, but that harsh
word doesn't fit well. PC-BSD can be considered a FreeBSD
derivate (again, doesn't fit well) for easier desktop (!)
installation, with the recommendation to use its native
tools (instead of the FreeBSD native tools), like stay
in your garage and use _your_ tools, not mine. :-)




 However, since I've got my Linux for work, I don't depend on BSD. I can
 spend some time to get BSD working :), OTOH I don't have much time to do
 the same things again and again + I have to avoid that working on BSD
 might damage my Linux installs or data.

Unless you're doing something stupid (TM) with partitions,
there shouldn't be any problem. It's not that some background
process overwrites the partition table without anyone noticing... :-)



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


Pre-Release Snapshot?

2012-12-15 Thread Joseph A. Nagy, Jr
Why is there a 9.1-PRERELEASE snapshot when 9.1-RELEASE is on the ftp 
servers[0] already? I know there hasn't been any official announcement, 
but they've been there since the 12th (I even downloaded the amd64 .img 
and installed it). Many folks on ##freebsd have installed either via 
image (iso or .img) or freebsd-update so I know I'm not the only one who 
can get to them or who has seen them.


[0]: ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.1/
--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://owl.apotheon.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


svn revision in uname

2012-12-15 Thread Anders N.
Hi. I've noticed in my uname -a on 9.1-RELEASE there is r243826. This is on 
a system that upgraded from 9.1-RC3 using freebsd-update (binary). On another 
system, upgraded from 9.0-RELEASE via freebsd-update (source), there is nothing 
at all and uname -a looks normal. Two other people I asked have r243825 
(installed from ISO) and r243872 (upgraded from svn).

They're all 9.1-RELEASE, shouldn't they be the same, final version?
___
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: svn revision in uname

2012-12-15 Thread Joseph A. Nagy, Jr

On 12/15/12 13:44, Anders N. wrote:

Hi. I've noticed in my uname -a on 9.1-RELEASE there is r243826. This is on 
a system that upgraded from 9.1-RC3 using freebsd-update (binary). On another system, upgraded from 
9.0-RELEASE via freebsd-update (source), there is nothing at all and uname -a looks normal. Two 
other people I asked have r243825 (installed from ISO) and r243872 (upgraded from svn).

They're all 9.1-RELEASE, shouldn't they be the same, final version?
___
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


I just noticed the same thing in my 'uname -a'

$ uname -a
FreeBSD alex-laptop 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 
 4 09:23:10 UTC 2012 
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64


I guess a re-install when it is truly finalized?

--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://owl.apotheon.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: Software Manager - try again later

2012-12-15 Thread Ralf Mardorf
Thank you :)

I've got some thoughts, before I continue.

What version of FreeBSD does include the snd_hdspe driver? Do I have to
download and burn a version  9.0?

Since the issue to get the needed slice/partition with the needed file
system is solved by installing PC-BSD 8.2 instead of FreeBSD 9.0, I
could backup the current install and then delete all files (but keep the
slice and fs) and try to install FreeBSD again. If it shouldn't work, I
still could restore PC-BSD from the backup.

Since I want to test audio and MIDI, I wonder if 64 bit is the right
choice. Is there something I should know about advantages and drawbacks
of 32 bit and 64 bit architecture for audio?

When I backuped BSD yesterday, I noticed that PC-BSD 8.2 couldn't mount
all my Linux partitions. I'm not sure, but I suspect I could mount ext3,
but not ext4, at least the backup is on an ext3 partition.
Is there something, perhaps a kernel version, I should prefer to use
FreeBSD on my Linux machine?

For audio on FreeBSD is there something to know about real-time, before
I install another BSD?

First I'll subscribe and ask on
http://lists.pcbsd.org/mailman/listinfo/support, if I can fix issues for
the current install, but perhaps it's wiser to make a new install.

Again the question regarding to a backup I made yesterday.

My fstab:
/dev/label/rootfs0  /   ufs rw,noatime  
1   1
/dev/label/swap0noneswapsw  
0   0
/dev/label/var0 /varufs rw,noatime  
1   1
/dev/label/usr0 /usrufs rw,noatime  
1   1
procfs  /proc   procfs  rw  
0   0
linprocfs   /compat/linux/proc  linprocfs   rw  
0   0

That's how I backuped:
# dump -0Launf - /dev/label/rootfs0 | bzip2  
/media/unused8/rootfs0-2012-12-14.dump
# dump -0Launf - /dev/label/var0 | bzip2  /media/unused8/var0-2012-12-14.dump
# dump -0Launf - /dev/label/usr0 | bzip2  /media/unused8/usr0-2012-12-14.dump

IIUC I can backup BSD, while running the BSD I backup and the commands
above did backup everything. I could delete all files and restore it
from this backup. Is this correct?

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: svn revision in uname

2012-12-15 Thread Lowell Gilbert
Anders N. wic...@baot.se writes:

 Hi. I've noticed in my uname -a on 9.1-RELEASE there is r243826.
 This is on a system that upgraded from 9.1-RC3 using freebsd-update
 (binary). On another system, upgraded from 9.0-RELEASE via
 freebsd-update (source), there is nothing at all and uname -a looks
 normal. Two other people I asked have r243825 (installed from ISO) and
 r243872 (upgraded from svn).

 They're all 9.1-RELEASE, shouldn't they be the same, final version?

As I understand it, the revision ID refers to the whole repository, not
just a branch. So if you do your own svn checkout tomorrow, you'll get
yet another revision number, even though the files will (probably) be
completely identical to what you checked out yesterday -- ongoing
commits to HEAD will keep kicking the revision number up.

There is work going on to make system builds completely, bit-for-bit,
repeatable, but that will presumably mean getting rid of this revision
number information, not making it consistent.
___
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: Software Manager - try again later

2012-12-15 Thread Polytropon
On Sat, 15 Dec 2012 21:43:34 +0100, Ralf Mardorf wrote:
 Thank you :)
 
 I've got some thoughts, before I continue.
 
 What version of FreeBSD does include the snd_hdspe driver? Do I have to
 download and burn a version  9.0?

Yes, I think you should use 9-STABLE for that.



 Since the issue to get the needed slice/partition with the needed file
 system is solved by installing PC-BSD 8.2 instead of FreeBSD 9.0, I
 could backup the current install and then delete all files (but keep the
 slice and fs) and try to install FreeBSD again.

That's a good idea. You could skip manually deleting any files.
Just have the installer format them (omitting the step of
creating them of course).



 If it shouldn't work, I
 still could restore PC-BSD from the backup.

That should work fine.



 Since I want to test audio and MIDI, I wonder if 64 bit is the right
 choice. Is there something I should know about advantages and drawbacks
 of 32 bit and 64 bit architecture for audio?

If you do not have a _specific_ requirement for 32 bit, use 64 bit,
of course if you have a 64 bit CPU. :-)

Specific requirements _could_ be wine and nVidia's proprietary
GPU driver, as far as I know.



 When I backuped BSD yesterday, I noticed that PC-BSD 8.2 couldn't mount
 all my Linux partitions. I'm not sure, but I suspect I could mount ext3,
 but not ext4, at least the backup is on an ext3 partition.

That sounds normal. The base OS installation does not cover the
high amount of different Linux file systems.



 Is there something, perhaps a kernel version, I should prefer to use
 FreeBSD on my Linux machine?

No, you just need fuse with the required ext3, ext4, ext5,
ext(n+1) and ReiserFS functionality. :-)



 For audio on FreeBSD is there something to know about real-time, before
 I install another BSD?

The term real time doesn't precisely apply to FreeBSD or any
non-RT OS. However, there are some specific Linux distributions
that aim at music professionals, offering MIDI functionality,
lots of programs relating to that topic, and so on. Many things
that work on Linux also tend to work on FreeBSD, but you'll have
to try, because audio is a niche market. :-)



 Again the question regarding to a backup I made yesterday.
 
 My fstab:
 /dev/label/rootfs0  /   ufs rw,noatime
   1   1
 /dev/label/swap0noneswapsw
   0   0
 /dev/label/var0 /varufs rw,noatime
   1   1
 /dev/label/usr0 /usrufs rw,noatime
   1   1
 procfs  /proc   procfs  rw
   0   0
 linprocfs   /compat/linux/proc  linprocfs   rw
   0   0
 
 That's how I backuped:
 # dump -0Launf - /dev/label/rootfs0 | bzip2  
 /media/unused8/rootfs0-2012-12-14.dump
 # dump -0Launf - /dev/label/var0 | bzip2  /media/unused8/var0-2012-12-14.dump
 # dump -0Launf - /dev/label/usr0 | bzip2  /media/unused8/usr0-2012-12-14.dump
 
 IIUC I can backup BSD, while running the BSD I backup and the commands
 above did backup everything. I could delete all files and restore it
 from this backup. Is this correct?

That is correct. You should _test_ your backup; see the -t and
-N options mentioned in man restore. Make sure you backup all
your partitions -- I see you have /, /var and /usr; if that's
everything, it's okay.

Additionally, you could backup your disks's MBR using dd.

# dd if=/dev/disk of=/where/your/backup/is/disk_mbr.dd bs=512 count=1

Just in case. You probably won't need it. But who knows... :-)


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


serial connection

2012-12-15 Thread Jonathan P

hello everyone, i need to establish a connection between 2 freebsd systems, but 
i have to this over a serial line, any advices? thank you all so much!  
  
___
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


aclocal-1.12: error: 'configure.ac'

2012-12-15 Thread Oleg simonoff

Hi to all!
 Want to to ask the unix community about my problem. Don`t know what 
to do.

 racking my brain over ...
 The system freeBSD 8.2
 Got some trouble with compilation portupgrade-2.4.9.9,2

 /usr/ports/ports-mgmt/portupgrade sudo make install
 ...
 === Configuring for ruby-1.8.7.370,1
 /usr/bin/touch /opt/ports/lang/ruby18/work/ruby-1.8.7-p370/configure
 aclocal-1.12: error: 'configure.ac' or 'configure.in' is required
 *** Error code 1

 Stop in /opt/ports/lang/ruby18javascript:doImageSubmit('Send').
 *** Error code 1

 Stop in /opt/ports/lang/ruby18.
 *** Error code 1

 Stop in /opt/ports/ports-mgmt/portupgrade.
 *** Error code 1

 Stop in /opt/ports/ports-mgmt/portupgrade.

 But that ruby was installd correctly.
 Please, let me know, what mast i do? Not found something about that 
in google..

___
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: aclocal-1.12: error: 'configure.ac'

2012-12-15 Thread Michael Powell
Oleg simonoff wrote:

 Hi to all!
   Want to to ask the unix community about my problem. Don`t know what
 to do.
   racking my brain over ...
   The system freeBSD 8.2
   Got some trouble with compilation portupgrade-2.4.9.9,2
 
   /usr/ports/ports-mgmt/portupgrade sudo make install
   ...
   === Configuring for ruby-1.8.7.370,1
   /usr/bin/touch /opt/ports/lang/ruby18/work/ruby-1.8.7-p370/configure
   aclocal-1.12: error: 'configure.ac' or 'configure.in' is required
   *** Error code 1
 
   Stop in /opt/ports/lang/ruby18javascript:doImageSubmit('Send').
   *** Error code 1
 
   Stop in /opt/ports/lang/ruby18.
   *** Error code 1
 
   Stop in /opt/ports/ports-mgmt/portupgrade.
   *** Error code 1
 
   Stop in /opt/ports/ports-mgmt/portupgrade.
^^

Don't know if this matters, never tried it that way - this is FreeBSD, not 
Linux. FreeBSD is not some kind of Linux.

With that said, the ports tree usually lives under /usr/ports. No idea why 
it would show up under /opt, except as some carry over Linuxism. You 
probably need to wipe the Linuxism and start over as a FreeBSD  user.

-Mike



___
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: Anyone using squid and pf?

2012-12-15 Thread Leslie Jensen



Damien Fleuriot skrev 2012-11-29 00:28:



# 1/ redirect web traffic to the proxy $proxy on port $proxyport
rdr in on $int_if inet proto tcp from !$proxy to any port 80 - $proxy
port $proxyport tag rdr_proxy

# 2/ redirect FTP traffic to the ftp-proxy running on the local
machine on port 8021
rdr in on $int_if inet proto tcp from $int_if:network to any port 21
- 127.0.0.1 port 8021 tag rdr_ftp

# 3/ access rule to allow traffic from the local net to your proxy
pass in quick on $int_if inet proto tcp flags S/SAFR tagged rdr_proxy

# 4/ access rule to allow traffic from the local net to your FTP proxy
pass in quick on $int_if inet proto tcp flags S/SAFR tagged rdr_ftp

# 5/ access rule to allow your proxy to do whatever it wants in a very
limited fashion
pass in quick on $int_if inet proto tcp from $proxy to any port { 80
443 } flags S/SAFR




Hello Damien

I'm concentrating on getting the web traffic to work first.
I've changed rule #1 as you can see below but pf returns a syntax error.

# redirect www trafic to proxy
rdr in on $int_if inet proto tcp from !$proxy to any port 
$proxy_services - $proxy $proxyport tag rdr_proxy


My variables are:
proxy = 172.18.0.1
proxy_services = { 21, 80 }
proxyport=8080

Am I supposed to ad rule #5 as well or is it a suggestion?

Thanks

/Leslie


___
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