LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   network card IC PLUS IP1000 family gigabit ethernet (https://www.linuxquestions.org/questions/suse-opensuse-60/network-card-ic-plus-ip1000-family-gigabit-ethernet-534220/)

irco 03-03-2007 11:43 AM

network card IC PLUS IP1000 family gigabit ethernet
 
Hello...I am very new at linux, and I installed openSuse 10.2 and I been having troubles getting my net card to work, PLEASE move this, if it belongs to Hardware..I didn't where exactly I should put it
it's a IC PLUS IP1000 family gigabit ethernet, integrated card in a abit mobo
I found the drivers for linux, and I kinda got it to work manually setting the ip and netmask using ifconfig,and then going to yast and adding a similar netcard and configuring everything..and i can use the internet, the problem comes when I restart my computer my netcard kinda switches positions the first time it was eth2 and then switched to eth4. and then to 6..and right now is eth9 :confused: . So everytime I restart I have to do this:

#insmod ./ipg.ko ; which is the file generated after I compiled the driver
#ifconfig ethX ; until I find which spot is the net card this time
#ifconfig ethX 192.168.2.2 netmask 255.255.255.0 ;once I find it

and then go to Yast to reconfigure everything

I been looking all over the place, and I don't see any similar cases...anyone knows what can i do?..
thanks in advance

irco 03-06-2007 09:17 AM

no one?...not even an idea of whats going on? =(

brokentilez 04-11-2007 06:23 PM

how did you get it to compile. I can't get it to compile at all.
make all => generate ipg.ko

.............. it says make: xxx doesn't have a something or other.

thanks.

irco 04-12-2007 07:26 AM

make sure you have the source kernel installed for whatever distro you use, mine (openSuse) didn't have them installed, as default so i used to get
Code:

No rule to make target 'Linux'. Stop."
whenever i typed in make, when you do that, you should be able to compile.
But mine didn't really, i had another error, im copying the solution i used, credit to whoever is due

Quote:

I got another error message with make: " In file included from /home/lutger/ldriver/ipg_main.c:159: /home/lutger/ldriver/ipg.h:129: error: ‘UTS_RELEASE’ undeclared here (not in a function)"
Perhaps you have more luck, I got fed up with this problem since I've spend quite some time on it, so I did a terrible thing: I replaced the string UTS_RELEASE in ipg.h (on line 129) with what I think it would be replaced by: "2.6.18.2-34-default". (the "" signs should be included). This of course depends on what kernel you have. My ' guess' was right and now it compiled fine. I'm sorry to post such a hack, I would love to hear a proper solution.

After this if you get no error messages you have enter the command insmod ./ipg.ko, or in my case it seemed to like /sbin/insmod ./ipg.ko better. This you have to do as root.
let me know, if that still gives you problems, it might not be the best, but for this card, seemed to be one of the few solutions

edit-
oh btw make sure when you type
Quote:

make all => generate ipg.ko
you DO NOT type "=> generate ipg.ko", you JUST type "make all" the arrows are just to tell you what the instruction is suppose to do. A very common problem among people that have asked me about this card

brokentilez 04-13-2007 08:05 PM

Thanks I'll try that tonight. I did do the make all by itself. I was though before hand putting in the => generate stuff, but corrected it just by trying to figure it out. When I did the make all by itself it came back with a more hopeful looking error message. It was the same thing but with additional lines. I'll try that upg.h fix and see if it works. I hope that I have the same 2.6.18 kernel. I just installed openSuse 10.2.

Thank you!:p

irco 04-13-2007 11:08 PM

oh..so i could kinda help you if things go wrong, don't give up if things get a little frustrating, openSuse is amazing once you have it running


All times are GMT -5. The time now is 12:08 AM.