LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 01-29-2005, 10:48 PM   #1
-=X=-
LQ Newbie
 
Registered: Jan 2005
Location: TX
Distribution: Morphix, SUSE 9.2
Posts: 11

Rep: Reputation: 0
TrueMobile 1300 on Morphix


First off I am a noob. So please give me a break if I dont phrase something right.

I am using a Compaq Presario 1200 Laptop. I have Morphix(Debian) 0.4-1 installed and using kernal 2.4.22-1-686. I am trying to install a Dell TrueMobile 1300(BCM94306) wireless card on my laptop using ndiswrapper and im getting LOST!!!! I dont know how to do all that kernal imaging or whatever. Can someone help me out. I pretty much need someone to hold my hand cuz as I said im a noob with linux. I know about the linuxant thing but I like to do things the hard way I guess. Thanks ahead of time.
 
Old 01-29-2005, 11:10 PM   #2
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
If you have checked ndiswrapper's site and found your card is listed as functional with ndiswrapper, then the next step is to get it compiled and installed, what have you done so far?
 
Old 01-30-2005, 12:08 AM   #3
-=X=-
LQ Newbie
 
Registered: Jan 2005
Location: TX
Distribution: Morphix, SUSE 9.2
Posts: 11

Original Poster
Rep: Reputation: 0
Yes the wifi card is supported, but I dont know how to do the kernal compile. It shows the instructions but I dont understand them. It says install this and compile that but I dont know how to do that stuff, im too much of a noob.

Last edited by -=X=-; 01-30-2005 at 12:10 AM.
 
Old 01-30-2005, 12:39 AM   #4
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
So, you're saying that so far, literally nothing has been done? If so, this is probably for the best. I would recommend for your older kernel that you go and download the 0.10 release of ndiswrapper as I think it will compile more cleanly on a 2.4 kernel, is this do-able?

Understand that if you intend to "upgrade" your kernel in the near future, now is a good time. With each upgrade to your kernel you will have to compile and install this driver again to match it.

You should also verify that there is not already a provided version of ndiswrapper, run this command in a console as root (include the quotes):

find /lib/modules/`uname -r` -name "ndiswrapper*"

if it returns nothing then no version exists and you'll then want to verify using whatever software manager is available ("add remove programs" type of thing) that at least the kernel *headers* are installed and also that the "development" package which should include gcc is installed.
 
Old 01-30-2005, 01:29 AM   #5
-=X=-
LQ Newbie
 
Registered: Jan 2005
Location: TX
Distribution: Morphix, SUSE 9.2
Posts: 11

Original Poster
Rep: Reputation: 0
ok then. then i shall upgrade the kernel........how do i do that????
 
Old 01-30-2005, 01:57 AM   #6
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Understand, that while you will need to install and employ some of the kernel's source code, we are not talking about a *need* to recompile or upgrade the kernel itself, we are talking about compiling but one "module" or driver for it. In the process of compiling this module, it's "makefile" will need access to some of the info that was used to compile the kernel, but at no time are we compiling the kernel itself. Towards this end let's run (type) some commands in a root-console (a terminal/shell/console window where you have typed: "su -" (no quotes) and then the root password (no chars will echo, normal) to "become" the root user temporarily), let's begin:

1. ls /lib/modules/`uname -r`/build/include/linux/version.h (those ` chars are the lowercase of the ~ char, not single-quotes)
if you don't get an error about no such file, continue.

2. cat /proc/version
3. gcc --version
assuming no error, verify that the gcc versions in 2 and 3 match at least to 3 digits, if so, continue
4. make --version
verify that some version is returned and not an error

If so, then download ndiswrapper v0.10 here:

http://prdownloads.sourceforge.net/n...ar.gz?download

when asked, put it in your home directory, usually /home/your-normal-username (not root)

unpack it as your normal username with: cd && tar zxf ndiswrapper-0.10.tar.gz

then: cd ndiswrapper-0.10

then: make
then su -c 'make install' you will have to give the root password after that command, again, no chars will echo.

if all completes without error, insert your windows driver disk for this device and and mount it, then navigate to the XP directory and issue the command (as root): ndiswrapper -i somefile.inf, using the correct file for the device (browse with the file manager to see) then ndiswrapper -l (an "L" lowercase) should show the driver and device present, then use iwconfig and ifconfig and route to set it up (man iwconfig, man ifconfig, man route are your friends or bring your params back here and we'll gen the commands for you)

Last edited by akaBeaVis; 01-30-2005 at 02:00 AM.
 
Old 01-30-2005, 02:23 AM   #7
-=X=-
LQ Newbie
 
Registered: Jan 2005
Location: TX
Distribution: Morphix, SUSE 9.2
Posts: 11

Original Poster
Rep: Reputation: 0
Ok I did the first part you said to do and everything checked out, then this is what happened:

johnny@xXx:~/ndiswrapper-0.10$ make
make -C driver
make[1]: Entering directory `/home/johnny/ndiswrapper-0.10/driver'
You don't seem to have sources for your kernel; install them in /usr/src, link /lib/modules/2.4.22-1-686/build to it and try again.
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/johnny/ndiswrapper-0.10/driver'
make: *** [all] Error 2
johnny@xXx:~/ndiswrapper-0.10$


What am i doing wrong???
 
Old 01-30-2005, 02:31 AM   #8
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
So this command:

ls /lib/modules/`uname -r`/build/include/linux/version.h

came back ok?
 
Old 01-30-2005, 02:36 AM   #9
-=X=-
LQ Newbie
 
Registered: Jan 2005
Location: TX
Distribution: Morphix, SUSE 9.2
Posts: 11

Original Poster
Rep: Reputation: 0
This is what it happend:

root@xXx:~# ls /lib/modules/`uname -r`/build/include/linux/version.h
ls: /lib/modules/2.4.22-1-686/build/include/linux/version.h: No such file or directory
root@xXx:~#

I got the error but you didnt say what to do if i got the error...sry
 
Old 01-30-2005, 02:44 AM   #10
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Hmm, so somehow that error was part of the "everything" that "checked out" ??

I'm beginning to lose interest in this issue, all of *my* 10 wireless devices work nicely with all sorts of linux distros, *someone's* severe lack of attention to detail... not suitable for a would-be linux user...can't breathe....ahhh....<no signal>_______________ .
 
Old 01-30-2005, 02:51 AM   #11
-=X=-
LQ Newbie
 
Registered: Jan 2005
Location: TX
Distribution: Morphix, SUSE 9.2
Posts: 11

Original Poster
Rep: Reputation: 0
please man i need your help........my fault i read ur instructions wrong.......Im moron........ I appreciate all your help........

how do i fix that error, how do i link it???

Pleeeaaassssseeeeee!!!

Last edited by -=X=-; 01-30-2005 at 03:04 AM.
 
Old 01-30-2005, 03:08 AM   #12
-=X=-
LQ Newbie
 
Registered: Jan 2005
Location: TX
Distribution: Morphix, SUSE 9.2
Posts: 11

Original Poster
Rep: Reputation: 0
anyone please?????
 
Old 01-30-2005, 08:53 AM   #13
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
OK, lets take this from the top. You've got kernel 2.4.22-1-686 running, correct? Well, you need to find the source code package from your distro (Morphix). Believe me, if it isn't on the CD, they have it on their site somewhere. This is a real requirement, you are not going to be able to continue until you have the source code installed.

Quote:
'm beginning to lose interest in this issue, all of *my* 10 wireless devices work nicely with all sorts of linux distros, *someone's* severe lack of attention to detail... not suitable for a would-be linux user...can't breathe....ahhh....<no signal>_______________ .
If you don't want to help the guy, then don't. There is no need to mock someone who is just starting out.
 
Old 01-30-2005, 10:52 AM   #14
-=X=-
LQ Newbie
 
Registered: Jan 2005
Location: TX
Distribution: Morphix, SUSE 9.2
Posts: 11

Original Poster
Rep: Reputation: 0
Ok thx i will get that.....brb...
 
Old 01-30-2005, 04:30 PM   #15
-=X=-
LQ Newbie
 
Registered: Jan 2005
Location: TX
Distribution: Morphix, SUSE 9.2
Posts: 11

Original Poster
Rep: Reputation: 0
Ok
1st, is the kernel source going to be .deb file

If so I tried looking everywhere for the source. for my kernel, but only found the source for 2.4.21, 2.4.25, and 2.4.26. This is the site I found the info on:

http://sourceforge.net/project/showf...ease_id=171315

I couldnt find anything else, and I looked on my distro cd but no source at all was on there.

So if i cant get the source what can I do??

Last edited by -=X=-; 01-30-2005 at 04:32 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell TrueMobile 1300 + ndiswrapper cr4sh Linux - Wireless Networking 3 07-15-2005 08:02 AM
ndiswrapper, TrueMobile 1300, and FC4 tommcfarlin4 Fedora 3 06-19-2005 05:50 PM
TrueMobile 1300 on Suse 9.2 Zakirium Linux - Wireless Networking 10 02-18-2005 07:54 AM
Any news on Truemobile 1300 drivers? h0mersimps0n Linux - Wireless Networking 1 08-10-2004 10:12 PM
Inspiron 5100 and Truemobile 1300 jeffman12 Linux - Wireless Networking 4 06-06-2004 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 05:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration