View Full Version : Trying to connect to pc using ethernet cable
operastarlet
Mar 6, 2004, 05:41 PM
Please help if you can. I have tried to search on this but I see nothing with my problem. I am trying to connect to my pc so i can transfer files to my mac. I am using an ethernet cable. I have tried to set up sharing and all that. but i cannot connect to my pc from my mac when trying to use finder - go - connect to server, because when i put in smp and my ip address it gives me an error, saying The finder cannot complete the operation because some data in smp://ip address could not be read or written. Error code - 36
What do I do? am I doing something wrong?
I am trying to get the files of of a pc running windows 98
Please reply , i have to get these files by monday.
Rower_CPU
Mar 6, 2004, 07:40 PM
Two things...
The file transfer protocol is smb not smp.
Are you trying to directly connect the PC and the Mac with the ethernet cable? Unless your Mac is listed as not needing a crossover cable in situations like that, it won't work.
http://docs.info.apple.com/article.html?artnum=42717
operastarlet
Mar 6, 2004, 08:01 PM
Two things...
The file transfer protocol is smb not smp.
Are you trying to directly connect the PC and the Mac with the ethernet cable? Unless your Mac is listed as not needing a crossover cable in situations like that, it won't work.
http://docs.info.apple.com/article.html?artnum=42717
yeah smb, i must have mistyped.
yes i am trying to drirectly connect, and i do not beleive i need a crossover cable. I read that artle and have an ibook with a dual usb.
Rower_CPU
Mar 6, 2004, 08:18 PM
OK, had to check that first.
Here's an Apple article with SMB how-to info:
http://www.opensource.apple.com/projects/documentation/howto/html/osxsmb.html#using-finder
Might help with the details.
operastarlet
Mar 7, 2004, 09:18 AM
ok, now i'm having some problems with using this
smb://workgroup;username@netbiosname/share
if my workgroup on the pc is home, and my computer name is computer and my shared folder is cdrive,
and my name on my mac is starlet, am i correct in doing:
smb://home;starlet@computer/cdrive?
That is what I am doing and I still get the error of
"The finder cannot complete the operation because some data in "smb://home;starlet@computer/cdrive" could not be read or written. (error code -36)
what am i doing wrong??
mklos
Mar 7, 2004, 09:31 AM
Please help if you can. I have tried to search on this but I see nothing with my problem. I am trying to connect to my pc so i can transfer files to my mac. I am using an ethernet cable. I have tried to set up sharing and all that. but i cannot connect to my pc from my mac when trying to use finder - go - connect to server, because when i put in smp and my ip address it gives me an error, saying The finder cannot complete the operation because some data in smp://ip address could not be read or written. Error code - 36
What do I do? am I doing something wrong?
I am trying to get the files of of a pc running windows 98
Please reply , i have to get these files by monday.
A few things to check...
Make sure you have Windows file sharing turned on the Mac side. (Sys Prefs/Sharing). On the PC side you need to share a folder of some kind. I usually share the My Documents folder, and it should give an option to share as a different name. So I share it as mydocuments, or my_documents. If your concerned about security share it as my_documents$. People trying to get in won't think of the $ part so it will make it harder for them to get in.
Make sure both computers get an IP address, and also make sure their on the same subnet. If you have to, give them both a manual IP address like 192.168.2.1 on the mac and 192.168.2.2 on the PC.
I'm sure you probably don't care which side connects so you can either right click on My Computer and Map Network Drive then put \\nameofcomputer\yourhomedirectorynameonmac (ie. \\ibook\michael\) It will ask for a password, make sure you use the username/password on the Mac and not the PC. You may have to correct the username. UNIX is case sensitive so make sure the password is exact.
If you want to connect using the Mac, go to the "Go" menu in Finder and then down to "Connect to Server". Then put the following, smb://IPaddress/sharedfolder. (ie. smb://192.168.2.2/my_documents) It should ask for a username/password, make sure here that you use the PC username and password. Again, you may have to correct the username.
I hope this helps!
operastarlet
Mar 7, 2004, 09:57 AM
this is still not working.
I did change the ip address on the pc and changed the subnet.
But, i cannot access the mac from the pc, or the pc from the mac.
When i try to connect to server from the mac, I am still getting the same error, error -36.
Sharing is enabled on both computers.
I don't understand this error
The finder cannot complete the operation because some data in smb://ip address could not be read or written. Error code - 36
what does that mean?
mklos
Mar 7, 2004, 10:03 AM
this is still not working.
I did change the ip address on the pc and changed the subnet.
But, i cannot access the mac from the pc, or the pc from the mac.
When i try to connect to server from the mac, I am still getting the same error, error -36.
Sharing is enabled on both computers.
I don't understand this error
The finder cannot complete the operation because some data in smb://ip address could not be read or written. Error code - 36
what does that mean?
Do you have a shared folder on the PC side? Just for kick&giggles, if you have a crossover e-net cable try that. I'm sure thats not the problem, but its worth a try if you have one.
What was the error on the PC side when trying to connect to the Mac?
operastarlet
Mar 7, 2004, 10:08 AM
Do you have a shared folder on the PC side? Just for kick&giggles, if you have a crossover e-net cable try that. I'm sure thats not the problem, but its worth a try if you have one.
What was the error on the PC side when trying to connect to the Mac?
yeah i am sharing 2 folders on the pc. I don't have a crossover cable, should I get one?
When i try to connect using the pc, it tells me to select a drive, from e to z, and then i tried e, and put in \\holl\starlet
holl is the name of the mac hardrive
and starlet is username
is that correct?
mklos
Mar 7, 2004, 10:10 AM
ok, now i'm having some problems with using this
smb://workgroup;username@netbiosname/share
if my workgroup on the pc is home, and my computer name is computer and my shared folder is cdrive,
and my name on my mac is starlet, am i correct in doing:
smb://home;starlet@computer/cdrive?
That is what I am doing and I still get the error of
"The finder cannot complete the operation because some data in "smb://home;starlet@computer/cdrive" could not be read or written. (error code -36)
what am i doing wrong??
It sounds like something doesn't have permission to access the C Drive. More than likely its something on the PC side. Once you turn on Windows File Sharing and do the IP thing on the Mac side the Mac is all ready to go. Its getting the PC ready is the problem for most people.
Try not sharing the C drive and instead share a different folder like the My documents folder, or make your own folder and share it. You don't need to enter the workgroup in the address, that may be where things are screwing up too.
operastarlet
Mar 7, 2004, 10:19 AM
ok, i stopped sharing on the cdrive.
It wont let me share my documents, so i copied everything into a different folder.
Now, when i'm connecting, i am using smb://ipadd/pccomputername/sharedfolder
i also am trying smb://ipadd/
but both give me the same error 36
mklos
Mar 7, 2004, 10:36 AM
yeah i am sharing 2 folders on the pc. I don't have a crossover cable, should I get one?
When i try to connect using the pc, it tells me to select a drive, from e to z, and then i tried e, and put in \\holl\starlet
holl is the name of the mac hardrive
and starlet is username
is that correct?
Yep that is correct. I also have a Dual USB iBook and I just tried to connect to my PC using a regular E-net cable and it worked just fine so its not the cable type.
Here is what I have:
On the Mac side:
-Windows File Sharing turned on
-Manual IP address 192.168.0.66 (subnet setting:255.255.255.0)
-username: michael
-password: **** ;-)
-Workgroup: TERABYTE (Workgroup name doesn't make a difference, I just tried connecting to the Mac from the PC with a different workgroup name on the Mac side and it still worked!)
On the PC side:
-C Drive shared as C$
-Manual IP address is 192.168.0.1 (subnet setting: 255.255.255.0)
-username: admin
-password: ****
-Workgroup: TERABYTE
I've also heard somewhere that you have to have the same password on the PC as you do the Mac and visa versa. So if you have dogs for the password on the Mac side then you have to have dogs as the password on the PC side. You can try that as well. The usernames can be different. My usernames are different as shown, but my passwords are the same.
mklos
Mar 7, 2004, 10:38 AM
ok, i stopped sharing on the cdrive.
It wont let me share my documents, so i copied everything into a different folder.
Now, when i'm connecting, i am using smb://ipadd/pccomputername/sharedfolder
i also am trying smb://ipadd/
but both give me the same error 36
You don't need to put the ipadd in there...
It should just be smb://computernameoripaddress/sharedfolder
mklos
Mar 7, 2004, 10:42 AM
ok, i stopped sharing on the cdrive.
It wont let me share my documents, so i copied everything into a different folder.
Now, when i'm connecting, i am using smb://ipadd/pccomputername/sharedfolder
i also am trying smb://ipadd/
but both give me the same error 36
I just tried sharing the C Drive and that worked fine too. Make sure you put C$ in the share name and NOT just C if you want to try sharing the C drive again.
mklos
Mar 7, 2004, 10:47 AM
Here is a useful website to help you connect Mac OS X to a Windows 98 machine. I must of skipped over that you were using Windows 98. I hate Windows 98!!! Its such a PITA to deal with as your probably figuring out right now!
Well anyways here is the site:
http://joelshoemaker.com/computer/mac/w98fs.html
agreenster
Mar 7, 2004, 11:29 AM
Just as a side note, I am running OSX version 10.2.8 on a TiBook and Windows XP Pro on my desktop, and have no problems connecting. Just shared my user folder on WinXP and connected without a hitch. (ethernet)
maybe its a Win98 thing.
abhishekit
Mar 7, 2004, 12:40 PM
Hey....just check if you have the firewall on , on windows 98..if it has one...
coz I was trying to connect to a windows xp which had teh firewall on..so i wasnt being able to,..
operastarlet
Mar 7, 2004, 01:54 PM
ok, i've tried just about everything and its STILL not working. I have no idea what to do.
I have changed ips and submasks. I have shared on both ends. I changed the user name in my pc to the same as my mac and all passwords.
I thought i actually got it for a second when i stopped trying to use my pc's ip and used the name of the computer (which is now the same as the short name of the mac) and it opened up and mounted, but its just my mac stuff, not my pc.
is there anything else I am missing? I did everything here and what all the site said.
Westside guy
Mar 7, 2004, 04:58 PM
If you're connecting a cable directly between the two computers, it almost certainly needs to be a crossover cable. Some network cards are able to auto-sense this situation and can work with a regular cable - but most can't (I have no idea whether the Mac card can do it or not).
Is the Windows computer running Windows 98 or Windows 98SE?
By default older versions of Windows don't use NetBIOS over TCP/IP, they use a protocol called NetBEUI. 98SE can handle NetBIOS over TCP/IP, but I don't think 98 can (and 98SE doesn't enable it by default). The Mac is using a program called Samba, which can only handle the TCP/IP protocol. So go into your network settings and make sure TCP/IP is installed.
operastarlet
Mar 7, 2004, 09:24 PM
If you're connecting a cable directly between the two computers, it almost certainly needs to be a crossover cable. Some network cards are able to auto-sense this situation and can work with a regular cable - but most can't (I have no idea whether the Mac card can do it or not).
Is the Windows computer running Windows 98 or Windows 98SE?
By default older versions of Windows don't use NetBIOS over TCP/IP, they use a protocol called NetBEUI. 98SE can handle NetBIOS over TCP/IP, but I don't think 98 can (and 98SE doesn't enable it by default). The Mac is using a program called Samba, which can only handle the TCP/IP protocol. So go into your network settings and make sure TCP/IP is installed.
i'm going tommorow to pick up a crossover cable. hopefully that will work out.
The pc is running 98se. and i believe tcp/ip is installed
mklos
Mar 7, 2004, 10:00 PM
If you're connecting a cable directly between the two computers, it almost certainly needs to be a crossover cable. Some network cards are able to auto-sense this situation and can work with a regular cable - but most can't (I have no idea whether the Mac card can do it or not).
Is the Windows computer running Windows 98 or Windows 98SE?
By default older versions of Windows don't use NetBIOS over TCP/IP, they use a protocol called NetBEUI. 98SE can handle NetBIOS over TCP/IP, but I don't think 98 can (and 98SE doesn't enable it by default). The Mac is using a program called Samba, which can only handle the TCP/IP protocol. So go into your network settings and make sure TCP/IP is installed.
All newer Macs including the Dual USB iBook he has will work with a regular ethernet cable. Macs have a special e-net port that will automatically cross the signal over when needed. So a crossover cable will not get you any further than you were before. I was helping him earlier and I connected my Dual USB iBook to my PC using Win. 2000 with a regular e-net cable and it worked just fine. It has to be something with Winblows 98. I HATE Winblows 98. I've never gotten anything to work correctly on it. If he had Winblows 2000 or XP then he would of had the files ages ago.
agreenster
Mar 7, 2004, 10:55 PM
I agree that its a Windows98 thing that none of us obviously know what to do about....I sure dont. Networking isnt my bag.
operastarlet
Mar 8, 2004, 08:38 AM
ok, so crossover cable won't work either?
its just windows 98 that is the problem??
IF I were to take the pc and the mac back to school with me and put them both on the network, would they be able to connect them?
Thanks you all for all your help on this. I appreciate it.
ps. I'm a she :)
dudeami
Mar 8, 2004, 03:34 PM
operastarlet,
I'm not sure if this will help, however I think the reason that you saw your mac data and not your PC's is probably because you had the same short names for both machines and your mac was probalby running windows sharing. This will cause your Mac to share its folders using that SMB shortname. In the windows world ie: Server Message Blocks, it is not a good idea to have two machines on the same network with the same name. I would make sure that the machines have different names. I have always been successful connecting from a MAC (OS X 10.2 or higher anyway, since I didn't really do this with earlier versions) using SMB://ipaddress/sharename so for Example SMB://192.168.4.1/c$.
Run some simple tests first. Make sure that you can ping the IP address of the PC successfully before attempting to connect. If you can not ping that machine, then you will not be able to connect to it. You can ping it either from a terminal ex) ping 192.168.4.1 or using the Network Utility which is found in your /applications/utilities directory.
[Edit] Another test that you can run, once you can ping the IP address of the PC, is to use the Network Utility and run a port scan on the IP address of the PC. You should see the PC listening on port 139 NetBIOS-ssn. If the PC is not listening on this port, then there may be issues with its server service. As was mentioned before the PC will need to be running NetBIOS over TCP/IP for the Mac to connect to it. The PC and Mac will first start to talk on port 139 to negotiate a TCP high port to continue the NetBIOS session. If the PC is not listening on port 139 this initiation of the NetBIOS session will never occur. If you do not see this you may want to check that the PC is running its File and Print sharing and is running NetBIOS over TCP/IP. [end Edit]
Once you can ping the PC, verify what accounts have access to the share you are trying to mount.
Then try to connect using smb://ipaddress/sharename
When prompted for authentication, I would recommend using the NetBIOS name of the PC as the workgroup, then enter the user name and password.
I hope this helps.
[Edit] BTW if you are only trying to connect from the Mac to the PC, I would turn of PC sharing on the Mac, this does not need to be on to access the PC, and may only be confusing the issue. I would try to make the environment as simple as possible when troubleshooting an issue. [end Edit]
operastarlet
Mar 8, 2004, 07:29 PM
ok, I can't ping my pc. or anything else....
dudeami
Mar 8, 2004, 09:42 PM
Provided that both the Mac and the PC are on the same subnet, that would mean that you do not have network connectivity. It may be time to try that crossover cable, or better yet a hub or switch. Check your network preferences on the Mac and choose Network Status in the Show: box if the ethernet port is showing red, then you are not networked. If you are getting a green light then the Mac and PC are trying to make network and the Mac is successfully making its port a crossover port. My instinct is that you will see a red status. If this is the case there may be one other trick that you could try. It might be possible that the NICs are having problems negotiating there link speed and duplex. You may want to hard code these settings to eliminate auto negotiation as a problem. It may be a little slower, but I would try using 100/Half. On the Mac if you are running 10.3, you can go to the network preferences for your built-in ethernet and choose the ethernet tab - change Configure: from Automatically to Manually, change Speed: from autoselect to 100BaseTX, and set Duplex: to half-duplex if it did not default to that. You will need to hard code these on the PC as well using the configure adaptor. It will be under the advanced tab, depending on the vendor of the NIC, you may either see link speed and duplex as a single setting, and choose 100/Half or there will be a seperate setting for the link speed and the duplex setting, if that is the case set the link speed to 100 and duplex to half-duplex. After this if you do not see a green link light on the PC's NIC anb a green status on the Network Preference Status screen for your ethernet connection on the Mac, then you will need to either get a crossover cable, or a hub or switch. If you are not getting a network link on both machines, then they will not be able to communicate on the network. Once both machines can get a network connection, then you can try the other steps, I mentioned previously.
If you are getting a good connection. make sure both machines are on the same subnet, for example assign the Mac an IP address of 192.168.1.4 with a 24 bit mask (255.255.255.0 subnet mask) and assign the PC an IP address of 192.168.1.5 with the same subnet mask 255.255.255.0.
I hope this helps.
operastarlet
Mar 9, 2004, 08:09 AM
ok, i did everything you said and i am at a yellow light, what does that mean?
dudeami
Mar 9, 2004, 08:44 AM
operastarlet,
I am sorry, I was wrong when I said it would be red. Red means that it is not configured, however the step I suggested configured the port manually. In this case yellow means that the port is configured, but there is no network connection. This means that there is no cross-over functionality occuring. I think you are going to have to try a cross-over cable, hub or switch. You should be able to find a cross-over cable for between $5-10 depending on length, or a cheap hub/switch for around $25-35.
In addition to smb, I have also transferred files from a PC to my Mac using ftp. You'll need to select "FTP Access" in your sharing settings on your Mac and get an ftp client program for your PC. The ftp client progam that I have used is HS FTPExplorer that can be downloaded at http://www.haysoft.com/hs/untsearch.php3?eng=1. Any number of free ftp client programs can be found on the web. FTP is not the fastest way to transfer files but it is an alternative to smb.
Westside guy
Mar 9, 2004, 03:34 PM
operastarlet,
I think there's a basic network issue here.
On the PC run the program "winipcfg" (Start button -> "run" -> type "winipcfg"). This will let you fidn out what IP number is assigned to the computer. There'll be a dropdown menu in the winipcfg window - if there's more than one item listed in the dropdown, select the one that is your network card.
Tell us what the IP is.
Then, on the Mac, go into "System preferences" and find out what the IP address is for the built-in ethernet.
Tell us what that IP is as well.
Panopticon
Mar 9, 2004, 04:06 PM
You could go to Microsoft's web site and download "Remote Desktop Connection" for your mac. So long as you've got your sharing set up in Windows, and an IP to lookup, you should be able to use RDC to get on to your PC. Its a Citrix knock-off in the sense that it opens a terminal window in OS X. You can then move stuff around in the Explorer, to the Macintosh and then open it from the Mac.
I used this setup on a wireless network. I have a G3 450 box, a Powerbook, and I had my Mom's PIII 450 on a USB wireless connection. If I had to do anything on her computer, I'd just RDC the box - the computer would lock out on the PC end and I would take it over from the Mac(s).
Maybe that's all you need to do, though the other suggestions are pretty good too, and require no MS Crapplications on your Mac... but I found the RDC cool and useful.
operastarlet
Mar 11, 2004, 07:43 PM
operastarlet,
I think there's a basic network issue here.
On the PC run the program "winipcfg" (Start button -> "run" -> type "winipcfg"). This will let you fidn out what IP number is assigned to the computer. There'll be a dropdown menu in the winipcfg window - if there's more than one item listed in the dropdown, select the one that is your network card.
Tell us what the IP is.
Then, on the Mac, go into "System preferences" and find out what the IP address is for the built-in ethernet.
Tell us what that IP is as well.
ok, so the ip address on the mac is 169.254.122.228
on the pc i changed it so it is 169.254.122.229
I just bought a crossover cable so maybe that will work.
operastarlet
Mar 11, 2004, 07:46 PM
ok with using the crossover cable. I am trying to connect to the pc's IP address, and I get a message saying
"Could not Connect to the server because the name or password is not correct"
But I didn't put in a password yet?
operastarlet
Mar 11, 2004, 09:14 PM
I FINALLY got in!
Thank you guys SO much for you help! :)
I for some reason could not use the pc's IP or the computer name So i tried smb://workgroup;username@netbiosname/share and it worked!
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.