LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 10-10-2007, 06:52 AM   #1
ian Stockdale
LQ Newbie
 
Registered: Oct 2007
Posts: 12

Rep: Reputation: 0
Easy networking?


Without trawling all the previous wisdom, is there an easy way to set up a network on a Linux PC. I have a 5 PC windows network, which works fine and I've added a 'newly loaded' linux machine which accesses the internet via the network fine but sees none of the other machines and they don't see it. I've installed 'smb4k' and kind of expected it to do all the work but.........?
 
Old 10-10-2007, 07:10 AM   #2
cornish
Member
 
Registered: May 2005
Location: Sussex, England
Distribution: Ubuntu 7.10
Posts: 131

Rep: Reputation: 15
Are you using a DNS server
What do you mean they cant see it are you pinging the devices and they are not resolving??
 
Old 10-10-2007, 07:13 AM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
You need to install samba. Check if you have a samba-doc package. It contains 3 books, one of them is "Samba 3 by Example". The first few sample configurations are simple and every step is covered.

One thing you probably didn't do is add a samba user with the same username and password as a windows user. Also, the easiest way to get hostname resolution working is to add the hostnames and ip addresses to your /etc/hosts file.

In konqueror you can point the file browser at "smb://<hostname>".

There are different windows networking technologies, and setups so your question is a bit open ended.
 
Old 10-10-2007, 07:26 AM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 65
I think what you are looking for here is Windows SMB networking, i.e. resolving UNC paths like //host/share/ etc.

smb4k is a share browser for KDE, which should let you browse your SMB (i.e. Windows) Network; you will find a manual at http://smb4k.berlios.de/handbook/usi...#first_startup

smb4k will not let your Windows machines see your Linux box in any way; it just lets you see the Windows network. If you want to share things from your Linux box so that your Windows machines can see it then you want to be using Samba. I'd recommend also installing swat, which will let you configure samba by going to http://localhost:9091/ on the local machine.

Hope that helps,

—Robert J Lee
 
Old 10-10-2007, 07:52 AM   #5
ian Stockdale
LQ Newbie
 
Registered: Oct 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by cornish View Post
Are you using a DNS server
What do you mean they cant see it are you pinging the devices and they are not resolving??
No, I'm not using any form of server.
 
Old 10-10-2007, 07:54 AM   #6
ian Stockdale
LQ Newbie
 
Registered: Oct 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jschiwal View Post
You need to install samba. Check if you have a samba-doc package. It contains 3 books, one of them is "Samba 3 by Example". The first few sample configurations are simple and every step is covered.

One thing you probably didn't do is add a samba user with the same username and password as a windows user. Also, the easiest way to get hostname resolution working is to add the hostnames and ip addresses to your /etc/hosts file.

In konqueror you can point the file browser at "smb://<hostname>".

There are different windows networking technologies, and setups so your question is a bit open ended.
I downloaded SAMBA and confess I couldn't work out how to install it!
 
Old 10-10-2007, 07:56 AM   #7
cornish
Member
 
Registered: May 2005
Location: Sussex, England
Distribution: Ubuntu 7.10
Posts: 131

Rep: Reputation: 15
then you would need to add other hosts to your host file

pcname ipaddress and vice versa on the windows PC
 
Old 10-10-2007, 07:58 AM   #8
ian Stockdale
LQ Newbie
 
Registered: Oct 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rjlee View Post

smb4k will not let your Windows machines see your Linux box in any way; it just lets you see the Windows network.
Places, Network shows a 'Windows network'icon but there's nothing there. Getting smb4k to scan shows nothing at all.
 
Old 10-10-2007, 08:06 AM   #9
cornish
Member
 
Registered: May 2005
Location: Sussex, England
Distribution: Ubuntu 7.10
Posts: 131

Rep: Reputation: 15
what distro are you using
 
Old 10-10-2007, 08:23 AM   #10
ian Stockdale
LQ Newbie
 
Registered: Oct 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by cornish View Post
what distro are you using
Pass on that one, I'm very new to this, lifelong Windows and DOS user although I do have the latest Ubantu disc which I think came with pretty much 'everyting'?
 
Old 10-20-2007, 12:13 PM   #11
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 31
If you want to get some answers, you're going to have to provide a little more information so I can further assist you.

In your first post, you stated it's a "newly loaded" linux system. Who did the installation, you or a friend. Do you have the disc you used for that install. If so, what's the name of the linux distribution on that disc? Slackware, Red Hat, Ubuntu, etc.

SMB/CIFS (ie: Windows) networking on linux depends on a software called samba. We need to determine if you even have samba installed. To do that, login to the computer as root, open a terminal (ie: Konsole), and run the following commands (and post their output here):
Code:
which smbd
Code:
ls -l /usr/sbin/smbd
Find out the IP of your linux computer, by running the command (as root):
Code:
ifconfig eth0
Then post what is shown for "inet addr:"

Find out the IP of a windows computer. On a windows machine, find out it's ip by going to Start, click on Run, and type in cmd and hit OK. Then in the black windows, type in ipconfig and hit ENTER. What is shown for it's ip address?

Post all those results and I'll tell you what to do next.

Last edited by WindowBreaker; 10-20-2007 at 12:14 PM.
 
  


Reply

Tags
networking, samba windows, sambaswat, smb4k, swat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy-use, easy-install, fast, minimal KDE distro? lukeprog Linux - Distributions 8 09-08-2007 04:21 PM
Easy basic networking question. Hassal Linux - Networking 5 05-18-2006 11:09 AM
easy networking projects plz share mohsin-mm Linux - Newbie 7 04-04-2006 02:01 PM
LXer: Systems Solutions Teams with Open-Xchange to Deliver Easy-to-Deploy, Easy-to-Use Collaboration Server LXer Syndicated Linux News 0 02-22-2006 10:46 PM
Linux4RegularGuys - EASY FTP setup using vsftpd - READ THIS FOR EASY HELP DropHit Linux - Networking 4 11-25-2004 02:44 PM


All times are GMT -5. The time now is 06:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration