Operating Systems > Linux and UNIX

OK VoidMan I'm Back

(1/6) > >>

Louis D:
I'm still writing to you from the windows side of my hard drive, so that means my network card is not up yet.  I feel like I'm doing better with bash than the gnome desktop because gnome is kind of wierd.  Anyway, I still can't mount the floppy drive because it isn't set up in /etc/fstab.  So what I did was copy the fealnx.c and fealnx.o files provided by the manufacturer of my ethernet card (Its manufactured by asound,http://www.asound.net I got it for $7 from www.computersurplusoutlet.com) into windows.  I remembered someone saying that you could see all those hidden directoried that the Riddler is talking about from the linux partition, so I figured I'd just copy the files from the windows partion into the linux partition from bash when I started linux again.  I copied it into my home directory then tried running the compiler per the instructions in the readme file.  This was the command, which I'm sure means a lot more to you than it does to me #gcc -DMODULE D_KERNEL_ -I/usr/src/linux/net/inet -Wall-Wstrict-prototypes -06 -c fealnx.c    After typing this, I didn't get any message saying wether or not it was done or not (keep in mind I don't know if its supposed to say anything)  But I do know that there is no subdirectory called linux after /usr/src/.  The only thing after that is something called RPM.  So I'm guessing that I'm compiling this into thin air.        The readme file then tells you to #insmod fealnx.o and some other stuff that I guess is irrelevant until the file is in the right place.  I can deal without having a floppy until I learn more about what I'm doing, but It would be nice to be posting to the fuckmicrosoft message board from linux instead of windows.  For anyone else reading this, I appreciate any help you can give me.  I don't know shit about any *nix, but I want to learn.  Void man replied to my first post for help, so I'm just trying to get his attention.

Centurian:
Hey MeatHead,

I am also very new to Linux. However I have been using dos for years and have done some extensive programming.

I would suggest you start up the KDE. Then using one of the available file managers (Konquer is a good one) go to /usr/src and make the folder /linux then go into it and make the folder /net then enter it and make the folder /inet. Now that those are created you can run a command with the run command in the main menu. So just run the command you want from there and it should do what you want.

Of course as I mentioned I am aslo extremely new to Linux so I may be sending you on a wild goose chase here.

Later
Centurian

Louis D:
Centurian, thanks.  I may try that later.  I don't mind a wild goose chase.  You can learn a lot that way, even if you just learn what not to do.

voidmain:
Oh god, I'm going to get flamed for this one.          I guess this will be a good learning experience for you. Most people would take the easy way out and spend the $10 on one of many supported NIC cards.  I've used a lot of network cards but I've never heard of the one you have.

Now, you've copied the source code for the driver to your home directory and you tried to compile it with GCC.  If you got no messages then the compile was probably good. If you don't have gcc installed it would have complained.  If you didn't have the kernel source installed it and needed it, it would have complained.  Did you do a directory listing to see if you had a fealnx.o?  If you do then you have the kernel module compiled and ready to load into the kernel.  

Eventually you need to put this file into the kernel network modules directory on your system (normally /lib/modules/<kernversion>/net) and use the "modprobe" and "depmod" commands.  

For now you should be able to test it from the directory you compiled it in by typing "insmod fealnx.o".  See if the module is loaded by typing "lsmod".  Check if the system recognizes the card "/sbin/ifconfig" which should show two devices, an "eth0" and a "lo".  

At this point, if you want to graphically configure the network card, use whatever Mandrake network configure tool you want (netconfig?).  You don't have to reboot to do any of this, but if/when you do reboot the module will not be automatically loaded unless you put it in the kernel directory I mentioned above.  

Also, if this is a plug-n-pray card it should detect it on bootup and load the appropriate module.  Worst case scenerio is you have to manually make entries in the /etc/modules.conf file.

As far as mounting floppies goes, an entry doesn't *have* to be in the /etc/fstab for you to mount it although for the floppy I would add it.  You can mount the floppy by typing:

mount /dev/fd0 /mnt/floppy

make sure the /mnt/floppy directory exists before doing this.

Alternately add this to your /etc/fstab:

/dev/fd0   /mnt/floppy    auto    noauto,owner    0 0

and then you can just do a "mount /mnt/floppy" or do it from gnome ICON etc...

To learn more about kernel modules and how to properly use the tools, and a much better explaination than what I can give, look at the modules section of this HOWTO:
http://www.linhardware.com/LDP/HOWTO/Kernel-HOWTO.html

or maybe better:
http://www.linuxhq.com/kernel/v2.4/doc/modules.txt.html

[ December 18, 2001: Message edited by: VoidMain ]

Louis D:
Thank you void.  I would've spent the 10 bucks on a supported card, but dealing with stuff like this is how I've learned anything in the past (obviously not about linux).  If anyone gives you any shit, I'll kick thier ass.  Or, I'll just make a phone call...(That's the way Italians in North Jersey handle things anyway)

Navigation

[0] Message Index

[#] Next page

Go to full version