Author Topic: LAN detection *almost* completely dead  (Read 1475 times)

Offline paul1149

  • Full Member
  • ***
  • Posts: 51
Re: LAN detection *almost* completely dead
« Reply #30 on: July 19, 2012, 01:05:26 PM »
Everyone likes a happy ending, right?

I tried the reboot thing, and still I got the ...51 IP address for the Win7 box. After some fooling around, I realized I needed to check the Win7 TCP stack, and sure enough, at some point I had specced a static IP for it. That never was a problem before, and shouldn't have been now, but more recently I had changed the DHCP range in the router, inadvertently to overlap the Win7 fixed address. So the router was assigning one address, and the Win7 box insisted, rightly, on using its own. Mea culpa.

So I removed the Win7 fixed IP and rebooted it, and suddenly it's Springtime. Not only can I see Win7, but I am correctly queried for the access password to enter in.

From the Win7 side, I can see the PCL box and enter in.

Awesome, take a breather, and take a bow. Thank you for your help, especially you, muungwana. You are both knowledgeable and patient.

Now for the remaining two problems.

1) Win 7 still is not querying for a password before completely opening the PCL share. I checked the share in PCC / Network Sharing / Shares drives... and set it to public: no, and rebooted samba. Win7 still entered right in. I then checked from the XP machine, and got the password query. So there is a weak link in my samba settings that Win7 is exploiting.

2) Secondly, from PCL, when I try to delete a file from the Win7 share, I get an access denied regarding the "Trash" folder. I'm signed into the share using an account common to both machines, which is an administrative account on the Win7 box. I should have rights to delete. I don't know if that "Trash" error pertains to PCL or Win7 - in Win7 it should be called Recycle Bin.

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6267
Re: LAN detection *almost* completely dead
« Reply #31 on: July 19, 2012, 01:55:46 PM »
1) Win 7 still is not querying for a password before completely opening the PCL share. I checked the share in PCC / Network Sharing / Shares drives... and set it to public: no, and rebooted samba. Win7 still entered right in. I then checked from the XP machine, and got the password query. So there is a weak link in my samba settings that Win7 is exploiting.

2) Secondly, from PCL, when I try to delete a file from the Win7 share, I get an access denied regarding the "Trash" folder. I'm signed into the share using an account common to both machines, which is an administrative account on the Win7 box. I should have rights to delete. I don't know if that "Trash" error pertains to PCL or Win7 - in Win7 it should be called Recycle Bin.

If i got the above right, you have the same account name and password on both win7 and pclinuxos.That could explain why you can enter pclinuxos without a prompt, your win7 auto submits the user name and password you used when you logged in to the the account in win7

Can you delete other files/folders?

Trash is a kio slave and it could be behaving differently.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline paul1149

  • Full Member
  • ***
  • Posts: 51
Re: LAN detection *almost* completely dead
« Reply #32 on: July 19, 2012, 05:02:57 PM »
Ok, the deletion problem was a matter of opening up windows' security and sharing permissions for "everyone" on its share. So that's as resolved as it gets under a workgroup regimen using Win7 home premium.

Yes, duplicate accounts on the two machines (except for user name capitalization, which apparently doesn't matter), but I'm not sure about the automatic login, which goes against my experience. To test it, I removed my name from permissions on the share folder in PCL, and made up another samba account, that doesn't exist on the win7 box, and put it there under admin. Win7, still under the Paul account, still flew right in. I'm not sure if that's conclusive.

One last issue. At PCC / network sharing / access windows smb drives..., the win7 box is not seen, while xp is. This makes no sense to me, since the PCL machine does see and can manipulate the win7 share in dolphin.

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6267
Re: LAN detection *almost* completely dead
« Reply #33 on: July 19, 2012, 05:15:08 PM »

create a new account on win7 with a user name that is not in pclinuxos, log in to that account and try to access a share on pclinuxos and see if you wont get a prompt.

just to be safe, restart win7 before you attempt to access the share to make sure you arent reusing existing connection.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline paul1149

  • Full Member
  • ***
  • Posts: 51
Re: LAN detection *almost* completely dead
« Reply #34 on: July 20, 2012, 03:03:39 PM »
Yes, you were right. Access from a windows box using the same user log in is immediate, with no log in query. I'm surprised that the network and user logins are so tightly correlated. And when I use the same Win7 machine from a different user account, I get the log in query. Tested on two Win7 machines. I don't have another linux box to test from.

That leaves only the PCC / access windows smb share anomaly, but that's not critical.

Thanks again, O man of great patience :)
Paul

For everyone who asks receives, and the one who seeks finds, and to the one who knocks it will be opened. -Mt 7:8