Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Browsing a network
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Herodot
Guru
Guru


Joined: 29 Jul 2002
Posts: 429
Location: Professor Xavier's school for gifted youngsters

PostPosted: Wed Apr 16, 2003 8:43 pm    Post subject: Browsing a network Reply with quote

Hi,

I run KDE 3.1.1, and I'd like to be able to browse my LAN. I'll start by admitting that I don't understand precisely how this is supposed to work, as that is usually the best way of learning.

I'll assume that there are only Windows machines on the LAN, apart from my own Gentoo box. These machines (about 20 or so) are connected to switches, not hubs, so most other machines are 3 switches away from me.

Using Lisa with Konqueror has proven useless. On a good day I can see machines on my own switch, not any further. The configuration and documentation of Lisa leaves much to be desired, and sometimes it just doesn't work. When I put "lan:/" in Konqueror, it goes to "lan://localhost/" - I don't get it.

LinNeighborhood doesn't work for me. This may be because I don't understand what role, if any, Samba plays in all this. Maybe somebody can convince me that Samba is necessary (though it isn't mentioned with Lisa), but even when I have Samba running, LinNeighborhood is empty.

There's also the Workgroup. My Samba server is set for a certain Workgroup, but there are several on the LAN, I think. I want to browse them all.

In the KDE controlpanel there are settings for "the Samba client". I don't get it... A server I can start and stop, that's relatively easy, but a client?

Why can't everybody just run Linux?
_________________
Excelsior!
Back to top
View user's profile Send private message
wdconinc
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2003
Posts: 80
Location: Ann Arbor, Michigan

PostPosted: Wed Apr 16, 2003 9:34 pm    Post subject: Lisa works for me Reply with quote

Hi,

No problems here with Lisa. And the networks I connect with are several km's away (a switch, router, router, router, switch are between me and the remote computers). I don't think the problem is that there are switches...

Konqueror also goes to lan://localhost/ but it shows a list of all computers (IP's). If you click on one of the IP's you are redirected to lan://IP/, so that makes sense (your own pc gives a list on lan:// but the others give their services).

How to setup Lisa? I did not have any problems with that. I just used the wizard, filled in the desired range of IP's (172.16.64.0-172.16.72.254). The other suggested setting I did not touch. And it works!

greetz,
wouter
Back to top
View user's profile Send private message
Herodot
Guru
Guru


Joined: 29 Jul 2002
Posts: 429
Location: Professor Xavier's school for gifted youngsters

PostPosted: Wed Apr 16, 2003 9:43 pm    Post subject: Reply with quote

Hi,

so you're using ping'ing, right? How long does it take for the network to show up?

My /etc/lisarc looks like is:
Code:

SecondWait = -1
SearchUsingNmblookup = 0
DeliverUnnamedHosts = 0
FirstWait = 30
MaxPingsAtOnce = 256
UpdatePeriod = 300
PingAddresses = 192.168.1.250/255.255.255.0;
AllowedAddresses = 192.168.1.250/255.255.255.0;
BroadcastNetwork = 192.168.1.250/255.255.255.0;
PingNames =


- and I'm not getttin' any!
_________________
Excelsior!
Back to top
View user's profile Send private message
wdconinc
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2003
Posts: 80
Location: Ann Arbor, Michigan

PostPosted: Wed Apr 16, 2003 9:53 pm    Post subject: Reply with quote

Hello,

I am using nmblookups and pinging. But as far as I remember, it works too with both seperatly.

You are right that it takes some time before all hosts show up, two seconds, but that's not so bad.

Here's my /etc/lisarc:
Code:
SecondWait = 50
SearchUsingNmblookup = 1
DeliverUnnamedHosts = 1
FirstWait = 30
MaxPingsAtOnce = 256
UpdatePeriod = 300
PingAddresses = 172.16.64.0-172.16.72.254;
AllowedAddresses = 172.16.0.0/255.255.0.0;
BroadcastNetwork = 172.16.0.0/255.255.0.0;
PingNames =


greetz
wouter
Back to top
View user's profile Send private message
wdconinc
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2003
Posts: 80
Location: Ann Arbor, Michigan

PostPosted: Wed Apr 16, 2003 9:55 pm    Post subject: Reply with quote

I don't want to ask stupid questions, but you have IP 192.168.1.250, haven't you?

Just to be sure, you know...
Back to top
View user's profile Send private message
Herodot
Guru
Guru


Joined: 29 Jul 2002
Posts: 429
Location: Professor Xavier's school for gifted youngsters

PostPosted: Wed Apr 16, 2003 10:07 pm    Post subject: Reply with quote

No, that's not a stupid question. Yes, that's my number.

I'll try fiddling some more...
_________________
Excelsior!
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Wed Apr 16, 2003 11:55 pm    Post subject: Reply with quote

not sure if this will halp or not, but if you have samba installed, I've had no problems with smb://

I don't know if that's different that lan:// but it's worth a shot yes?
Back to top
View user's profile Send private message
Herodot
Guru
Guru


Joined: 29 Jul 2002
Posts: 429
Location: Professor Xavier's school for gifted youngsters

PostPosted: Thu Apr 17, 2003 2:24 am    Post subject: Reply with quote

Yes, I think I've used smb:/ before. But that doesn't give me browsing, does it? I'll have to know the name of the machine I want to connect to, right?

Anyway, smb:/ gives me an
Code:
Internal Error
Please send a full bug report at http://bugs.kde.org
Unknown error condition
so that's no good right now.

Thanks for your suggestion.
_________________
Excelsior!
Back to top
View user's profile Send private message
Gekko
l33t
l33t


Joined: 29 Oct 2002
Posts: 773

PostPosted: Thu Apr 17, 2003 1:19 pm    Post subject: Reply with quote

enabled smb support in kernel????
if not you cant browse with samba. or you see the other hosts but cant connect to them....

had same problem and solved it with a new kernel....

may it helps you a bit!
Back to top
View user's profile Send private message
Herodot
Guru
Guru


Joined: 29 Jul 2002
Posts: 429
Location: Professor Xavier's school for gifted youngsters

PostPosted: Thu Apr 17, 2003 3:32 pm    Post subject: Reply with quote

Yes, I have SMB:
Code:
grep -i smb /usr/src/linux/.config
CONFIG_SMB_FS=y
# CONFIG_SMB_NLS_DEFAULT is not set
CONFIG_SMB_NLS=y


I now have Lisa running - as far as I can tell - with this lisarc:
Code:
SecondWait = 50
SearchUsingNmblookup = 1
DeliverUnnamedHosts = 1
FirstWait = 30
MaxPingsAtOnce = 256
UpdatePeriod = 300
PingAddresses = 192.168.1.1-192.168.1.254;
AllowedAddresses = 192.168.1.250/255.255.255.0;
BroadcastNetwork = 192.168.1.250/255.255.255.0;
PingNames =

It seems that just maybe the control panel doesn't work 100% correct. The remaining problem now is that I only see IP numbers, not names.
_________________
Excelsior!
Back to top
View user's profile Send private message
wdconinc
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2003
Posts: 80
Location: Ann Arbor, Michigan

PostPosted: Thu Apr 17, 2003 3:42 pm    Post subject: Reply with quote

Hi,

That's a problem I also have, but I don't think it is possible with lisa. The only names I get are from hosts that have a dns name. I think that lisa can't give the smb name of an ip, or is that wrong?

greetz
wdconinc
Back to top
View user's profile Send private message
axxackall
l33t
l33t


Joined: 06 Nov 2002
Posts: 651
Location: Toronto, Ontario, 3rd Rock From Sun

PostPosted: Thu Apr 17, 2003 4:01 pm    Post subject: Reply with quote

[deleted as accedental offtopic]

Last edited by axxackall on Tue Sep 16, 2003 10:34 am; edited 1 time in total
Back to top
View user's profile Send private message
Herodot
Guru
Guru


Joined: 29 Jul 2002
Posts: 429
Location: Professor Xavier's school for gifted youngsters

PostPosted: Thu Apr 17, 2003 4:04 pm    Post subject: Reply with quote

That sure looks kewl...!
Can't wait for an ebuild! Are there any problems compiling this myself?
_________________
Excelsior!
Back to top
View user's profile Send private message
Yoshi Assim
Apprentice
Apprentice


Joined: 16 Apr 2003
Posts: 234
Location: Girona (Spain)

PostPosted: Wed Apr 30, 2003 7:27 am    Post subject: Reply with quote

wdconinc wrote:
Hi,

That's a problem I also have, but I don't think it is possible with lisa. The only names I get are from hosts that have a dns name. I think that lisa can't give the smb name of an ip, or is that wrong?

greetz
wdconinc


I think that you can update your /etc/host and your /etc/samba/lmhost with the machine names of your LAN (if you know)... Probably you have an DNS server or PDC on your LAN...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum