LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 10.1 network hlep (https://www.linuxquestions.org/questions/slackware-14/slackware-10-1-network-hlep-349544/)

caulfiek 08-03-2005 07:36 AM

Slackware 10.1 network hlep
 
Hi

I'm really out of my depth on the whole networking thing and could really do with some help...

I have a compaq m700 laptop running slackware10.1 linked to a belkin adsl router. Also linked I have 2 PCs. PC1 AMD64 with XP2 PC2 Ath XP1800 with XP2 and Suse9.1 installed.

PC2 Suse has no problems seeing the MSHome shared folders on PC1-AMD64. I've never had to do anything to sort this out, it was just there.

My laptop SlackWare 10.1 gets on the net no poblem, but...

When I ran Konqueror/ LAN I got a LISa deamon error (which amused my wife, Lisa, to no end).
So I put the lisa start script in my rc.local and now it starts.

I also installed the samba package and now I can see it in the Configuration Centre tool.

Konqueror still shows a blank on LAN.

I think I have to somehow configure smb.conf but I've really no clue how to do this. Or even what to do!

I've read lots of posts but they very quickly go right over my head. Is there a straight forward solution? (links, tips whatever).

thanks

Kieran

satinet 08-03-2005 07:53 AM

Hello,

I think it's important to make a distinction here between browsing MS shares and setting up samba shares. You only need to configure smb.conf if you want your MS machines to be able to view folders on the Slackware machine. you don't need to worry about this if you just want to browse from slackware to windows.

I would suggest trying smb4k which enables you to browse CIFS (windoze) shares through KDE's konqueror. I can't vouch for it, as i wouldn't poison my lovely slack box with windows ;-)

www.linuxpackages.net might have it.

glussier 08-03-2005 08:00 AM

In the konqueror address bar, enter: smb://ip address of you window machine or smb://name of your windows machine and you should see the windows shares.

Then, if you want to, you can make a symlink (shortcut) to these shares on your desktop.

piete 08-03-2005 08:05 AM

Ah, a fellow member of the UK! Welcome =)

I used KDE for a while when I started, but I never managed to LISa working to view Window's shares. These days, most of my stuff is done command line, or straight mounting.

To my knowledge, smb.conf is only required if you are running a samba server (ie: you want your Linux box to be available in the MSHome workgroup so you can see the shares from Windows). For viewing the shares (ie: using the client), you only have to use some tools.

Try some of these, they're not a fix for LISa, but it's a starting point to help you debug the stuff yourself:

* Open Konqueror and type into the address bar:

Code:

smb://<IP Address of the PC you want to connect to>/<Some known share on that PC>/
For example:

Code:

smb://192.168.0.12/music/
Will get me my music folder on my main box with the IP of 192.168.0.12. I'll use my specific IP from here on in, but, you'll have to change it to whatever IP you actually want to connect to.

Next we'll look at command line and some of the things you can use to view shares:

Code:

~#  smbclient -L //192.168.0.12/
That should give you a list of shares available on that PC. Likewise ...

Code:

~#  smbclient //192.168.0.12/music
Should give you an FTP-esque interface to browse music on that PC.

I'm afraid I'm too inexperienced with networking under Linux to have ever gotten NetBIOS name resolution ( //mywindowsbox/mysharename ) working - I wish you the best of luck!

Let me know if you have more specific queries!
- Piete.

gbonvehi 08-03-2005 12:11 PM

I think it's needed to configure at least the workgroup on smb.conf. You won't loose anything trying it.
Just copy /etc/samba/smb.conf-sample to /etc/samba/smb.conf
Open it with a editor and edit the line that says, workgroup =

caulfiek 08-03-2005 04:04 PM

Hey guys

the smb trick with konqueror did the job nicely.
however I did realise that I had an additional firewall (nvidia) on that was blocking me.
I turned this off as I dont really need it (I've got the router firewall also on) and voila!
Now I can get all my favourite mp3 downloaded from my main PC, just in time for my holidays!

So thats what samba does, hmmm.

Anyone going to the Linux Expo in London, I might pop along to see what all the fuss is about (+ freebies!!)

Kieran

Nylex 08-04-2005 02:06 AM

You can configure Samba somewhat easily by using SWAT. Point your browser to http://localhost:901 (assuming you've got SWAT installed).

Damn it, it might have been fun to go to the Linux Expo, but it's in October, so I won't be in London cos of uni :(.


All times are GMT -5. The time now is 03:04 AM.