SuSE 11.2 Samba server

Okay I set up a Samba server on my openSuSE 11.2 machine and I can connect to it locally with the local ip and with my actuall ip. My friend however cannot. I tried to have him ping my ip and that wouldn’t even work. I’m confused and wondering why it doesn’t work. any help on this would be greatly appriciated We share a lot of files and this would make both of our lives much easier.

Hello fallenseriphan and welcome to the openSUSE forums!:slight_smile: I have a thread you can read at the following link that might help. Read both messages as I had to add an extra comment about the openSUSE firewall.

Samba SMB file sharing in openSUSE 11.2 - openSUSE Forums

Read through it and let us know if you need any other help.

Thank You,

Well I read through it and I didn’t see anything about connecting to the server from over an internet connection. I can connect to it locally and all the files are there on my windows pc using “net use z: \192.168.1.103\data” (local ip) it also works when I use “net use z: \my_actual_ip\data” but then my fried like 1500 miles away can’t connect using my_actual_ip nor can he ping my_actual_ip. I googled the ports for samba and am pretty sure I have them forwarded correctly. And proof of that should be with the fact that my_actual_ip connects me to the server.

firewall is currently off

On Thu April 15 2010 09:56 pm, fallenseriphan wrote:

>
> Well I read through it and I didn’t see anything about connecting to the
> server from over an internet connection. I can connect to it locally and
> all the files are there on my windows pc using “net use z:
> \192.168.1.103\data” (local ip) it also works when I use “net use z:
> \my_actual_ip\data” but then my fried like 1500 miles away can’t
> connect using my_actual_ip nor can he ping my_actual_ip. I googled the
> ports for samba and am pretty sure I have them forwarded correctly. And
> proof of that should be with the fact that my_actual_ip connects me to
> the server.
>
> firewall is currently off
>
>
fallenseriphan;

Can your friend ping your IP?

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

On Thu April 15 2010 10:07 pm, PV wrote:

> On Thu April 15 2010 09:56 pm, fallenseriphan wrote:
>
>>
>> Well I read through it and I didn’t see anything about connecting to the
>> server from over an internet connection. I can connect to it locally and
>> all the files are there on my windows pc using “net use z:
>> \192.168.1.103\data” (local ip) it also works when I use “net use z:
>> \my_actual_ip\data” but then my fried like 1500 miles away can’t
>> connect using my_actual_ip nor can he ping my_actual_ip. I googled the
>> ports for samba and am pretty sure I have them forwarded correctly. And
>> proof of that should be with the fact that my_actual_ip connects me to
>> the server.
>>
>> firewall is currently off
>>
>>
> fallenseriphan;
>
> Can your friend ping your IP?
Just to save time and if the answer to the above is yes. Have you created a
Samba user and password for your friend.


su
smbpasswd -a <username>

The <username> must be the name of a valid Linux user on your machine. By
default Windows sends the username/password of the Windows user so things are
a bit smoother if these agree. If they do not agree he/she should see an
authorization box to gain access.

Is your friends workgroup name the same as yours?

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

He cannot Ping my_actual_ip. That’s what I don’t understand. When net use z: \my_actual_ip\data it then asks for the username/passwoord. it’s timing out before even that step. but like i said he can’t ping my ip. I don’t know what to do to get it to work.

On Fri April 16 2010 12:16 am, fallenseriphan wrote:

>
> He cannot Ping my_actual_ip. That’s what I don’t understand. When net
> use z: \my_actual_ip\data it then asks for the username/passwoord. it’s
> timing out before even that step. but like i said he can’t ping my ip. I
> don’t know what to do to get it to work.
>
fallenseriphan;

This could be a firewall on his computer, his ISP or your ISP. Most Windows
firewalls block almost all the ports, both incoming and outgoing. Some ISPs
will only pass certain ports through (unless you pay for access).

Have you tried to connect to your machine from outside your router? When you
are inside your router, even if you use your global IP, the router will just
loop back.


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

well I haven’t personally but I just had someone who lives about 10mins away who has the same ISP try to ping my global and it timed out as well. This is a troubleing matter :confused: I have used remote desktop from outside my router I understand that’s a different port. what I don’t understand is why block those prots. I have Time Warner Road Runner cable if that helps.

On Fri April 16 2010 12:56 am, fallenseriphan wrote:

>
> well I haven’t personally but I just had someone who lives about 10mins
> away who has the same ISP try to ping my global and it timed out as
> well. This is a troubleing matter :confused: I have used remote desktop from
> outside my router I understand that’s a different port. what I don’t
> understand is why block those prots. I have Time Warner Road Runner
> cable if that helps.
>
>
fallenseriphan;

Have you double checked the configuration of your router? Have you checked
any logs on your router? I’m not familiar with that ISP, but often at the
consumer level, IPs are dynamicly assigned by dhcp. Your IP could have
changed since the last time you checked. Time Warner could block most
incoming ports for the dynamicly assigned IPs. You may need to check with
Time Warner.

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

I’ll check with them. and the globel ip and local ips are both still the same. Would moving the server from being port forwarded to putting it in the DMZ change anything?

ya I figured it out… gonna have to do some binary algebra my subnet mask is 255.255.248.0 that’s what it is :wink: I’ll figure that out and it should work.