You are not logged in.

#1 2008-01-01 19:02:06

gboyy2000
Member
Registered: 2008-01-01
Posts: 4

Unable To Browse Other Computers On LAN

Hello all,

I've tried every forum on every webpage but I am still stuck.  I use samba to network my linux box and my Win XP laptop.  I can browse the LAN on the PC with no problems, my linux box shows up just fine.  However, when I try to browse the network from my linux box I get a timeout error.  I can still connect to my PC by using its IP, but the name does not show up. (I use konqueror to connect to my PC and to browse the network i.e. smb://192.168.1.2)

Now, if I ping the PC from my Linux box using the IP it shows up fine.  The problem is when I ping using the netbios name.  My linux box tries to use the DNS address in my resolv.conf file to resolve the name, which obviously is not going to work.

By the way, it is not a firewall problem, I am 99% sure of that.

I have gone through the samba howto's and forums but every possible solution I have tried does not work.  If anyone would like to help, please let me know what other info I can provide so I can sort this out.


Many thanks!

Regards,
GB

Offline

#2 2008-01-01 19:25:52

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: Unable To Browse Other Computers On LAN

What do you have in your /etc/hosts?

R.

Offline

#3 2008-01-01 19:28:07

ProzacR
Member
Registered: 2007-04-29
Posts: 272

Re: Unable To Browse Other Computers On LAN

Hm it is quite drastical solution, but I suggest to use ftp servers instead of samba.
Just:
pacman -S pure-ftpd gftp
Then add pure-ftpd to your deamons in /etc/rc.conf and restart.
Then you can remonte login into your other users home dir with gftp by entering IP user and password.
On windows use filezilla client/server software to do the same.

Add because ftp protocol is well defined there will be no problems between Windows-Linux machines. IE and Firefox can connect to ftp perfectly too.

Offline

#4 2008-01-01 19:29:02

remote
Member
Registered: 2007-12-28
Posts: 44

Re: Unable To Browse Other Computers On LAN

I've not seen your /etc/hosts file to know.
However when we need naming over a VPN we simpling have samba do WINS and problem solved.

Offline

#5 2008-01-01 20:24:54

gboyy2000
Member
Registered: 2008-01-01
Posts: 4

Re: Unable To Browse Other Computers On LAN

Thanks for the replies. My hosts file simply has the 127.0.0.1 loopback:

127.0.0.1            localhost.localdomain                localhost

I have  a feeling that something might be missing here that would solve the issue, but no idea what it might be.

As far as WINS, I wanted to avoid it as much as possible since I've never used it before, but if nothing else works I'll give it a whirl.  And if THAT fails, I'll give the pure-ftpd a try.

Thanks again for your replies!
GB

Offline

#6 2008-01-01 20:35:34

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: Unable To Browse Other Computers On LAN

Yes, you are missing a few things.
Here is an example of my /etc/hosts.

127.0.0.1               localhost.localdomain   localhost renegade
192.168.1.2             spitfire.ittwo          spitfire
192.168.1.31            firestone.ittwo         firestone
192.168.1.20            crossfire.ittwo         crossfire

As you can see every machine in my network is identified by IP and name, so that when you want to connect to sftp://spirfire your machine knows the address is 192.168.1.2

That will/should solve  your problem.

R.

Offline

#7 2008-01-01 23:19:19

gboyy2000
Member
Registered: 2008-01-01
Posts: 4

Re: Unable To Browse Other Computers On LAN

Good deal, R. Thanks for that, that makes so much more sense.

Out of curiosity, what if I were to let a DHCP server assign IP addresses?  Would WINS be the way to go then?

GB

Offline

#8 2008-01-01 23:25:39

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: Unable To Browse Other Computers On LAN

In a small network it is easier to use this approach.
If you wish the use DHCP (again, considering a small network) you can use statically assigned address via DHCP in which case you "know" what IP will be given to each machine via DHCP.
For large networks there are other technical solutions but they are too complicated to use in a home network, unless of course, you are studying to be a network engineer wink

Offline

#9 2008-01-01 23:29:16

gboyy2000
Member
Registered: 2008-01-01
Posts: 4

Re: Unable To Browse Other Computers On LAN

Thanks again for your help R.  Everything is sorted now.

Regards,
GB

Offline

Board footer

Powered by FluxBB