LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to surf the lan? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-surf-the-lan-153205/)

Valgar 03-03-2004 06:21 PM

How to surf the lan?
 
Hallo to all.
I have a problem.
I have a router with 3 pc connected.
I don't know how to surf the shared folder of the various pc.
I only know how to surf the samba partition (i mout them and they appear in the /mnt folder...)but with the other 2 (mandrake 9.1 all...)i don't know how to use the shared folder.
I share two folder with the "shared" option of konqueror,and it say that i have to configure lisa (i use the default options...)and after i must write lan:/ in conqueror but...conqueror say lan://localhost/ and nothing.....
What can i do?

lnxconvrt 03-03-2004 11:43 PM

Edit /etc/lisarc
 
Change the "127..." lines to "192.168..." or whatever an appropriate ip/subnet mask combination is.

Start the lisa daemon. In Redhat "service lisa start", but since you're running Mandrake probably /etc/init.d/lisa start would do it or there may be a gui way.

Then lan:/ in Konqueror should work.

Valgar 03-04-2004 12:33 PM

Where i have to change the line?

Valgar 03-04-2004 12:59 PM

I haven't edited the file because it say the correct settings.....

Valgar 03-04-2004 01:10 PM

Mmmm...when i try to run lisa i have an output that say:
NetManager::prepare: bind (TCP) failed, errno: 98

Valgar 03-04-2004 01:16 PM

Ok i have runned lisa but when i write lan:/ in conqueror it redirect me to "lan://localhost" and don't know what to do now -_-

Valgar 03-05-2004 12:29 PM

No one know what to do?

lnxconvrt 03-06-2004 01:45 AM

my /etc/lisarc
 
PingAddresses = 192.168.1.1/255.255.255.0;
PingNames =
AllowedAddresses = 192.168.1.1/255.255.255.0;
BroadcastNetwork = 192.168.1.1/255.255.255.0;
SearchUsingNmblookup = 1
FirstWait = 30
SecondWait = -1
UpdatePeriod = 150
DeliverUnnamedHosts = 1
MaxPingsAtOnce = 256

So, yours is something like that?

If I try to invoke lisa I also get this:

# lisa
# NetManager::prepare: bind (TCP) failed, errno: 98
...but lisa is running:
ps -ef|grep lisa
root 3080 1 0 Feb02 ? 00:00:00 /usr/bin/lisa --quiet --config=/etc/lisarc

So, maybe your lisa is already running. Make sure that you have commented out the "127..." lines, stop and restart lisa is my suggestion.

/bin/bash 03-06-2004 04:24 AM

If you change anything in /etc/lisarc do this:
service lisa restart

Valgar 03-06-2004 04:36 AM

I have the correct setting in lisarc.....but still when i digit lan:/ in konqueror it redirect me to lan://localhost......
Is there something wrong about the lan?
Under windows works only with machines of the same workgroup but under linux i haven't see an option like this.

Valgar 03-06-2004 06:43 AM

Now when i digit : lan:/ after a while a pop-up tell me that the service lisa seems not running....but lisa is running!

lnxconvrt 03-06-2004 10:28 PM

You'll get redirected to lan://localhost
 
as long as you have the 127...lines in lisarc, even if you have put in lines with the address of your lan. You must both put in the lines with the address of your lan and remove the old ones with "127...".

As for the "lisa not running" bit, are you sure that it didn't stop.

How about doing "smb://yourworkgroupname"...that is, if your workgroup is called "zoo", doing "smb://zoo" in Konqueror. What do you get if you do that with your real workgroup name? For ssh, if you have another *nix box on the lan, try "fish://linuxhostname" replacing "linuxhostname" with the name of a valid host running ssh.

Valgar 03-07-2004 03:44 AM

But in lisarc i don't have any line with 127.0.0.1...i have the correct line.
Lisa is running,i have tried to uninstall and reinstall lisa but i have the same error...that "lisa seems to not running and it have to start with root "etc etc etc....
Is i try to use smb:// etc etc i have "unable to connect with the host..."

lnxconvrt 03-07-2004 01:34 PM

maybe a broader networking issue?
 
Now that I look at it again, doing "lan:/" I do get "lan://localhost" in the location bar, but in the window below I get all hosts (Linux & Windows-- plus a couple of routers) that are on my local network. That after I configured, restarted Lisa, etc as described above.

If I do "lan://myworkgroupname/" I get a message about lisa not running, which is NOT the issue. Doing "smb://linuxhostname" to a Linux host not running smb gets an "internal error" error message. So, the error messages are not very accurate to the actual problem. I get "unable to connect to host" if I try to "fish://..." to a real host that doesn't run ssh.

It seems to me that some basic network troubleshooting needs to be done first, as we have been perhaps looking at the wrong things.

I'd say start with pinging the hosts that you want to connect to. If you can do that try "nmap host" (use a real pc name in place of "host") to see if you can see smb, etc on the host. I think that we're looking for lines like this:

PORT STATE SERVICE
135/tcp open msrpc
139/tcp open netbios-ssn
445/tcp open microsoft-ds

If you can't see that then maybe it's a setup issue with the Windows box(es). If a Linux box, you need port 22 (ssh) open or you can't "fish:/" to it.

If we have a problem with these then maybe it's a router setup issue.

Valgar 03-07-2004 02:28 PM

I have started to think that is a router problem running dhcp.....may i try to setup the router not running in dhcp but with ip number.....
I think that i have not configured well the lan.....i don't know how to change the workgroup also (i know just to change all windows settings but not the linux ones...).
If i use the mandrake control center i see only option to change the hostname,the zeroconf(don't know what it is....)name and other.....
If i try to nmap hostname i have the response that don't exist that host...
If i try to nmap ipnumber i have the response that the host seems down....
Maybe my shorewall is too restrictive???


All times are GMT -5. The time now is 12:01 PM.