Click to See Complete Forum and Search --> : file transfer from windows to linux
nobelwon
02-29-2004, 02:31 AM
I have installed Debian on one machine, and I have Win 98 on another. Because my Linux machine does not recognise my Lynksys NC100 network card, I cannot download stuff from the internet on it, stuff like the Tulip driver etc. My question is what would be the best procedure for getting the source file for the driver, which I have downloaded from Scyld and saved as a text file on my Windows machine, over to my isolated Linux machine so I can compile and install it? Is there formatting compatability between Dos and Unix floppies? Is there a special way to save the file in Word Pad or Note Pad so it can be opened in a Linux text editor?
XiaoKJ
02-29-2004, 03:06 AM
Using a floppy is nice. Linux can read both dos and unix formatted disks, and linux can also read .txt files by default. with openoffice, it can even read .doc files from MS office. a floppy is the best way to do whatever you want to do here, until you have internet access. BTW, you should try finding the correct driver with the Win machine before trying to use the driver from win.
I had such a problem also, yet with some research on the net the problem was solved easily. My HP 10/100tx Pci Lan Adapter Card was albe to use the eepro.o driver included in most distros. I think yours may already be compatible with your debian version and there is no need to get more drivers. just configure your debian machine to recognise it would be enough. My RedHat needed me to specify which driver and interface and device code every time i reinstall it.(I did it with X windows server running though)
nabis
02-29-2004, 03:31 AM
did you try:
su
/sbin/modprobe tulip
/sbin/ifconfig (to see if eth0 is showing up)
maccorin
02-29-2004, 03:39 AM
also i you have the kernel source (if you downloaded the src cd's for whatever distro your using you do), you can just build a kernel w/ support for tulip, AFAIK it's in the main kernel tree
nobelwon
02-29-2004, 01:05 PM
Thanks for the replies. I have been reading a lot of stuff to find out how to solve this NIC problem. To make a long story short, I came to the point where I am now when I kept getting led back to Donald Becker's site, which seemed to have a thorough enough, step by step way to get an up to date driver installed. I was unable to configure a driver on insallation of my Debian distro (2.4) probably because no device could be found. By the way this card was working fine when I had Windows installed on this machine. But I am unable to even find eth0 using /sbin/ifconfig eth0. Not only that, I can't even find the Tulip driver that is supposed to be with my distro.
Any way, as you can tell I am new to this. Everything is a struggle, but I think I am learning a lot. I've decided to try getting the necessary source files from Scyld, and compile and load the driver as a module. I downloaded Tulip.c and pci-scan.c from ftp://ftp.scyld.com/pub/network/, saved them as text files on floppy, then I tried to open the file on my Linux box. I think I was able to mount the floppy drive OK. At least the light came on and some noise was made, but I couldn't bring up any files on that disk. I was logged in as root. I was wondering what exactly the proceedure is for opening a file on a floppy which comes from a dos source. Believe it or not, in all the reading of tutorials I have done I have found no step by step way to do this. Thanks for your help.
mdwatts
02-29-2004, 01:44 PM
Most distros include the tulip module in the default kernel.
Did you have a look in /lib/modules/<kernel version>/kernel/drivers/net/tulip/tulip.o?
modprobe tulip
Does that produce a error message? Have you ensured you have PnP OS disabled in the bios?
nobelwon
03-02-2004, 01:09 PM
MDWATTS,
Sorry I'm sloww to get back. When I do
/lib/modules/2.4.18//kernel/drivers/tulip/tulip.o Iget "no such file or directory. (not really sure about the kernel version?) When I do modprobe tulip I am retuned to the prompt with no explaination. When I do modprobe tulip.o or modprobe tulip.c, I get "cant locate tulip.o or c.
Not only that I can't mount my floppy no matter what I try. I have tried:
mount -t vfat /dev/fd0/mnt/floppy
mount -t vfat /dev/fd0/mnt/floppy.o
mount /floppy0
mount -t /dev/fd0/mnt/floppy
mount -t msdos /dev/fd0/mnt/floppy (and floppy.0) and some other combinations. I wonder if I corrupted this system when I typed
less cat /fd0 and the thing went nuts beeping and just kept spewing out junk and wouldn't stop so I manually ejected the floppy and did a hard reboot
Wo is me
mdwatts
03-02-2004, 01:28 PM
Originally posted by nobelwon
When I do
/lib/modules/2.4.18//kernel/drivers/tulip/tulip.o Iget "no such file or directory. (not really sure about the kernel version?)
When I do modprobe tulip I am retuned to the prompt with no explaination.
Are you just typing the path and filename?
/lib/modules/2.4.18//kernel/drivers/tulip/tulip.o
That will not work, but the second one did
modprobe tulip
as it just returned to the prompt. That would indicate the module was successfully loaded.
Type in
lsmod
as root to verify and you should see tulip as one of the loading modules.
Now all you have to do is setup networking.
Also add
alias eth0 tulip
to /etc/modules.conf and then run
depmod -ae
Both as root.
nobelwon
03-02-2004, 02:21 PM
MDWATTS,
I did lsmod and tulip did not appear on the list.
when you said "Are you just typing the path and filename?
/lib/modules/2.4.18//kernel/drivers/tulip/tulip.o
That will not work," what did you mean for me to do exactly? What will work?
mdwatts
03-02-2004, 02:53 PM
Originally posted by nobelwon
Are you just typing the path and filename?
/lib/modules/2.4.18//kernel/drivers/tulip/tulip.o
That will not work," what did you mean for me to do exactly? What will work?
Since tulip.o is not a executable, just typing the path and module filename will not do anything except to produce a error message.
If you typed
modprobe tulip
and did not receive a error message, then the tulip module should be loaded. Did you reboot between the first 'modprobe tulip' and 'lsmod' to check to see if it's loaded?
Try again...
modprobe tulip
and then
lsmod
You would be advised to start reading some of the Linux administrating guides. The Bash command JL Help Files would be a good start.
http://www.scorpioncity.com/linux.html
nobelwon
03-02-2004, 06:20 PM
MDWATTS,
I rebooted and again did modprobe tulip and got;
Linux Tulip driver for version 0.9.15-pre9 (Nov 6, 2001)
PCI found IRQ 10 for device 00:12:
eth0: ADMTek Comet rev17 at 0x6600, 00:20:78:OF:E5:5B, IRQ10
Then when I did lsmod, tulip was among those listed. This would seem like progress. I am not sure what the next step is. I still have to get a NIC configured with this driver as a DHCP client.
I have been studying a lot of stuff and doing searches. At his stage I have a hard time remembering a lot of what I've read because I don't get a lot of practice time. The web site you suggested seems to be a good one and one that I haven't seen yet. I will deffinitely give it a thorough going through. I appreciate your help.
justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.