this should be nice and short (or not, following most of this from Liok’s blog mentioned on my Firefox 3.6 install post), the first 2 steps might be unnecessary as the install itself may do them, but I did them in this order so that’s how I am posting it…

 

  1. sudo kldload linux
  2. sudo cp /etc/rc.conf /etc/rc.conf.<mmddyyyy>
  3. sudo vi /etc/rc.conf   now, step by step. 
    a. press “G” (moves you to the end of the file.) 
    b. type “o” (inserts a new line, vi is case sensitive, but you can use a “o” or a “O” this time so don’t worry) 
    c. type ‘linux_enable=”YES” ‘ (again case sensitive, this allows FreeBSD to load it automatically each time you boot so you don’t have to do step #1 everytime you restart your system. )
    d. press ESC (to enter command mode and tell vi you are done editing. )
    e. press “:” (that is a colon if you can’t tell, this tells vi you are going to do file/OS/system based commands vs. editing based commands) 
    f. type “wq!” (this tells vi to “write” or save the file, then “quit” and “do it now!” the order is important as it follows what you type in the order you type it, so typing  ”qw!” will not save the file, it will just quit because the first thing you told it to do is to quit.)
  4. cd /usr/ports/emulation/linux_base-f10 (currently the newest fedora core in the ports tree is fedora 10, not sure why 11 or 12 is not there, but hey…)
  5. make config-recursive install clean (not sure why the recursive is necessary, but hey, it doesn’t hurt, so why not?)
  6. let it finish…
  7. sudo vi /etc/fstab (we now need to setup our system to mount the linux procfs on bootup) 
    a. press ” G” (moves you to the end of the file) 
    b. press “o” (to “open” a new line and start editing)
    c. type “linproc /usr/compat/linux/proc linprocfs rw 0 0” (those are zeros at the end)
    d. press ESC (to enter command mode and tell vi you are done editing.) 
    e. press “:” (that is a colon if you can’t tell, this tells vi you are going to do file/OS/system based commands vs. editing based commands) 
    f. type “wq!” (this tells vi to “write” or save the file, then “quit” and “do it now!” )
  8. sudo mount /usr/compat/linux/proc
  9. cd /usr/ports/www/nspluginwrapper
  10. sudo make config-recursive install clean (this is to help your plugins work correctly… hmm… wonder if this was all I  needed to get Firefox 3.6.2 working with Java… this command installed a whole bunch of fc10 RPM files, by a whole bunch I mean more than 20 and although fairly small in size, all had to be downloaded) and I hit a small wall…===>   linux-f10-gtk2-2.14.7_1 depends on file: /compat/linux/usr/lib/libpango-1.0.so.0.2203.0 – not found
    ===>    Verifying install for /compat/linux/usr/lib/libpango-1.0.so.0.2203.0 in /usr/ports/x11-toolkits/linux-f10-pango
    ===>  linux-f10-pango-1.22.3_1 has known vulnerabilities:
    => pango — integer overflow.
       Reference: <http://portaudit.FreeBSD.org/4b172278-3f46-11de-becb-001cc0377035.html>
    => Please update your ports tree and try again.
    *** Error code 1Stop in /usr/ports/x11-toolkits/linux-f10-pango.
    *** Error code 1Stop in /usr/ports/x11-toolkits/linux-f10-gtk2.
    *** Error code 1

    Stop in /usr/ports/www/nspluginwrapper.

  11. so… off to run my update script again…

 

Can’t get past this part, everytime I try to update I get this error, so now I need “Pango” to provide an update without that security vulnerability…

 

Well that was easy, I’ve been sitting on this problem for about a week now, and all I had to do was search for the issue… aparently the newest version is 1.28 and is available in many locations, except the official FreeBSD ports tree.  so I am DL’ing it now and doing an install of the app with pkg_add.  The official FreeBSD forum just says to disable vulnerability checking either temporarily or permanently, I prefer to pass on that option.

 

Okay, well I DL’d the new version, bunzip2′ed it, untar’ed it, ran configure, did not see any errors, then tried to run make and got an error…

“Makefile”, line 957: Need an operator
make: fatal errors encountered — cannot continue

 

I read the INSTALL file but did not see anything extra that I needed to do. no idea where to go from here…  according to the config.log file configure exited with a code 0, no errors.  looks like I am still stuck.

 

I tried downloading the previous version, pango-1.27.1 and had the same error on the same line of the make file, I guees I’ll edit the makefile and see what I can do.

 

ok, the error line is #957 and this is what is there…

-include $(top_srcdir)/git.mk

to me that means I need to specify the source directory as an input flag option with the config command so the make file has the correct source dir? I’ll give that a shot and see if it changes the line in the results.  sudo ./configure –srcdir=/home/jperry/pango-1.27.1/

Tagged with:
 

Right so first off I have to say that it is all my fault I am not currently up and running 100% in FreeBSD 8.0, I agree before anyone else can say it… I’m an idiot.  I went out and bought (went out=I hit up newegg.com)  a wireless card so I can stop bridging my network connection off my laptop, and I just had to buy an 802.11n dual antena (very cool looking too…) wireless PCI card, one that has a BRAND NEWish CHIPSET that is not currently supported in Linux, or BSD.  So, I will gladly bend over and take what’s coming to me for that one… But, it was the same price as the 802.11g card and supports MIMO!! so I think I deserve some brownie points for that…

Well, here is a copy of what I have posted on the DesktopBSD forum (more on that later)

Ok, well I had a nice long post typed out here (twice now, but I copied most of it before I hit the stupid key this time) with lots of details and useless additives; however I hit the stupid “back” button that IBM thought would be a good idea to put on the key board of this laptop right next to the up arrow… and so it is gone.

this will have to be a quick version, minus some heavily laden with porn russian websites (oh! there was also one trying to sell an iphone x-ray vision app too!!!) I can find zero info on this chipset, I have a Encore Electronics ENLWI-NX2 802.11n PCI card, works in Win7 AFTER running their config/setup progy.  Shows up in pciconf with class, card, chip, rev, and hdr hex codes, and a vendor and class listing, but nothing else.  It shows up in windows as an RTL8190P, I was unsuccessful in finding it in FreeBSD 8.0 x64; but I may have forgotten to capitalize the “R” in Realtek when I grepped the “pciconf -lv” results.

manufacturer product page: http://www.encore-usa.com/product_item.php?region=us&bid=2&pgid=81_2&pid=412

I followed the ndisgen instructions posted in this forum by sqlbsd, and all went well until I tried to load the RTL8190P_sys file, then the system hangs for 3-6 seconds and finally the PC just shut off.  So a bit more PC info… I tried running FreeBSD 8.0 x64 first, but did not even find the card listed in pciconf (or dmesg) when I grepped for Realtek (maybe I forgot to capitalize the “R”? but either way I didn’t see it, and although I got KDE setup and it booted to the login screen, I could not log in, the KB and mouse only worked on the console screens, so I came back to DesktopBSD).  So, I have a clean DesktopBSD 1.7 x64 install on my machine, only 1 network card and it is this wireless card.

I am going to try the 32bit drivers, the win 2k drivers, and then the vista drivers that shipped with the card.  I also have the setup file from the manufacturer’s website DL’d and will check that for a different version.  if anyone has any ideas I’d be happy to give them a go.  I may try an Ubuntu Live CD to check if it will recognize the card, also puppy linux tends to find wifi cards out of the box, so I may give that a shot and see if I can figure out which drivers they use.

I knew I should have just bought the 802.11g card… but I had to go with the 802.11n just cuz it was the same price… and had MIMO support…

****edit 10 minutes later****
I did notice that the Encore ENLWI-G is listed on the FreeBSD 7.2 Hardware list, so there is hope…

****update 8:12pm EST****
So, the newly downloaded drivers from the website were slightly more generic (RTL819xP drivers) but they are 7 months newer, so I tried them.  The Win64 failed to convert invalid syntax line 2355 or so, the the winxp2k drivers loaded fine, but failed to create the .ko file.  The vista x64 drivers converted with no errors and loaded without crashing the PC; however the system still does not recognize the wireless card. so I guess I move on to something else?

Right, well then… now you know… and we all know what happens after that… (right, if anyone can’t find those russian sites (I searched for “RTL8190 FreeBSD”) I’ll be happy to email you the links… j/k :oops:  ) so on to a little more explaining…

As stated in the post I failed to find the wireless card even listed in the installed hardware listing, I am 90% sure at this point I did not capitalize the “R” as that just makes no sense.  After which I just dumped the FreeBSD install and went to Desktop BSD, as I have installed DBSD 1.6 previously on this hardware and it had KDE working in under 50 mins with no manual configuring and I was unable to type on the login screen currently in FreeBSD 8.0-RELEASE.  So I booted up of my newly minted Desktop BSD disc and away it went.  I learned that if you create more than one UFS partition during install that when you reboot you get a “Invalid Partition Table” message instead of your OS. easy fix, don’t make multiple partitions.  The OS is up and running at this very second, but without inet access.

So I am off to try an Ubuntu live CD, Fedora Live CD, and a Puppy and or Slax USB bootable File System.  In an attempt to find out if any non-windows OS can auto configure or even load the Windows drivers to get that wifi working (I believe I have a post around here somewhere about my HP laptop running Puppy and it finding th ewifi adapter and being able to locate networks, but not able to connect, and Ubuntu 8.x on that same laptop working perfectly with wifi, so we shall see what happens…)

*****quick update, before I even post it… HA! *****

after reading the reviews on the NewEgg site (specifically one from feb 28th), I decided to DL the RTL8192E drivers from the Realtek website, will give them a shot before the other OS’s.

*****update March 12th*****

So, I went ahead and added the lines to /boot/loader.conf to automate the loading of the driver during startup, but I have also been getting the same results with all driver versions. (XP drivers fail to convert, and Vista and 7 drivers convert fine, but the system still refuses to acknowledge the existence of the hardware device after using kldload or even restarting.)  I currently have a KUbuntu live CD loaded and an lspci from a terminal screen shows the network controller, states it is a realtek and gives a device of 8190.  however, the control panel does not acknowledge a wireless adapter as being present nor does ifconfig show the wireless adapter as being present.

I tried installing ndiswrapper from the cd and attempted to load the windows drivers from there.  First I tried running ndiswrapper and it told me it was not installed and to run ndiswrapper-common, when I installed it and tried to run it it told me to install a bunch of other things.  All were available except ndiswrapper-utils-1.9 which replied back that it was missing, obsolete, or no longer available, then that it had been replaced by ndiswrapper-common.  so I could not run ndiswrapper because I did not have ndiswrapper-utils and could not install it because it was replaced by what I already had? got me, without doing an actual install, the good news is that it completely recognized it, I’ll have to check with an installation if it is already in the newest linux kernel, I have just moved on to Fedora since I do not intend on doind an Ubuntu install if I do not have to.

I booted up the Fedora 12 disc I have and it failed to bring up the KDE GUI.  The Vterms were available, and an lspci -v showed the full information on the wireless card, so I am going to try a reboot and see what happens.

Everything came up fine with a reboot, not sure what happend the first time.  it is not working; however an lspci -v shows no kernel driver in use.  I will need to do some research to find out how to add the driver while running off the Live CD, probably get to that later.  been working all day in front of a computer, need to relax my eyes some now.

*************Update 3-17-2010**************

just found this website and I think this is a linux driver for the rtl8190p 802.11n chipset

http://lxr.free-electrons.com/source/drivers/staging/rtl8192e/r8190_rtl8256.c

Getting ready to setup my PC as a VMWare Server, got a new WD Caviar Black 500GB 32MB cache Internal drive so I can dump all my files on it to clean off a pair of 250GB drives to run the VM’s on.  I learned a long time ago you want different HDD‘s for each VM if they are to be active, as the slowest part of a computer these days are the HDD’s and the last thing you want is more than one OS trying to run off the same HDD. Would be nice if I could talk myself into the cost of a few SSDs.  Below are some links I am finding while I research that sound useful or interesting, not all are exactly pertaining to what I am trying to do, some may be helpful with things I am going to do after I get it setup, so I’ll be adding things to this post as I find them, to build up some information links for setting up my VMWare server.

  1. a forum post where someone describes exactly what they install as their host linux machine to run the VMWare server on, unfortunately this is for CentOS, which is okay, just not my preferred Linux distro.  and unfortunately according to VMWare’s website, Ubuntu, CentOS, and RHEL are the only supported Linux Distro’s… I wonder while they do not support FreeBSD as well? oh well, we shall see how it goes.
  2. a great article on setting up Ubuntu JeOS, although JeOS is designed for being set up as a virtual machine, I want to see if it can be used as the host OS for VMWare Server also, and will be the first Host OS I will try when my new drive arrives. (that should be interesting, I’ll try and keep good notes)
  3. Using Kernel Mode Virtual Machine on any Linux Distro with kernel 2.6.20 or newer.  Also not what I was looking for, but a great alternative, this is a guide book giving step by step instructions for setting it up and installing your guest OS, including command line inputs for setup.
  4. setting up an IPCop Virtual Machine to manage your internet traffic, of course now I need to go and figure out exactly what it does (I can guess, but like to know more details).  Still not exactly what I started looking for, but these are the things I have been finding while looking and are still useful.  Setting up IPCop like this is definitely something I would be interested in doing to simplify my network protection; although I have a Sheeva Plug computer that I purchased specifically to do this, and just never got around to setting it up. (Still have to get it flashed to a new version on it’s NAND rom so the SD cards can work, so I can put a decent sized storage card on their to do all I want to do with it.)

(must be a problem with IE8 that is preventing me from inserting the web links, I’ll update this post later from Google Chrome and if it doesn’t work, then I’ll try it from Fedora and see if it works then.  Until then, I am sorry but I will not be posting referrence links to everything I type.)

(well everything works fine from Google Chrome under Windows 7, as you can see from the improvements to this post.  Unless of course you are seeing it for the first time now…  :)

16 visitors online now
2 guests, 14 bots, 0 members
Max visitors today: 22 at 12:58 pm PST
This month: 26 at 02-09-2012 11:53 am PST
This year: 29 at 01-11-2012 02:49 pm PST
All time: 1100 at 08-08-2011 08:11 pm PDT
View in: Mobile | Standard