Hi guys,
I'm running Mandrake Linux 9.2 and I want it to see my ethernet ports built into my motherboard. For this, I have downloaded a new kernal that supports my LAN (Marvell Gigabit), but I need to compile this file (it's source code in C).
I know that GCC comes with Linux as standard, but I have no idea how to run it/use it. Searching here or the Internet hasn't yielded much at all.
Does anyone know how to compile this thing so I can use the patch?
Thanks in advance,
Cobra
+ Reply to Thread
Results 1 to 22 of 22
-
-
Have you tried this sk98lin driver (SysKonnect SK-98xx Gigabit).
load this driver then do
modprobe -v sk98lin
If you get an error, you may need the update patches from
http://www.syskonnect.de/syskonnect/support/driver/htm/sk98lin.htm
info gathered
http://lists.debian.org/debian-boot/2004/01/msg02561.html
http://lists.debian.org/debian-wnpp/2003/11/msg00034.html -
Stiltman,
Thanks for your reply. I did do a similar search and this yeilded a patch in source code that would help. One step closer having got the patch you told me about.
Unfortunately, and you're going to laugh at this, I don't have a clue where to type in "modprobe -v sk98lin" or how to load the patch! I had a hunt in the Mandrake Control Centre with the network controls, and I had a crack with the command line interface but it won't do what I tell it.
Thanks again for your help,
Cobra
Edit:
I have found the readme, but it says much the same:
http://www.syskonnect.com/syskonnect/support/driver/readme/linux/sk98lin.htm
All I'm told to do is "Enter "modprobe sk98lin"." -
most of the time it's located in "sbin"
from a shell window try
/sbin/modprobe
or try to find it with
whereis modprobe -
I tried and tried again to get that thing to work, but it wouldn't. It kept rejecting the file. Out of frustration, I launched the control centre to see if it had made a difference... and found the damned driver!
I can now see the Ethernet, but it's classed as "Down". This is now all my problem, to get it working on ResNET.
Thanks very much for your help - if I could buy you a drink I damn well would!
Cobra -
try
/sbin/ifconfig -a ......... to check your ethernet is running (eth0)
/sbin/ifconfig up ......starts the interface and sets it as default
or
/sbin/ifconfig eth0 up ......can't remember which one
/etc/rc.d/init.d/network stop ........stops your network
/etc/rc.d/init.d/network start ........starts your network
I would also suggest looking here
http://howtos.linux.com/howtos/Net-HOWTO/index.shtml -
Stiltman,
I had no idea that you knew all this, but I'm glad you do!
I've been down the bar with my mates, so I'm a little too "tired" to attempt what you've suggested tonight. I'll take a look as soon as possible and I'll post the final solution up for future reference.
Thanks again,
Cobra -
I went through a very similar (Like everyone else) problem with my computer. In my case it was a PCMCIA NIC. The dang NIC drivers were loading before the PCMCIA drivers...I could manually stop and start the network and it would work fine...Then I notised during the start up, that network came before card services...I forgot which file I had to rename from rc7 to rc4 or something like that. I found Linuxdoc.org and linux.org to be the best places for how-tos. I know just enough about linux to get into trouble
I had to learn this stuff because of CIW
-
I have been told by the ResNET guys that Linux must be changing my MAC address from the hardware default, and so their server doesn't recognise my machine when it's running Linux and won't let me in.
Does anyone know how to stop Linux from doing this, or how to change the MAC address back to what it is in Windows?
Even better, anyone know what the hell a MAC address is and where I find it?
Thanks a lot!
Cobra -
Originally Posted by Cobra
in windows from a command prompt type
ipconfig /all ......win2k or XP
look for a bunch of numbers and letters(i.e. 00-E0-29-44-9b-2b)
now boot up linux and from a shell prompt type
/sbin/ifconfig
see if they are the same
MAC address is usually hard coded to you specific NIC like an IP address. In the case of MAC addresses, there can only be one on the internet. I'll leave it there, as I don't feel like typing a disertation on networking -
Stiltman,
I have identified that Linux IS changing my MAC address. The following command is supposed to change it back:
"/sbin/ifconfig eth0 hw ether 00:00:00:00:00:00"
I am told that this command is prohibited. I am now trying to find a software package that will change the MAC back to the one I have obtained from Windows, since I know that this works on ResNET.
However, all the ones I have found require compiling. Back to square... Bloody.... One....
Thanks very much for your help, greatly appreciated!
Cobra -
I have found out what the problem was. My Windows was using a bridge that changed my MAC address to something of Window's choosing. When Linux was run, it detected the correct MAC address and was trying to use that with ResNET, when the crap one was already registered. Hence, they thought I was trying to use two machines which isn't allowed.
I removed the bridge and checked in Windows that it had reverted to my real MAC address by using the command "ipconfig /all" - it did, and I was automatically banned from ResNET. A quick chat with IT services and they reset my account, and now both Windows and Linux can access the Internet.
So, I didn't need any patches or compilers and, as usual, Windows was the problem.
Thanks very much for your help, stiltman.
Take it easy,
Cobra -
Glad you figured out what the problem was....What type of bridge was changing it? PCI bridge? Seems real strange. Were you using the windows drivers for you motherboard or the OEMs?
In any event, you got it working and that's the important thing.
Plus, you learned some things about linux that you probable wont forget -
The bridge is one to allow me to run both network ports and my firewire ports all at the same time. Don't know why firewire is involved in networking, but it it.
Originally Posted by stiltman
By the way, I twigged how to use command line to request that some source code be compiled. It turns out I don't actually have GCC on my system, so I'll install the developer tools tomorrow while I'm at it.
Hopefully, Linux isn't being sensitive to my overclocking. If problems persist, I may have to drop my speed a bit in order to gain stability. My VCore is on maximum (1.850V) so I can't get any more stability out of this CPU without dropping speed.
Anyway, I'll see what happens tomorrow. Oh, and I was trying to install AMSN, it needed the TLS support file. I told it where TLS (version 1.5.0) was but it wouldn't accept it. I had this problem before, and I did manage to fix it, but I don't remember how. I'll nail it tomorrow!
Thanks again for your help, stiltman. I'm dead pleased that it's at least working and I know what to do in the future now!
Cobra -
This is a little late , but nobody compiles the OS manually.
There's too much stuff to deal with.
You have to find the MAKE files and modify them . -
Originally Posted by FOO
By the way, why has this been moved to a video forum? That's not right I don't think - this is an OS problem thread, nothing to do with video. Unless the mods/Baldrick want to keep Linux in it's own little corner like a naughty kid...
Cobra -
It's been a long time since I had to modify Linux. Used to
be that all device drivers were compiled into the kernel. Now apparently
there are dynamically installable drivers.
Obviously MAKE will fail if you don't have a compiler -
Sorry I didn't reply sooner, but I just found the dang thread.....When was it moved and where is the pointer saying it was moved?
Wasn't this in the computer forum?
Anyway, is the system still buggie? -
It was moved to the Linux Video forum, which I think was wrong because this is purely computer-related. However, I don't think the mods had enough time to read it all, so it was simply human error.
The system was indeed still buggy, it kept freezing up randomly on me. I have erased that hard drive completely from within Windows, so now I am going to re-install Linux onto it and see how it goes.
Thanks for the support,
Cobra -
I know my box had problems when I was over clocking it.
If it's still freezing up after a clean install, try setting it back to normal or at least not is over clocked. BTW, are you over clocking your video card too? Linux hates that.... -
I did have a shot a while ago at overclocking my graphics card, but I couldn't achieve more than a 2% boost on either core or memory so I gave up on it. That tiny amount isn't worth it.
I'll try the clean installation and if it still keeps on locking up I'll go back to standard speeds and see if that helps.
Thanks for the pointer,
Cobra -
I've put Linux back on, but instead of Gnome I'm using the more advanced KDE Workstation. It's all working very well now, except for one thing...
I can't find the system volume control!
I'll need to have a good old hunt around for it, but it's incredible that they'd hide it as well as they did!
Cobra
Similar Threads
-
BD backup on linux possible yet?
By Sephiroth666 in forum Blu-ray RippingReplies: 1Last Post: 26th Dec 2010, 05:16 -
DVDFab in linux
By andreltr in forum Newbie / General discussionsReplies: 2Last Post: 5th Jun 2009, 17:16 -
Linux themed skin for DVD Rebuilder (for Ubuntu and Generic Linux)
By freebird73717 in forum LinuxReplies: 5Last Post: 26th Nov 2008, 20:27 -
Linux
By gooberguy in forum ComputerReplies: 3Last Post: 19th Jun 2008, 11:08 -
Nero Linux 3 Delivers Blu-ray and HD DVD Data Burning Support to Linux OS
By BJ_M in forum Latest Video NewsReplies: 0Last Post: 28th May 2007, 10:23