Re: 'Broadcom Wireless b/g (BCM4315/BCM22062000)'

2010-11-16 Thread Erik Gustafson
On Tue, Nov 16, 2010 at 5:17 AM, b. f. bf1...@googlemail.com wrote:
 Chris Brennan wrote:
 ...
My Hiccup as the subject suggests is about my Wireless Card.
I have been following the handbook (
http://www.freebsd.org/doc/handbook/config-network-setup.html) on how to use
64-bit Windows drivers coupled w/ ndisgen to get my wireless card working. I
got ndisgen to generate a kernel module but it immediately caused my laptop
to reboot when the kernel was loaded. This left me scratching my head. I
think I might need firmware (I remember having to extract firmware from the
driver for linux).

pciconf shows the following:

[root at BlackDragon [~]# pciconf -lv | grep -A3 0x4315
none8 at pci0:8:0:0:       class=0x028000 card=0x137c103c chip=0x431514e4
rev=0x01 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'Broadcom Wireless b/g (BCM4315/BCM22062000)'
    class      = network
[root at BlackDragon [~]#

The laptop is an HP dv2845SE and it's running FreebSD64-8.1. Let me know if
I missed anything.

 I'm assuming that by FreebSD64, you mean the amd64 version of
 FreeBSD.  Have you tried using a recent version of the native bwn(4)
 driver, together with the net/bwn-firmware-kmod port, rather than
 ndis(4)?


 b.

Don't know about amd64 but on i386 it works* with siba_bwn-driver.

siba_b...@pci0:16:0:0:  class=0x028000 card=0x137d103c chip=0x431514e4
rev=0x01 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)'
class  = network

FreeBSD flapbsd 8.1-STABLE FreeBSD 8.1-STABLE #0: Tue Jul 27 23:05:54
CEST 2010 r...@flapbsd:/usr/obj/usr/src/sys/FLAPBSD  i386

Id Refs AddressSize Name
 1   23 0xc040 811778   kernel
 21 0xc0c12000 2d8f0linux.ko
 31 0xc0c4 371d4if_bwn.ko
 42 0xc0c78000 a1dc siba_bwn.ko
 51 0xc5ef4000 2c000bwn_v4_lp_ucode15
 61 0xc617c000 9000 i915.ko
 71 0xc6185000 14000drm.ko

works*: I have problems reassociating after suspend to ram/hibernate

This card worked through ndis on freebsd7/i386.

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


Re: text to html

2010-07-03 Thread Erik Gustafson
On Sat, Jul 3, 2010 at 11:07 AM, Jozsi Avadkan jozsi.avad...@gmail.com wrote:
 input:
 http://pastebin.com/raw.php?i=MqPXZwc3

 output:
 http://pastebin.com/raw.php?i=8QCkp4yv

 it will be a long day.. :D

 could someone please help with it?

 i have to make a one liner that get's the input, and gives the
 mentioned output.


Sed version:
# cat raw_input | sed 's#\(.*\)/\(.*\)#brfont size=4\1/fontbr \
a href=\2/a'#

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


Re: The Last Frontier : a good multimedia application

2009-04-11 Thread Erik Gustafson
On Sat, Apr 11, 2009 at 9:01 AM, Manish Jain invalid.poin...@gmail.comwrote:


 Hi all,

 After weeks of fumbling and struggling, I have made my full transition from
 Linux to FreeBSD, thanks in no mean measures to the assistance of this
 forum. I've got my FreeBSD 7.1 x86 system set up exactly as I wanted it and
 now I am looking to move one step further - and that is one big step. I wish
 to get rid of my Windows installation too, which exists purely for the
 purpose of multimedia entertainment - one area where I think GNU-based
 systems still have some way to go before they catch up with Win32
 applications.

 However, I am willing to give it a try. I already have xmms set up, which
 takes care of the audio part reasonably well. The big hole that remains is a
 video application. What I looking for is something on these lines :

 1) I hardly ever play movies directly from the CD/DVD drive (/dev/dvd -
 /dev/acd0, courtesy devfs.conf). First I copy them to the hard-disk (after
 decrypting any DVD's if needed). So I ideally want an application that can
 play .dat and unencrypted .vob files directly from a hard disk ntfs
 partition without incessently complaining about missing plugins. (If
 necessary, I can reformat the ntfs partition as ffs). Actually, to be more
 accurate, I don't even have any .vob files. What I have is unencrypted .iso
 images of the DVD's, which I guess I will need to mount via mdconfig. But if
 the application strictly needs .vob files, I'll extract them from the iso
 images for its benefit.

 2) Since my DVD drive is capable of reading DVD's from all regions, it
 would be great if the application could also, if needed, directly play
 encrypted DVD's from the drive itself. I have libdvdnav, libdvdread,
 libdvdcss and libdvdplay installed.

 3) The final point to be considered is the quality of the video/audio
 playback compared to, say, PowerDVD on Windows - which I have used (version
 2.55) with absolute delight and satisfaction since I purchased my first DVD.

 Any tips/input would be greatly appreciated. To keep the discussion simple,
 HD/Blu-Ray are not in my plans for the current century.

Have you tried the ports multimedia/mplayer or multimedia/vlc? I can't live
without mplayer on my desktop and it usually just works on everything i
try to play.
If you want a fancy GUI, search in ports/multimedia for mplayer and you will
find kde-mplayer, gnome-mplayer and friends.
Video playback and tv-out is one big reason why I dont use windows on my
desktop.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: netmask 0xfffffff8 broadcast 205.238.xx.7

2003-07-08 Thread Erik Gustafson
On Tuesday 08 July 2003 04.55, DanB wrote:
 inet 205.238.xx.1 netmask 0xfff8 broadcast 205.238.xx.7.   Need a
 netmask convertor   to change 0xfffc to 255.255.xxx.xxx. Anybody
 know of a good one?


There are a few handy tools in the ports. 

A few examples:
Port:   ipcalc-0.35_1
Path:   /usr/ports/net/ipcalc
Info:   IP Calculator

Port:   whatmask-1.1
Path:   /usr/ports/net/whatmask
Info:   Easily convert between three common subnet mask notations

Port:   netmask-2.3.3_1
Path:   /usr/ports/net/netmask
Info:   Tool for generating terse netmasks in several common formats





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


Backup solutions

2003-03-31 Thread Erik Gustafson
Hello!

I'm supposed to setup a server with the following services:
Apache
MySQL
Email (smtp,pop,webmail)
DNS
ipfw
Filesharing with Samba

For this I have two identical equipped PC's, one DAT-writer and one additional
large harddisk. The load on the server will not be high so I will only
need the first PC to handle these services.

The databases for MySQL are small (about 30Mb)
/var/mail will be big (about 3Gb)
The websites are small (about 50-100Mb)
I expect the files to share with samba wont take more than 5Gb

Now to my questions:
1) I want daily backups of this, at lest mail and mysql must be backed up
daily. The files shared with samba are not that important so a weekly
backup is enough. It is not possible for me to change the tape in the
DAT-writer more than one time per week.

2) Because I have two computers it would be nice if I could use the
second one for redundancy so I can take any of the computers down and
do a 'make world'.


So. How would you accomplish this? 
My idea is to use pdumpfs to dump everything to the additional disk
every day, and as extra security compress and dump mail and databases
to DAT every week. In my solution I dont use the second computer at
all, I have no idea aout how to accomplish redundancy.

All ideas and tips are welcome!


 //Erik

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