PDA

View Full Version : At long (censored) last....


Pelikal
9th Nov 2013, 17:55
At last :mad: done it. Some of you may remember this posting (http://www.pprune.org/computer-internet-issues-troubleshooting/504135-enabling-ipv6-windows-7-a.html) by me back in Jan/Feb of this year. I was attempting to network my old iMac, 10.3.9, which has many graphic applications I need, to a Windows 7 machine running Home Premium 32bit.

After 10 months of faffing about, today I've finally done it! 10 months for heavens sake...thank you Apple and thank you Microsoft for making it so :mad: easy.:ugh:

I still reckon there is an issue with MS and this version of Win7 which many others have encountered judging by postings on various forums.

Rather than tag this message onto the original thread, I just wanted to thank the contributors here. The other thread was never ended by me with 'result achieved', maybe because it was getting too complicated for me but in the background I've been poking about and eventually put it all together.

The connection is only one way but luckily it's the way that I need it, which is connecting to the PC from the Mac. Trying the other way, from the PC to Mac, I get an "Enter Network Password" message. Nothing I do works for me in this instance. I have no clue whatsoever what my network password is! I'm not too worried as I have what I want. Would still like to know though.

Anyhow, thanks Mixture, SD, Mike B and others for the encouragement and info. I'm out of work and have no funds for replacement machines so this breakthrough was vital to explore my working-from-home ideas. If any of you are ever in Tring, you are welcome to a beer on me.....cheers:ok:

mixture
9th Nov 2013, 18:03
I vaguely remember that thread. Good on you for persisting, something which is a valuable trait in the IT industry (the best engineers are the ones who like getting stuck into a toughie and working through the permutations)

Don't think I've ever been to Tring, heard of it but just had to check where it was on Google !

Pelikal
9th Nov 2013, 19:21
Mixture, there is a fine brewery (http://www.tringbrewery.co.uk/) in Tring and a rather unique Museum (http://www.nhm.ac.uk/tring/index.html), that is if you are into stuffed animals (ok, there is more than that there).

A couple of links that made me look at this whole networking issue again, particularly this MS forum (http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/still-cant-get-windows-7-to-see-mac-on-home/d6bd510c-a956-4984-8e80-66f784c904c3).

And on a Mac forum. (http://forums.macrumors.com/showthread.php?t=635271)

I found it difficult in that some indicated solutions worked for some and not for others. I just had to try a few things till something worked, which it did for me eventually. Sorry, gone a bit link mad, I guess I'm a bit excited.....

Pelikal
11th Nov 2013, 06:49
Okay, I'm back again. Quoting myself from above:

The connection is only one way but luckily it's the way that I need it, which is connecting to the PC from the Mac. Trying the other way, from the PC to Mac, I get an "Enter Network Password" message. Nothing I do works for me in this instance. I have no clue whatsoever what my network password is! I'm not too worried as I have what I want. Would still like to know though.I've now decided that I do wish to connect to the Mac from the Win7 machine and nothing works for me. I'm convinced this is an issue with this version of Win 7 trying to connect to machines other than another Win 7 using a homegroup.

I've tried using another account that exists on both machines with identical passwords.

I've tried toggling Password Protected Sharing, that makes no difference.

The Firewall is turned off completely when connected to the Mac.

I even wondered if the machine thought I was trying to connect wirelessly (which I'm not) and so entered my hub key details! No deal.

The only passwords on the Mac are the login ones, no passwords related to networking that I'm aware of.

If I'm stuffed on this one then so be it.:(

mixture
11th Nov 2013, 11:28
Pelikal,

Can't remember if I asked you this before but have you checked System Preferences -> Sharing.... maybe you can try an alternative method such as FTP ?

Pelikal
11th Nov 2013, 12:31
Mixture, thanks.

FTP Access is enabled on the Mac. Still reckon it's some MS sh!te with Win7.

Mike-Bracknell
11th Nov 2013, 15:32
Mixture, there is a fine brewery (http://www.tringbrewery.co.uk/) in Tring and a rather unique Museum (http://www.nhm.ac.uk/tring/index.html), that is if you are into stuffed animals (ok, there is more than that there).


Having been born in Hemel, I'm well versed with Tring and have visited the museum on a couple of occasions as a field trip. Indeed, my school used to borrow the ghastly-coloured (yellow, brown and purple) Tring School Bus for field trips.

I also got my most recent parking ticket there when tendering for the girls' school IT contract.

So, apart from the brewery and museum, there IS the bypass now ;)

Mike-Bracknell
11th Nov 2013, 15:40
Mixture, thanks.

FTP Access is enabled on the Mac. Still reckon it's some MS sh!te with Win7.

Windows basically requires some credentials to connect to itself or to others. There is no concept of "it doesn't require any credentials". Hence the 'guest' account, which if you enable it and set a blank password has the same effect of authenticating people without ostensibly providing the credentials.

Credentials on Windows are in the form <domain>\<userid> and they have a password associated to each user. <domain> in this case is either the name of a domain the computer is attached to, or the NetBIOS name of the machine itself if in a Workgroup.

All bets regarding connecting into a Windows PC are off if the firewall is going to block you though, so ensure that's off for the time being in order to ensure nothing's going to be silently dicking with your ability to troubleshoot this.

HTH.

Cheers
Mike.

Pelikal
11th Nov 2013, 17:47
I also got my most recent parking ticket there when tendering for the girls' school IT contract.

Clearly something delayed you!:= Sorry about your parking ticket. I will have a play with a Guest account, this rings a bell from my pre-press days.

mad_jock
11th Nov 2013, 21:22
If its any consolation tere are seasoned pros who have admitted defeat trying to get apple OS's talking to PC's and Vice versa. Especially in the days before Linux kernel.

I can remember sticking a screw driver through an apple talk connector just so we didn't have that hassle to deal with.

Are you using a samba share on the mac?

Sorry I only know the Linux side of things I don't know if there is another way of doing it on the Mac.

cattletruck
12th Nov 2013, 00:04
Still reckon it's some MS sh!te with Win7

It is.

It's been a while, but you have to look at the problem in Samba terms (CIFS shares). I recall Win7 upped/changed the password and security levels as Samba of old used to try several password case folding permutations which now longer work for windows.

If the W7 puter is in a Windows domain as there may be a default policy to block all connections from machines that are not participating in the same domain.

The secret now is you have to connect to your shares specifying a username for the host that is hosting the share.

\\user@host\sharename

But wait, it can only get worse with an alternative syntax (I'm guessing the syntax for specifying the domain here as I forgot it).

\\user:domain@host\sharename

When the share login/password popup pops up Microsoft in their false wisdom will cache your first attempt at connecting - whether successful or not - which will further drive you mad.

You can specify a domain in this login screen, but if you're not using domains then stick a solitary \ in front of your username to ensure the W7 CIFS protocol doesn't do something that is barely documented.

It's crazy stuff (actually I enjoyed it when I was doing it), but it aint for the faint hearted as it requires a lot of knowledge of how the revised Windows security works, to Microsoft's credit I actually agree with what they have done to improve it.

cattletruck
12th Nov 2013, 09:18
I should also add that on both the Mac and the W7 machine you can use the "net" commands on the command line (the syntax differs between each OS) rather than the GUI, this makes troubleshooting a little easier.

On your W7 box type "net use /help" for a bunch of options including being able to specify a FQDN as a target host rather than a WINS/NetBios hostname. I can't remember if it works with an IP address, I got a feeling it doesn't.

Make sure the host name you use can be pinged, and try "net view \\yourmachost" to see if the advertised shares are even visible.

mad_jock
12th Nov 2013, 12:18
That's the stuff I was about to launch into.

Its all to do with your conf file for samba.

And reboot your windows machine between attempts to connect.

Keef
12th Nov 2013, 15:05
This may or may not help, but I had serious problems when I "assumed" that a Home Network was what I wanted in my Home. The laptop crashed (reasons unknown) while it was connected to the desktop via the Home Network. That locked all the drives on the desktop, which would no longer even start.

12 or so hours of cursing later (using the laptop to browse the web), I ended up reinstalling Windows on the desktop. Happily, it kept all the stuff installed on the PC (apart from the pesky Home Network).

I set up a Work Network and it's behaved immaculately. It even allowed me to network with an older PC running Linux, although I've given up on Linux now.

So, if you're trying to connect a Mac to a Win Home Network, and if you can, I'd try a Work Network.

Pelikal
12th Nov 2013, 16:11
Thanks all for the latest pointers. As a novice, there is clearly a lot more I need to absorb. By the sound of it, I've done pretty well to get as far as I have!

I'm going to toodle off for a day or two and see how I get on.:ok:

Mike-Bracknell
13th Nov 2013, 10:54
On your W7 box type "net use /help" for a bunch of options including being able to specify a FQDN as a target host rather than a WINS/NetBios hostname. I can't remember if it works with an IP address, I got a feeling it doesn't.
Since Win2K you have been able to use an IP address or FQDN in a SMB mount. WINS has also been depracated for the same amount of time (although many companies still insist they need it....which 99.99999% don't)

cattletruck
13th Nov 2013, 12:14
Since Win2K you have been able to use an IP address or FQDN in a SMB mount.Could be true, but I think (sorry for being vague as it's been a while) that at the Windows security level if the FQDN host name cannot be resolved from the IP address then the login won't be authorised to proceed. But he's going the other way (W7 to Mac) so depending on how the mac is configured that limitation *may* not be an issue.

Typical of these sorts of problems his issue I feel is that the Mac's Samba hasn't been configured to use a suitable security mode (files, ldap, ads, and some others I can't remember), and his W7 machine's requests aren't presenting the correct credentials for the security mode used on his Mac, that is, I bet his W7 machine is sticking the workgroup in front of the username.

Samba doco is all over the place literally, and hard for a novice to understand. As I said before it aint for the faint hearted.

Life could be made simpler by just running Filezilla (FTP with an explorer look and feel).

Pelikal
14th Nov 2013, 09:41
Folks, just to let you know I'm still trying out a few of the above suggestions and I haven't gone away. The Mac actually connects beautifully to the PC now. Why do I want to do it the other way around? Dunno is the quick answer!

Still puzzled to heck what this Network Password stuff is all about. Anyhow, cheers for now.

Pelikal
14th Nov 2013, 15:36
Just one bit of info. I pinged the Mac from the PC. 4 sent, 4 received, 0 lost so that looks ok.

cattletruck
and try "net view \\yourmachost" Ok, did that. System error 5. Access denied .

Pelikal
16th Nov 2013, 13:34
Ok, done it folks!

Phew!!:eek: It was changing a security/authentication setting in Win 7. “Network security: LAN Manager authentication level” to “Send LM & NTLM – use NTLMv2 session security if negotiated”, this was alluded to in the above postings.

I found it in this doc. (http://www.groupes.polymtl.ca/gchit/?page_id=238) As I have Home Premium, I altered the value in regedit, did a restart. Opened Network and there was my Mac, as before. I really didn't think much was going to be different. Anyhow, double-clicked and window requested my name/password. This was accepted, to my astonishment, unlike previous attempts. New window opened showing shares and voila!, my Mac.

Did a total shutdown and reboot all around to test. Still had to enter password etc but this time I checked 'remember credentials'. Yup, shares available as before. Upon third reboot, a double-click on my Mac icon leads me straight to my shares without having to enter anything. WOW...actually very neat.

Thanks again to all of you! I included the link, just in case it may help plus it keeps it all in one place for future ref. Hope that's ok. I'm having a job believing I've finally done this, I really am.....

Mike-Bracknell
16th Nov 2013, 23:15
:ok: should be sorted now then.

(I won't mention too loudly that some of my old CV includes writing some of the source code for Samba back in the mid 90s)

cattletruck
18th Nov 2013, 08:06
:ok: Well done Pelikal!

Mike, did you go to the ANU?

Pelikal
18th Nov 2013, 10:23
Hey, thanks cattletruck! If it wasn't for the advice and encouragement here, I think I would have given up (well, I very nearly did). At first I was prepared to accept just a one way share but I was niggled at the Win 7 to Mac sharing failing. Found that article just in time.

I want to configure the firewall to allow the connection. New to this as well, so be prepared for some daft questions after I've had a gander at the options.....

Mike-Bracknell
19th Nov 2013, 17:48
:ok: Well done Pelikal!

Mike, did you go to the ANU?

Nope, never even been to Oz. I got hold of Samba in 1995 as we looked at a massive rollout of Windows 95 PCs (60,000 in '95) to replace Apple Macs at Nortel. At the time, we were known for our 'generic fileservers' (as we used Sun servers with PC-NFS and Apple software to create an interoperable multiplatform/multiprotocol server), and I knew that PC-NFS was clunky, memory-hungry and slow. So we looked at Samba (which was relatively new at the time), and soon found out that the browsemastering code wasn't designed properly for multi-subnet use. Luckily, the guy who wrote the original Samba browsemastering code was only half an hour away on the train, and i'd done loads of work in the WinNT arena at that time to define browsemastering, so we spent company expenses to bring him down on a weekend and 3 of us brainstormed the way to fix that specific issue at the Nortel labs in Harlow...which made it's way into all subsequent releases from there on.

Shame Windows95's browse kernel wasn't big enough for our browse lists after all that, but hey.

cattletruck
20th Nov 2013, 05:49
Good ol' winsock and win95. We did something similar using a mere 2500 PCs with Novell shared storage over 40 IP subnets. IPX/IP was quite stable although we had to fudge the routers to get broadcast SPX packets across.

PC-NFS didn't scale too well and SunOS nfs was tempermental, never considered samba, however Novell file sharing was pretty good only to be let down by its self corrupting Networked Directory Services database.

I also vaguely recall you could create a static browser list in NT land as computers had a mysterious habit of dissappearing off the list.

mixture
22nd Nov 2013, 01:57
Nope, never even been to Oz. ... <SNIP> .... .which made it's way into all subsequent releases from there on.

And with that paragraph, I really do wonder whether Mike's profile age of 42 is strictly true. :E

Mike-Bracknell
22nd Nov 2013, 19:25
I also vaguely recall you could create a static browser list in NT land as computers had a mysterious habit of dissappearing off the list.

It was a pretty good way of doing multi-subnet browsing of NetBIOS names, having a vote-off of browse-masters per-subnet and then having that subnet-browse-master feed the subnet's info back to the WINS server where the browse lists were aggregated and presented back to the subnet-masters. The only problem was it was too damn slow.

As with anything, you get yourself in a massive pickle if you start hardcoding things in lists hidden in the depths of computers. I tend to try and avoid it at all costs.

And with that paragraph, I really do wonder whether Mike's profile age of 42 is strictly true. :E

I bear the battle scars of going to many a Earls Court trade conference and batting away the sales weenies shouting "we do Novell!" at us, whilst we triumphantly replied that we didn't, we did TCP/IP.

This, in the early '90s, was met usually with blank looks.

It was also quite amusing to be in training courses where a trainer would spend some time explaining class C and B networks, and then would argue vociferously with us when we pointed out we held two class A networks at the time.

Happy days :ok:

mixture
23rd Nov 2013, 03:20
Earls Court trade conference

Not much time left to go pay your last respects ..... they're turning that lot into yet another one of those hideous new-builds. :cool: