View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 21 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Feb 07, 2007 1:09 pm 
Offline
Joined: Fri Jun 09, 2006 8:08 pm
Posts: 23
Am I correct in the assumption that ndiswrapper will not work with R5E50? I've tried a half-dozen different approaches to getting ndiswrapper installed (installing kernel source and following the standard ndiswrapper instructions, installing debian etch packages and following the ndiswrapper wiki instructions for etch, etc.), each without success. I'd love to be wrong on this one, but I have yet to find a post showing how to make it work. tjc? cecil? Any hints? I have a moderate level (18 months) of Linux experience, but a drunken monkey step by step cookbook would be great. :?:


Top
 Profile  
 
 Post subject: NDisWrapper
PostPosted: Wed Feb 07, 2007 8:37 pm 
Offline
Joined: Wed Feb 07, 2007 8:28 pm
Posts: 15
Location: Melbourne, Vic
The only problem I had with compiling was the /lib/modules/'uname -r'/build pointed to /usr/src/linux-headers-blah-blah and as I had to install the kernal source to get lirc 0.8.1 installed I just rm'd the link and then pointed it to /usr/src/linux-source-blah-blah and it compiled nicely.

rm /lib/modules/2.6.18-chw-13/build
ln -s /usr/src/linux-source-blah /lib/modules/2.6.18-chw-13/build

Ofcourse YMMV.

The problem I am having though is finding the right drivers for my D-Link DWL-G510 pci wireless card as the one from D-Link ends up hanging the system with:
BUG: Soft CPU lock! //or something like that


Top
 Profile  
 
 Post subject: Re: NDisWrapper
PostPosted: Wed Feb 07, 2007 10:05 pm 
Offline
Joined: Fri Jun 09, 2006 8:08 pm
Posts: 23
beejay wrote:
The only problem I had with compiling was the /lib/modules/'uname -r'/build pointed to /usr/src/linux-headers-blah-blah and as I had to install the kernal source to get lirc 0.8.1 installed I just rm'd the link and then pointed it to /usr/src/linux-source-blah-blah and it compiled nicely.

rm /lib/modules/2.6.18-chw-13/build
ln -s /usr/src/linux-source-blah /lib/modules/2.6.18-chw-13/build

Ofcourse YMMV.

The problem I am having though is finding the right drivers for my D-Link DWL-G510 pci wireless card as the one from D-Link ends up hanging the system with:
BUG: Soft CPU lock! //or something like that


So if I was going to put together a "cookbook", it would look like

Code:
wget ftp://knoppmyth.net/R5/linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb
dpkg -i linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb
cd /usr/src
tar xjvf linux-source<tab>


and then just add your bit...?

Code:
rm /lib/modules/2.6.18-chw-13/build
ln -s /usr/src/linux-source-blah /lib/modules/2.6.18-chw-13/build


Of course, the rest of the ndiswrapper installation would follow. After getting ndiswrapper-version.tar.gz into /usr/src/

Code:
tar -zxvf ndiswrapper-[i]version[/i].tar.gz
cd cd ndiswrapper-[i]version[/i]
make distclean
make
make install
ndiswrapper -i filename.inf
ndiswrapper -l   # (to test)
depmod -a
modprobe ndiswrapper   # followed by all of the iwconfig and dhclient stuff


Is this what worked for you, bee?

Although I'd like to be selfish here, and keep the focus on my problem :D , I thought I ask if you picked the correct version of your driver from the list. Well? Did you? Huh?! :D


Top
 Profile  
 
 Post subject: Re: NDisWrapper
PostPosted: Thu Feb 08, 2007 3:55 am 
Offline
Joined: Wed Feb 07, 2007 8:28 pm
Posts: 15
Location: Melbourne, Vic
dhjohnson wrote:
beejay wrote:
The only problem I had with compiling was the /lib/modules/'uname -r'/build pointed to /usr/src/linux-headers-blah-blah and as I had to install the kernal source to get lirc 0.8.1 installed I just rm'd the link and then pointed it to /usr/src/linux-source-blah-blah and it compiled nicely.

rm /lib/modules/2.6.18-chw-13/build
ln -s /usr/src/linux-source-blah /lib/modules/2.6.18-chw-13/build

Ofcourse YMMV.

The problem I am having though is finding the right drivers for my D-Link DWL-G510 pci wireless card as the one from D-Link ends up hanging the system with:
BUG: Soft CPU lock! //or something like that


So if I was going to put together a "cookbook", it would look like

Code:
wget ftp://knoppmyth.net/R5/linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb
dpkg -i linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb
cd /usr/src
tar xjvf linux-source<tab>


and then just add your bit...?

Code:
rm /lib/modules/2.6.18-chw-13/build
ln -s /usr/src/linux-source-blah /lib/modules/2.6.18-chw-13/build



I also had
Code:
rm /usr/src/linux
ln -s /usr/src/linux-source-blah /usr/src/linux



Quote:

Of course, the rest of the ndiswrapper installation would follow. After getting ndiswrapper-version.tar.gz into /usr/src/

Code:
tar -zxvf ndiswrapper-[i]version[/i].tar.gz
cd cd ndiswrapper-[i]version[/i]
make distclean
make
make install
ndiswrapper -i filename.inf
ndiswrapper -l   # (to test)
depmod -a
modprobe ndiswrapper   # followed by all of the iwconfig and dhclient stuff


Is this what worked for you, bee?

Yep that's about it
Quote:
Although I'd like to be selfish here, and keep the focus on my problem :D , I thought I ask if you picked the correct version of your driver from the list. Well? Did you? Huh?! :D


List... what list... i just downloaded from d-link and hoped for the best :)

I think however I need to determine which Rev I have as it gave me that BUG: Soft CPU lock thingige

//goes off to dismantle MediaBox//

P.S. One final thing that MIGHT be of consiquence (sp?) is that I had compiled the source but not installed. Read it in a post about getting LiRc working so there ya go.


Top
 Profile  
 
 Post subject: Re: NDisWrapper
PostPosted: Thu Feb 08, 2007 4:49 pm 
Offline
Joined: Wed Feb 07, 2007 8:28 pm
Posts: 15
Location: Melbourne, Vic
Ok am pretty sure these are the complete steps I followed
Start nDiswrapper Cookbook for R5E50
Code:
wget ftp://knoppmyth.net/R5/linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb
dpkg -i linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb
cd /usr/src
tar xjvf linux-source<tab>

rm /lib/modules/2.6.18-chw-13/build
ln -s /usr/src/linux-source-blah /lib/modules/2.6.18-chw-13/build

rm /usr/src/linux
ln -s /usr/src/linux-source-blah /usr/src/linux


I had compiled the source but not installed. Read it in a post about getting LiRc working so there ya go. No idea why but //shrugs//

Code:
cd /usr/src/linux
//snip//
make



Quote:
Of course, the rest of the ndiswrapper installation would follow. After getting ndiswrapper-version.tar.gz into /usr/src/



Code:
tar -zxvf ndiswrapper-[i]version[/i].tar.gz
cd cd ndiswrapper-[i]version[/i]
make distclean
make
make install
ndiswrapper -i filename.inf
ndiswrapper -l   # (to test)
depmod -a
modprobe ndiswrapper   # followed by all of the iwconfig and dhclient stuff


And after all that it looks like I have a Rev B card so I'm off to find MADWiFi :)

EDIT: Removed ./configure from linux source. my bad


Last edited by beejay on Fri Feb 09, 2007 6:04 pm, edited 2 times in total.


Top
 Profile  
 
 Post subject: Re: NDisWrapper
PostPosted: Fri Feb 09, 2007 12:45 pm 
Offline
Joined: Fri Jun 09, 2006 8:08 pm
Posts: 23
Bee,

I'm not sure about this part:

beejay wrote:

I had compiled the source but not installed. Read it in a post about getting LiRc working so there ya go. No idea why but //shrugs//

Code:
cd /usr/src/linux
./configure
make


./configure seems to be part of the lirc installation process. And even so, I think it's supposed to be run in the lirc source directory, and not the kernel source directory. However, if recompiling lirc will let me compile ndiswrapper, I'll be happy to give it a try. Were you able to get ndiswrapper working?

I'd still love to hear from the heavy-hitting Midas-touch guys on this issue. How can ndiswrapper be made to work?


Top
 Profile  
 
 Post subject: Re: NDisWrapper
PostPosted: Fri Feb 09, 2007 6:02 pm 
Offline
Joined: Wed Feb 07, 2007 8:28 pm
Posts: 15
Location: Melbourne, Vic
dhjohnson wrote:
Bee,

I'm not sure about this part:

beejay wrote:

I had compiled the source but not installed. Read it in a post about getting LiRc working so there ya go. No idea why but //shrugs//

Code:
cd /usr/src/linux
./configure
make


./configure seems to be part of the lirc installation process. And even so, I think it's supposed to be run in the lirc source directory, and not the kernel source directory. However, if recompiling lirc will let me compile ndiswrapper, I'll be happy to give it a try. Were you able to get ndiswrapper working?

Ooops my bad just remove the ./configure part :)

Quote:
I'd still love to hear from the heavy-hitting Midas-touch guys on this issue. How can ndiswrapper be made to work?


Well actually I have abandoned ndiswrapper in favor of MadWiFi as I am running it now with WPA2 and it only took a little while to setup so am very happy with it. Mind you that said to get WPA working you need to get wpa_supplicant-0.4.7 as 0.5 and 0.2 wouldn't compile.

Have you tried compiling ndiswrapper since installing the full linux source?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 10, 2007 2:09 am 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
ndiswrapper was compiled per the instructions on their wiki. I've no means to test it as I tend to ensure the hardware I purchase is compatible w/ Linux. Did you search the forum before posting? Not only did someone post instructions, they posted a link to a module they build and that others have reported works.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 10, 2007 6:25 am 
Offline
Joined: Wed Feb 07, 2007 8:28 pm
Posts: 15
Location: Melbourne, Vic
cecil wrote:
ndiswrapper was compiled per the instructions on their wiki. I've no means to test it as I tend to ensure the hardware I purchase is compatible w/ Linux. Did you search the forum before posting? Not only did someone post instructions, they posted a link to a module they build and that others have reported works.


Appologies cecil I didn't know ndiswrapper was included in KnoppMyth am fairly new to all of this and have tralled the forums a little for the mceusb2 thingie mainly. Kudos! A great job am looking forward to finishing this little project and having it installed in the lounge by the end of the week.


Top
 Profile  
 
PostPosted: Sat Feb 10, 2007 6:31 am 
Offline
Joined: Fri Jun 09, 2006 8:08 pm
Posts: 23
cecil wrote:
ndiswrapper was compiled per the instructions on their wiki.


By whom? The ndiswrapper install was easy enough with R5D1, but R5E50 seems to be a different story.

cecil wrote:
I've no means to test it as I tend to ensure the hardware I purchase is compatible w/ Linux.


I'd love to help test! Give me what you have, and I'll tell you if it works. I'd be surprise though.

cecil wrote:
Did you search the forum before posting? Not only did someone post instructions, they posted a link to a module they build and that others have reported works.


Of course I did. I'll assume that you're talking about this, in which case somebody managed to get an ndiswrapper.ko file together, but I wouldn't call that "working". Just because an error message isn't displayed when one does a modprobe ndiswrapper, doesn't mean that it worked. The bottom line on that one is that no one was able to get their adapter to associate with an access point.

Let me put it this way: How does one compile anything in R5E50? What will folks do when a new version of IVTV comes out?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 10, 2007 6:34 am 
Offline
Joined: Fri Jun 09, 2006 8:08 pm
Posts: 23
beejay wrote:
cecil wrote:
ndiswrapper was compiled per the instructions on their wiki. I've no means to test it as I tend to ensure the hardware I purchase is compatible w/ Linux. Did you search the forum before posting? Not only did someone post instructions, they posted a link to a module they build and that others have reported works.


Appologies cecil I didn't know ndiswrapper was included in KnoppMyth am fairly new to all of this and have tralled the forums a little for the mceusb2 thingie mainly. Kudos! A great job am looking forward to finishing this little project and having it installed in the lounge by the end of the week.


I don't think he was saying that it had been included--sure would be nice though, huh? :P


Top
 Profile  
 
 Post subject: Clean Install
PostPosted: Sat Feb 10, 2007 9:09 am 
Offline
Joined: Wed Feb 07, 2007 8:28 pm
Posts: 15
Location: Melbourne, Vic
OK Decided to start over again (screwed the myth install with svn) so here is my drunken monkey ndiswrapper install solution

Code:
cd /usr/src
##Grab the latest kernel from Knoppmyth and install it
wget ftp://knoppmyth.net/R5/linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb
dpkg -i linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb

##Cleanup by removing the .deb and extract your tarball
rm -f linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb
tar xjvf linux-source-2.6.18-chw-13.tar.bz2

##Now we remove the existing sym link and create our new one pointing to our steaming hot fresh source
rm -f linux
ln -s linux-source-2.6.18-chw-13 linux
ln -s linux-source-2.6.18-chw-13 kernel-source-2.6.18-chw-13
## Taken from tjc <-You RULE!
##Copy everything from linux headers into your source dir (not sure why but wont compile without)
cp -r /linux-headers-2.6.18-chw-13/. linux

##Compile your kernal and grab you favorite cafinated beverage while you wait
make

##As per the INSTALL from Ndiswrapper make sure /lib/modules/`uname -r`/build points to /usr/src/linux
rm /lib/modules/`uname -r`/build
ln -s /usr/src/linux /lib/modules/`uname -r`/build

[EDIT]
##used aptitude to get ndiswrapper-source
apt-get install ndiswrapper-source

##this should install the tarball into usr/src where we should still be from the start
[/EDIT]

##untar the tarball
tar xvjf ndiswrapper-source.tar.bz2
cd modules/ndiswrapper
make uninstall
make

##If all has gone well proceed
make install

cd /dir_with_windows_drivers
ndiswrapper -i filename.inf

##check to make sure the driver has loaded properly
ndiswrapper -l   # (to test)

##load the module into the kernel
depmod -a
modprobe ndiswrapper   # followed by all of the iwconfig and dhclient stuff


From ndiswrapper-source/INSTALL
Quote:
If everything worked properly, this should initialize 'wlan0' wireless device, which can be configured with wireless tools, such as 'iwconfig', 'wpa_supplicant' etc.



Viola one shiny new ndiswrapper enabled system. Ofcourse now you just need to add ndiswrapper to /etc/modules so it's loaded at boot and modify your /etc/network/interfaces to setup the wireless card.

Mmmm shiny!
//sits waiting for kernel to compile//


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 17, 2007 9:47 pm 
Offline
Joined: Wed Jan 18, 2006 8:59 pm
Posts: 1
I followed the instructions above and was able to get ndiswrapper to modprobe, but it didn't seem to do any good. ndiswrapper -l still shows:
wmp54gs driver present, hardware present

but I can't do anything with either eth1 (which seems to be set up as a wireless card, as it shows up in iwconfig) or wlan0 (which is what using ndiswrapper gave me before, and doesn't show up in iwconfig).

I realize the above is somewhat vague and I'm happy to run more commands to give more troubleshooting help, just tell me what to do... :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 18, 2007 7:56 am 
Offline
Joined: Mon Nov 28, 2005 10:44 am
Posts: 137
Location: Austin, TX
What does your /etc/network/interfaces file look like? Did you define wlan0 there?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 21, 2007 10:45 pm 
Offline
Joined: Sun Apr 02, 2006 2:07 pm
Posts: 12
dhjohnson wrote:
I don't think he was saying that it had been included--sure would be nice though, huh? :P


Actually, yes, he is saying that ndiswrapper was included in R5E50. Unfortunately, the binary that came with knoppmyth doesn't work. That's why everyone is attempting to compile a new one.

Well this is the issue that's been holding me back on R5E50, so thanks to dhjohnson for pressing for a working solution. I'll give the above "drunken monkey" instructions a try and report back.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu