LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
Search this Thread
Old 07-06-2002, 10:01 PM   #1
Nico
LQ Newbie
 
Registered: Jul 2002
Posts: 10

Rep: Reputation: 0
Unhappy Can't get linux box to see anything on the LAN


Virtually a complete linux n00b here.

I have a home lan of currently 4 machines. 3 are Winblows and one is linux. My window machines can see each other juuuuust fine, but can't see my linux box. My linux box can see anything on the lan. I have butchered so many config files on my linux box trying to set this up and i'm quite frankly more than lost. I've read just about everything I can about Samba etc, however it hasn't fixed my problem.

I can get to the internet with the linux box just fine. I connect to the internet via a cable modem, then to a basic hub which i connect all my machines to.

Like i say, my linux box can see the net just fine so i know the nic works.

I'm using Mandrake 8.2. I'll be more than happy to immediately copy/ past some files for yall to look at and help me diagnose my problem. I can get them to you immediately. Thanx VERY much for the help. I know i haven't given all the information ya need, so please fire away and i'll get ya what you do. Thanx!!


Nico
 
Old 07-06-2002, 10:13 PM   #2
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
Can you ping the M$ boxes from Linux?
Can the Linux Box ping the M$ boxes?
In both cases by ip address and hostname?
Are you using DHCP? If so which one is the DHCP server?
Can you telnet/ssh into the Linux box?

It is just a question of samba not working?
 
Old 07-06-2002, 10:17 PM   #3
Nico
LQ Newbie
 
Registered: Jul 2002
Posts: 10

Original Poster
Rep: Reputation: 0
I can ping the public IP adress of each, however I cannot ping the local adress of the linux box from any of the windows boxes.

From the linux box, I can ping the public IP adress but I honestly don't even know how to find the local adress for my windows boxes so I couldn't tell ya.

If i edit the lmhosts file for windows and place the linux box name to the public IP I can ping it, but not the local address.

I'm only using DHCP to access the internet.

and I haven't tried to telnet/ ssh into the linux box yet-- haven't set any hosts up.

Samba is *running* however I don't know if its *working*.

Basically anything local is not working with the linux box, but everything public is. i.e. network neighborhood on the windows boxes pics up all my lan boxes but linux. When I try to 'find computer' (linux box) by IP or name it says it cannot find it.

Nico

--edit: The linux box can ping itself via 127.0.0.1 and the local address I assigned to it -- 192.168.1.10


Last edited by Nico; 07-06-2002 at 10:28 PM.
 
Old 07-06-2002, 10:46 PM   #4
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
But you cann't ping 192.168.1.10 from the windows box correct? When you say public ip, do you mean visable to the
world? or just to the LAN? 192.168.1.x is not a public IP?

You windows box is your connection to the internet? Are using windows modem sharing?
 
Old 07-06-2002, 10:54 PM   #5
Nico
LQ Newbie
 
Registered: Jul 2002
Posts: 10

Original Poster
Rep: Reputation: 0
correct-- i cannot ping 192.168.1.10 from the windows box.

By public IP, i mean the IP assigned to my computer via my ISP. The visible world IP.

Nope, they all pull public IPs seperately from my ISP via DHCP. I do not use any type of internet connection sharing.

I pull up LinNeighborhood and when I search, I can see my linux box but nothing else.
 
Old 07-08-2002, 08:41 AM   #6
wylie1001
Member
 
Registered: Jul 2002
Location: USA
Distribution: Slackware 10.2
Posts: 53

Rep: Reputation: 15
Try to look in your etc directory for a file called inetd.conf this file blocks alot of things to get at your box like ftp telnet etc. There are alot of files in there that do alot of blocking, also add your hosts the <MS> machines in your hosts.allow file. Good Luck
Rick
 
Old 07-10-2002, 04:16 AM   #7
Griffon26
Member
 
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182

Rep: Reputation: 30
Quote:
Originally posted by Nico
Nope, they all pull public IPs seperately from my ISP via DHCP. I do not use any type of internet connection sharing.
What is your network setup then? I thought you had one machine with 2 NICs connected to the internet and to your LAN and all windows machines only had local adresses.
Please explain how everything is connected.
 
Old 07-10-2002, 04:35 AM   #8
lynch
Member
 
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388

Rep: Reputation: 30
To find your IP on windows:
for NT/2K/XP call up the CLI and type:
ipconfig /all
for Win9X go to Run and type:
winipcfg
lynch
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a Linux box as a residential gateway on my LAN LordFett Linux - Newbie 9 12-21-2005 05:20 PM
Accessing my linux box by name on the LAN (from Windows) malbery Linux - Networking 2 12-07-2004 05:42 AM
can't connect to linux box on lan, or ping localhost banschu Linux - Networking 2 09-01-2004 10:16 PM
Connecting Linux box to Internet through Windowx XP box over LAN pcd007 Linux - Networking 1 03-14-2004 09:02 AM
How do I Telnet (via the web) to a linux box on a Lan.. Simon W Linux - Networking 6 04-15-2002 09:29 PM


All times are GMT -5. The time now is 09:02 AM.

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