Creating a CUPS printer instance from web interface?

2008-11-20 Thread Laszlo Nagy
I would like to create named instances for an Epson printer. We are 
printing invoices on normal A4, photos on glossy photo paper, and draft 
papers (with draft quality). E.g. the paper size, margins and print 
quality changes from time to time.


I have two problems. First, I do not see any way on the CUPS web admin 
interface to add printer instances. I only have 'set printer options' 
but it does not allow me to create instances.


The other problem is that lpoptions lists the options, but I do not know 
their meaning and the possible values. Example:


[EMAIL PROTECTED]:~$ lpoptions
media=A4 finishings=3 copies=1 job-hold-until=no-hold job-priority=50 
number-up=1 auth-info-required=none job-sheets=none,none 
printer-info='EPSON Stylus Photo R265' printer-is-accepting-jobs=1 
printer-is-shared=1 printer-location printer-make-and-model='Epson 
Stylus Photo R265 - CUPS+Gutenprint v5.0.2 Simplified' printer-state=5 
printer-state-change-time=1227085737 printer-state-reasons=paused 
printer-type=8556556


Which option is for printing quality? What are its possible values? It 
depends on the driver, and therefore it is not covered in the CUPS 
manual. The drivers themselves does not have a documentation. So where 
can I get this information?


Thanks,

  Laszlo



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


Warning: Can't find .....

2008-11-20 Thread Brent Clark

Hi

I would like to install man on my machine

But using sysintall I get  Warning: Can't find the `7.0-RELEASE-p5 .

Googling says I must check Options via Sysinstall and run

sysinstall releaseName=7.0-RELEASE-p5 configPackages

MY first question is, what does this do and / or fix.

When I built this machine, I used the minimalistic option, and 
everything else to install, ive being using ports.

Then every now and then just run freebsd-update and reboot.

My next question is, and for future reference, where did I go wrong, or 
what did I not do, and how may I fix this?


TIA

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


Re: Running X without a videocard

2008-11-20 Thread Anton Shterenlikht
On Wed, Nov 19, 2008 at 12:58:40PM -0600, Sam Fourman Jr. wrote:
  X windows has client/server built into the protocol: you can run an X
  application on a machine that has no video card and display the result
  on another machine that has video facility and an X display (called an
  X server).
 
 Does anyone know of a tutorial or a how-to, I would like to try this out.

Not sure if it is of help to you. I use XDMCP on the clients' side,
and X -query xx.xx.xx.xx on the sever side.
YOu need to be in the trusted network. Have a look at this thread:

http://www.mail-archive.com/freebsd-questions@freebsd.org/index.html#194794

and at the xdm(1) man page.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: smbfs 2 GB file size limit

2008-11-20 Thread Derek Ragona

At 12:50 PM 11/18/2008, David Horn wrote:

On Tue, Nov 18, 2008 at 7:06 AM, Derek Ragona
[EMAIL PROTECTED] wrote:
 At 12:23 AM 11/18/2008, David Horn wrote:

 On Mon, Nov 17, 2008 at 8:36 PM, Derek Ragona
 [EMAIL PROTECTED] wrote:
 I have FreeBSD 7.0 Release and if I mount_smbfs  a network NTFS share I
 have
 a 2 GB size limit on files.  I checked the handbook and list archives but
 have not found a solution.

 I just ran a quick test, and was not able to reproduce this issue with
 the mount_smbfs from FreeBSD 7.0.  I tried against a Windows 2003
 Server SP2, Windows XP SP3, and Samba 3.0 {on FreeBSD 7} with a 3.5GB
 file.

 Was your issue with reading from or writing to a SMB share ?

 It was writing to a smb share.


 What is the server software and OS version ?
 (if Microsoft Windows, please include Service Pack number as well, as
 it might make a difference)

 Windows 2003 server 32bit.

 How much disk space is left on your server volume ?

 Over a terabyte free

 Are there disk quotas enabled on the server ?

 None

 What error message are you getting from your FreeBSD client (if any) ?

 No error message, it just stopped writing at 1 Gb.  I was doing this using
 scp.

Whoa, hopefully you just made a few typos here, or we are going down
the wrong path of investigation.

Did you really mean to say scp or cp ?
 scp(1)   - secure copy (remote file copy program)
 cp(1)- copy files

If you really meant scp, then the problem is not mount_smbfs, but
instead likely a buggy scp client or server (which does not use smb
for transport, but ssh)

What is the exact byte count that your write stops at ?  You
originally stated 2GB, then 1GB.


 Can you check the smb server logs and see if you are getting any error
 messages there ?

 Well I'm just mounting the volume to FreeBSD from the Windows server so not
 sure I'll find much in the logs besides the system log, but I will look.

 You may want to get a Wireshark trace and see if you can capture the
 SMB error message/error code.

 I have heard of people running into similar problems when running
 against older server software (NT 4.0/old samba) when the SMB session
 did not negotiate large file/large write support (a function of the
 SMB server capabilities session negotiation)

 I saw posts to that effect and that you needed samba 3.x to support large
 files sizes, and the lfs option.  But the mount_smbfs doesn't offer any
 large file option.


Only bother with this next bit if you are morbidly curious as to how
things work rather than just want to solve your problem, as it gets
into the nitty gritty details of smb:

mount_smbfs will allow for lfs (CAP_LARGE_FILE) automatically by
specifying it's dialect capabilities in the smb negotiation.

If you umount your smb share, then start a tcpdump you can capture the
smb negotiation Capabilities bitmask to see if CAP_LARGE_FILE is
being negotiated - the server specifies this capability.  The client
just sends the dialects of smb supported.For example:

tcpdump -vvv -s 1500 -i em0 host server.example.com | grep Capabilities

{  where em0 is the network interface in use on FreeBSD and
server.example.com is the hostname/ip address of your smb server  }

Then do a mount of the smb share (while tcpdump is running) and you
should capture the Capabilities negotiated.

For example:

Capabilities=0x1F3FD

If you decode the bitmask by using this reference :
http://msdn.microsoft.com/en-us/library/aa302230.aspx {hint:  only
look at the last four bytes of the Capabilities line (e.g. F3FD in my
example)} Or if you have kernel source installed, you can look in
/usr/src/sys/netsmb/smb.h for the details.

   - Capabilities: 0x0001F3FD
  RawMode:(...1) Supports
SMB_COM_READ_RAW and SMB_COM_WRITE_RAW (CAP_RAW_MODE)
  MpxMode:(..0.) No
Support for SMB_COM_READ_MPX or SMB_COM_WRITE_MPX (CAP_MPX_MODE)
  Unicode:(.1..) Supports
Unicode Strings (CAP_UNICODE)
  LargeFiles: (1...) Supports
large files with 64-bit offsets (CAP_LARGE_FILES)
  NTSMBs: (...1) Supports
SMB NTLM 0.12 dialect commands (implies CAP_NT_FIND) (CAP_NT_SMBS)
  RPCRemoteAPIs:  (..1.) Supports
remote API requests using RPC over named pipe connections
(CAP_RPC_REMOTE_APIS)
  NTStatus:   (.1..) Can
respond with 32-bit NT status codes in Status (CAP_NT_STATUS)
  LevelIIOplocks: (1...) Supports
Level II oplocks ( CAP_LEVEL_II_OPLOCKS)
  LockAndRead:(...1) Supports
SMB_COM_LOCK_AND_READ and SMB_COM_WRITE_AND_UNLOCK (CAP_LOCK_AND_READ)
  NtFind: (..1.) Supports
Windows NT information level requests (SMB_QUERY_?, SMB_SET_?)

Re: Wifi Card for laptop

2008-11-20 Thread Giorgos Keramidas
On Tue, 18 Nov 2008 15:55:35 +0100, Albert Shih [EMAIL PROTECTED] wrote:
 Hi all

 I would like to buy a PCMCIA card for my new laptop (because FreeBSD
 do not recognise my internal wifi AND RJ45 ethernet cardsh**
 windows say it's Broadcom netXtreme 57xx gigabit ).

Hi Albert,

If you can find a PC-CARD (or `PCMCIA') that uses one of the supported
chipsets, then just go for it.

To see if the internal network interface card or wireless adapter work,
you can try running:

% pciconf -lv

Save this to a text file:

% pciconf -lv  pciconf.txt

Then you can use a USB flash drive to transfer the text file to a
machine that has email connectivity and post it here.  We can try to go
through the list of devices and check hardware compatibility for you.

If you do that, please include as much information as possible about the
FreeBSD version you are using, and any other bits you think are useful
to understand what hardware you are using (i.e. laptop model, laptop
maker, the output of the ``uname -a'' command, and so on).

 My local dealer have those card :

   Netgear WPN511 RangeMax
   Netgear WG511 | PCMCIA WiFi
   D-LINK DWA-610
   Trendnet TEW-421PC
   D-LINK DWA-645 RangeBooster N65 ...
   Linksys WPC54G
   Linksys WPC54GS Speedbooster
   Trendnet TEW-441PC

A list of the chipsets listed in the FreeBSD manpages is below.  See if
you can find out which chipsets these cards use, and try to find one
that matches at least one FreeBSD driver:

  an -- Aironet Communications 4500/4800 wireless network adapter driver

  o   Aironet Communications 4500 and 4800 series
  o   Cisco Aironet 340 and 350 series
  o   Xircom Wireless Ethernet Adapter

  ath -- Atheros IEEE 802.11 wireless network driver

  The ath driver provides support for wireless network adapters
  based on the Atheros AR5210, AR5211, and AR5212 programming APIs.

  ipw -- Intel PRO/Wireless 2100 IEEE 802.11 driver

  iwi -- Intel PRO/Wireless 2200BG/2225BG/2915ABG IEEE 802.11 driver

  The iwi driver provides support for Intel PRO/Wireless
  2200BG/2915ABG MiniPCI and 2225BG PCI network adapters.

  iwn -- Intel Wireless WiFi Link 4965AGN IEEE 802.11n driver

  The iwn driver provides support for Intel Wireless WiFi Link
  4965AGN PCI-Express network adapters.

  ral -- Ralink Technology IEEE 802.11 wireless network driver

  The ral driver supports PCI/CardBus wireless adapters based on the
  Ralink Technology RT2500, RT2501, and RT2600 chipsets.

  rum -- Ralink Technology USB IEEE 802.11a/b/g wireless network device

  The rum driver supports USB 2.0 and PCI Express Mini Card wireless
  adapters based on the Ralink RT2501USB and RT2601USB chipsets.

  wi -- Lucent Hermes, and Intersil PRISM IEEE 802.11 driver

  See the online manpage for a large listing of supported cards.

  wpi -- Intel 3945ABG Wireless LAN IEEE 802.11 driver

  See the online manpage for more details about supported cards.

  zyd -- ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device

  See the online manpage for a large listing of supported cards.

You can find the original manpages online too.  Some of the manpages
[like ral(4) and rum(4)] have more detailed device listings, that may be
interesting to skim through.

 Or maybe you can help me to make my internet RJ45 card working ;-)

Let's see what ``pciconf -lv'' shows.  It may be a supported NIC, but
not in the `GENERIC' kernel configuration.  Loading a module may bring
it up, and then you will at least have *some* sort of networking.

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


Re: Apology

2008-11-20 Thread Giorgos Keramidas
On Tue, 18 Nov 2008 18:10:13 -0500, Gary Hartl [EMAIL PROTECTED] wrote:
 Sorry group I just realized I've been sending HTML emails to the
 group.  Plain text now set.

 Stupid Outlook.

It's not a *huge* deal, but _thanks_ for fixing that :D

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


Re: FreeBSD and hardware??

2008-11-20 Thread Giorgos Keramidas
On Tue, 18 Nov 2008 15:40:09 +0100, Manfred Usselmann [EMAIL PROTECTED] wrote:
 Just a small example, how limited Windows really is: Even today it is
 not possible to configure the standard interface of Windows XP (Luna)
 in any other color than blue, olive green and silver. LOL.

Not to mention that 90% of the programs that run on Windows use their
own 'theme engine', completely bypassing and making worthless
*everything* that may seem 'familiar' about the Windows GUI.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Free usenet nntp servers

2008-11-20 Thread Giorgos Keramidas
On Thu, 20 Nov 2008 10:33:48 +0800, Fbsd1 [EMAIL PROTECTED] wrote:
 In the past (alt.binaries.warez) contained monthly posts of a list of
 Free usenet nntp servers. I dont have access to a nntp server so I
 can't search foe the list. Does any one here know of a Free usenet
 nntp server I can access?

news.sunsite.dk has been serving me fine for several years now.  I
heartily recommend it, as it also supports authentication, so you can
use it from everywhere around the globe, as long as you keep your
`~/.authinfo' file around.

It does not carry *all* the groups that some servers may have (IIRC the
alt.* hierarchy is not supported), but my current `~/.newsrc' file
includes

  comp.emacs
  comp.lang.c
  comp.lang.lisp
  comp.mail.sendmail
  comp.std.c
  comp.unix.bsd.freebsd.misc
  comp.unix.programmer
  comp.unix.solaris
  gnu.emacs.announce
  gnu.emacs.help
  gnu.emacs.gnus

and all these groups are supported by this server.

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


Re: smbfs 2 GB file size limit

2008-11-20 Thread David Horn
On Thu, Nov 20, 2008 at 7:07 AM, Derek Ragona
[EMAIL PROTECTED] wrote:
 At 12:50 PM 11/18/2008, David Horn wrote:

 On Tue, Nov 18, 2008 at 7:06 AM, Derek Ragona
 [EMAIL PROTECTED] wrote:
 At 12:23 AM 11/18/2008, David Horn wrote:

 On Mon, Nov 17, 2008 at 8:36 PM, Derek Ragona
 [EMAIL PROTECTED] wrote:
 I have FreeBSD 7.0 Release and if I mount_smbfs  a network NTFS share I
 have
 a 2 GB size limit on files.  I checked the handbook and list archives but
 have not found a solution.

 I just ran a quick test, and was not able to reproduce this issue with
 the mount_smbfs from FreeBSD 7.0.  I tried against a Windows 2003
 Server SP2, Windows XP SP3, and Samba 3.0 {on FreeBSD 7} with a 3.5GB
 file.

 Was your issue with reading from or writing to a SMB share ?

 It was writing to a smb share.


 What is the server software and OS version ?
 (if Microsoft Windows, please include Service Pack number as well, as
 it might make a difference)

 Windows 2003 server 32bit.

 How much disk space is left on your server volume ?

 Over a terabyte free

 Are there disk quotas enabled on the server ?

 None

 What error message are you getting from your FreeBSD client (if any) ?

 No error message, it just stopped writing at 1 Gb.  I was doing this using
 scp.

 Whoa, hopefully you just made a few typos here, or we are going down
 the wrong path of investigation.

 Did you really mean to say scp or cp ?
  scp(1)   - secure copy (remote file copy program)
  cp(1)- copy files

 If you really meant scp, then the problem is not mount_smbfs, but
 instead likely a buggy scp client or server (which does not use smb
 for transport, but ssh)

 What is the exact byte count that your write stops at ?  You
 originally stated 2GB, then 1GB.


 Can you check the smb server logs and see if you are getting any error
 messages there ?

 Well I'm just mounting the volume to FreeBSD from the Windows server so
 not
 sure I'll find much in the logs besides the system log, but I will look.

 You may want to get a Wireshark trace and see if you can capture the
 SMB error message/error code.

 I have heard of people running into similar problems when running
 against older server software (NT 4.0/old samba) when the SMB session
 did not negotiate large file/large write support (a function of the
 SMB server capabilities session negotiation)

 I saw posts to that effect and that you needed samba 3.x to support large
 files sizes, and the lfs option.  But the mount_smbfs doesn't offer any
 large file option.


 Only bother with this next bit if you are morbidly curious as to how
 things work rather than just want to solve your problem, as it gets
 into the nitty gritty details of smb:

 mount_smbfs will allow for lfs (CAP_LARGE_FILE) automatically by
 specifying it's dialect capabilities in the smb negotiation.

 If you umount your smb share, then start a tcpdump you can capture the
 smb negotiation Capabilities bitmask to see if CAP_LARGE_FILE is
 being negotiated - the server specifies this capability.  The client
 just sends the dialects of smb supported.For example:

 tcpdump -vvv -s 1500 -i em0 host server.example.com | grep Capabilities

 {  where em0 is the network interface in use on FreeBSD and
 server.example.com is the hostname/ip address of your smb server  }

 Then do a mount of the smb share (while tcpdump is running) and you
 should capture the Capabilities negotiated.

 For example:

 Capabilities=0x1F3FD

 If you decode the bitmask by using this reference :
 http://msdn.microsoft.com/en-us/library/aa302230.aspx {hint:  only
 look at the last four bytes of the Capabilities line (e.g. F3FD in my
 example)} Or if you have kernel source installed, you can look in
 /usr/src/sys/netsmb/smb.h for the details.

- Capabilities: 0x0001F3FD
   RawMode:(...1) Supports
 SMB_COM_READ_RAW and SMB_COM_WRITE_RAW (CAP_RAW_MODE)
   MpxMode:(..0.) No
 Support for SMB_COM_READ_MPX or SMB_COM_WRITE_MPX (CAP_MPX_MODE)
   Unicode:(.1..) Supports
 Unicode Strings (CAP_UNICODE)
   LargeFiles: (1...) Supports
 large files with 64-bit offsets (CAP_LARGE_FILES)
   NTSMBs: (...1) Supports
 SMB NTLM 0.12 dialect commands (implies CAP_NT_FIND) (CAP_NT_SMBS)
   RPCRemoteAPIs:  (..1.) Supports
 remote API requests using RPC over named pipe connections
 (CAP_RPC_REMOTE_APIS)
   NTStatus:   (.1..) Can
 respond with 32-bit NT status codes in Status (CAP_NT_STATUS)
   LevelIIOplocks: (1...) Supports
 Level II oplocks ( CAP_LEVEL_II_OPLOCKS)
   LockAndRead:(...1) Supports
 SMB_COM_LOCK_AND_READ and SMB_COM_WRITE_AND_UNLOCK (CAP_LOCK_AND_READ)
   

Re: Warning: Can't find .....

2008-11-20 Thread matt donovan
On Thu, Nov 20, 2008 at 3:46 AM, Brent Clark [EMAIL PROTECTED]wrote:

 Hi

 I would like to install man on my machine

 But using sysintall I get  Warning: Can't find the `7.0-RELEASE-p5 .

 Googling says I must check Options via Sysinstall and run

 sysinstall releaseName=7.0-RELEASE-p5 configPackages

 MY first question is, what does this do and / or fix.

 When I built this machine, I used the minimalistic option, and everything
 else to install, ive being using ports.
 Then every now and then just run freebsd-update and reboot.

 My next question is, and for future reference, where did I go wrong, or
 what did I not do, and how may I fix this?

 TIA

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


Well you didn't install man pages since minimal install does not install
them. To get the man pages you have to change 7.0-RELEASE-p5 to just
7.0-RELEASE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and hardware??

2008-11-20 Thread twelcome

(Forgive the top-posting)

Your assertion that linux is both low end unix and low end windows 
replacement is factually wrong: As a high end unix I think it's earned it's 
stripes, currently dominating the top 500 supercomputer systems in the world, 
some no other unix has managed to accomplish this time round. Notably, when 
compared to freebsd it offers support for virtualisation where bsd is nowhere 
close to doing, just one example of high end unix feature it provides. As a gui 
desktop, I'm certain kde is a superior interface to windows in many ways.

 



Sent via my BlackBerry from Vodacom - let your email find you!

-Original Message-
From: Wojciech Puchar [EMAIL PROTECTED]

Date: Tue, 18 Nov 2008 14:18:13 
To: Zbigniew Szalbot[EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: FreeBSD and hardware??


 usage or need.

 You seem to be reserving FBSD only for the experts. I wouldn't be here

is someone that simply use unix an expert?

no.


 By constantly repeating that UNIX is no Windows replacement you are

and i will repeat it because it's true. it's every other unix replacement.

as linux tries for many years to be windows replacement - it's both low
end unix and low end windows replacement, windows for poor.

not a nice future for FreeBSD IMHO.
___
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]

ZFS Recovery Tools

2008-11-20 Thread Marcel Grandemange
Good Day.


I have just managed to get myself a 1.5tb Seagate drive and after reading
all the input from various users I assume zfs would be the file system of
choice for such large volumes?

Are there limitations or downsides using UFS on such a large volume?

And if I do go with ZFS how do I even do that? Create/Format/Mount?

Also are there any tools for recovery off ZFS volumes? Accidental
delete/format/corruption...?


Thanks in advance!

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


Re: smbfs 2 GB file size limit

2008-11-20 Thread Chris Pratt


On Nov 20, 2008, at 7:21 AM, David Horn wrote:


On Thu, Nov 20, 2008 at 7:07 AM, Derek Ragona


No error message, it just stopped writing at 1 Gb.  I was doing  
this using

scp.


Whoa, hopefully you just made a few typos here, or we are going down
the wrong path of investigation.

Did you really mean to say scp or cp ?
 scp(1)   - secure copy (remote file copy  
program)

 cp(1)- copy files

...

What ssh version is running on both of these other systems ?
What OS are both of these other systems ?



So it looks to me like there is some issue with the scp that is  
within

FreeBSD i386 7.



As per my previous message, I still suggest running single variable
tests to make sure that you know what is causing the failure, but if
you just want to jump to a possible solution, you can try updating ssh
to the latest in the ports tree (5.0p1).

If you have the FreeBSD ports collection installed and updated using
portsnap(8) or csup(1) , just do:

cd /usr/ports/security/openssh-portable
make install

Otherwise, install / update your ports collection using portsnap(8)
(fetch update or fetch extract) first, then install openssh-portable.

Good Luck.

---Dave



I apologize in advance if this has nothing to do with this. I'd ignored
this thread completely since it had SMB in the subject. Today I
noticed the comments shown above that it was apparently actually
related to ssh (scp). The fired a synapse of a recent session failure
I was having after updating a server to 7.0 that normally accrues
about a gig of changes a day. My backup server was running 5.5
and rsyncing the diffs each day. After the upgrade of the application
server, the 5.5 client began to hang it's rsync session every day. I  
updated

the 5.5 server to 7.0 (which OBTW replaced the ssh suite) and the
problem disappeared. I didn't see in the thread what the actual ssh
client OS or rev was but perhaps the client is downrev and there is an
issue there. I did no research to figure out why, having my backup
server so far downrevved made it's upgrade my first potshot and it
worked.



-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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




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


Re: ZFS Recovery Tools

2008-11-20 Thread Wojciech Puchar

all the input from various users I assume zfs would be the file system of
choice for such large volumes?

Are there limitations or downsides using UFS on such a large volume?


no, unless you will create it with default options.

use -i big-power-of-two simply to have enough inodes for your files, but 
not 100 times too much. too much inodes=more wasted space AND VERY SLOW 
FSCK


use -b 32768 or 65536 depending of your file's average size.

-b 16384 will work too, but again fsck may be long.


of course turn on softupdates.

UFS performs excellent on large drives/volumes. not in theory but in 
practice, i use it every place, on volumes up to 3GB


NO PROBLEMS.


Also are there any tools for recovery off ZFS volumes? Accidental 
delete/format/corruption...?

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


rdesktop disappears into the background, related to upgrade

2008-11-20 Thread Tyson Boellstorff
I have two machines running FreeBSD -- a desktop running 6.2-RELEASE synced 
and built January 2007 and a laptop running 7.0-STABLE. 

On the desktop, I can run rdesktop over the vpn attached to 127.0.1.10:33890. 
Works great.

On the laptop, I can start rdesktop, but it disappears into the background 
immediately after starting -- I can find the process ID and kill it, but I 
can never get to the remote machine.

I've tried manually running it as 
rdesktop -f -a8 -rsound:off -rclipboard:PRIMARYCLIPBOARD -b -0 -4 
127.0.1.10:33890 for some conservative settings, but no luck.

Could this be an Xauthority issue, or does anybody have any ideas? I've gone 
so far as reinstalling 6.2-RELEASE on a test machine with no luck, so 
whatever changed (it wasn't rdesktop -- get the same failure if I run the 
desktop rdesktop binary from the laptop, and I am highly unwilling to csup 
and upgrade my one working system.)

I need to stop obsessing over this and get to work...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ZFS Recovery Tools

2008-11-20 Thread Wojciech Puchar

On Thu, Nov 20, 2008 at 11:51 AM, Wojciech Puchar
[EMAIL PROTECTED] wrote:

UFS performs excellent on large drives/volumes. not in theory but in
practice, i use it every place, on volumes up to 3GB

NO PROBLEMS.


Do you mean 3TB instead?



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


Re: ZFS Recovery Tools

2008-11-20 Thread Tsu-Fan Cheng
Hi,
  I was just reading stuff about ZFS, and wonder if it would be
beneficial for me to use it. I store a lots of multimedia files in my
HD, they usually have the size of  1GB (e.g. 1.2, 1.7 or even
bigger), and my system is running UFS.
  so can I buy a new HD, say 500GB, and format it ZFS style and use it
along with other UFS? and will ZFS performs better than UFS in my
situation? Thank you!!


TFC

On Thu, Nov 20, 2008 at 2:51 PM, Wojciech Puchar
[EMAIL PROTECTED] wrote:
 all the input from various users I assume zfs would be the file system of
 choice for such large volumes?

 Are there limitations or downsides using UFS on such a large volume?

 no, unless you will create it with default options.

 use -i big-power-of-two simply to have enough inodes for your files, but not
 100 times too much. too much inodes=more wasted space AND VERY SLOW FSCK

 use -b 32768 or 65536 depending of your file's average size.

 -b 16384 will work too, but again fsck may be long.


 of course turn on softupdates.

 UFS performs excellent on large drives/volumes. not in theory but in
 practice, i use it every place, on volumes up to 3GB

 NO PROBLEMS.


 Also are there any tools for recovery off ZFS volumes? Accidental
 delete/format/corruption...?

 no.
 ___
 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]


RE: ZFS Recovery Tools

2008-11-20 Thread Marcel Grandemange
Hi,
  I was just reading stuff about ZFS, and wonder if it would be
beneficial for me to use it. I store a lots of multimedia files in my
HD, they usually have the size of  1GB (e.g. 1.2, 1.7 or even
bigger), and my system is running UFS.
  so can I buy a new HD, say 500GB, and format it ZFS style and use it
along with other UFS? and will ZFS performs better than UFS in my
situation? Thank you!!


Correct me if im wrong but zfs seems way to experimental and unstable
according to what I have found on net so far.
FYI - I decided to use UFS in mean while, but for those interested in why I
say this...

http://wiki.freebsd.org/ZFSKnownProblems

I share other NB server roles with my file server and cannot afford lockups
etc...

Please anyone correct me if im wrong!

TFC

On Thu, Nov 20, 2008 at 2:51 PM, Wojciech Puchar
[EMAIL PROTECTED] wrote:
 all the input from various users I assume zfs would be the file system of
 choice for such large volumes?

 Are there limitations or downsides using UFS on such a large volume?

 no, unless you will create it with default options.

 use -i big-power-of-two simply to have enough inodes for your files, but
not
 100 times too much. too much inodes=more wasted space AND VERY SLOW FSCK

 use -b 32768 or 65536 depending of your file's average size.

 -b 16384 will work too, but again fsck may be long.


 of course turn on softupdates.

 UFS performs excellent on large drives/volumes. not in theory but in
 practice, i use it every place, on volumes up to 3GB

 NO PROBLEMS.


 Also are there any tools for recovery off ZFS volumes? Accidental
 delete/format/corruption...?

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


__ NOD32 3628 (20081120) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com


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


Re: ZFS Recovery Tools

2008-11-20 Thread Kurt Buff
On Thu, Nov 20, 2008 at 11:51 AM, Wojciech Puchar
[EMAIL PROTECTED] wrote:
 UFS performs excellent on large drives/volumes. not in theory but in
 practice, i use it every place, on volumes up to 3GB

 NO PROBLEMS.

Do you mean 3TB instead?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ZFS Recovery Tools

2008-11-20 Thread Wojciech Puchar



Hi,
 I was just reading stuff about ZFS, and wonder if it would be
beneficial for me to use it. I store a lots of multimedia files in my
HD, they usually have the size of  1GB (e.g. 1.2, 1.7 or even
bigger), and my system is running UFS.


simply use UFS with big blocks (-b 65536 -f 8192) will be OK.

BTW i have such change in param.h on every system i have:

--- param.h~2008-10-09 20:49:54.0 +0200
+++ param.h 2008-10-09 20:49:54.0 +0200
@@ -121,7 +121,7 @@
 #define DFLTPHYS   (64 * 1024) /* default max raw I/O transfer 
size */

 #endif
 #ifndef MAXPHYS
-#define MAXPHYS(128 * 1024)/* max raw I/O transfer 
size */
+#define MAXPHYS(1024 * 1024)/* max raw I/O transfer 
size */

 #endif
 #ifndef MAXDUMPPGS
 #define MAXDUMPPGS (DFLTPHYS/PAGE_SIZE)


no idea why it's not the default.




 so can I buy a new HD, say 500GB, and format it ZFS style and use it
along with other UFS? and will ZFS performs better than UFS in my


there may be slight (if any) speedup with transfer speed, and HUGE (like 
10x) increase in CPU load. on slower CPUs transfers will be actually 
slower.

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


Milter compile problem [OT]

2008-11-20 Thread Efren Bravo
Hi,

I cant compile my filter, the error is:

/usr/home/efrenba/C_Plus/mpolice/src/mpolice.cpp:63: undefined reference to 
`smfi_setconn'

Im working with PC-BSD 1.41 (FreeBSD pcbsd 6.3-PRERELEASE FreeBSD 
6.3-PRERELEASE #2) and KDevelop.

I checked the #include libmilter/mfapi.h and I think that is ok:
pcbsd# ll /usr/include/libmilter/
total 24
-r--r--r--  1 root  wheel  16588  7 nov  2007 mfapi.h
-r--r--r--  1 root  wheel   4727  7 nov  2007 mfdef.h


Suggestions?


Thanks in advance,
Efren Bravo.



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


Installation

2008-11-20 Thread Niyi Christ
Hi,
 
I've being using FreeBSD ever since 6.0 and I am a very good fan. But I got a 
new laptop computer, a Sony VAIO VGN-BX760 that has a hidden recovery 
partition. I've tried all my best to install FreeBSD 7.0 on it but when ever I 
insert the installation CD and it boots from the cdrom, the kernel does not 
come up. Instead, I got this bunch of digits just scrolling down my screen 
indefinitely. The laptop came with a windows XP OS and I am trying to dual 
boot. I want to use the recovery partition for my FreeBSD.
 
I'll appreciate your help as soon as possible. Thanks in anticipation.
 
Yours,
Niyi


NiyiChrist



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


Hello just looking for info

2008-11-20 Thread Robert Anthony
Hello dear Sir/ Madam;

 

I have recently started work on a business plan for a small computer
manufacturing plant. I have decided that I want to distribute my computers
with a non windows OS such as Linux or free BSD or something of this nature.
I am contacting you because I am looking for some information on what you
offer system builders in the way of distributing your software. I am
interested in what ever information you can offer me so please send me
anything that may help. 

 

Thanks for your time. 

 

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


Re: Installation

2008-11-20 Thread Steven Susbauer
Niyi Christ wrote:
 Hi,
  
 I've being using FreeBSD ever since 6.0 and I am a very good fan. But I got a 
 new laptop computer, a Sony VAIO VGN-BX760 that has a hidden recovery 
 partition. I've tried all my best to install FreeBSD 7.0 on it but when ever 
 I insert the installation CD and it boots from the cdrom, the kernel does not 
 come up. Instead, I got this bunch of digits just scrolling down my screen 
 indefinitely. The laptop came with a windows XP OS and I am trying to dual 
 boot. I want to use the recovery partition for my FreeBSD.
  
 I'll appreciate your help as soon as possible. Thanks in anticipation.
  
 Yours,
 Niyi
 
 
 NiyiChrist
 
 
   
Are you using the network install disc?

I've had a similar issue on a few machines. It was fixed by using Disc 1
instead.

   -Steve



signature.asc
Description: OpenPGP digital signature


Re: Installation

2008-11-20 Thread Jerry McAllister
On Thu, Nov 20, 2008 at 01:02:40PM -0800, Niyi Christ wrote:

 Hi,
  
 I've being using FreeBSD ever since 6.0 and I am a very good fan. But I got a 
 new laptop computer, a Sony VAIO VGN-BX760 that has a hidden recovery 
 partition. I've tried all my best to install FreeBSD 7.0 on it but when ever 
 I insert the installation CD and it boots from the cdrom, the kernel does not 
 come up. Instead, I got this bunch of digits just scrolling down my screen 
 indefinitely. The laptop came with a windows XP OS and I am trying to dual 
 boot. I want to use the recovery partition for my FreeBSD.
  
 I'll appreciate your help as soon as possible. Thanks in anticipation.

Hmmm.   I was able to clean out two of those once using the fixit
CD boot.   But, if you can't get it to boot at all, it will be
a problem. 

Did you try to just bot normally, but look at the BIOS on the
way up?   You may have to set something in the BIOS.   I don't
know the key combination to hit on a VIO to get in to BIOS, but
it should tell somewhere.

jerry

  
 Yours,
 Niyi
 
 NiyiChrist
 
 ___
 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]


Re: Hello just looking for info

2008-11-20 Thread Jerry McAllister
On Thu, Nov 20, 2008 at 05:38:23PM -0330, Robert Anthony wrote:

 Hello dear Sir/ Madam;
 
 I have recently started work on a business plan for a small computer
 manufacturing plant. I have decided that I want to distribute my computers
 with a non windows OS such as Linux or free BSD or something of this nature.
 I am contacting you because I am looking for some information on what you
 offer system builders in the way of distributing your software. I am
 interested in what ever information you can offer me so please send me
 anything that may help. 

Really, you need to read the information at the FreeBSD web site
  http://www.freebsd.org/
and follow some of the links to other sites so you can get a better
picture of what FreeBSD is all about.It is an Opensource, 
volunteer created and maintained system based on BSD Unix.   It is
a very good server system and a moderately servicable desktop system

You can download the install CD images, burn your own and distribute
them with your systems if you wish.   You could sell them with FreeBSD
already installed if you like.   There are no restrictions.

jerry

 
 Thanks for your time. 
 
 ___
 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]


Asus eeepc, Freebsd-head, problem with ath/wifi driver

2008-11-20 Thread Ole Vole
Hello maillist!

I trying setup FreeBSD according Wiki notes http://wiki.freebsd.org/AsusEee 
and get system without ath Wi-Fi devices (Fn+f2/Bios settings for Wifi: 
Enabled)

buildin/install kernel/world from 20081120 snapshot FreeBSD-CURRENT with/or 
patching from madwifi.org-project  ( http://snapshots.madwifi-
project.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3875-20081105.tar.gz ) 
(old link http://snapshots.madwifi-project.org/special/madwifi-ng-
r2756+ar5007.tar.gz is wrong) with extracting hal/ to 
/usr/src/sys/contrib/dev/ath/ and recompile the kernel  


Also, trying to test http://people.freebsd.org/~sam/ath_hal-20081028.tgz

As result from attemps is string in dmesg:
ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, 
RF5413, RF2133, RF2425, RF2417)

but ifconfig show only LAN ale0 Ethernet interface. 

On the list pciconf i see Ralink Technology, Corp devices but iy without 
drivers.

What is wrong here? Thanks!

Additional info:


 pciconf -vl output:
--
[EMAIL PROTECTED]:0:0:0:  class=0x06 card=0x830f1043 chip=0x27ac8086 
rev=0x03 hdr=0x00  
vendor = 'Intel Corporation'
  
class  = bridge 
  
subclass   = HOST-PCI   
  
[EMAIL PROTECTED]:0:2:0: class=0x03 card=0x830f1043 chip=0x27ae8086 
rev=0x03 hdr=0x00  
vendor = 'Intel Corporation'
  
class  = display
  
subclass   = VGA
  
[EMAIL PROTECTED]:0:2:1: class=0x038000 card=0x830f1043 chip=0x27a68086 
rev=0x03 hdr=0x00  
vendor = 'Intel Corporation'
  
device = 'Mobile 945GM/GU Express Integrated Graphics Controller'   
  
class  = display
  
[EMAIL PROTECTED]:0:27:0:  class=0x040300 card=0x831a1043 chip=0x27d88086 
rev=0x02 hdr=0x00  
vendor = 'Intel Corporation'
  
device = '82801G (ICH7 Family) High Definition Audio'   
  
class  = multimedia 
  
subclass   = HDA
  
[EMAIL PROTECTED]:0:28:0:  class=0x060400 card=0x830f1043 chip=0x27d08086 
rev=0x02 hdr=0x01  
vendor = 'Intel Corporation'
  
device = '82801G (ICH7 Family) PCIe Root Port'  
  
class  = bridge 
  
subclass   = PCI-PCI
  
[EMAIL PROTECTED]:0:28:1:  class=0x060400 card=0x830f1043 chip=0x27d28086 
rev=0x02 hdr=0x01  
vendor = 'Intel Corporation'
  
device = '82801G (ICH7 Family) PCIe Root Port'  
  
class  = bridge 
  
subclass   = PCI-PCI
  
[EMAIL PROTECTED]:0:28:2:  class=0x060400 card=0x830f1043 chip=0x27d48086 
rev=0x02 hdr=0x01  
vendor = 'Intel Corporation'
  
device = '82801G (ICH7 Family) PCIe Root Port'  
  
class  = bridge 
  
subclass   = PCI-PCI
  
[EMAIL PROTECTED]:0:28:3:  class=0x060400 card=0x830f1043 chip=0x27d68086 
rev=0x02 hdr=0x01  
vendor = 'Intel Corporation'
  
device = '82801G (ICH7 Family) PCIe Root Port'  
  
class  = bridge 
  
subclass   = PCI-PCI

Re: Asus eeepc, Freebsd-head, problem with ath/wifi driver

2008-11-20 Thread Dan
Ole Vole([EMAIL PROTECTED])@2008.11.20 22:08:41 +0300:
 Hello maillist!
 
 Also, trying to test http://people.freebsd.org/~sam/ath_hal-20081028.tgz
 
 
 but ifconfig show only LAN ale0 Ethernet interface. 
 
 On the list pciconf i see Ralink Technology, Corp devices but iy without 
 drivers.

You have a different, more expensive model. Atheros is in HA (the one I
have), you have the 802n ralink chipset. I got my atheros working by
pulling current ath driver from the svn. Do the same for ralink.

svn checkout svn://svn.freebsd.org/base/head/sys/dev/ral

put the directory in /usr/src/sys/dev/ral (replace the original). And
rebuild your curnel.

I have issues with sound - it does not support software jack detection,
so using headphones means the speakers are still on :(.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Asus eeepc, Freebsd-head, problem with ath/wifi driver

2008-11-20 Thread Andrew Thompson
On Thu, Nov 20, 2008 at 10:08:41PM +0300, Ole Vole wrote:
 Hello maillist!
 
 I trying setup FreeBSD according Wiki notes http://wiki.freebsd.org/AsusEee 
 and get system without ath Wi-Fi devices (Fn+f2/Bios settings for Wifi: 
 Enabled)
 
 buildin/install kernel/world from 20081120 snapshot FreeBSD-CURRENT with/or 
 patching from madwifi.org-project  ( http://snapshots.madwifi-
 project.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3875-20081105.tar.gz ) 
 (old link http://snapshots.madwifi-project.org/special/madwifi-ng-
 r2756+ar5007.tar.gz is wrong) with extracting hal/ to 
 /usr/src/sys/contrib/dev/ath/ and recompile the kernel  
 
 
 Also, trying to test http://people.freebsd.org/~sam/ath_hal-20081028.tgz
 
 As result from attemps is string in dmesg:
 ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, 
 RF5413, RF2133, RF2425, RF2417)
 
 but ifconfig show only LAN ale0 Ethernet interface. 
 
 On the list pciconf i see Ralink Technology, Corp devices but iy without 
 drivers.
 
 What is wrong here? Thanks!

Thats not an Atheros card and the Ralink chipset isnt supported yet. I
have used ndis with this model and it works fine.


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


Jails and common ports

2008-11-20 Thread Marcus I. Ryan
Cross-posting this to freebsd-ports because it's mostly about the  
ports infrastructure and how I might (ab)use it...


I'm looking into setting up jails, and was hoping I was onto something  
with using ports to maintain application software but I hit a snag and  
I'm hoping someone can either tell me how to do what I want or at  
least say nope...you're on crack thinking that will work ;)


I'm trying to set up a number of jails on my system following the  
handbook suggestions for Application of Jails  
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-application.html).  That means I have a master read-only instance for the base system (world), and read-write instances of key directories for each jail.  This is ideal for what I'd like to do because I only have to do one world upgrade to upgrade all my  
jails.


I'd like to extend that idea to a number of common ports.  For  
instance, I'd like to have gettext, libtool, etc., installed once and  
be able to do a single portupgrade to update it for all jails.


My initial plan was to make an /opt folder in the master filesystem  
and use the master jail to install ports (PREFIX=/opt and  
LOCALBASE=/opt).  I added the /opt/bin and /opt/sbin to the path and  
/opt/lib to the ld_config directories for the child jails and they  
were indeed able to see the first couple of ports I installed.


However, I started hitting issues with libtool and friends.  The  
children would not find them, and would go ahead and start installing  
their own local copies of those ports.  Turns out quite a few tools  
are defined in /usr/ports/Mk/* and are defined relative to LOCALBASE.   
If I leave LOCALBASE and PREFIX alone in the child jails so they'll  
use /usr/local for their specific ports, I can't recognize and use  
other ports like libtool installed in /opt; it doesn't seem right to  
set LOCALBASE in the child jails since I want them to use /usr/local  
for anything I haven't provided.


I really would like to avoid the joy of making hard-links, etc., for  
all the files in the common packages, but I didn't see any way to  
override settings for these individual ports.  I did edit some  
Makefiles and add '--prefix=/opt' to the CONFIGURE_ARGS for those  
ports, and everything worked fine, but I'd prefer to do it the right  
way (e.g. not editing Makefiles).


Is there a variable I'm not seeing that would allow me to do this kind  
of crazy thing, or am I better off either setting up hard links and/or  
using automated package building and just repeating pkg_upgrades in  
each jail?


If it's the latter, does someone know of a decent all-in-one doc to  
help me at least set up some features so I update ports once in a  
master and just get packages from the same place (I can piece it  
together myself from all the other docs I've found and been reading,  
but if someone has already written it up, hate to reinvent it myself  
:) ).


Thanks in advance.

--
Marcus I. Ryan, [EMAIL PROTECTED]
--
People often find it easier to be a result
of the past than a cause of the future.
--




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


Re: Installation

2008-11-20 Thread Nerius Landys

 I've being using FreeBSD ever since 6.0 and I am a very good fan. But I got
 a new laptop computer, a Sony VAIO VGN-BX760 that has a hidden recovery
 partition. I've tried all my best to install FreeBSD 7.0 on it but when ever
 I insert the installation CD and it boots from the cdrom, the kernel does
 not come up. Instead, I got this bunch of digits just scrolling down my
 screen indefinitely. The laptop came with a windows XP OS and I am trying to
 dual boot. I want to use the recovery partition for my FreeBSD.



I am acquainted with the scrolling digits problem.  I installed FreeBSD 7.0
onto a server machine which did not have a built-in CDROM drive.  Instead, I
hooked up a USB CDROM drive and tried to boot from it.  This is when I got
the scrolling digits problem.  After asking about this problem on the
forums, if I remember correctly, the answer seemed to be that booting from
USB CDROM drive is not supported.  My fix was to temporarily hook up an IDE
CDROM drive and boot from that.  I'm not sure what the situation with your
laptop is.

By the way, if you are installing a dual boot, wouldn't it make sense to
shrink the Windows partition first to make more room on the hard drive, then
add a new partition?  There are tools that can shrink a Windows partition
easily.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installation

2008-11-20 Thread Jerry McAllister
On Thu, Nov 20, 2008 at 02:35:19PM -0800, Nerius Landys wrote:

 
  I've being using FreeBSD ever since 6.0 and I am a very good fan. But I got
  a new laptop computer, a Sony VAIO VGN-BX760 that has a hidden recovery
  partition. I've tried all my best to install FreeBSD 7.0 on it but when ever
  I insert the installation CD and it boots from the cdrom, the kernel does
  not come up. Instead, I got this bunch of digits just scrolling down my
  screen indefinitely. The laptop came with a windows XP OS and I am trying to
  dual boot. I want to use the recovery partition for my FreeBSD.
 
 
 
 I am acquainted with the scrolling digits problem.  I installed FreeBSD 7.0
 onto a server machine which did not have a built-in CDROM drive.  Instead, I
 hooked up a USB CDROM drive and tried to boot from it.  This is when I got
 the scrolling digits problem.  After asking about this problem on the
 forums, if I remember correctly, the answer seemed to be that booting from
 USB CDROM drive is not supported.  My fix was to temporarily hook up an IDE
 CDROM drive and boot from that.  I'm not sure what the situation with your
 laptop is.
 
 By the way, if you are installing a dual boot, wouldn't it make sense to
 shrink the Windows partition first to make more room on the hard drive, then
 add a new partition?  There are tools that can shrink a Windows partition
 easily.

I wondered about that too.   But, I figured that if the OP couldn't
even get something to boot, he had to get past that first.

Partition Magic (version 7.0 only, - version 8.0 is junk) will do fine
except for USB devices/disk. But, I would suggest downloading and
burning the gparted CD image and using that to shring the MS slice.

jerry

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


Re: Asus eeepc, Freebsd-head, problem with ath/wifi driver

2008-11-20 Thread Octavian Ionescu

hi,

i have had the same problem and asked a while ago (about 1 week ago) 
about the driver for wireless card for asus eee 1000h and the answer i 
had received from mr Sam Leffer was:


0x781 is an RT2790; not supported by any driver in the tree. 

this is first time i am hearing about another driver wich is working 
with this card and i shall give it a try to see what happens.


Best regards,
Octavian



Andrew Thompson wrote:

On Thu, Nov 20, 2008 at 10:08:41PM +0300, Ole Vole wrote:
  

Hello maillist!

I trying setup FreeBSD according Wiki notes http://wiki.freebsd.org/AsusEee 
and get system without ath Wi-Fi devices (Fn+f2/Bios settings for Wifi: 
Enabled)


buildin/install kernel/world from 20081120 snapshot FreeBSD-CURRENT with/or 
patching from madwifi.org-project  ( http://snapshots.madwifi-
project.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3875-20081105.tar.gz ) 
(old link http://snapshots.madwifi-project.org/special/madwifi-ng-
r2756+ar5007.tar.gz is wrong) with extracting hal/ to 
/usr/src/sys/contrib/dev/ath/ and recompile the kernel  



Also, trying to test http://people.freebsd.org/~sam/ath_hal-20081028.tgz

As result from attemps is string in dmesg:
ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, 
RF5413, RF2133, RF2425, RF2417)


but ifconfig show only LAN ale0 Ethernet interface. 

On the list pciconf i see Ralink Technology, Corp devices but iy without 
drivers.


What is wrong here? Thanks!



Thats not an Atheros card and the Ralink chipset isnt supported yet. I
have used ndis with this model and it works fine.


Andrew
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
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]


CURSOS GRATUITOS TIC DEL INEM CON INSERCION LABORAL

2008-11-20 Thread Fundacion Infored


  
   Publicidad

 [in=]

 [mi=]  

 [IN=]

      =      [fo=]

AVISO Ú= LTIMAS PLAZAS:

   CONVOCATORIA ÚLTIMAS PLAZ= AS DE CURSOS TIC GRATUITOS DEL INEM PARA
   DESEMPLEADOS CON COMPROMISO DE INSERCIÓN LABORAL

   = nbsp;

       P= or la presente le avisamos que ya
   puede realizar la preinscripción para los cursos en = Nuevas
   Tecnologías que convoca la Fundación Infored en colaboración c   on el 
INEM-Fondo Social Europeo-Ministerio de Trabajo e
   Inmigración. Se están o= fertando las últimas plazas
   disponibles.= o:p

       S= e trata de cursos de 250 horas
   que se imparten en Madrid y que están dirigidos a= desempleados.
   Están financiados por el INEM por lo que son totalmente gra   tuitos. Además 
son preparatorios de las certificaciones oficiales
   de Microsoft, Cisco o Sun Microsystems: Java, .Net, Cisco, Solari   s, 
Windows, etc. Y cuentan con una inserción laboral asegurada p   ara el 60% de 
los alumnos.

   Sesiones informativas presenciales-proceso de selección

   Todos los días a las 11:= 00 y a las 16:00 horas previa petición
   de cita

   Si desea más información consulte la= Web
   [1]www.inforedwbcc.net y enví= e un mail a     [EMAIL PROTECTED]= /a, para 
que le enviemos más
   información por correo ele= ctrónico. Si desea que le informemos
   telefónicamente deberá  indicarnos en su e mail un núm= ero de
   teléfono para que nos pongamos en contacto con usted. Si quiere
   asist= ir a una entrevista informativa presencial y realizar el
   proceso de admisión, le rogamos nos indique el día y la hora
   elegida (véase el recuadro superior para posibles horas y días de
   cita) = y en el menor plazo de tiempo posible le confirmaremos la
   cita.

La aceptación de candidaturas ve= ndrá condicionada por la
   disponibilidad de plazas libres.

       A= tentamente,

       F= undación Infored


   nb= sp;

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:wh   
ite'CURSOS

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:wh   
ite'INICIO

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:wh   
ite'HORARIO

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:wh   
ite'MATRÍCULA

   Programador Visual Basic/ASP.NET

   15 dic.= 08

   1430 a = 19:00

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:bl   
ue'Abierta

   Programador Java J2SE/J2EE [DEL: :DEL]

   24 nov.= 08

   14:30 a= 19:30
   
   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:re   
d'Últimas plazas
   = o:p

   Cisco CCNA

   18 dic.= 08

   08:00 a= 14:00

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:bl   
ue'Abierta

   Cisco CCNA

   15 dic.= 08

   14:30 a= 19:30
   
   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:bl   
ue'Abierta

   Programador Java con Oracle

   24 nov.= 08

   08.00 a 14.00

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:re   
d'Últimas plazas

   Solaris

   17 dic.= 08

   08.30 a 14.00

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:bl   
ue'Abierta

   En cumplimiento de lo dispuesto en la Ley Orgánica 15/1999
   (B.O.E.= núm. 298, de 13 de diciembre de 1999), de
   Protección de Datos de Carácter Pe= rsonal (LOPD), le informamos
   que sus datos están incluidos en un fichero de= datos de carácter
   personal, cuyo fin es el envío de información comerc= ial. El
   titular y responsable del mismo es Infored., con domicilio social
   en= la C / Virgen de los Reyes 12, 28015 Madrid. Podrá ejercer sus
   derechos d= e acceso, rectificación, cancelación y oposición
   dirigiendo una carta a Fu= ndación Infored, a la dirección antes
   mencionada o al correo electrónico = a
   href=mailto:[EMAIL PROTECTED]
   = %20Datos[EMAIL PROTECTED] , indicand= o de forma visible
   cual o cuales derechos quiere ejercitar. [3]Política de privacidad


References

   1. 3Dhttp://www.inforedwbc=/
   2. 3Dmailto:[EMAIL PROTECTED] 

install gamin in stead of fam

2008-11-20 Thread Dino Vliet
Dear Freebsd list,

How would you solve the following task at hand?

I would like to install gamin on my amd64 system running freebsd 6.3 in stead 
of fam, I've been using the latter since installing openoffice (on the net I 
found a
guide saying I should put WITH_FAM_SYSTEM=fam in my /etc/make.conf)

Which packages require fam is found by issuing the following command:

pkg_info -R fam* gives:

Information for fam-2.6.10_3:

Required by:
ImageMagick-6.4.5.5
ORBit2-2.14.14
Terminal-0.2.8.3
Thunar-0.9.3
at-spi-1.22.1_2
atk-1.22.0_1
avahi-0.6.23
avahi-app-0.6.23
bluefish-1.0.7_5
claws-mail-3.5.0_1
consolekit-0.2.10_3
dbus-glib-0.76
desktop-file-utils-0.15_1
dia-gnome-0.96.1_6,1
enchant-1.4.0_1
evolution-2.22.3.1
evolution-data-server-2.22.3_1
evolution-exchange-2.22.3
evolution-webcal-2.21.92_2
firefox-2.0.0.18,1
g-wrap-1.9.6_4,1
gail-1.22.3
gconf2-2.22.0_1
gdl-0.7.11_2
gdm-2.20.8
gdvrecv-1.2_4
gio-fam-backend-2.16.5
gnome-icon-theme-2.22.0_1
gnome-keyring-2.22.3_1
gnome-mount-0.8_2
gnome-spell-1.0.8_2
gnome-vfs-2.22.0_2
graphviz-2.20.3
gstreamer-0.10.21
gstreamer-plugins-0.10.21,3
gtk-2.12.11_1
gtk-engines2-2.14.3
gtk-xfce-engine-2.4.3
gtkhtml3-3.18.3
gtksourceview2-2.2.2
gtkspell-2.0.14
gvfs-0.2.5
hal-0.5.11_1
html2ps-letter-1.0.b5_1,1
inkscape-0.46_3
jdk-1.5.0.14p8_4,1
kdelibs-3.5.10
kmymoney2-0.8.9_2
libIDL-0.8.11
libbonobo-2.22.0_1
libbonoboui-2.22.0_2
libcroco-0.6.1_1
libexo-0.3.4_2
libgda3-3.0.4_1
libgksu-1.3.8_3
libgksuui-1.0.7_3
libglade2-2.6.3
libgnome-2.22.0_1
libgnomecanvas-2.20.1.1_2
libgnomecups-0.2.3_1,1
libgnomeprint-2.18.4_2
libgnomeprintui-2.18.2_2
libgnomeui-2.22.1_2
libgsf-1.14.8_2
libgtkhtml-2.11.1_2
libnotify-0.4.4_2
liboobs-2.22.0_1
librsvg2-2.22.3
libsexy-0.1.11_1
libsoup-2.2.105_3
libsoup-2.4.1_1
libwnck-2.22.3
libwpd-0.8.14_1
libxfce4gui-4.4.3
libxfce4mcs-4.4.3
libxfce4util-4.4.3
libxklavier-3.5_2,1
linc-1.0.3_7
mousepad-0.2.14
notification-daemon-0.3.7_3
nvu-1.0_7
openoffice.org-3.0.0
orage-4.4.3
pango-1.20.5
pgadmin3-1.8.4
policykit-0.9_1
policykit-gnome-0.9
poppler-gtk-0.8.7
py25-dbus-0.83.0_1
py25-gobject-2.14.2_2
py25-gstreamer-0.10.12
py25-gtk-2.12.1_1
py25-orbit-2.14.3_1
py25-zenmap-4.76
shared-mime-info-0.51
swt-3.1.1_3
system-tools-backends-2.6.0_1
vte-0.16.14_1
wv2-0.2.3_2
wxgtk2-2.4.2_16
wxgtk2-2.6.3_5
wxgtk2-2.8.9
wxgtk2-common-2.6.3_4
wxgtk2-common-2.8.9
wxgtk2-contrib-common-2.6.3_3
wxgtk2-contrib-common-2.8.9
wxgtk2-unicode-2.6.3_5
wxgtk2-unicode-2.8.9
wxgtk2-unicode-contrib-2.6.3_3
wxgtk2-unicode-contrib-2.8.9
wxsvg-1.0.b7.2_2
xf86-input-acecad-1.2.1_1
xf86-input-calcomp-1.1.1_1
xf86-input-citron-2.2.1_1
xf86-input-digitaledge-1.1.0_1
xf86-input-dmc-1.1.1_1
xf86-input-dynapro-1.1.1_1
xf86-input-elo2300-1.1.1_1
xf86-input-elographics-1.1.0_1
xf86-input-fpit-1.1.0_1
xf86-input-hyperpen-1.1.0_1
xf86-input-jamstudio-1.1.0_1
xf86-input-joystick-1.2.3_1
xf86-input-keyboard-1.2.2_2
xf86-input-magellan-1.1.1_1
xf86-input-magictouch-1.0.0.5_2
xf86-input-microtouch-1.1.1_1
xf86-input-mouse-1.2.3_2
xf86-input-mutouch-1.1.0_1
xf86-input-palmax-1.1.0_1
xf86-input-penmount-1.2.1_1
xf86-input-spaceorb-1.1.1_1
xf86-input-summa-1.1.0_1
xf86-input-tek4957-1.1.0_1
xf86-input-void-1.1.1_1
xf86-video-apm-1.1.1_2
xf86-video-ark-0.6.0_2
xf86-video-ati-6.9.0
xf86-video-chips-1.1.1_2
xf86-video-cirrus-1.1.0_2
xf86-video-cyrix-1.1.0_2
xf86-video-dummy-0.2.0_2
xf86-video-fbdev-0.3.1_2
xf86-video-glint-1.1.1_4
xf86-video-i128-1.2.1_2
xf86-video-i740-1.1.0_2
xf86-video-i810-1.7.4
xf86-video-imstt-1.1.0_2
xf86-video-mach64-6.8.0
xf86-video-mga-1.4.9,1
xf86-video-neomagic-1.1.1_2
xf86-video-newport-0.2.1_2
xf86-video-nsc-2.8.3_1
xf86-video-nv-2.1.12
xf86-video-r128-6.8.0
xf86-video-rendition-4.1.3_2
xf86-video-s3-0.5.0_2
xf86-video-s3virge-1.9.1_2
xf86-video-savage-2.1.3_1
xf86-video-siliconmotion-1.5.1_1
xf86-video-sis-0.10.0
xf86-video-tdfx-1.3.0_3
xf86-video-tga-1.1.0_2
xf86-video-trident-1.2.3_2
xf86-video-tseng-1.1.1_2
xf86-video-vesa-1.3.0_2
xf86-video-vga-4.1.0_2
xf86-video-via-0.2.2_3
xf86-video-vmware-10.15.2_1
xf86-video-voodoo-1.1.1_2
xfce-4.4.3
xfce4-appfinder-4.4.3
xfce4-desktop-4.4.3
xfce4-mcs-manager-4.4.3
xfce4-mcs-plugins-4.4.3
xfce4-mixer-4.4.3
xfce4-panel-4.4.3
xfce4-print-4.4.3
xfce4-session-4.4.3
xfce4-utils-4.4.3
xfce4-wm-4.4.3
xorg-7.3_2
xorg-drivers-7.3_3
xorg-server-1.4.2,1
zenity-2.22.1_1


The approaches I can think of are:

1) get rid of fam and everything that requires it with pkg_deinstall -R
fam* , then adjust /etc/make.conf to have WITH_FAM_SYSTEM=gamin and
reinstall all above packages one by one

2) write a shell script to automate all those steps above


So my question boils down to this, am I on the good track? Are there
other alternatives (or caveats)

Thanks


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


Re: Wifi Card for laptop

2008-11-20 Thread Albert Shih
 Le 20/11/2008 à 11:35:20+0200, Giorgos Keramidas a écrit

Hi,

First thanks you for you help

In fact I make the wifi run by using wpi driver.

 If you can find a PC-CARD (or `PCMCIA') that uses one of the supported
 chipsets, then just go for it.
 
 To see if the internal network interface card or wireless adapter work,
 you can try running:
 
 % pciconf -lv
 
 Save this to a text file:
 
 % pciconf -lv  pciconf.txt
 
 Then you can use a USB flash drive to transfer the text file to a
 machine that has email connectivity and post it here.  We can try to go
 through the list of devices and check hardware compatibility for you.
 
 If you do that, please include as much information as possible about the
 FreeBSD version you are using, and any other bits you think are useful
 to understand what hardware you are using (i.e. laptop model, laptop
 maker, the output of the ``uname -a'' command, and so on).

But if I can help to make more hardware working on FreeBSD  I would happy to
do that so let's go:

Hardware :

Dell laptop Precision M6300

Running wihtout problem:

touchpad
X11 (using nv drivers but not the «official» because I'm
running amd64 version).

running but with some problem :

wifi card : chipset 3945
drivers : wpi (compiling in kernel)
problem : sometime the wifi go down (the AP is at  1m) and
when I try to make that up again he don't work. If I try
the keyboard touch (Fn+F2) that's can crash (reboot) the
computer

Find drivers but not running :

sound. I got 
[root@ ~]# dmesg|grep pcm
pcm0: Intel 82801H High Definition Audio Controller mem 
0xf6ffc000-0xf6ff irq 21 at device 27.0 on pci0
pcm0: [ITHREAD]
pcm0: HDA Codec: Sigmatel STAC9205
pcm0: HDA Driver Revision: 20080420_0052
[root@ ~]# 

but I don't have dsp device in my /dev so no sound

No driver (and of course not working)

NetXtreme BCM5756ME Gigabit Ethernet PCIe

USB ports working.

I've not try Firewire, pccard, MIC. 

I'm running

FreeBSD 7.1-PRERELEASE

make after csup (with tag=RELENG_7) and make buildworld;kernel.

I can make «any» test you want. Just ask me.


Bests regards.







Here my pciconf -lv


[EMAIL PROTECTED]:0:0:0:  class=0x06 card=0x01f81028 chip=0x2a008086 
rev=0x0c hdr=0x00
vendor = 'Intel Corporation'
device = 'Mobile PM965/GM965/GL960 Express Processor to DRAM Controller'
class  = bridge
subclass   = HOST-PCI
[EMAIL PROTECTED]:0:1:0:   class=0x060400 card=0x01f81028 chip=0x2a018086 
rev=0x0c hdr=0x01
vendor = 'Intel Corporation'
device = 'Mobile PM965/GM965/GL960 Express PCIe Root Port'
class  = bridge
subclass   = PCI-PCI
[EMAIL PROTECTED]:0:26:0:  class=0x0c0300 card=0x01f81028 chip=0x28348086 
rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) USB UHCI'
class  = serial bus
subclass   = USB
[EMAIL PROTECTED]:0:26:1:  class=0x0c0300 card=0x01f81028 chip=0x28358086 
rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) USB UHCI'
class  = serial bus
subclass   = USB
[EMAIL PROTECTED]:0:26:7:  class=0x0c0320 card=0x01f81028 chip=0x283a8086 
rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '81EC1043 (?) ICH8 Enhanced USB2 Enhanced Host Controller'
class  = serial bus
subclass   = USB
[EMAIL PROTECTED]:0:27:0:   class=0x040300 card=0x01f81028 chip=0x284b8086 
rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801H SUBSYS_81EC1043REV_02\3115836590D8'
class  = multimedia
[EMAIL PROTECTED]:0:28:0:  class=0x060400 card=0x01f81028 chip=0x283f8086 
rev=0x02 hdr=0x01
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) PCIe Port 1'
class  = bridge
subclass   = PCI-PCI
[EMAIL PROTECTED]:0:28:1:  class=0x060400 card=0x01f81028 chip=0x28418086 
rev=0x02 hdr=0x01
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) PCIe Port 2'
class  = bridge
subclass   = PCI-PCI
[EMAIL PROTECTED]:0:28:3:  class=0x060400 card=0x01f81028 chip=0x28458086 
rev=0x02 hdr=0x01
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) PCIe Port 4'
class  = bridge
subclass   = PCI-PCI
[EMAIL PROTECTED]:0:28:5:  class=0x060400 card=0x01f81028 chip=0x28498086 
rev=0x02 hdr=0x01
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) PCIe Port 6'
class  = bridge
subclass   = PCI-PCI [EMAIL PROTECTED]:0:29:0:  

Suggestions for PII 400 boot failure

2008-11-20 Thread Vinny

Hi,

A friend of mine is trying out FreeBSD and ran into
a booting problem.  Here is his message:

Well, that's discouraging.

I have put together an old PII 400 with  three 20GB drives and a CDROM 
that I'd like to run BSD on.  Half a GB of RAM I figured would be 
respectable.


Downloaded the ISO files, burned CDs of them and when I try to run them 
it starts to boot and then freezes tighter than a muskrat's arse.


Three lines coming on the screen and it ends with Starting the_ and 
just hangs.


I've got a PIII 1000 here that I use as a file server and the boot disks 
run fine on that.  Just won't boot off the PII 400.


Weird.  Really, really weird.  I tried five different CDROMs in case it 
was the actual drive but same thing.  I tried using version 6.3 instead 
of release 7.0 and same thing.


That system doesn't like BSD/Linux whatever.

I use GParted as a partition manager all the time which is bootable and 
same thing on that machine.  It just don't like booting to that OS.


Any suggestions?

Thanks
Vinny

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


do we have any grammar checkers for FBSD?

2008-11-20 Thread Gary Kline
Are there are grammer-checkers [ or ones that offer suggestions ]
for FreeBSD?

If there is one with OOo-3, I haven't been able to build it yet

gary



-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: Wifi Card for laptop

2008-11-20 Thread Albert Shih
 Le 21/11/2008 à 01:43:29+0100, Albert Shih a écrit
  Le 20/11/2008 à 11:35:20+0200, Giorgos Keramidas a écrit
 
After some google I find the patch 

http://people.freebsd.org/~mav/

for the sound problem. 

 
   Find drivers but not running :
 
   sound. I got 
   [root@ ~]# dmesg|grep pcm
   pcm0: Intel 82801H High Definition Audio Controller mem 
 0xf6ffc000-0xf6ff irq 21 at device 27.0 on pci0
   pcm0: [ITHREAD]
   pcm0: HDA Codec: Sigmatel STAC9205
   pcm0: HDA Driver Revision: 20080420_0052
   [root@ ~]# 
 

Regards.


-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Heure local/Local time:
Ven 21 nov 2008 02:35:39 CET
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CURSOS GRATUITOS TIC DEL INEM CON INSERCION LABORAL

2008-11-20 Thread Fundacion Infored


  
   Publicidad

 [in=]

 [mi=]  

 [IN=]

      =      [fo=]

AVISO Ú= LTIMAS PLAZAS:

   CONVOCATORIA ÚLTIMAS PLAZ= AS DE CURSOS TIC GRATUITOS DEL INEM PARA
   DESEMPLEADOS CON COMPROMISO DE INSERCIÓN LABORAL

   = nbsp;

       P= or la presente le avisamos que ya
   puede realizar la preinscripción para los cursos en = Nuevas
   Tecnologías que convoca la Fundación Infored en colaboración c   on el 
INEM-Fondo Social Europeo-Ministerio de Trabajo e
   Inmigración. Se están o= fertando las últimas plazas
   disponibles.= o:p

       S= e trata de cursos de 250 horas
   que se imparten en Madrid y que están dirigidos a= desempleados.
   Están financiados por el INEM por lo que son totalmente gra   tuitos. Además 
son preparatorios de las certificaciones oficiales
   de Microsoft, Cisco o Sun Microsystems: Java, .Net, Cisco, Solari   s, 
Windows, etc. Y cuentan con una inserción laboral asegurada p   ara el 60% de 
los alumnos.

   Sesiones informativas presenciales-proceso de selección

   Todos los días a las 11:= 00 y a las 16:00 horas previa petición
   de cita

   Si desea más información consulte la= Web
   [1]www.inforedwbcc.net y enví= e un mail a     [EMAIL PROTECTED]= /a, para 
que le enviemos más
   información por correo ele= ctrónico. Si desea que le informemos
   telefónicamente deberá  indicarnos en su e mail un núm= ero de
   teléfono para que nos pongamos en contacto con usted. Si quiere
   asist= ir a una entrevista informativa presencial y realizar el
   proceso de admisión, le rogamos nos indique el día y la hora
   elegida (véase el recuadro superior para posibles horas y días de
   cita) = y en el menor plazo de tiempo posible le confirmaremos la
   cita.

La aceptación de candidaturas ve= ndrá condicionada por la
   disponibilidad de plazas libres.

       A= tentamente,

       F= undación Infored


   nb= sp;

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:wh   
ite'CURSOS

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:wh   
ite'INICIO

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:wh   
ite'HORARIO

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:wh   
ite'MATRÍCULA

   Programador Visual Basic/ASP.NET

   15 dic.= 08

   1430 a = 19:00

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:bl   
ue'Abierta

   Programador Java J2SE/J2EE [DEL: :DEL]

   24 nov.= 08

   14:30 a= 19:30
   
   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:re   
d'Últimas plazas
   = o:p

   Cisco CCNA

   18 dic.= 08

   08:00 a= 14:00

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:bl   
ue'Abierta

   Cisco CCNA

   15 dic.= 08

   14:30 a= 19:30
   
   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:bl   
ue'Abierta

   Programador Java con Oracle

   24 nov.= 08

   08.00 a 14.00

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:re   
d'Últimas plazas

   Solaris

   17 dic.= 08

   08.30 a 14.00

   = span
   style='font-family:Calibri,sans-serif;mso-ascii-theme-font:min   
or-latin;
   mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;color:bl   
ue'Abierta

   En cumplimiento de lo dispuesto en la Ley Orgánica 15/1999
   (B.O.E.= núm. 298, de 13 de diciembre de 1999), de
   Protección de Datos de Carácter Pe= rsonal (LOPD), le informamos
   que sus datos están incluidos en un fichero de= datos de carácter
   personal, cuyo fin es el envío de información comerc= ial. El
   titular y responsable del mismo es Infored., con domicilio social
   en= la C / Virgen de los Reyes 12, 28015 Madrid. Podrá ejercer sus
   derechos d= e acceso, rectificación, cancelación y oposición
   dirigiendo una carta a Fu= ndación Infored, a la dirección antes
   mencionada o al correo electrónico = a
   href=mailto:[EMAIL PROTECTED]
   = %20Datos[EMAIL PROTECTED] , indicand= o de forma visible
   cual o cuales derechos quiere ejercitar. [3]Política de privacidad


References

   1. 3Dhttp://www.inforedwbc=/
   2. 3Dmailto:[EMAIL PROTECTED] 

Re: Suggestions for PII 400 boot failure

2008-11-20 Thread Chris Pratt


On Nov 20, 2008, at 4:31 PM, Vinny wrote:


Hi,

A friend of mine is trying out FreeBSD and ran into
a booting problem.  Here is his message:

Well, that's discouraging.

I have put together an old PII 400 with  three 20GB drives and a  
CDROM that I'd like to run BSD on.  Half a GB of RAM I figured  
would be respectable.


Downloaded the ISO files, burned CDs of them and when I try to run  
them it starts to boot and then freezes tighter than a muskrat's arse.


Three lines coming on the screen and it ends with Starting the_  
and just hangs.



He might want to try downloading the floppy set and booting
from there. I think that is what I did on an old Dell 200 I'm
using as a bridging firewall at home. This is a pathetically old
machine and won't boot the ISO (I found it when cleaning out
my rental, left to throw away by the renter), but it works great
once you finally get the system on it. It's on 6.2 but I imagine
7.0 will be fine.

FreeBSD 6.2-RELEASE-p3 #3: Mon Apr  9 09:11:48 UTC 2007
snip
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Pentium/P55C (199.43-MHz 586-class CPU)
  Origin = GenuineIntel  Id = 0x544  Stepping = 4
  Features=0x8001bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX
real memory  = 100663296 (96 MB)
avail memory = 93102080 (88 MB)
Intel Pentium detected, installing workaround for F00F bug


I've got a PIII 1000 here that I use as a file server and the boot  
disks run fine on that.  Just won't boot off the PII 400.


Weird.  Really, really weird.  I tried five different CDROMs in  
case it was the actual drive but same thing.  I tried using version  
6.3 instead of release 7.0 and same thing.


That system doesn't like BSD/Linux whatever.

I use GParted as a partition manager all the time which is bootable  
and same thing on that machine.  It just don't like booting to that  
OS.


Any suggestions?

Thanks
Vinny

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




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


Re: Suggestions for PII 400 boot failure

2008-11-20 Thread Fbsd1

Vinny wrote:

Hi,

A friend of mine is trying out FreeBSD and ran into
a booting problem.  Here is his message:

Well, that's discouraging.

I have put together an old PII 400 with  three 20GB drives and a CDROM 
that I'd like to run BSD on.  Half a GB of RAM I figured would be 
respectable.


Downloaded the ISO files, burned CDs of them and when I try to run them 
it starts to boot and then freezes tighter than a muskrat's arse.


Three lines coming on the screen and it ends with Starting the_ and 
just hangs.


I've got a PIII 1000 here that I use as a file server and the boot disks 
run fine on that.  Just won't boot off the PII 400.


Weird.  Really, really weird.  I tried five different CDROMs in case it 
was the actual drive but same thing.  I tried using version 6.3 instead 
of release 7.0 and same thing.


That system doesn't like BSD/Linux whatever.

I use GParted as a partition manager all the time which is bootable and 
same thing on that machine.  It just don't like booting to that OS.


Any suggestions?

Thanks
Vinny





Excerpt from Installers guide  www.a1poweruser.com

PC BIOS
The first thing your PC does after being powered on or when rebooting is 
the motherboard BIOS ROM chip gets control and it interrogates all the 
hardware ports on the motherboard to determine what I/O devices are 
attached. This is called the POST process. As part of this POST process 
the user changeable BIOS values stored in a CMOS chip on the motherboard 
are read and used to configure the PC’s hardware. These BIOS values are 
changed using the BIOS setup utility. The most common BOIS chip in use 
today is manufactured by Award. If your PC does not use an Award BIOS 
chip then you have to read the manual that came with your PC for details.



This summary screen information is very helpful in debugging FBSD 
hardware problems, because it tells you what your PC hardware is and how 
the IRQ numbers are assigned. IRQ stands for interrupt request. An 
interrupt is the doorway the I/O device uses to tell the CPU that it 
wants its turn at getting some processing cycles. This is how the CPU 
shares service time among all the devices attached to the motherboard.




Starting Award BIOS setup utility
During the power up/reboot POST process you will see in the lower left 
corner of the monitor screen the message ‘Press DEL to enter setup’. 
While this message is showing press the keyboard delete key and the 
Award BIOSs setup utility main menu displays on the screen.




First time changes to PC BIOS
Navigate around the menus using the keyboard arrow keys looking for the 
following options. Your PC BIOS may not have all of these.


Virus Warning=, set this option to disable. It’s a firmware check of the 
hard drive boot sector looking for MS/Windows boot virus. This will stop 
FBSD booting from the install CDROM.


plug-n-play=, set this option to disable. FBSD is not sensitive to 
Microsoft plug-n-play standard and may refuse to install, or cause PCI 
cards not to be found.


Disable or set to auto any BIOS option to assign IRQ numbers to PCI 
expansion slots.


Disable any ISA expansion slots.

Operating system type=, set to ‘other’ or any Unix type of operating 
system, don’t set to MS/Windows.


Disable all power management options.

boot sequence=, set this option to (CDROM,C) Since you are installing 
FBSD from CDROM you must tell the PC what I/O device to boot from.


Follow the BIOS menu instructions to save your changes and exit. The PC 
will reboot it self.


Keep in mind that some older CDROM drives and older legacy PC BIOS do 
not support booting off CDROM. Generally with PCs manufactured after 
1999 this is not a problem.


If you do run into this, you have a really old PC and you will need to 
create boot floppies to boot from. This is outside the scope of this 
document. Please read the FBSD Handbook at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html#INSTALL-FLOPPIES


Legacy BIOS also are incompatible with the larger hard disk sizes and 
the faster 66 and 100 UDMA drives.





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


Using diff

2008-11-20 Thread Fbsd1

Trying to use diff program to create a patch.
Output gos to console and does not create the patch file.

If it do   diff original updated  patch.file

The patch.file does not look like a normal patch file.

What am I doing wrong here?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using diff

2008-11-20 Thread Bill Campbell
On Fri, Nov 21, 2008, Fbsd1 wrote:
 Trying to use diff program to create a patch.
 Output gos to console and does not create the patch file.

 If it do   diff original updated  patch.file

 The patch.file does not look like a normal patch file.

 What am I doing wrong here?

Try ``diff -u original updates  patch.file''.

Bill
-- 
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186

If you think health care is expensive now, wait until you see what it coses
when it's free -- P.J. O'Rourke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: install gamin in stead of fam

2008-11-20 Thread Thomas Abthorpe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On November 20, 2008 06:28:21 pm Dino Vliet wrote:
snip
 The approaches I can think of are:

 1) get rid of fam and everything that requires it with pkg_deinstall -R
 fam* , then adjust /etc/make.conf to have WITH_FAM_SYSTEM=gamin and
 reinstall all above packages one by one

 2) write a shell script to automate all those steps above


 So my question boils down to this, am I on the good track? Are there
 other alternatives (or caveats)

 Thanks

Ater you set WITH_FAM_SYSTEM=gamin, you should be able to perform

portupgrade -fo devel/gamin fam

This will replace the software and the appropriate dependancies. I did this 
very same thing but in reverse, gamin-fam :)

HTH


Thomas

- -- 
Thomas Abthorpe | FreeBSD Committer
[EMAIL PROTECTED]   | http://people.freebsd.org/~tabthorpe
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkmVPEACgkQ5Gm/jNBp8qCxkgCfVatJyU/kBEpGrwVBTqfKqz1f
+t4AniT1K+d4H6Sq0pVb7brj9kWKiUTL
=vAoC
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem about ppp -nat

2008-11-20 Thread Pongthep Kulkrisada
Hi All,

I have just subscribed to freebsd-questions and I have a question about ppp 
-nat.

I have 2 computers. One is running FreeBSD-7.0R, the other is running WinXP. 
The host running FBSD7.0R has been connecting to the outside world using 
user-ppp without any problem for very long. Now I want to share internet access 
to the other host behind NAT through this FBSD host.
My FBSD machine has 2 interfaces i.e.
tun0 (connecting to ISP) with dynamic IP (of course)
fxp0 (for internal LAN) with static IP of 192.168.1.10
My WinXP machine has 1 interface (internal LAN) with static IP of 192.168.1.11

Previously I have a router acting as a gateway for all machines behind NAT. But 
now I want FBSD machine to work as a gateway. I have never done this before. I 
tried some googling with reading ppp(8) and ipfw(8). And I tried masquerading 
but it didn't work. I have plenty configuration files. But the relevant 
configurations are listed here.

/etc/rc.conf
# enable IP forwarding
gateway_enable=YES
# previously I ran web-server, just disable it or comment it out, not sure why!
#apache_enable=YES

On the host running WinXP, I set its gateway and DNS server to the IP of ppp 
host i.e. 192.168.1.10.

I then inserted the following line as the first rule in /etc/ipfw.rules.
/sbin/ipfw add allow all from any to any via fxp0
(I know this rule is dangerous, but just for testing.)

I then issue the ppp command.
[EMAIL PROTECTED]:~# ppp -background -nat myisp

FBSD host (running ppp) can access anywhere but WinXP host can't. I learned 
from some site explaining that ppp itself has the capability of IP 
masquerading. And it does not require natd(8). So I don't mention about natd 
here.
Anyone have a clue or who have done the correct configurations, please point me 
out.

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


Re: Jails and common ports

2008-11-20 Thread Mel
On Thursday 20 November 2008 23:33:30 Marcus I. Ryan wrote:

 However, I started hitting issues with libtool and friends.  The
 children would not find them, and would go ahead and start installing
 their own local copies of those ports.  Turns out quite a few tools
 are defined in /usr/ports/Mk/* and are defined relative to LOCALBASE.
 If I leave LOCALBASE and PREFIX alone in the child jails so they'll
 use /usr/local for their specific ports, I can't recognize and use
 other ports like libtool installed in /opt; it doesn't seem right to
 set LOCALBASE in the child jails since I want them to use /usr/local
 for anything I haven't provided.

Yeah, I feel your pain. You can't really do this with ports that require 
libraries from other ports. The ports system was created with the assumption 
that LOCALBASE (and PREFIX) for one installation (one PKG_DBDIR) is the same.

There are some exceptions, or rather, for some things it can work but 
libraries in general don't and libtool is even pickier. I only have 
bash-static, sudo and vim shared in /opt, as they are stand-alone and no 
ports I use depend on them.

The only thing I can think of that would work for you, is to use unionfs 
for /usr/local.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Warning: Can't find .....

2008-11-20 Thread Brent Clark

matt donovan wrote:
Well you didn't install man pages since minimal install does not 
install them. To get the man pages you have to change 7.0-RELEASE-p5 
to just 7.0-RELEASE


Hi

Thanks for this, I actually did realise my mistake after the post. Mans 
installed :)


What does make me wonder is how or why sysinternal's option was set to 
7.0-RELEASE-p5 and / or could not work around it.


Anyway, its working, so im chuffed.

Thanks again for the reply

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


Re: Problem about ppp -nat

2008-11-20 Thread Manolis Kiagias
Pongthep Kulkrisada wrote:
 Hi All,

 I have just subscribed to freebsd-questions and I have a question about ppp 
 -nat.

 I have 2 computers. One is running FreeBSD-7.0R, the other is running WinXP. 
 The host running FBSD7.0R has been connecting to the outside world using 
 user-ppp without any problem for very long. Now I want to share internet 
 access to the other host behind NAT through this FBSD host.
 My FBSD machine has 2 interfaces i.e.
   tun0 (connecting to ISP) with dynamic IP (of course)
   fxp0 (for internal LAN) with static IP of 192.168.1.10
 My WinXP machine has 1 interface (internal LAN) with static IP of 192.168.1.11

 Previously I have a router acting as a gateway for all machines behind NAT. 
 But now I want FBSD machine to work as a gateway. I have never done this 
 before. I tried some googling with reading ppp(8) and ipfw(8). And I tried 
 masquerading but it didn't work. I have plenty configuration files. But the 
 relevant configurations are listed here.

 /etc/rc.conf
 # enable IP forwarding
 gateway_enable=YES
 # previously I ran web-server, just disable it or comment it out, not sure 
 why!
 #apache_enable=YES

 On the host running WinXP, I set its gateway and DNS server to the IP of ppp 
 host i.e. 192.168.1.10.

 I then inserted the following line as the first rule in /etc/ipfw.rules.
 /sbin/ipfw add allow all from any to any via fxp0
 (I know this rule is dangerous, but just for testing.)

 I then issue the ppp command.
 [EMAIL PROTECTED]:~# ppp -background -nat myisp

 FBSD host (running ppp) can access anywhere but WinXP host can't. I learned 
 from some site explaining that ppp itself has the capability of IP 
 masquerading. And it does not require natd(8). So I don't mention about natd 
 here.
 Anyone have a clue or who have done the correct configurations, please point 
 me out.

 Thank you in advance.
 Pongthep

   

There are at least two ways that I know of to achieve this. One uses the
ipfw firewall, the other the pf firewall.
For the ipfw solution, look at the FreeBSD Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html

This worked fine for me, although I prefer to use pf. Here is how I
setup pf (Adjust for your interfaces as necessary)

My Internet interface is rl0, setup in rc.conf as:

ifconfig_rl0=inet 192.168.0.100 netmask 255.255.255.0

My local interface is rl1, setup in rc.conf as:

ifconfig_rl1=inet 192.168.1.100 netmask 255.255.255.0

(I also have a defaultrouter setting which probably does not apply to you)

I have nameserver entries in /etc/resolv.conf (or setup your own DNS
server if you wish)

Use this settings in rc.conf for pf:

pf_enable=YES
pflog_logfile=/var/log/pflog
pflog_flags=
pf_rules=/etc/pf.conf
pf_flags=
gateway_enable=YES

Run:
# sysctl net.inet.ip.forwarding=1
# /etc/rc.d/routing restart

Add net.inet.ip.forwarding=1 to /etc/sysctl.conf so it persists reboots

Add the following rule to /etc/pf.conf

nat pass on rl0 from rl1:network to any - rl0

AFAIR, if rl0 has a dynamic address, you will have to write it with
parentheses, like:

nat pass on rl0 from rl1:network to any - (rl0)

(Note that in /etc/pf.conf translation rules like the above, are placed
above filtering rules like pass or block etc)
You may have to adjust /etc/pf.conf filtering rules, assuming you have any.

Restart some services

# /etc/rc.d/netif restart
# /etc/rc.d/routing restart
# /etc/rc.d/pf restart

or simply reboot, and you should be set.

Note that in your client machine, you should set gateway to point to
your FreeBSD machine, but unless you are running your own DNS server,
DNS entries should point to your ISP.  If you combine this setup with a
DHCP server from the Ports Collection, you will have pretty much a
standard home router out of a FreeBSD machine. There are also other
capabilities, like port forwarding and so on, but I'll let you figure
them out yourself ;)


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


Re: Problems with Xfce console

2008-11-20 Thread Bernt Hansson

Nikola Lečić said the following on 2008-11-16 14:10:

On Sun, 16 Nov 2008 07:35:32 +0100
Bernt Hansson [EMAIL PROTECTED] wrote:
 

Nikola Lečić said the following on 2008-11-15 17:13:

On Sat, 15 Nov 2008 16:43:06 +0100
Bernt Hansson [EMAIL PROTECTED] wrote:
 

For me it's just xfce with option Virtual.
if I omit Virtual xfce works fine but not any other WM.
Strange.

Can you try x11-drivers/xf86-video-radeonhd (Driver radeonhd)?
Yes I was thinking about that one but was not sure if it was another 
driver or just a rename. I test it when I get back to work.


They are not the same driver, radeon is a pretty basic thing while
RadeonHD is a driver based on the specifications revealed by AMD. They
constantly continue to open new data so the driver is improving pretty
fast. For now it has even a basic 3D functionality and it could replace
close-source fglrx driver in the future.

  http://www.x.org/wiki/radeonhd
  http://www.phoronix.com/scan.php?page=articleitem=842num=1

In my experience either fglrx (on Linux) or radeonhd always improved
things.


Ok. That did the trick. Virtual is now working.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wifi Card for laptop

2008-11-20 Thread Giorgos Keramidas
On Fri, 21 Nov 2008 01:43:29 +0100, Albert Shih [EMAIL PROTECTED] wrote:
 First thanks you for you help
 In fact I make the wifi run by using wpi driver.

That's nice, yes.  The wpi(4) driver seems to support the chipset of
your wlan adapter :)

   Running wihtout problem:

   touchpad
   X11 (using nv drivers but not the «official» because I'm
   running amd64 version).

   running but with some problem :

   wifi card : chipset 3945
   drivers : wpi (compiling in kernel)
   problem : sometime the wifi go down (the AP is at  1m) and
   when I try to make that up again he don't work. If I try
   the keyboard touch (Fn+F2) that's can crash (reboot) the
   computer

Hmmm, that's a bit bad.  Is `Fn+F2' the key that turns wireless OFF/ON
for this laptop?  Maybe the driver is crashing because the device
detaches and re-attaches while the driver is stuck somewhere :(

If you think you can grab a kernel dump from this, maybe it's going to
be useful to debug the problem.

   No driver (and of course not working)

   NetXtreme BCM5756ME Gigabit Ethernet PCIe

I don't see `BCM5756' or `5756' anywhere in the manpages or the source
of the kernel in of 8.0-CURRENT either.  I think this is not supported :(

 I'm running

   FreeBSD 7.1-PRERELEASE

 make after csup (with tag=RELENG_7) and make buildworld;kernel.

 I can make «any» test you want. Just ask me.

 usable memory = 4278091776 (4079 MB)
 avail memory  = 4124418048 (3933 MB)

Heh, nice.  I see you are running an amd64 build of FreeBSD, and there
are *lots* of memory on this laptop :)

One of the tests you can run, to find out what is broken in wpi(4), is
to build a kernel with DDB/KDB support, and grab a kernel dump when the
wpi(4) interface stops working.

The ``Developer's Handbook'' can help you build a debugging kernel:

  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

Using DDB to trace through the `live' kernel while it is stuck is a bit
tricky, but if you manage to grab some of the DDB output (i.e. with a
serial console or even just a photograph with a camera), then we can
mail the developers of wpi(4) and ask them for more help :)

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


Re: ZFS Recovery Tools

2008-11-20 Thread Valentin Bud
On Thu, Nov 20, 2008 at 11:31 PM, Wojciech Puchar
[EMAIL PROTECTED] wrote:

 Hi,
  I was just reading stuff about ZFS, and wonder if it would be
 beneficial for me to use it. I store a lots of multimedia files in my
 HD, they usually have the size of  1GB (e.g. 1.2, 1.7 or even
 bigger), and my system is running UFS.

 simply use UFS with big blocks (-b 65536 -f 8192) will be OK.

 BTW i have such change in param.h on every system i have:

 --- param.h~2008-10-09 20:49:54.0 +0200
 +++ param.h 2008-10-09 20:49:54.0 +0200
 @@ -121,7 +121,7 @@
  #define DFLTPHYS   (64 * 1024) /* default max raw I/O transfer size
 */
  #endif
  #ifndef MAXPHYS
 -#define MAXPHYS(128 * 1024)/* max raw I/O transfer size
 */
 +#define MAXPHYS(1024 * 1024)/* max raw I/O transfer
 size */

What does MAXPHYS mean (yes max raw I/O transfer) and do? A little
bit more specific if you may.
thank you.

  #endif
  #ifndef MAXDUMPPGS
  #define MAXDUMPPGS (DFLTPHYS/PAGE_SIZE)


 no idea why it's not the default.



  so can I buy a new HD, say 500GB, and format it ZFS style and use it
 along with other UFS? and will ZFS performs better than UFS in my

 there may be slight (if any) speedup with transfer speed, and HUGE (like
 10x) increase in CPU load. on slower CPUs transfers will be actually slower.
 ___
 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]