LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   TrueMobile 1300 on Morphix (https://www.linuxquestions.org/questions/linux-wireless-networking-41/truemobile-1300-on-morphix-283912/)

-=X=- 01-29-2005 09:48 PM

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.

akaBeaVis 01-29-2005 10:10 PM

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?

-=X=- 01-29-2005 11:08 PM

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.:newbie:

akaBeaVis 01-29-2005 11:39 PM

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.

-=X=- 01-30-2005 12:29 AM

ok then. then i shall upgrade the kernel........how do i do that????

akaBeaVis 01-30-2005 12:57 AM

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)

-=X=- 01-30-2005 01:23 AM

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???

akaBeaVis 01-30-2005 01:31 AM

So this command:

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

came back ok?

-=X=- 01-30-2005 01:36 AM

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

akaBeaVis 01-30-2005 01:44 AM

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>_______________ .

-=X=- 01-30-2005 01:51 AM

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!!!

-=X=- 01-30-2005 02:08 AM

anyone please?????:newbie:

Hangdog42 01-30-2005 07:53 AM

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>_______________ .
:rolleyes: If you don't want to help the guy, then don't. There is no need to mock someone who is just starting out.

-=X=- 01-30-2005 09:52 AM

Ok thx i will get that.....brb...

-=X=- 01-30-2005 03:30 PM

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??


All times are GMT -5. The time now is 10:51 AM.