LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , , , ,

Reply
 
Thread Tools
Old 10-10-2007, 07:52 AM   #1
ian Stockdale
LQ Newbie
 
Registered: Oct 2007
Posts: 12
Thanked: 0
Easy networking?


[Log in to get rid of this advertisement]
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.........?
ian Stockdale is offline  
Tag This Post , , ,
Reply With Quote
Old 10-10-2007, 08:10 AM   #2
cornish
Member
 
Registered: May 2005
Location: Sussex, England
Distribution: Ubuntu 7.10
Posts: 129
Thanked: 0
Are you using a DNS server
What do you mean they cant see it are you pinging the devices and they are not resolving??
cornish is offline     Reply With Quote
Old 10-10-2007, 08:13 AM   #3
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 12,877
Thanked: 232
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.
jschiwal is offline     Reply With Quote
Old 10-10-2007, 08:26 AM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,969
Thanked: 19
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
rjlee is offline  
Tag This Post , , ,
Reply With Quote
Old 10-10-2007, 08:52 AM   #5
ian Stockdale
LQ Newbie
 
Registered: Oct 2007
Posts: 12
Thanked: 0

Original Poster
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.
ian Stockdale is offline     Reply With Quote
Old 10-10-2007, 08:54 AM   #6
ian Stockdale
LQ Newbie
 
Registered: Oct 2007
Posts: 12
Thanked: 0

Original Poster
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!
ian Stockdale is offline     Reply With Quote
Old 10-10-2007, 08:56 AM   #7
cornish
Member
 
Registered: May 2005
Location: Sussex, England
Distribution: Ubuntu 7.10
Posts: 129
Thanked: 0
then you would need to add other hosts to your host file

pcname ipaddress and vice versa on the windows PC
cornish is offline     Reply With Quote
Old 10-10-2007, 08:58 AM   #8
ian Stockdale
LQ Newbie
 
Registered: Oct 2007
Posts: 12
Thanked: 0

Original Poster
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.
ian Stockdale is offline     Reply With Quote
Old 10-10-2007, 09:06 AM   #9
cornish
Member
 
Registered: May 2005
Location: Sussex, England
Distribution: Ubuntu 7.10
Posts: 129
Thanked: 0
what distro are you using
cornish is offline     Reply With Quote
Old 10-10-2007, 09:23 AM   #10
ian Stockdale
LQ Newbie
 
Registered: Oct 2007
Posts: 12
Thanked: 0

Original Poster
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'?
ian Stockdale is offline     Reply With Quote
Old 10-20-2007, 01:13 PM   #11
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 222
Thanked: 0
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 01:14 PM..
WindowBreaker is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy-use, easy-install, fast, minimal KDE distro? lukeprog Linux - Distributions 8 09-08-2007 05:21 PM
Easy basic networking question. Hassal Linux - Networking 5 05-18-2006 12:09 PM
easy networking projects plz share mohsin-mm Linux - Newbie 7 04-04-2006 03: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 11:46 PM
Linux4RegularGuys - EASY FTP setup using vsftpd - READ THIS FOR EASY HELP DropHit Linux - Networking 4 11-25-2004 03:44 PM


All times are GMT -5. The time now is 01:28 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration