Re: VirtualBox from the command line

2010-03-19 Thread Ricardo Jesus

On 19/03/2010 03:45, Warren Block wrote:

On Thu, 18 Mar 2010, Adam Vande More wrote:


On Thu, Mar 18, 2010 at 7:44 PM, Aiza aiz...@comclark.com wrote:


Does VirtualBox launch from the FBSD command line?
Is there a package for it in the pkg system?



# VirtualBox -h
Sun VirtualBox Graphical User Interface 3.1.2_OSE
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Usage:
--startvm vmname|UUID start a VM by specifying its UUID or name
--rmode sdl|image select different render mode (default is sdl)

There are other ways too, eg VBoxHeadless


And VBoxSDL. And VBoxManage. You can even create VMs from the command
line, but it's fairly involved.

-Warren Block * Rapid City, South Dakota USA
___
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 problem with headless VirtualBox on FreeBSD is that the VRDP 
Connection is set to not active on VirtualBox OSE. AFAIK that makes it 
impossible to use headless VirtualBox on FreeBSD.

___
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: Which version of FreeBSD is it?

2010-03-17 Thread Ricardo Jesus

On 17/03/2010 14:45, Антон Клесс wrote:

That is what I suspected for.

What is the most safe way to upgrade it, remembering that this is production
server and I have to keep it working properly?

6.2-RC1 -  6.2 RELEASE -  7.2 RELEASE -  8.0 RELEASE, or somehow in this
style?



2010/3/17 Bas v.d. Wielb...@kompasmedia.nl



On Wed, 17 Mar 2010 16:56:20 +0300, Антон Клесс
antoniok@gmail.com  wrote:

I have the server that's running FreeBSD for the last few years, but I

saw

it only year ago and know nothing about when and how was installed

FreeBSD

on it.

# uname -a
FreeBSD myhost.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar  5 01:37:03 MSK
2010 r...@myhost.net:/usr/obj/usr/src/sys/MYKERN  amd64

Is it RELEASE, STABLE or what?


It is what it says it is: 6.2-RC1, meaning Release Candidate 1. That's a
development/test version. If this is a production system it would be a very
good idea to replace it with the current 8.0 RELEASE, which will give you
at least proper patch maintenance.

Bas






It should be 6.2-RC1 - 6.2 - 6.4 - 7.2 - 8.0

Dont' think freebsd-update supports 6.2 (AFAIR it supports from 6.4 
onwards), so you probably will have to use csup.

___
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: Updating the system and ports

2010-03-10 Thread Ricardo Jesus

On 09/03/2010 17:58, Pongthep Kulkrisada wrote:

* RW (rwmailli...@googlemail.com) wrote:

that should be RELENG_8_0

Sorry for typo, but actually I only appended to the existing supfile.
Thing goes well.


Stable is a stable development branch, if you want to use
freebsd-update you need to use a proper release security branch.

Does that mean -STABLE can not use freebsd-update?
If so, I am clear now because I encountered the problem
when I used freebsd-update from -STABLE. It failed.

Thanks,
Pongthep
___
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

If you're using STABLE you won't be able to update the base system using 
freebsd-update, use csup for that purpose.


Also have a look to freebsd-update man page, the Description section 
explains the tool's purpose.

___
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 Support Cycle

2010-03-08 Thread Ricardo Jesus

On 08/03/2010 15:39, mailinglist wrote:

I'm possibly considering building a FreeBSD based NAS to provide NFS storage for 
vSphere in a production environment.  I would use FreeBSD-8, amd64 variety.  What 
is the expected EOS  EOL dates (end of support/end of life) for FreeBSD 8?  
I'm not sure if the EOL question matters for an open source OS, but basically I'm 
just asking at what point in time would there no longer be security updates and bug 
fixes made to the OS?___
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


Have a look at http://security.freebsd.org/#sup.
___
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: ifdown/ifup under FreeBSD?

2009-12-17 Thread Ricardo Jesus

On 17/12/2009 14:19, Bas Smeelen wrote:

Bas Smeelen wrote:

Sandra Kachelmann wrote:


Under RedHat Linux I can configure an interface, routes and so on in
/etc/sysconfig/network-scripts/ifcfg-eth1,
/etc/sysconfig/network-scripts/routes-eth1 then simply run:

$ ifup eth1

and it will set all the routes/netconfig/aliases I just configured.

Is there something similar in FreeBSD?

I tried configuring aliases in /etc/rc.conf and running:

$ /etc/rc.d/netif restart

but that just ended in errors that the route was already configured
and so on. Sure I could do all the work manually with ifconfig and
route but that's not my question.



Usually I do this from remote with /etc/rc.d/netif restart
/etc/rc.d/routing restart
Maybe you are not root (because of the $ prompt)?
#/etc/rc.d/netif restart  /etc/rc.d/routing restart
This always works for me


Sorry, omit the last


DISCLAIMER:
This e-mail is for the intended recipient(s) only

If you have received it by mistake please let us know by reply and then delete 
it from your system;
Access, disclosure, copying, distribution or reliance on any of it by anyone 
else is prohibited.

If you as intended recipient have received this e-mail incorrectly, please 
notify the sender (via e-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

The configuration files you're looking are /etc/resolv.conf and 
/etc/rc.conf.


The start/stop scripts are /etc/rc.d/routing and /etc/rc.d/netif 
respectively. You can view then to check out what arguments they accept 
(restart, stop, etc).


You can have a look at man resolv.conf and rc.conf man pages for more info.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to upgrade

2009-12-10 Thread Ricardo Jesus

On 10/12/2009 10:36, Dimitar Trandov wrote:



Hi list,
Yesterday I decided to upgrade my server, which currently running 7.1rel.
p8. Do I have to first upgrade to 7.2 release and then to 8.0, or instead of
this, directly do a safe step to 8.0 release ?
Thanks in advance

Dimitar,


___
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


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


Re: How to upgrade

2009-12-10 Thread Ricardo Jesus

On 10/12/2009 15:50, Alexandre L. wrote:

I think you wrong.
I read the Official Announce for FreeBSD 8.0-RELEASE 
http://www.freebsd.org/releases/8.0R/announce.html
You can find this sentence : Systems running 7.[012]-RELEASE, 8.0-BETA[1234], or 
8.0-RC[123] can upgrade as follows:

You can upgrade directly from 7.1 to 8.0 with the steps described in the 
Handbook (from sources with csup or binaries with freebsd-update).

You must recompile your ports after this major upgrade.

Alexandre.

--- En date de : Jeu 10.12.09, Ricardo Jesusricardo.meb.je...@gmail.com  a 
écrit :


De: Ricardo Jesusricardo.meb.je...@gmail.com
Objet: Re: How to upgrade
À: Dimitar Trandovd.tran...@tcebank.com
Cc: freebsd-questions@freebsd.org
Date: Jeudi 10 Décembre 2009, 13h35
On 10/12/2009 10:36, Dimitar Trandov
wrote:



Hi list,
Yesterday I decided to upgrade my server, which

currently running 7.1rel.

p8. Do I have to first upgrade to 7.2 release and then

to 8.0, or instead of

this, directly do a safe step to 8.0 release ?
Thanks in advance

Dimitar,


___
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


7.2 first then 8.0.
___
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

Either way you achieve your goal. And there is nothing like reading the 
documentation before upgrading.

___
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: Wireless network control

2009-12-04 Thread Ricardo Jesus

Sean Cavanaugh wrote:


I am just trying to find out if theres an easier way to do this.
 
 
currently to get wireless to work on my system, i have to clone the wireless interface to a wlan0 interface to actually do any real connections. My home network uses WPA2 encryption so i use the wpa-supplicant to set that up, but if i go out and about and hit free wifi spots, I have to add the info for them into the wpa-supplicant.conf file to get it to access it.
 
keep in mind that ideally I use the latest gnome as my desktop. is there an easier tool to do this all with? I remember there was an issue with the gnome-network tool that it could not actually make any changes in freebsd, but i cannot find if that is still true or if it has been fixed.
 
End goal, I am trying to get this set up to be equally as idiot-proof as most linux distros in case i have to hand this off to someone a bit less technically inclined.
 
 
sorry if this is a bit hard to read, i have ADHD so it someti..OHLOOKASQUIRREL
 
-Sean 		 	   		  ___

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


There was a person asking for a similar thing on this same list.

I think the subject was something like ifconfig - GUI interface. Have 
a search on the list's archive.

___
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: nvidia GeForce 9300/730i on 7.2, Core 2 Quad, ASUS P5N7A-VM

2009-11-23 Thread Ricardo Jesus

Mark Terribile wrote:

Hi,

I've recently put FreeBSD 7.2 on an ASUS P5N7A-VM.  This is a uATX (Intel) with 
an integrated NVIDIA GeForce 9300/730i; I have a Core 2 Quad 2.33 on it.

I've installed the latest NVIDIA FreeBSD driver 
(NVIDIA-FreeBSD-x86-190.42.tar.gz) and the machine crashes when I try to run 
the xorg server.  At first the console goes blank and locks up.  The 
function-key terminal switching does not work; neither does 
control-alt-backspace.  Remote logins (ssh) work for a while, then lock up as 
well.

Has anyone used this driver with success on 7.2 with an integrated GeForce?  
What about the nouveau and nv drivers?

Information follows.  If there's anything else you need, please let me know.



Stick with the ports tree. NVIDIA's driver runs nativelly on i386 and 
you can find it under /usr/ports/x11/nvidia-driver.


Alternatively nv and noveau are also available.

NVIDIA is developing the amd64 version atm: 
http://forums.freebsd.org/showthread.php?t=8271highlight=nvidia+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


Re: View font selection

2009-10-14 Thread Ricardo Jesus

Chris Stankevitz wrote:

Hello,

Question: What command should I issue to see what each of my installed x11 
fonts looks like?

Thank you,

Chris


  
___

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


xfontsel.

To install the port: cd /usr/ports/x11-fonts/xfontsel/  make install 
clean ; rehash


To use it:
xfontsel
___
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: Punkbuster

2009-08-24 Thread Ricardo Jesus

Jeff Molofee wrote:
Can anyone tell me how to update punkbuster ... seems pbweb.x86 doesn't 
work anymore (302 errors) and I'm unable to run pbsetup.run it gives me 
a float point error, even after unpacking it with upx -d


Specifically for enemy territory.

___
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


Have a look at 
http://linux-bsd-sharing.blogspot.com/2009/05/howto-enemy-territory-on-freebsd.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


Re: 7.2 don't set xorg.conf

2009-05-29 Thread Ricardo Jesus

Tony wrote:

hi, i re-install standar (recommended) way 7.2 version, and finish setp when
i reboot.. i set Xorg -configure and failed,...  this works when i select
the packages to install to by group



(*) User % X-Interfaces



before when i install 1st time i select one-by-one and when i finished and
restarted Xorg -configure rowks to wrote xorg.conf.new



and any way last i said either start X



what i do?



regards from cuba



Tony

---
Red Telematica de Salud - Cuba
  CNICM - Infomed






___
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 Tony,

I think this answers your question: 
http://www.freebsd.org/doc/en/books/handbook/x-config.html.


Regards.
___
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: 64-Bit Linux Applications

2009-05-13 Thread Ricardo Jesus

Konrad Heuer wrote:


Hello,

can I run 64 bit Linux applications on FreeBSD/amd64? Or is Linux 
emulation 32 bit only?


Thanks and best regards
Konrad


Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de
___
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




To my knowledge 32 bit only.
___
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: X Window - how to get the standard font

2009-04-29 Thread Ricardo Jesus

herbert langhans wrote:

Hi Daemons,
a little question:

I open a shell and invoke:
#xmessage 'hello world'
- it opens the window, but a rather tiny font.

So I invoke:
#xmessage -fn -*-fixed-*-*-*-*-20-*-*-*-*-*-iso8859-* 'hello world'
- the same appears in the fontsize I like.

Now the question:
Can I set the bigger font somewhere, so that i.e. xmessage appears always in the preset, bigger font without typing the whole -fn -*-* string in? Somewhere in .xinitrc? 


Checked the man pages, but its a science to find a solution there.

Thanks
herb langhans

I've seen .Xdefaults files that setup resources for apps such as xcalc 
and xmessage.


Have a look at http://dotfiles.org/~n0nsense/.Xdefaults.
___
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 vs. pc-bsd

2009-04-24 Thread Ricardo Jesus

Michael Jr. wrote:

Hi,

I was just wondering what are the major differences between freebsd and 
pc-bsd and is it harder or just as easy to setup freebsd as a desktop 
compared to pc-bsd? Will freebsd work with sager laptops, and will 
freebsd recognize 4 gigs of ddr3 memory and if it does not regularly, 
how can I get freebsd to recognize 4 gigs of ddr3 memory? Will freebsd 
be able to recognize the latest technologies, like
intel core 2 duo and the new Nvidia GTX260m, and hard drives at any 
speed like 7200 rpm? I don't know any kind of code so is there any books 
or any kind of resources that you recommend I look at?
Sorry I have so many questions but I just ordered a new sager laptop and 
I do not really want to have to use windows vista if I don't have to, 
and I think it would be fun to learn how to use freebsd.



Thank you,
Michael Haid
___
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


There's tons of documentation at FreeBSD's site, namely 
http://www.freebsd.org/docs.html.


If your willing to buy books concerning FreeBSD I'd suggest Absolute 
FreeBSD 2nd edition (if you have use Unix like systems) or FreeBSD 
Unleashed 6 (though it was published at the of FreeBSD 6 it is still 
very applicable and provides introduction to Unix like systems).


Regarding your hardware questions FreeBSD support more that 4GB in both 
i386 and amd64 (for i386 PAE kernel needs to be used to access 3GB). 
Nvidia drivers exist for i386. FreeBSD supports multi cores and multi 
cpus. And regarding hard drives, my 3 1TB 7200 RPM SATA drives aren't 
complaining ;)


Hardware support for FreeBSD 7.1 can be found at 
http://www.freebsd.org/releases/7.1R/hardware.html


Also, FreeBSD has a friendly forum at http://forums.freebsd.org/index.php.

Regards,
Ricardo Jesus.


___
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: Console mode scrolling

2009-04-17 Thread Ricardo Jesus

Fernando Apesteguía wrote:

Hi,

Is there a way to scroll the screen in console mode? Something like I
do in Linux with Ctrl + Page Up?

I find it specially useful, but I don't know how to do it in FreeBSD.
I'm using FreeBSD 7.1-RELEASE-p4 #12

Thanks in advance.
___
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

ScrollLock. Then Page Up or Page Down. ScrollLock again to go back to 
previous behaviour.

___
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: Loading sound drivers

2009-04-09 Thread Ricardo Jesus

af300...@gmail.com wrote:

Hi,

My motherboard, an ASUS K8V-X, has a generic type sound chip on board, 
according to ASUS' specifications, it is an AD1980 chipset. The hardware 
notes, linked from the handbook, does not list this chipset but does 
list several Intel type HDA chipsets including one AD1981 chipset. Never 
the less, using the handbook instructions I loaded the meta sound driver 
and my chipset was identified as a via8233 chipset. The meta driver 
loaded many drivers into the kernel, but through trial and error I've 
discovered that only sound.ko and snd_via8233.ko need to be loaded. So, 
I put these two lines into /boot/loader.conf:


sound=YES
snd_via8233=YES

However, these two modules do not load on bootup. Why? How do I fix this?

Thanks,
Andy
___
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




From man snd_via8233:

Alternatively, to load the driver as a module at boot time, place the 
following line in loader.conf(5):


snd_via8233_load=YES
___
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: Loading sound drivers

2009-04-09 Thread Ricardo Jesus

kyanh wrote:

On Thu, 09 Apr 2009 14:47:15 +
af300...@gmail.com wrote:


Hi,

My motherboard, an ASUS K8V-X, has a generic type sound chip on
board, according to ASUS' specifications, it is an AD1980 chipset.
The hardware notes, linked from the handbook, does not list this
chipset but does list several Intel type HDA chipsets including one
AD1981 chipset. Never the less, using the handbook instructions I
loaded the meta sound driver and my chipset was identified as a
via8233 chipset. The meta driver loaded many drivers into the
kernel, but through trial and error I've discovered that only
sound.ko and snd_via8233.ko need to be loaded. So, I put these two
lines into /boot/loader.conf:

sound=YES
snd_via8233=YES


The correct lines are

sound_load=YES
snd_via8233_load=YES

Regards,

You even need sound_load=YES in the loader.conf. snd_via8234 pulls it 
upon loading.

___
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: Loading sound drivers

2009-04-09 Thread Ricardo Jesus

Ricardo Jesus wrote:

kyanh wrote:

On Thu, 09 Apr 2009 14:47:15 +
af300...@gmail.com wrote:


Hi,

My motherboard, an ASUS K8V-X, has a generic type sound chip on
board, according to ASUS' specifications, it is an AD1980 chipset.
The hardware notes, linked from the handbook, does not list this
chipset but does list several Intel type HDA chipsets including one
AD1981 chipset. Never the less, using the handbook instructions I
loaded the meta sound driver and my chipset was identified as a
via8233 chipset. The meta driver loaded many drivers into the
kernel, but through trial and error I've discovered that only
sound.ko and snd_via8233.ko need to be loaded. So, I put these two
lines into /boot/loader.conf:

sound=YES
snd_via8233=YES


The correct lines are

sound_load=YES
snd_via8233_load=YES

Regards,

You even need sound_load=YES in the loader.conf. snd_via8234 pulls it 
upon loading.

___
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




It should read *you don't even..*

Oops ;)
___
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: Change to Graphical Mode from DOS Mode

2009-04-08 Thread Ricardo Jesus

Rajeev Sharma wrote:

Sir,
  I have successfully downloaded FreeBSD 6.4 Release linux  installed
on my PC.  But it starts in DOS Mode.

I want to shift to Graphical Mode.


Kindly advice me what to do.


Thanks


Rajeev Sharma
rajb3...@gmail.com
rajb3...@rediffmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Better read this: http://www.freebsd.org/doc/en/books/handbook/x11.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


Re: Portsnap question

2009-04-07 Thread Ricardo Jesus

Leslie Jensen wrote:


I used to use csup and in my /root/ports-supfile I changed the default 
host line to a server near me.


*default host=cvsup.se.FreeBSD.org

Now I've been using portsnap for a while and when installing a new 
system I got to question if portsnap look in this file for an update 
server or does portsnap need to be configured somewhere else?


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



Portsnap uses /etc/portsnap.conf and doesn't read supfiles.

man portsnap.conf for more info.
___
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: mount 2nd HD containing running Freebsd system

2009-03-26 Thread Ricardo Jesus

Fbsd1 wrote:

Ricardo Jesus wrote:

Fbsd1 wrote:
I have run out of space on my running 7.1 system. I have a 2nd HD 
containing 6.1 that I want to mount and use the 80gb /usr slice.


What is the mount command to use?

Thinking   mount /dev/ad1 /mnt  but un-sure how this handles the 6.1 
slices on that HD.


Read up 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html, 
namely entries 9.1 and 9.2. Very detailed and helpful stuff.




None of that was helpfull. Found post in questions archives from 1992 
that gave me pointer to correct direction.


Here is the solution I used.

 ls /dev/ad*   listed all the slices on both HDs.
 mount /dev/ad1s1f /mntmounted the /usr dir from the second HD just 
like i wanted.




___
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


My interpretation of your original post was that you wanted to move /usr 
to the 2nd HD ;) So I pointed to 2 FAQs that addressed the matter.


Anyways glad that you worked it out.

Regards.
___
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: mount 2nd HD containing running Freebsd system

2009-03-25 Thread Ricardo Jesus

Fbsd1 wrote:
I have run out of space on my running 7.1 system. I have a 2nd HD 
containing 6.1 that I want to mount and use the 80gb /usr slice.


What is the mount command to use?

Thinking   mount /dev/ad1 /mnt  but un-sure how this handles the 6.1 
slices on that HD.

___
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


Read up http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html, 
namely entries 9.1 and 9.2. Very detailed and helpful stuff.



___
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: Linux Compatability

2009-03-18 Thread Ricardo Jesus

rasz wrote:

hi
i have 2 distinct questions, and first is, i installed a linux app 
(binaries) and it failed

when run complaining that it needs a CPU with SSE instuctions enabled.
does anyone know what this is and related too?
i am running 7.2-prerelease i386 with linux_base-fc4. the only setting i 
have is fallback_elf_brand=3 (no osrelease)

has anyone ever come across this?

2nd question, is the freebsd base (usr/src) documented anywhere, as to 
the programs it entirely contains? i thought developers handbook, but 
all i found is description of the directories in usr/src/ (unless i 
missed it elsewhere). besides that, is there any kind of database app in 
the base system no matter how compact/basic? if not, what would be the 
*closest* in ports?


thanks in advance for any info
___
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 the 2nd question...

As /usr/src contains the source of building the userland and kernel, if 
you can always man something that is interesting.


You can also do a man hier, but it will present a description of each 
directory content like the Developers Handbook (although more verbose).


There are also the Makefile and the actual 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


Re: Jail limits

2009-03-18 Thread Ricardo Jesus

Espartano wrote:

Hi folk, sorry for my bat english, i have a question:

there is any initiative to implements limits (like cpu limits, memory
limits) inside a jail ?

or already exists anything to do it ?

thanks a lot.



You can check sysctl MIB entries for security.jail.*

Using login.conf you can control resource limits and account limits. 
Take a look at man login.conf maybe it can help you on your situation.

___
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: Fluxbox problem..

2009-03-17 Thread Ricardo Jesus

Fabian Krook wrote:

Hello, when i type startx it doesn't start with Fluxbox only X i been set in
.xintrc exec fluxbox. When it's in X and type fluxbox it comes:

--

Failed to read: session.ingoreBorder

Setting default value

Failed to read: session.screen0.AutoRaise

Setting default value

--

This just of around 14 of them just toke the two of them.

Bye  thanks
___
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


If I recall correctly it should be exec startfluxbox in .xinitrc.

Try it.
___
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: Need help for acroread8

2009-03-17 Thread Ricardo Jesus

Manish Jain wrote:


Hi all,

After browsing mailing lists for hours, I was finally able to install 
acroread8 on my FreeBSD 7.1R system. But it STILL does not start. 
Attached below is the output (repeated messages removed) :



Gtk-Message: Failed to load module gnomebreakpad:
  libgnomebreakpad.so: cannot open shared object file: No such file or 
directory


(acroread:9218): GdkPixbuf-WARNING **: Cannot open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders':

  No such file or directory


(acroread:9218): GdkPixbuf-WARNING **: Error loading XPM image loader: 
Image type 'xpm' is not supported


(acroread:9218): GLib-GObject-CRITICAL **: g_object_ref: assertion 
`G_IS_OBJECT (object)' failed


(acroread:9218): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion 
`GDK_IS_PIXBUF (pixbuf)' failed


(acroread:9218): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: 
assertion `pixbuf != NULL' failed


(acroread:9218): Pango-WARNING **: No builtin or dynamically loaded 
modules

were found. Pango will not work correctly. This probably means
there was an error in the creation of:
  '/etc/pango/pango.modules'
You may be able to recreate this file by running pango-querymodules.

(acroread:9218): Pango-CRITICAL **: _pango_engine_shape_shape: 
assertion `PANGO_IS_FONT (font)' failed


Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: 
(glyphs-num_glyphs  0)

aborting...

[2]+  Exit 1  acroread


My loader.conf has linux_load=YES, rc.conf has linux_enable=YES, 
linprocfs_enable=YES and fstab has an entry for linproc. I downloaded 
the latest ports tarball yesterday, did a 'portupgrade -rf 
emulators/linux_base-fc4', and [re]installed a number of ports (pango, 
linux-pango, cairo, linux-cairo, gdk-pixbuf, linux-gdk-pixbuf, pixman 
and may be a couple more). Then I installed acroread8.  But it still 
does not start, as you can from the message above.


Actually, there is at least one bug in the port as the message reveals. 
At runtime, acroread8 tries to look for /etc/pango/pango.modules, which 
- because of the port's linux heritage - translates to 
/compat/linux/etc/pango/pango.modules. This path is incorrect, at least 
with linux_base-fc4 - with which the correct  path turns out to be 
/compat/linux/etc/pango/i686-redhat-linux-gnu/pango.modules in my case. 
The user has to fix it with a symlink himself.


I am beginning to wonder why can't FreeBSD simply put on the 
distribution media binary packages for programs that almost everyone 
uses these days (thunderbird, acroread) and which take an immense amount 
of time/effort to build. The FreeBSD DVD is more than half empty and I 
am sure nobody would mind spending a couple of hours extra at 
download-time what possibly might save a couple of weeks and a whole lot 
of headaches at install-time.


Anyway, if anyone has any clue how to get me out of this acroread mess, 
I would be really grateful.


Thanks in advance
Manish Jain
invalid.poin...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org


I like epdfview, xpdf and kpdf (under KDE). Under Gnome epdfview and 
evince are very good alternative.


Personally I've never used Acrobat Reader in any Unix-like system, but 
some people do have specific needs. If that's you case please raise a 
PR, otherwise just give a chance to other applications.


If want to save building time stick with packages (smaller download and 
no compiling) but don't mix ports and packages if possible.


Regards,
Ricardo Jesus.
___
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: hardware list in a machine

2009-03-10 Thread Ricardo Jesus

Josh Carroll wrote:

On Mon, Mar 9, 2009 at 2:59 PM, gahn ipfr...@yahoo.com wrote:

Hi all:

How could I find out the list of hardware in my machine? I used dmesg and 
var/run/dmesg.boot, it didn't seem to help that much as I expected.

which file lists all of hardware in the machine?

Thanks.


Give the sysutils/dmidecode port a shot.

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



% pciconf -lv
man pciconf for further details.
___
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: hardware list in a machine

2009-03-10 Thread Ricardo Jesus

Polytropon wrote:

On Tue, 10 Mar 2009 10:07:51 +, Ricardo Jesus ricardo.meb.je...@gmail.com 
wrote:

% pciconf -lv
man pciconf for further details.


Additionally: usbconf to list USB devices, and camcontrol
to list SCSI devices, as well as atacontrol for ATA devices.

And finally, dmesg. :-)



Note that these are *system tools*. In order to obtain more
information, it may be required to install some tools from
the Ports Collection.



Polytropon I can't seem to find usbconf.

% usbconf
usbconf: Command not found.
% whereis usbconf
usbconf:

Is it a third party application?


___
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: Help required for configuring FreeBSD with DHCP

2009-03-10 Thread Ricardo Jesus

manish jain wrote:


Hi all,

I have a dual boot system (FreeBSD 7.1 + Windows 2000).

I am trying out FreeBSD for the first time with an ISP who runs a DHCP 
server. Until the times of static addresses, everything was so simple in 
FreeBSD. Now I am forced to ask for help because the ISP is willing to 
help only for Windows. And indeed my Windows 2000 is sailing the 
internet smoothly enough, so I can't really blame him.


I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall 
to configure rl0, it asks me whether I want to use DHCP. When I say yes, 
it still gives me the same form to fill out as it does for static IP 
addresses. I don't have any idea how to fill out this form when DHCP is 
being used.


Please note that on Windows, the following are enabled :
1) Obtain an IP address automatically
2) Obtain DNS server address automatically

Everything else (IP address/Default dateway/etc) is greyed out. Can 
anyone please tell me how to get my FreeBSD system up on DHCP. The only 
other piece of information I can provide is the hostname I have been 
using so far : unxfbsdi.freebsd.localdomain


Thanks in advance for any help.

Regards
Manish Jain
invalid.poin...@gmail.com

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


I think Realtek 8139D fall into re(4) driver, but do take a look at 
dmesg | less to confirm this.


To display the current configuration for the network interfaces on your 
system run:

% ifconfig

You need to edit rc.conf and add the following to have the network card 
configured at boot time:

ifconfig_re0=DHCP

To configure the card from the command line simply run:
# ifconfig re0 dhcp
___
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: Help required for configuring FreeBSD with DHCP

2009-03-10 Thread Ricardo Jesus

Remorque wrote:

On Tue, Mar 10, 2009 at 4:53 PM, Ricardo Jesus
ricardo.meb.je...@gmail.comwrote:


manish jain wrote:


Hi all,

I have a dual boot system (FreeBSD 7.1 + Windows 2000).

I am trying out FreeBSD for the first time with an ISP who runs a DHCP
server. Until the times of static addresses, everything was so simple in
FreeBSD. Now I am forced to ask for help because the ISP is willing to help
only for Windows. And indeed my Windows 2000 is sailing the internet
smoothly enough, so I can't really blame him.

I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall to
configure rl0, it asks me whether I want to use DHCP. When I say yes, it
still gives me the same form to fill out as it does for static IP addresses.
I don't have any idea how to fill out this form when DHCP is being used.

Please note that on Windows, the following are enabled :
1) Obtain an IP address automatically
2) Obtain DNS server address automatically

Everything else (IP address/Default dateway/etc) is greyed out. Can anyone
please tell me how to get my FreeBSD system up on DHCP. The only other piece
of information I can provide is the hostname I have been using so far :
unxfbsdi.freebsd.localdomain

Thanks in advance for any help.

Regards
Manish Jain
invalid.poin...@gmail.com

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

 I think Realtek 8139D fall into re(4) driver, but do take a look at dmesg

| less to confirm this.

To display the current configuration for the network interfaces on your
system run:
% ifconfig

You need to edit rc.conf and add the following to have the network card
configured at boot time:
ifconfig_re0=DHCP

To configure the card from the command line simply run:
# ifconfig re0 dhcp



I would do:

dhclient re0

Is the behaviour the same?



I guess so.

If rc.conf is set up with the line ifconfig_rl0=DHCP then it is no 
need to run the dhclient command manually.


For 8139D the correct driver is rl as Michael Powell pointed out in his 
reply.

___
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: local copy of handbook

2009-03-03 Thread Ricardo Jesus

Daniel Gerzo wrote:

Hello Jerry,


For more information see http://docsnap.sk.freebsd.org/ and possibly
the rsync manual page.



I was having a problem reaching that URL; however, I found that this
one: http://www.oook.cz/bsd/docsnap.html did seem to work. In any case,
I am unable to get the 'rsync' command to work. This is the output of
one such attempt.



~ $ sudo rsync -rltvz docsnap.sk.FreeBSD.org::docsnap /usr/share/doc/
rsync: failed to connect to docsnap.sk.FreeBSD.org: Operation timed out
(60) rsync error: error in socket IO (code 10) at clientserver.c(124)
[receiver=3.0.5]



This has happened continually for the past few days. I am not sure if
it is a temporary problem or or permanent one.


The docsnap.sk.FreeBSD.org (as well as ftp.sk and cvsup.sk) server is
currently offline due to some problems after its update.

Unfortunately it's been a vacations period here and we were unable to get
personally to the box and fix it. However I have been told that the
issue should be resolved tommorrow, so I would recommend you to try
tommorrow or a bit later.

I tried to update my doc with DocSnap but it seems the is no docsnap 
rsync module in the server.


flumen# rsync -rltvz docsnap.sk.FreeBSD.org::docsnap /usr/share/doc
rsync: failed to connect to docsnap.sk.FreeBSD.org: Connection refused (61)
rsync error: error in socket IO (code 10) at clientserver.c(124) 
[receiver=3.0.5]

flumen# ping docsnap.sk.FreeBSD.org
PING sk.FreeBSD.org (81.89.56.57): 56 data bytes
64 bytes from 81.89.56.57: icmp_seq=0 ttl=243 time=67.247 ms
64 bytes from 81.89.56.57: icmp_seq=1 ttl=243 time=68.471 ms
64 bytes from 81.89.56.57: icmp_seq=2 ttl=243 time=68.076 ms
64 bytes from 81.89.56.57: icmp_seq=3 ttl=243 time=72.538 ms
64 bytes from 81.89.56.57: icmp_seq=4 ttl=243 time=67.705 ms
^C
--- sk.FreeBSD.org ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 67.247/68.807/72.538/1.909 ms
flumen# rsync docsnap.sk.FreeBSD.org
rsync: link_stat /usr/ports/net/rsync/docsnap.sk.FreeBSD.org failed: 
No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) 
(code 23) at main.c(1040) [sender=3.0.5]


Any news regarding the server's availability?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to use portmanager/portmaster?

2009-03-03 Thread Ricardo Jesus

Da Rock wrote:

On Sat, 2009-02-28 at 23:33 +0100, Frank Wißmann wrote:

Am Samstag 28 Februar 2009 22:39:26 schrieb Roland Smith:

On Sat, Feb 28, 2009 at 10:08:45PM +0100, Frank Wißmann wrote:

Am Samstag 28 Februar 2009 21:42:35 schrieb Roland Smith:

On Sat, Feb 28, 2009 at 07:49:16PM +0100, Frank Wißmann wrote:

Hi, list!
I have a problem using the above mentioned programs because
there doesn't seem to be a manpage installed. Can anybody give
me a clue on how to get help?

Both do have manpages. What kind of error do you get when you try
e.g. 'man portmaster'? It might be that your manual pages setup
is broken.

I get the message No manual entry for portmaster, but using your
command I can read it. man man e. g. works perfectly.

That sounds to me that the configuration for the man command is
broken. If you give the 'manpath' command, does the output include
/usr/local/man? If not, add the following lines to
/etc/manpath.config:

OPTIONAL_MANPATH/usr/local/man
MANPATH_MAP /usr/local/bin  /usr/local/man

Roland
manpath does show correct settings AFAIK meaning that the answer to 
your question is yes.


Frank



Try a rehash.

$ rehash

___
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


Do a Da Rock said.

Do notice that both portmaster and portmanager are third party 
applications and need to be installed.


cd /usr/ports/ports-mgmt/portmaster/; make install clean; rehash
cd /usr/ports/ports-mgmt/portmanager/; make install clean; rehash

___
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: bsd.rd for FreeBSD install

2009-03-02 Thread Ricardo Jesus

new_guy wrote:

Hi,

We normally use OpenBSD, but would like to try FreeBSD on a test system.
Usually, when updating from one OpenBSD release to another, we do so by
downloading the latest bsd.rd and booting from that to complete the install.
Our machines have no optical drives. Does FreeBSD have a similar method to
installation? 


Thanks!


As far as I know OpenBSD advises on binary upgrades so I'd say you're 
probably looking for freebsd-update as it provides binary updates. This 
utility is great for binary updates to both kernel and world.


Do take a look at FreeBSD's Handbook.

To update third party applications e.g. ports read this: 
http://www.freebsd.org/doc/en/books/handbook/ports.html


If you want to compile a custom kernel: 
http://www.freebsd.org/doc/en/books/handbook/kernelconfig.html


Update and upgrade methods are described here: 
http://www.freebsd.org/doc/en/books/handbook/updating-upgrading.html


Have fun,
Ricardo Jesus.
___
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: bsd.rd for FreeBSD install

2009-03-02 Thread Ricardo Jesus

new_guy wrote:

You misunderstand. I want to install FreeBSD from a ramdisk image (bsd.rd).
Is that possible? It's basically a small kernel that boots the machine,
formats the hard drive, setups root and installs the operating system over
ftp. 

If that's what you want I definitely misunderstood. Maybe someone of the 
list can give a hand and help you out.

___
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: bsd.rd for FreeBSD install

2009-03-02 Thread Ricardo Jesus

Jerry McAllister wrote:

On Mon, Mar 02, 2009 at 10:02:25AM -0800, new_guy wrote:


You misunderstand. I want to install FreeBSD from a ramdisk image (bsd.rd).


That is called  md  (memory disk) in FreeBSD land.   


Is that possible? It's basically a small kernel that boots the machine,
formats the hard drive, setups root and installs the operating system over
ftp. 


That is what sysinstall is, plus the boot.   It is a program that
builds the filesystems, sets up the system and loads everything on
the disk.The big problem is how to boot and bring it up without
any external media.   I think some people have done it from network
and second Hard drive boots as well as floppy and CD boots.   


jerry


--
View this message in context: 
http://www.nabble.com/bsd.rd-for-FreeBSD-install-tp22292723p22293310.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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

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

One approach could be using an existing install like described here: 
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/fbsd-from-scratch/article.html


Or even going the nanoBSD way: 
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/article.html


But this defeats the OP's originial intent, e.g., ramdisk
___
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: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-29 Thread Ricardo Jesus

k...@snaffler.net wrote:

here is howto rebuild you system via cvs

dump this into a file

---8

*default host=cvsup.uk.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_7
*default delete use-rel-suffix
src-all

---8

add these lines to /etc/make.conf

SUP_UPDATE= yes
SUPFILE=   file u just created

then

cd /usr/src
make update  make buildworls  make buildkernel  make installkernel

( if you are multicore do a -j 8 or something on the build lines, 
anything upto 32 should build ok )


reboot

cd /usr/src
mergmaster -p
make installworld
mergmaster

reboot

i theory tou should rebuild all your ports now as well, but generally i 
never both and havent had trouble


if you dont have anything in /usr/src or dont have one just install the 
base src distribution from sysinstall


or

download install.sh, sbase.aa, sbase.inf from you favorite freebsd 
mirror and do a


./install.sh base

eg mine is here

http://www.mirrorservice.org/sites/ftp.freebsd.org/pub/FreeBSD/releases/i386/7.1-RELEASE/src/ 





Akenner wrote:

RW wrote:

On Wed, 28 Jan 2009 05:07:46 -0700
Tim Judd taj...@gmail.com wrote:


 

Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1,
it wanted like 30,000 updates and was taking forever.



It seems to me that most people that come to this list with base-system
update problems are using  freebsd-update.
___

  
This is going to seem stupid, but instead of making a new topic, can 
someone link to me a working link of the handbook where you update 
your CVS and so on?  I know that on the FreeBSD page there is a 
handbook that has exactly what I'm looking for, and for some reason 
I'm having trouble finding it even though I used to have it saved but 
I don't anymore and I wanted to get CVS sources updated so I can do 
some updating.


Thanks

___
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


Not sure if the OP wants to track the errata ou the stable branch so 
little heads up:


tag=RELENG_7_1 to follow the errata branch
tag=RELENG_7 to follow stable

Regards,
Ricardo Jesus.
___
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-update doesn't seem to update to Latest

2009-01-15 Thread Ricardo Jesus

Sebastian Setzer wrote:

Reading the handbook and several pages on the web, i got the impression that 
ports are always compiled from source.
I should have read the handbook more thorougly, sorry. It mentions portupgrade 
-P.

-Original Message-
From: Erik Osterholm [mailto:freebsd-lists-e...@erikosterholm.org]
Sent: Tue 1/13/2009 11:01 PM
To: Sebastian Setzer
Subject: Re: freebsd-update doesn't seem to update to Latest
 
On Tue, Jan 13, 2009 at 09:47:33PM +0100, Sebastian Setzer wrote:

Hi,
I did a freebsd-update to 7.1-RELEASE as described in the release notes.
After that, I installed Openoffice (with pkg_add) and got several warnings like 
this one:
pkg_add: warning: package 'gnome-vfs-2.22.0_2' requires 'atk-1.22.0_1', but 
'atk-1.20.0' is installed

Now I did
# pkg_add -r atk
pkg_add: package 'atk-1.22.0_1' or its older version already installed

so with pkg_add -r I get newer packages than I got with freebsd-update. Why?


freebsd-update only updates the base system. It doesn't touch ports.

Erik

___
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


Portmaster is also nice to update ports. Plus its doesn't have dependecies.
___
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: Disk Label Editor problem

2009-01-13 Thread Ricardo Jesus

luizbcampos wrote:

  I installed FreeBSD-7.0amd64 on my 40GB disk and I chose automatic
partition at disk label editor. I need to download a 665GB OS but at a
given moment the system complains about lack of space on the disk
(469GB). It has happened for two times.

   ad4s1a  none 512MB*
   ad4s1b  swap 2015MB SWAP
   ad4s1d  none 2031MB*
   ad4s1e  none 512MB*
   ad4s1f   none 33084MB*

  Is there any way to correct the problem without reinstalling the OS?
___
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 values you point don't add up (40GB HDD but you mention a download 
of 665GB).


Consider maybe adding a new HDD.
___
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 Transition Questions.

2009-01-13 Thread Ricardo Jesus

Grant Peel wrote:

Hi all,

Well, over the past few days I have made the transition to FreeBSD (6.4) 
as the primary OS on my home computer. I am currently running GNOME as a 
desktop, and it seems to be running well. Indeed, I am using Thunderbird 
to write this email!


I have a couple of questions regarding the transition:

1. Does there exist a port or package, a messenger program, that is 
compatible with Windoze Live Messenger? i.e. can I log in similar to 
live messenger and see my contacts and collaborate with them?
Pidgin is a nice GTK program that works well with Windows Live Message 
network.


2. Can I use any type of pictures for the desktop wallpaper? Where might 
I find some good wallpaper depicting the FreeBSD Daemon and Logo?

Take a look at http://www.freebsd.org/art.html


3. How does one add a device to the desktop as an icon? i.e. an external 
USB drive?
Take a look at http://www.freebsd.org/gnome/index.html. I'm sure it will 
answer (or point you to) your Gnome related questions.


TIA,

-Grant
___
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: FreeBSD USB Install

2009-01-09 Thread Ricardo Jesus

Brian McCann wrote:

On Wed, Jan 7, 2009 at 9:34 AM, Matthias Apitz g...@unixarea.de wrote:

El día Wednesday, January 07, 2009 a las 03:17:02PM +0100, Polytropon escribió:

I could only suggest to eliminate all slices and partitions on the
thumb drive (such as it was a new disk right from the factory)
and let sysinstall put slice and partitions onto it.

The problem is that 'from the factory' sometimnes they come already Windows-like
formated; I've wiped out all with:

# dd if=/dev/zero of=/dev/da0 bs=1m

(double check that /dev/da0 is really the device you want to clean)

   matthias



Ok...so I zero'd out two different thumb drives (one 1gb stick,
another a 4gb stick...not that it matters)...and both of them failed
in the same way.  I boot the machine with nothing but the CD-Rom drive
and the USB stick.  No fancy options or anything in the install
process...just create one slice that takes up the whole drive, then
one parition (da0s1a) mounted as /...about as basic as you can get.

Any other thoughts?  I don't understand why this wouldn't work...it's
just another drive...

Thanks for all the input!
--Brian


You're installing it into a single partition? Just / with everything on it?

Maybe try the standard installation procedure with a /, swap, tmp, var 
and user. Let sysinstall do its job and use auto-defaults.


Regards.
___
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: Best torrent client/server available for FreeBSD?

2009-01-08 Thread Ricardo Jesus

Gonzalo Nemmi wrote:

On Wednesday 07 January 2009 10:09:23 pm Nerius Landys wrote:

rtorrent is very good, have been using it on my server for many months.
___
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


rtorrent in here too ...
I tried it once, I never left it or felt the need to move to other client.


For torrents only I'd suggest rtorrent. Very nice with a screen sessions.

Recently I've moved to MLDonkey as it supports torrents and ed2k. Plus 
the webserver own me over. You'll find an How-To setup MLDonkey on the 
forums.


Regards.
___
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 USB Install

2009-01-07 Thread Ricardo Jesus

Steve Bertrand wrote:

Matthias Apitz wrote:

El día Wednesday, January 07, 2009 a las 03:17:02PM +0100, Polytropon escribió:


On Wed, 7 Jan 2009 08:25:45 -0500, Brian McCann bjmcc...@gmail.com wrote:

Hi all.  I'm trying to install FreeBSD 7.1 off the CD to a USB thumb
drive, but every time I try it fails.  sysinstall says Unable to make
new root filesystem on /dev/da0s1a1.  Command returned status 38.
When I switch to the debug console, I get cg 0: bad magic number.
This thumb drive was being used on my Windows machine previously, then
I re-formatted it as UFS to use it on a FreeBSD machine...so I know
the thumb drive itself works.  Can someone shed some light on this
problem?

I could only suggest to eliminate all slices and partitions on the
thumb drive (such as it was a new disk right from the factory)
and let sysinstall put slice and partitions onto it.

The problem is that 'from the factory' sometimnes they come already Windows-like
formated; I've wiped out all with:

# dd if=/dev/zero of=/dev/da0 bs=1m

(double check that /dev/da0 is really the device you want to clean)


sysinstall will provide you an option to erase any existing 'partitions'
 that exist on the drive during install, so the 'dd' is redundant.

I've never installed directly to a thumbdrive before. Normally I'd
install to a hard disk, pear it down, and then effectively copy the
system to the thumb drive manually. I end up with a system as such (so I
don't need a hard disk):

router# df -h
FilesystemSizeUsed   Avail Capacity  Mounted on
/dev/da0a 939M410M454M47%/
devfs 1.0K1.0K  0B   100%/dev
/dev/md0   31M 20K 28M 0%/tmp
/dev/md1   15M 36K 14M 0%/var/run
/dev/md2   31M318K 28M 1%/var/log
/tmp   31M 20K 28M 0%/var/tmp

That said, installing to a USB disk through sysinstall should
technically (AFAIK) be no different than installing to a standard SCSI
hard disk (da0).

What options are you supplying when you reach the 'FDISK Partition
Editor' screen?

Also, if you are installing the system via sysinstall that is running on
an already installed FreeBSD, you must use the 'w' option before 'q'.
Quit within the disk editor while running under FreeBSD does not imply
'write'. (This being opposed to booting from a CD to install).

Steve
___
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've installed 7.0 on an USB IDE drive last week. At the time the USB 
drive had a Linux distro on it which I destroyed, place the install CD 
on the CD drive, selected boot from USB, the drive showed up on 
sysinstall, and performed a pretty standard FreeBSD install.


Regards.
___
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: portsnap and portupgrade

2008-12-18 Thread Ricardo Jesus

RW wrote:

On Thu, 18 Dec 2008 11:08:44 +0100 (CET)
Pieter Donche pieter.don...@ua.ac.be wrote:



( decompress to /usr/ports )
# portsnap extract

( it is not clear to me if this is correct if one already has
a /usr/ports created during sysinstall .. )


You need the extract so that the tree is exactly matched to the
snapshot and the correct metadata is created, it's installing the
tree from disk that's not needed.


In root /etc/crontab, shedule daily updates of /var/db/portsnap :
0 3 * * * root /usr/sbin/portsnap cron

...
b. For every future upgrade of  gv  (using portupgrade):
b.1. ( update ports collection )
# portsnap update
...
b.5. do the port upgrade
# portupgrade -R gv

b.6. install the updated version of ghostview 
# cd /usr/ports/print/gv

# make install clean


You don't need the last step, that's what portupgrade does.

For the most part it's better to bring all you ports up-to date if you
can, rather than doing it piecemeal.
___
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


Also use portaudit to check for security issues with installed ports.

# portaudit -Fda
(fecth the updated audit database and check your ports against it)
___
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: Upgrade from FreeBsd 6.3 to 6.4 freebsd-update

2008-12-17 Thread Ricardo Jesus

Renat wrote:

Yes. I try . But not worked!!

-
webarchive# freebsd-update -r 6.4-RELEASE upgrade
Looking up update1.FreeBSD.org mirrors... none found.
Fetching metadata signature for 6.3-RELEASE from update1.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata files... failed.


I probe you solution change change server from
update.freebsd.org to update1.freebsd.org

Not worked(((

What's is is the Bug on the FreeBSD servers?

___
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



Try this:

# env UNAME_r=6.3-RELEASE-p6 freebsd-update upgrade -r 6.4-RELEASE install


___
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-update killed my /var

2008-12-17 Thread Ricardo Jesus

Mel wrote:

On Sunday 14 December 2008 15:28:16 FuLLBLaSTstorm wrote:

Hey all,
Recently I've run freebsd-update on my desktop machine, but it failed
saying that it cannot save its files anymore to /var because the
filesystem is full. now df shows something like this:
# df
/dev/ad0s1d253678   250630  -17248   107%   /var


If this is what I think it is, a 256k /var, then I'm not surprised. Handbook, 
online tutorials all recommend at least 1G for /var ever since the 4.x days.


I use 5G, but I save logs for a year.


I faced the same problem last week while trying to update to 7.1-RC1 on 
a disk with 197MB /var.


Here's how I fixed the problem:
# freebsd-update -d /path/to/big/path/directory/ upgrade -r 7.1-RC1
# freebsd-update -d /path/to/big/path/directory/ install

Simply use freebsd-update's -d option. man freebsd-update for more info.
___
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: newb questions

2008-11-19 Thread Ricardo Jesus

Jeremy Chadwick wrote:

On Wed, Nov 19, 2008 at 08:16:36AM -0500, Paul Cartwright wrote:
  
1. when I run startx it auto logs me in on a minimal gui ( twm?). I installed 
gnome, I think, and want to log in using gnome, how do I change that?


2. I cannot su - to root, it says sorry. pam_group didn't seem like the 
answer, or I didn't read  it right. How can I su to root from my account?

Is there anything special to able to do that from ssh?



I can't answer question #1.

As for #2, you need to add your username to the wheel group in
/etc/group.  That's all.  (You will have to log out then back in for the
changes to take effect)

  
3. the boot loader... This server has 2 drives, and I already had w2k server 
on drive 1, and ubuntu-server on drive 2. when I boot, I now get options for 
F2-DOS ( win2k boots) and F5 disk0/1. I can't seem to find any option for my 
ubuntu OS. Is there a way to change that bootloader option to 
add /dev/sdb6-ubuntu?



I think boot0cfg is the tool you'll want to use for this.  I've never
been in this situation, so I don't have a command to give you.  You can
use boot0cfg -v disk (e.g. boot0cfg -v ad0) to get information about
the boot0 configuration.

  
maybe I was looking in the wrong documentation, if any/all of this is in the 
docs, which one? the handbook?



Yes.

  

Paul,

Regarding question #1 just take a look at the FreeBSD Handbook, namely 
Chapter 5 The X Window System under section 5.7.1.2.


Regards,
Ricardo Jesus.


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


Re: What is a recommended soundcard for FreeBSD?

2008-10-10 Thread Ricardo Jesus

Aniruddha wrote:

On Wed, 2008-10-08 at 23:46 +0200, Patrick Lamaizière wrote:
  

Le Wed, 08 Oct 2008 22:42:43 +0200,
Aniruddha [EMAIL PROTECTED] a écrit :



Because of the problems with my onboard Intel HDA audio chip I plan to
buy a soundcard that is supported by FreeBSD.
  

There is a new hda driver in current, may be you can try it on
RELENG_7?

See 
http://www.nabble.com/Re%3A-New-snd_hda-driver-came-in.-p19499206.html


Good luck!

Regards.




Thanks I'll check it out.v In the meantime I'm real curious about
FreeBSD user experience with X-fi :)


  

Hi,

I don't think the X-fi cards are supported in FreeBSD but I do know that 
in Linux they aren't.


Personally, I have a Creative Audigy 4 and it works great. The 
snd_emu10kx driver provides support for Creative SoundBlaster Live! and 
Audigy sound cards.


Best regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ethernet statistics

2008-09-26 Thread Ricardo Jesus

Gian Paolo Buono wrote:

Hi,

try systat and  :ifstat

bye

On Thu, Sep 25, 2008 at 5:23 PM, Erik Osterholm 
[EMAIL PROTECTED] wrote:

  

On Thu, Sep 25, 2008 at 04:39:35PM +0200, Vonarburg, David wrote:


Hi,
I am using Intel PRO/1000PT Server adaptor with freeBSD 7.0.
How can I read out the statistics of the card from software?
(num bytes received, packets sent and more)

Thanks in advance
David
  

Is netstat -i what you're looking for?

Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



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

  

Hi,

I'd suggest vnStat.

I've posted a post on my blog a few days ago on how to set it up on 
FreeBSD: 
http://linux-bsd-sharing.blogspot.com/2008/09/howto-monitor-network-traffic-with.html


Best Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ethernet statistics

2008-09-26 Thread Ricardo Jesus

Abdullah Ibn Hamad Al-Marri wrote:

- Original Message 

  

From: Ricardo Jesus [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Friday, September 26, 2008 10:50:59 PM
Subject: Re: ethernet statistics

Gian Paolo Buono wrote:


Hi,

try systat and  :ifstat

bye

On Thu, Sep 25, 2008 at 5:23 PM, Erik Osterholm 
[EMAIL PROTECTED] wrote:

 
  

On Thu, Sep 25, 2008 at 04:39:35PM +0200, Vonarburg, David wrote:
   


Hi,
I am using Intel PRO/1000PT Server adaptor with freeBSD 7.0.
How can I read out the statistics of the card from software?
(num bytes received, packets sent and more)

Thanks in advance
David
 
  

Is netstat -i what you're looking for?

Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

   


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

 
  

Hi,

I'd suggest vnStat.

I've posted a post on my blog a few days ago on how to set it up on 
FreeBSD: 
http://linux-bsd-sharing.blogspot.com/2008/09/howto-monitor-network-traffic-with.html


Best Regards.



I think there is small error with this port.

BB# vnstat -l
Monitoring eth0...(press CTRL-C to stop)

   getting traffic...Error:
Unable to get interface statistics.

Is it made to be used for linux as default?



 Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/


  
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  

Hi Abdullah,

That's why you should specify the interface, like so:

alterran# vnstat -l -i rl0
Monitoring rl0...(press CTRL-C to stop)

  rx:   9.13 kB/s20 p/stx:  21.15 kB/s25 p/s

Best regards.

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


Re: Automatically starting user programs on boot

2008-09-05 Thread Ricardo Jesus

David Collins wrote:

| Date: Thu, 4 Sep 2008 13:06:54 +0200 (CEST)
| From: Sa?a Stupar [EMAIL PROTECTED]
| Subject: Automatically starting user programs on boot
| To: freebsd-questions@freebsd.org
| Message-ID:
|[EMAIL PROTECTED]
| Content-Type: text/plain;charset=iso-8859-2
|
| Hi!
|
| On my FBSD 7 server I also use screen with rtorrent. In case of server
| reboot (power outage, server goes on UPS then power down) the user need
| manually to login, then start screen and then rtorrent. Is it possible to
| start this procedure automatically and of course as certain user and not
| as root?
| I was thinking about .startup file or something in users home directory.
|
| Regards,
| Sasa

Hi,

I have been using rtorrent and screen for a while now, it is a great
setup. Anyway, I found an rc.d file for debian that I have changed to
make work for me on freebsd 7. I doubt it is as good as it could be,
but hey, it works fine for me :)

You will have to change some of the variables at the top of the file.
It opens screen on boot, names it rtorrent and starts rtorrent, does
its thing in the background. To connect to it type screen -r rtorrent

I placed it in /usr/local/etc/rc.d since it isn't part of the base
distribution. I also named it with a .sh suffix, I forget why but it
is something to do with a controlling terminal, I think. I also have a
nice .screenrc file if you would like since I know how much of a pain
it is to figure out!

$ cat /usr/local/etc/rc.d
#!/bin/sh

# PROVIDE: rtorrent
# REQUIRE: DAEMON

#
###Notes###
#
# This script depends on screen.
# For the stop function to work, you must set an
# explicit session directory using ABSOLUTE paths (no, ~ is not
absolute) in your rtorrent.rc.
# If you typically just start rtorrent with just rtorrent on the
# command line, all you need to change is the user option.
# Attach to the screen session as your user with
# screen -dr rtorrent. Change rtorrent with srnname option.
# Licensed under the GPLv2 by lostnihilist: lostnihilist _at_ gmail _dot_ com
##
###/Notes###
##

###
##Start Configuration##
###
# You can specify your configuration in a different file
# (so that it is saved with upgrades, saved in your home directory,
# or whateve reason you want to)
# by commenting out/deleting the configuration lines and placing them
# in a text file (say /home/user/.rtorrent.init.conf) exactly as you would
# have written them here (you can leave the comments if you desire
# and then uncommenting the following line correcting the path/filename
# for the one you used. note the space after the ..
# . /etc/rtorrent.init.conf

# system user to run as
user=davidcollins

# the system group to run as, not implemented, see d_start for
beginning implementation
# group=`id -ng $user`

# the full path to the filename where you store your rtorrent configuration
config=`su $user -c 'echo $HOME'`/.rtorrent.rc

# set of options to run with
options=

# default directory for screen, needs to be an absolute path
base=`su $user -c 'echo $HOME'`

# name of screen session
srnname=rtorrent

# file to log to (makes for easier debugging if something goes wrong)
logfile=/var/log/rtorrentInit.log
###
###END CONFIGURATION###
###

. /etc/rc.subr

PATH=/usr/bin:/usr/local/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin
name=rtorrent

rcvar=`set_rcvar`
eval ${rcvar}=\${${rcvar}:-'NO'}

start_precmd=checkcnfg
start_cmd=${name}_start
stop_cmd=${name}_stop

checkcnfg() {
exists=0
for i in `echo $PATH | tr ':' '\n'` ; do
if [ -f $i/$name ] ; then
exists=1
break
fi
done
if [ $exists -eq 0 ] ; then
err 3 cannot find rtorrent binary in PATH $PATH
fi
if ! [ -r ${config} ] ; then
err 3 cannot find readable config ${config}. check that it is
there and permissions are appropriate
fi
session=`getsession $config`
if ! [ -d ${session} ] ; then
err 3 cannot find readable session directory ${session} from
config ${config}. check permissions
fi
}

rtorrent_start()
{
echo Starting $name.
[ -d ${base} ]  cd ${base}
stty stop undef  stty start undef
## start screen with rtorrent inside
su ${user} -c screen -dm -S ${srnname} ${name} ${options} 21
1/dev/null | tee -a $logfile 2
}

rtorrent_stop()
{
echo Stopping $name.
session=`getsession $config`
if ! [ -s ${session}/rtorrent.lock ] ; then
return
fi
pid=`cat ${session}/rtorrent.lock | awk -F: '{print($2)}' | sed
s/[^0-9]//g`
## make sure the pid doesn't belong to another process
if ps -A | grep -sq ${pid}.*rtorrent ; then
kill -s INT ${pid}
fi
}

getsession()
{
session=`cat $1 | grep ^[[:space:]]*session[[:space:]]*= | sed
s/^[[:space:]]*session[[:space:]]*=[[:space:]]*// `
echo $session
}

load_rc_config $name
run_rc_command $1

Re: rtorrent refuses to open bittorrent file

2008-07-24 Thread Ricardo Jesus

Norberto Meijome wrote:

On Sun, 20 Jul 2008 01:20:05 -0300
luizbcampos [EMAIL PROTECTED] wrote:

  

 As I am a new user to rtorrent I would like to know how to set it
up properly. After I had configured .rc.rtorrent when I type
--anyfile.torrent -- I got the answer that rtorrent is unable to open
such a file...




hey,
what happens if you type /the/full/path/to/anyfile.torrent  ? 


_
{Beto|Norberto|Numard} Meijome

All that is necessary for the triumph of evil is that good men do nothing.
  Edmund Burke

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  
If you are using the default config and have a .torrent on your ~, load 
rtorrent:


1. $ cd ~
2. $ rtorrent
3. press ENTER
4. press TAB for list of torrent in ~

To resume a download, if using the default config and with the .torrent 
in your ~, do the same exact steps as above and the program will re-hash 
and resume the download.


Hope I've helped.

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