Cannot connect to Win7 machine

I have created a small network using Win7 (not a home network, it’s a workplace network), but cannot see the Win7 machine from my Linux box (openSUSE 11.3 32 bit). I am getting the error message “Empfangen der Speicherliste vom Server ist gescheitert” (“couldn’t receive storage list from server” or so), wenn I try to connect via "Locations -> Server -> Windows Network -> 172.168.178.2 (which is the Win7 machines local IP address).

Disabling the firewall doesn’t help.

My setup is a DSL router to which all my computers are connected.

Despite searching the inet for hours I couldn’t find a solution.

Another problem is that from the Win7 machine I can only access the public folders on the Linux machine using the root login (not the user I used to make the folders public).

Please help.

Hi,

Did you installed samba? I think you need it to access windows on a network. Don’t know how it works though…

There is a forum threads here for the 11.2 that should work under the 11.3 too : openSUSE 11.2 With Samba Illustrated Guide

Of course I did.

Btw, the folder I want (and can) access from Win7 is a user share.

  1. Are you able to ping yor address?
  2. Did you try to mount shared folders with mount?

On Thu November 4 2010 04:36 pm, karx11erx wrote:

>
> Btw, the folder I want (and can) access from Win7 is a user share.
>
>
karx11erx;

I suggest you look at these two HowTos:
http://opensuse.swerdna.org/suselanprimer.html
and
http://opensuse.swerdna.org/susesambawin7.html

If you are still having problems after going over these two articles please
post the contents of /etc/samba/smb.conf. You may use substitute values for
any sensitive information such as public IPs etc.

Just a quick check list to keep in mind:

  1. Make sure smb and nmb start at boot
  2. The firewall has the Samba Server and Netbios server as allowed services
  3. The Workgroup name in your smb.conf matches the workgroup name on your
    Windows machines.
  4. You have created Samba users with smbpasswd

All of these are covered in detail by swerdna. It might help to model
your /etc/samba/smb.conf on the example given in the primer.

There are a few other Howtos on Swerdna’s site that you might want to read as
well but the above two should get you going.
http://opensuse.swerdna.org/

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

So I re-installed openSUSE 11.3 yesterday (had tried Ubuntu inbetween) and setup Samba following the guides linked to above. Now I neither see my Linux machine from my Win7 machine, nor vice versa at all. I also cannot see the printer hooked to the Linux machine on Win7 despite having made a printer share (so I believed).

I can see a Windows Network in Nautilus, but when I double click on it I get the error message “Einhängen des Ortes nicht möglich. Empfangen der Speicherliste vom Server gescheitert”.

God, how I hate this goddam ****. It is always a PITA to setup something new in Linux if you aren’t an expert. The waste of time involved everytime I have to do something like this could make me scream.

Not so sure. Speaking from the Linux client, if your Win 7 server is configured properly for sharing, you should be able to connect to it from a Linux live CD. I haven’t tried with an openSUSE live CD (because I didn’t have any) but with a Fedora live CD, it works. And I would assume that the samba client is also installed on the openSUSE live CD. So what do you have to do on the Linux side if it just works from a live CD? Nothing. It works out of the box. What do you have to do on the Windows side? That is the question.

As I did that to help someone in the french forum (why would I try to connect to a Windows server otherwise?) I also made some screenshots, available here: Newbies qui galere grave avec samba.

Well, all I can say is that I could at least access the Linux machine from Win7 before I had reinstalled Linux and setup Samba as explained on Swerdna. Now I am not saying the guides are wrong or bad or so, but I am stuck and I have no idea why. I also cannot share my Linux printer.

On Thu, 02 Dec 2010 17:06:03 +0530, please try again
<please_try_again@no-mx.forums.opensuse.org> wrote:

> What do you have to do on the
> Windows side? That is the question.

when my kids were still living here they switched from XP to win 7, and i
found it a big hassle to get openSUSE (any non-MS system probably)
connected. in XP the process was pretty straightforward, but in win 7 i
had to get into MS security profiles, create a new user, and set various
permissions in it’s firewall and elsewhere. win 7 detects and connects to
other MS machines easily, but seems to purposely make life difficult for
others.


phani.

Well, part of the question certainly is “Why did I see all computers in my network on my Win7 machine one week ago, but don’t see any today w/o having knowingly changed anything?”

Btw, I can ping my Win7 machine from my Linux machine.

Win7 can ping Linux too, but doesn’t display the Linux machine in the network overview.

So your router is the boss (?)

You need to run smbpasswd as root to assign a password to you user, then connect from Windows with this username and this password (which doesn’t have to be the same as your login password).

Just booted from Ubuntu live CD :

  • system → network → Windows Network …
  • Double clicked on the icon with the name of my workgroup …
  • Got several Linux and Unix samba servers as well as one Win7 server listed …
  • Double clicked on its icon, typed username, domain and password as required
  • connected and browsed in the Windows shares …

What did I have to configure on the Linux client side?
Try to do the same and it should work. If it does not, the access rights on your Win7 server are wrong. (But don’t ask me why!)

please_try_again,

thanks for your help, but it is based on outdated info.

The current state is:

Win7 machine doesn’t see Linux computer at all anymore.
Linux machine cannot connect to Win7 machine (some error about a memory list that couldn’t be retrieved from the server).

I tried to solve the latter problem by changing the resolve order in smb.conf and adding the Win7 machine to hosts. I also made sure the DNS server doesn’t redirect invalid address requests (it doesn’t). Didn’t help though.

I am having another Linux system in my network (Kathrein PVR) which doesn’t show up on my Win7 machine any more, too, while it did a week ago, and I have no idea why. This worked a week ago and I didn’t (knowingly) change any network settings on my Win7 machine.

Btw, if I do “system → network → HOMENETWORK → …” I only see my Linux machine being listed there - not the Windows machine. Somehow it hasn’t entered itself in the same WORKGROUP (names are identical though). Why could that be?

The fact that you can connect to a Windows server with any Linux live CD without further configuration is not outdated. It just means that if it doesn’t work for you, there is either a problem with your network (since your network admin is your router, it’s difficult to figure out what it might have changed) or with your Windows server (since it is Windows, you never know what it does in your back).

Also you can do the test the other way: boot your Windows computer with a Linux Live CD and see if you can connect to your Linux samba server from a Linux live samba client. If you cannot, it means that the samba server is refusing access to that computer (whether it runs Windows or Linux), so it would be a server or a network issue. If you can connect, it’s more likely a Windows problem.

Ok, I am giving up on this, because I am running out of patience and time to try and fix this.

When trying to boot my (pretty good) Win7 machine with Ubuntu, Ubuntu crashed (as usual) after minutes and minutes of loading. That’s why I don’t use Ubuntu.

State is now: Win7, WinXP, Linux

Win7 sees WinXP (so they’re probably at least in the same workgroup)
WinXP does not see Win7 (WTF?)
Win7 does not see Linux (anymore, did so a week ago. WTF?)
Linux doesn’t see Win7 (oh well)
WinXP doesn’t see Linux
Linux doesn’t see WinXP

I don’t have the means or the knowledge to fix this. Not even after having browsed the internet and fiddled with configurations for hours and hours.

I hadn’t thought setting up a simple small home network with a printer share could get so totally fkd up.

I am not gonna say anything about the Linux devs because they are doing their work for free, but a particularly big thank you to the retards from Microsoft who cannot even make networking between two of their OS’s simple.

On 12/02/2010 09:36 AM, karx11erx wrote:
>
> Ok, I am giving up on this, because I am running out of patience and
> time to try and fix this.
>
> When trying to boot my (pretty good) Win7 machine with Ubuntu, Ubuntu
> crashed (as usual) after minutes and minutes of loading. That’s why I
> don’t use Ubuntu.
>
> State is now: Win7, WinXP, Linux
>
> Win7 sees WinXP (so they’re probably at least in the same workgroup)
> WinXP does not see Win7 (WTF?)
> Win7 does not see Linux (anymore, did so a week ago. WTF?)
> Linux doesn’t see Win7 (oh well)
> WinXP doesn’t see Linux
> Linux doesn’t see WinXP
>
> I don’t have the means or the knowledge to fix this. Not even after
> having browsed the internet and fiddled with configurations for hours
> and hours.
>
> I hadn’t thought setting up a simple small home network with a printer
> share could get so totally fkd up.
>
> I am not gonna say anything about the Linux devs because they are doing
> their work for free, but a particularly big thank you to the retards
> from Microsoft who cannot even make networking between two of their OS’s
> simple.

Doing anything with Windows networking is a crapshoot. You never know what you
might get. My solution has been to make certain that all shared resources are
hosted on Linux. That seems to help.

Watch the case on the workgroup names. Linux is sensitive everywhere.

karx11erx wrote:
> a particularly big thank you to the retards from Microsoft who
> cannot even make networking between two of their OS’s simple.

they have zero motivation to make it simple to network anything they
are making now to the one they have been trying to kill off for years
(XP)…

don’t you see? they WANT you to buy another Win7 license and let that
XP die!! (and if that means you have to buy a new machine, then THAT
is good for their buddy Intel, etc etc etc…

money in their pocket is all they care about…sure, they call it
innovation, or wanting you to move to a ‘safer’ system or or or…but,
it is all driven by the bottom line…they will eventually force you
to dump XP, wait and see…

and, they know you will give up, give in and pay up again and again…


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

On Thu December 2 2010 06:36 am, karx11erx wrote:

>
> Win7 can ping Linux too, but doesn’t display the Linux machine in the
> network overview.
>
>
karx11erx;
Check these items:

  1. Verify that both smbd and nmbd are running:

ps -A | grep mb

This should return atleast one instance of nmbd and smbd. If it does not go
to Yast–>system–>system services( run level) and enable them to start at
boot.
2. Verify that that the samba server and netbios server are allowed through
the firewall. Yast–>Security and Users–>Firewall–>Allowed Services. If
not enabled, do so.
3. Verify that the Workgroup setting on both machines is identical. The
default for Samba is WORKGROUP which may not be what you want.
4. Check the setup on Win7 against this Howto:
http://opensuse.swerdna.org/susesambawin7.html
5. Verify that you have created Samba users with:


smbpasswd -a <username>

If none of this helps, please post the contents of /etc/samba/smb.conf. You
may conceal any sensitive information, such as public IPs with substitute
values.


P. V.
“We’re all in this together, I’m pulling for you.” Red Green