Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-10-2007, 06:52 AM
|
#1
|
|
LQ Newbie
Registered: Oct 2007
Posts: 12
Rep:
|
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.........?
|
|
|
|
10-10-2007, 07:10 AM
|
#2
|
|
Member
Registered: May 2005
Location: Sussex, England
Distribution: Ubuntu 7.10
Posts: 131
Rep:
|
Are you using a DNS server
What do you mean they cant see it are you pinging the devices and they are not resolving??
|
|
|
|
10-10-2007, 07:13 AM
|
#3
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
|
10-10-2007, 07:26 AM
|
#4
|
|
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990
Rep:
|
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
|
|
|
|
10-10-2007, 07:52 AM
|
#5
|
|
LQ Newbie
Registered: Oct 2007
Posts: 12
Original Poster
Rep:
|
Quote:
Originally Posted by cornish
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.
|
|
|
|
10-10-2007, 07:54 AM
|
#6
|
|
LQ Newbie
Registered: Oct 2007
Posts: 12
Original Poster
Rep:
|
Quote:
Originally Posted by jschiwal
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!
|
|
|
|
10-10-2007, 07:56 AM
|
#7
|
|
Member
Registered: May 2005
Location: Sussex, England
Distribution: Ubuntu 7.10
Posts: 131
Rep:
|
then you would need to add other hosts to your host file
pcname ipaddress and vice versa on the windows PC
|
|
|
|
10-10-2007, 07:58 AM
|
#8
|
|
LQ Newbie
Registered: Oct 2007
Posts: 12
Original Poster
Rep:
|
Quote:
Originally Posted by rjlee
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.
|
|
|
|
10-10-2007, 08:06 AM
|
#9
|
|
Member
Registered: May 2005
Location: Sussex, England
Distribution: Ubuntu 7.10
Posts: 131
Rep:
|
what distro are you using
|
|
|
|
10-10-2007, 08:23 AM
|
#10
|
|
LQ Newbie
Registered: Oct 2007
Posts: 12
Original Poster
Rep:
|
Quote:
Originally Posted by cornish
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'?
|
|
|
|
10-20-2007, 12:13 PM
|
#11
|
|
Member
Registered: Oct 2005
Distribution: Slackware
Posts: 228
Rep:
|
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:
ls -l /usr/sbin/smbd
Find out the IP of your linux computer, by running the command (as root):
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:06 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|