LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-19-2002, 01:24 PM   #1
AtomicToad
LQ Newbie
 
Registered: Nov 2002
Location: New York, NY
Distribution: Mandrake 9.0
Posts: 5

Rep: Reputation: 0
Can't see other machines


I'm trying to set up my mandrake machine to be on my local network. Somehow I can get the Internet to work (I'm here), but I can't see any of the other machines on my network even though all IP address are 192.168.1.xxx -- how is this possible? I'm going through the same router as everyone else! Am I in some kind of stealth mode or something? I can't ping by hostname or IP address, but I am going through the router. Furthermore, I can't ping the router! But I AM going through it in order to connect to the Internet. The light lights up on the router and my machine, the Internet works, but I can't ping anything. Can anyone clue me in on what's going wrong? Thanks!
 
Old 11-19-2002, 02:17 PM   #2
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
What is your subnet mask? What is the output of "ifconfig -a"?

-K.
 
Old 11-19-2002, 02:34 PM   #3
AtomicToad
LQ Newbie
 
Registered: Nov 2002
Location: New York, NY
Distribution: Mandrake 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
My subnet mask is 255.255.255.0, same as on the windows machines in the network. ifconfig -a sends out:

eth0 Link encap:Ethernet HWaddr 00:06:5B:8E4:2C
inet addr:192.168.1.45 Bcast:192.168.1.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7333 errors:0 dropped:0 overruns:0 frame:0
TX packets:3434 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1934708 (1.8 Mb) TX bytes:411764 (402.1 Kb)
Interrupt:17 Base address:0xcce0 Memory:feb60000-0

eth1 Link encap:Ethernet HWaddr 00:06:5B:8E4:2D
inet addr:192.168.1.46 Bcast:192.168.1.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0xccc0 Memory:feb20000-0

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1696 errors:0 dropped:0 overruns:0 frame:0
TX packets:1696 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:116136 (113.4 Kb) TX bytes:116136 (113.4 Kb)

From other machines I can't ping 192.168.1.45 or 192.168.1.46. I can't ping other machines from my linux box, either. Thanks for posting your reply!
 
Old 11-19-2002, 02:40 PM   #4
AtomicToad
LQ Newbie
 
Registered: Nov 2002
Location: New York, NY
Distribution: Mandrake 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
Oh, and here is my routing information:

Destination Gateway Genmask FlagsMetric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
 
Old 11-19-2002, 03:14 PM   #5
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Do you have a firewall running on your Linux box?

-K.
 
Old 11-19-2002, 03:22 PM   #6
AtomicToad
LQ Newbie
 
Registered: Nov 2002
Location: New York, NY
Distribution: Mandrake 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
I don't think so. I checked in the Mandrake control center, and there was nothing firewall related under "network." Also, when I installed the OS I didn't install the firewall. When I do ps -A I don't see anything that looks like a firewall -- what would it be called if it were running? But I don't think I have a firewall up.
 
Old 11-19-2002, 03:30 PM   #7
AtomicToad
LQ Newbie
 
Registered: Nov 2002
Location: New York, NY
Distribution: Mandrake 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
Ah! I think I fixed it! I ran lisa config from the control panel and set up the machine to accept addresses from the local network (range 192.168.1.1-192.168.1.255). Then I tried pinging other stations, but noticed that it was pinging from 46 when I set up lisa from 45. I configured eth1n(46) down, since I don't need it anyway. Now I can ping machines on the network! It still isn't resolving host names, though. Maybe I have to set something else up? Also, I can't log into the machine from the windows machines, even though the other machines are in the IP range I specified and login/password matches what I configured on the linux box as a user. Maybe I should ask a separate question for this. Maybe samba needs to be configured. Although I CAN SSH to the machine now, so I'm very happy! But I still can't browse over the network, even when my login/password is correct. It must be a samba thing, right?
 
Old 11-19-2002, 08:00 PM   #8
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Okay... lets address one thing at a time. You now think you have network access corrected, right?

But you still can't resolve host names?

Do you have the proper nameserver entries in /etc/resolv.conf ?
 
  


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
rely between machines bijuhpd Linux - Newbie 3 12-01-2005 01:56 AM
old machines joe6pack Linux - General 2 03-18-2005 07:56 AM
Scan machines markham82 Linux - Networking 1 12-01-2004 06:44 AM
can't see other machines but they can see each other Silly22 Linux - Networking 1 11-20-2002 03:28 AM
Virtual Machines ZoZo Linux - General 2 09-23-2002 12:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration