DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th March 2009
fbsduser fbsduser is offline
Shell Scout
 
Join Date: Aug 2008
Posts: 103
Thanked 4 Times in 4 Posts
Default linux-compat questions.

Hi. Just solved my install issue and wanting to tinker with NetBSD I wanted to ask.
Is there any linux-compat source package that brings the 2.6.27 kernel?
And can linux-compat act as a sort of "ndiswrapper" (read: allows BSD to recognize my wifi card using the linux drivers included in the 2.6.27 kernel)?
Reply With Quote
  #2   (View Single Post)  
Old 4th March 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

Why do you want to bring a 2.6.27 Linux kernel to a NetBSD machine? Just use Linux.

Use ndiswrapper on linux, ndisgen on bsd.

Quote:
Originally Posted by Wikipedia article on ndiswrapper
Independently of but roughly simultaneously with the NDISwrapper project, Bill Paul of Wind River Systems developed a similar system, known as Project Evil or The NDISulator, for FreeBSD. It has since been ported to NetBSD, but not OpenBSD, due to the latter's anti-binary blob policy. The NDISulator lacks some of the functionality of NDISwrapper, such as USB support.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #3   (View Single Post)  
Old 4th March 2009
fbsduser fbsduser is offline
Shell Scout
 
Join Date: Aug 2008
Posts: 103
Thanked 4 Times in 4 Posts
Default

Well, The reason for my question was that my wifi card isn't supported under BSD and ndiswrapper can only run it with a win98 driver. Linux however can handle the card nativelly since kernel 2.6.27 in both x86 and x64. Given a gaming situation I'm in (in my "new" PC wine works better under NetBSD than under linux) I thought that perhaps I could make linux-base be used to interface the "drivers" built into the linux kernel with my wifi card (just like ndisgen is used to interface a windows driver with he wireless card). I know it might be a patchy solution, but I just needed to know if it can be done.

Last edited by fbsduser; 4th March 2009 at 05:06 PM.
Reply With Quote
  #4   (View Single Post)  
Old 4th March 2009
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

What you want to do (use Linux drivers on a BSD kernel) is not possible.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #5   (View Single Post)  
Old 4th March 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

In order to use Linux networking drivers, you need to be running off a Linux kernel for better or worse. The Linux support is generally focused on getting applications to work correctly, not kernel stuffs.

ndisgen might be a bit of a hack, but it's as close as you're gonna get without a native driver :\
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #6   (View Single Post)  
Old 6th March 2009
fbsduser fbsduser is offline
Shell Scout
 
Join Date: Aug 2008
Posts: 103
Thanked 4 Times in 4 Posts
Default

Finally took the plunge and decided for a FreeBSD 7.0 x86. At least I can now use the crappy win98 drivers to get wireless going.
And BTW (about TerryP's comment): I DO use linux, have Ubuntu and NetBSD in dualboot. What happens is that wine runs better in BSD and since I want wine for my gaming, I wanted to also get wireless going (for internet multiplayer).
Reply With Quote
  #7   (View Single Post)  
Old 7th March 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

In my experience there is only one decent solution for online gaming: Windows NT 5.1 / XP Professional.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #8   (View Single Post)  
Old 26th March 2009
fbsduser fbsduser is offline
Shell Scout
 
Join Date: Aug 2008
Posts: 103
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by TerryP View Post
In my experience there is only one decent solution for online gaming: Windows NT 5.1 / XP Professional.
No, thanks. I got out of the grip of Umbrel.. errr, Microsoft long ago.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some Questions ?? ultranothing OpenBSD Security 6 4th September 2009 04:59 PM
Linux compat status?? DrJ FreeBSD Ports and Packages 7 10th March 2009 11:14 AM
linux compat and linux-only drivers fbsduser FreeBSD General 9 22nd January 2009 05:42 PM
Wireless Router Compat questions whispersGhost Solaris 11 2nd June 2008 09:16 AM
i386 6.x binaries not working on AMD64 7.x (with compat) lesmando24 FreeBSD General 5 29th May 2008 05:39 AM


All times are GMT. The time now is 01:24 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick