Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I am one of those Friend-of-Linux-users. Left to myself, I agree the Linux is the more virtuous option than Windows, but I prefer the convenience of Windows (I'll also kill myself eating convenience food).
However, I am enrolled in a course at my University where we are learning C++ with the G++ compiler. I know I could use a Windows compiler if I wanted, but I would prefer to use the same thing at home that I use in the lab.
I need to maintain my Windows functionality on this machine.
I need to have wireless access through my Gigabyte GN-WPKG card if it is possible without too much technical finagling. The card connects to a Linksys router.
My current system setup dual-boots to Windows ME or Mandrake 10.1. There are three partitions: the C (windows), D (FAT32), and the hda (I think) Mandrake.
My professor suggested that I use CoLinux. From looking at the CoLinux setup instructions, it looks like it would be better/easier to get rid of my Mandrake distro and install the Debian distro that comes with CoLinux. But I am not sure how to do that.
I think I have the rt2500 architecture. The website you pointed me to didn't have any explanation of how to install the drivers on Mandrake. I thought it might be similar to the rt2400, so I was looking at the HOWTO for those drivers.
In step 2, I didn't understand what was meant by "Get the latest qt packages."
In step 7, I don't know how to compile or run the script. It doesn't look like C++. Also, would it be different with the rt2500?
It looks like the instructions at http://www.duncanbrown.org/linux/sys...abyte_gn-wpkg/
which Tux provided a link to are pretty good for doing it from console. If you're having a hard time following those instructions just explain where you're getting stuck.
However, I am enrolled in a course at my University where we are learning C++ with the G++ compiler. I know I could use a Windows compiler if I wanted, but I would prefer to use the same thing at home that I use in the lab.
Goto http://easyurpmi.zarb.org and setup access to the software repositories. Now you can install the compiler packages through the Software Installation program in the Mandrake Control Centre (System->Configuration->Configure Your Computer. The pakcages to install are gcc, gcc-cpp and gcc-c++
Quote:
My professor suggested that I use CoLinux. From looking at the CoLinux setup instructions, it looks like it would be better/easier to get rid of my Mandrake distro and install the Debian distro that comes with CoLinux. But I am not sure how to do that.
I wouldn't bother switching unless there is a specific reason. Mandrake is one of the most user-friendly distros around and it has all the compiler tools that any other Linux distro has. I can assure you that having a full install of a full-fledged Linux distro is much better than any of those 'run Linux as a program in Windows' type things. Your professor probably suggested that so you wouldn't have to do any repartitioning to install Linux (although many distros, incl. Mandrake, have automatic repartitioning which preserves your Windows partition nowadays). Anyway your current setup sounds good.
I'm not the brillant person who really should be answering the question since I'm not a whiz, but . . .
Is it possible the make file for your download is not meant for your mandrake distribution?
It seems to be looking for a directory that isn't there, and as best I know you don't have to have your files located in any particular place when you do make. If you have a proper make file (that works with your distribution), it should know where to find it's needed sources.
Yes? Anyone else able to offer more helpful suggestion or advice?
Q. Why do I get lots of errors when trying to compile ?
A. Probably because you haven't got your kernel sources configured correctly. Ensure that you have the sources in the expected locations (/usr/src/linux-2.x.x) and that you have a symlink from /lib/modules/2.x.x/build to that source folder)
Q. Why does make tell me that I'm missing the kernel wireless support ?
A. Because you are either - missing it (i.e. you haven't compiled wireless into your kernel) or you haven't actually compiled your kernel sources yet.
And, if you're still stuck, you can come back and say how far you've got. If nobody here and LQ can help you, you can always go over and try your luck at the serialmonkey forum:
Thanks, tkedwards, but I am using Mandrake 10.1. Not sure I want to upgrade my whole distro because I am thinking about replacing the system anyway, and I am too much of a noob to change my distro for a lark.
But perhaps this is a case where the latest drivers only work with the latest distros.
Rundi's posts were helpful and I went looking for the specified kernel, the 2.6.8.12. Apparently the CDs I had were deficient. I got new Mandrake 10.1 ISOs and burned them. I tried running make and it got farther but quit (sorry, don't have the error right now, I will go back and get it).
I read the README like a good boy and I see to specs that I don't know how to check on my system:
1. Your kernel should be compiled with Wireless extensions V18 or higher.
2. rt2x00 depends on the ieee80211 stack developed by the netdev team. The latest ieee80211 stack can be found in the ieee80211/ folder in the rt2x00 module source.
Okay, but I don't know how to check that stuff out. If I need the latest ieee stack and it is already part of my rt2x00 download, what do I do?
Because my I'm connecting to the net via windows on my machine, trying things in linus means booting back and forth. But I will be back with the make error in 10 minutes or so.
I made the symlink per the instructions (because Mandrake 10.1 does not keep kernels in the usual place). Also I tried the alternate method from Rundi's link. This is the error readout I am getting.
[root@localhost rt2x00-2.0.0-b3]# make KERNEL_DIR= /usr/src/linux-2.6.8.1-12mdk
make: Nothing to be done for `/usr/src/linux-2.6.8.1-12mdk'.
[root@localhost rt2x00-2.0.0-b3]# make
CC [M] /home/arlan/wireless/rt2x00-2.0.0-b3/ieee80211/ieee80211_module.o
In file included from /home/arlan/wireless/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
from <command line>:6:
include/linux/etherdevice.h:33: warning: "struct net_device" declared inside parameter list
include/linux/etherdevice.h:33: warning: its scope is only this definition or declaration, which is probably not what you want
include/linux/etherdevice.h:33: warning: "struct sk_buff" declared inside parameter list
...
[** Clipped out **]
...
/home/arlan/wireless/rt2x00-2.0.0-b3/ieee80211/net/ieee80211.h:1041: error: dereferencing pointer to incomplete type
/home/arlan/wireless/rt2x00-2.0.0-b3/ieee80211/net/ieee80211.h:1043: error: dereferencing pointer to incomplete type
make[3]: *** [/home/arlan/wireless/rt2x00-2.0.0-b3/ieee80211/ieee80211_module.o] Error 1
make[2]: *** [_module_/home/arlan/wireless/rt2x00-2.0.0-b3/ieee80211] Error 2
make[1]: *** [debug] Error 2
make: *** [ieee80211-debug] Error 2
I've put the wireless package in. . . um, I think
/home/arlan/wireless
Thanks, tkedwards, but I am using Mandrake 10.1. Not sure I want to upgrade my whole distro because I am thinking about replacing the system anyway, and I am too much of a noob to change my distro for a lark.
Did you check if that module was in 10.1? Just try running
Code:
modprobe rt2500
or try searching for the file rt2500.ko (or rt2500.ko.gz).
If you find you still have to compile it then make sure you've installed the kernel-source package.
I did modprobe rt2500, it said the module was not found. I searched for rt2500.ko (starting from /) from Konqueror--I thought it would also match .ko.gz--I didn't get anything.
Since I am playing for keeps I decided I would go ahead and try to install Mandriva. I got the 2006 free isos with this site's links. I dl'd in Windows and burned them onto cds from KDE's default burner--don't remember the name exactly, K-something. As far as I know that went right. But I expected the install screen to come up when I rebooted with the disk in the drive, and it did not. (I did get an install screen once carelessly rebooting with one of my 10.1 discs in the drive, and I believe it is set up to check the drive on boot).
Then I went text mode in Mandrake and mounted the CD drive and did ls. It said that there was an iso file on the CD. That seemed like the wrong thing for it to say, no? Once it's burned it should not longer be considered a 'file,' yes?
I am still in the middle of poking around on this, going to re-examine my discs, but if you can point me right to my solution that would be fantastic.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.