problems galore :(
hi guys, yesterday i installed UBUNTU EDGY on my system ...
during installation,a message came up saying that no network interfaces were detected {but i have an ethernet card plugged into my pci slot } it gave me 2 options..1 to go back and try again and the other to continue.. i tried the former a few times but to no avail..so i continued the installation.. after installation, i tried to download a driver for my ethernet card from the manufacturers website and it asked me to compile the c code given.. i tried to compile using the regular cc filename.c and cc filename.c -ll neither of them worked...it gave a lot of errors {atleast 50} also my modem is a winmodem with support for using USB and ethernet .. but UBUNTU detects my modem as a USB device but i cannot connect it to interent...i feel i need a driver for that .. so ppl please help me connect to the internet using UBUNTU.... TIA |
guys i need some help!!!
|
It would help if you posted the model of your Ethernet card and the driver you tried to compile. There might be an easier way of installing than compiling from source. If not, you are probably missing the kernel source which is needed to compile a driver and/or the driver code is too old for your running kernel. Again -- post the card and someone should be able to help.
Winmodems are particularly nasty to get working on Linux since manufacturers don't usually release specs or drivers for them. Have you tried googling on the model? If you must use a modem it might be easier just to go out and buy a cheap external modem that connects via a serial port. |
It might also help to post the compiler errors.
|
well yes the driver did have a C source file but it also had some make file as well...along with a read me { but the read me had no instruction about the compiling part }
well i have uploaded the complete driver folder here... http://rapidshare.com/files/7957867/...m_lan.rar.html from the driver folder, i have taken the subfolder LINUX and the other contents of it... and the manufacturers website is www.techcomindia.com and the drivers are available at http://www.techcomindia.com/download_driver.asp |
File not found for first link.
|
Quote:
oh sorry shud've cross checked anyways here is another link http://rapidshare.com/files/7970852/...m_lan.rar.html hope it works this time around :) |
Hi niwhsa,
I had a look at http://www.techcomindia.com and had a guess that this is your card. if it is your card then download thisthen: extract the sl_linux.tgz archive and follow the instructions in sc92031/readme.txt. Quote:
EDIT. ok, so it is you card, try the install notes as suggested EDIT2. disregard instructions 1,2 and 3 above :), just untar sl_linux.tar and run "#make install" from within the folder sc92031 |
well u r right abt the LAN card and the driver ...and i downloaded them and tried to compile the c file..
i used cc <filename>.c and cc <filename>.c -ll both of them did not work.. and i got the following errors.. Code:
sc92031.c:743: error: dereferencing pointer to incomplete type |
contd from above reply ...
Code:
sc92031.c: At top level: |
Did you actually try to compile using "make install"??
|
Having a second look, it seems this driver is way out of date, and hence the problems compiling on 2.6 series kernels.
Have a read of this http://www.gossamer-threads.com/list.../kernel/714108. There is a newer driver available at: Quote:
Hopefully someone else has been able to get this to work and can give you some better advice. Cheers Andrew |
ok. this looks like a better(easier) option:
http://www.geocities.com/rohitksethi/ |
Quote:
now i tried to proceed in accordance with the steps mentioned there ... the steps : Code:
I faced the problem of installing Ethernet Card having SC92031 chipset |
contd..
but after the "make uninstall" , when i type in "make" { i tried both make and sudo make } i got the following error... Code:
ashwin@ubuntu:~/ndiswrapper-1.31$ sudo make uninstall |
I think you may need the linux-headers??
try Code:
sudo apt-get install linux-headers-2.6.10 (enter your version of linux headers or usr the synaptic package manager) EDIT. even better, install ndiswrapper as such Code:
sudo apt-get install ndiswrapper-utils |
from where do i install the headers as mentioned above..and cud u please explain me the meaning of this
Quote:
and do u mean i have to open the terminal and copy paste the code ?? if yes then in which directory??? |
Sorry, I should have been a bit clearer.
Ubuntu already has ndiswrapper in its repositories, so you don't need to install it from source. just run (in any folder, it doesn't matter) Code:
sudo apt-get install ndiswrapper-utils Now you can continue with "Install Windows driver", from the link I posted earlier. |
my system got messed up .. {i tried to do some things which in hindsight i shud not have done ;-) }
so i have now completely reinstalled UBUNTU EDGY... after the complete reinstall,i have done only these .. 1> installed the ndiswrapper using the command Code:
sudo apt-get install ndiswrapper-utils Code:
ndiswrapper -i netslnt.inf 3> now this Code:
ndiswrapper -l Code:
Installed ndis drivers: Code:
modprobe ndiswrapper Code:
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.17-10-generic/kernel/drivers/net/ndiswrapper/ndiswrapper.ko): Invalid argument |
please note that i have not even touched the drivers given by the manufacturer ...
and to be slightly more clear, here is the complete log of what transpired on my terminal... { just a copy paste work } Code:
ashwin@ashwin:~$ sudo apt-get install ndiswrapper-utils |
I'm going to take a stab here and say that the version of ndiswrapper wasn't compiled against the kernel that you have. I don't use Ubuntu but there must be some way to investigate whether that version of ndiswrapper is compiled against the same kernel source for the kernel you're running. Damn dependencies... :( Once that's straightened out then you shouldn't have any problems.
Also, ndiswrapper -m should take care of adding the alias to /etc/modprobe.conf for you. You shouldn't have to edit that unless ndiswrapper -m fails. EDIT: I did a little poking around and I found this at ubuntuguide.org. Check that out a little bit. I guess there's some bug with Edgy that was fixed with ndiswrapper-utils-1.8 so you have to specify the 1.8 when you apt-get so you get the right one. Good luck! |
All times are GMT -5. The time now is 10:42 PM. |