LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-31-2003, 06:04 PM   #1
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Debian GNU/Linux 8 (jessie)
Posts: 199

Rep: Reputation: 30
Unhappy Connection works but not for me...


Hi. Just to clarify things - I'm a newbie. Been using RHL8.0 for about four months. I have it up and running on its own box. That's how I can get to the web.

Now, for current issue. I am running Mandrake 9.1 on a Gigabyte GA-8SMMLP mobo. The network adapter (integrated on-board) is a RealTek RTL-8139. I know it's working because I can ping the card at its IP address and through the loopback. Plus it connected to get the on-line updates for my distro. I know I have a configuration setting out of whack somewhere, but I don't know where. It all looks good to me.

Like I said, I'm a newbie, so I don't know what information I have that might be useful so I don't know what to post. I know the IP address is good, 'cuz it's the same one I use when I boot to Windows. All the rest of the settings (gateway, broadcast, etc.) are the same as my Windows configuration. I can't figure it out. Can anyone either help or ask for the right info to help?

 
Old 10-31-2003, 06:10 PM   #2
GJB
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 6-9 Gentoo Slackware 9.1
Posts: 26

Rep: Reputation: 15
could you post your settings because there's not much to go on.
try ifconfig for your ipadress, route -n for the route table and cat /etc/resolve.conf for your dnsservers.

GJB
 
Old 10-31-2003, 06:19 PM   #3
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Debian GNU/Linux 8 (jessie)
Posts: 199

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by GJB
could you post your settings because there's not much to go on.
try ifconfig for your ipadress, route -n for the route table and cat /etc/resolve.conf for your dnsservers.

GJB
ip address: 192.168.1.1
dnsservers: 206.156.230.1 206.156.230.2
route table:
Dest Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.4 0.0.0.0 U 0 0 0 eth0

domain tranquility.net
nameserver 127.0.0.1
nameserver 206.156.230.1

I hope I got it all

 
Old 10-31-2003, 06:41 PM   #4
GJB
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 6-9 Gentoo Slackware 9.1
Posts: 26

Rep: Reputation: 15
okay your default gateway is 192.168.1.4, can you ping that box from this box ?
if you can ping that box can you ping 1 of the dns servers ?

GJB
 
Old 10-31-2003, 06:48 PM   #5
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Debian GNU/Linux 8 (jessie)
Posts: 199

Original Poster
Rep: Reputation: 30
Nope. I can ping the IP address of eth0 and lo on that box only. I can't ping ANY other computer on my net or the internet.
 
Old 10-31-2003, 06:54 PM   #6
GJB
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 6-9 Gentoo Slackware 9.1
Posts: 26

Rep: Reputation: 15
do you have a firewall installed on the mandrake box ?
 
Old 10-31-2003, 06:58 PM   #7
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Debian GNU/Linux 8 (jessie)
Posts: 199

Original Poster
Rep: Reputation: 30
No. I have a dedicated box for my firewall, so I left the Mandrake box fairly open.
 
Old 10-31-2003, 07:01 PM   #8
GJB
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 6-9 Gentoo Slackware 9.1
Posts: 26

Rep: Reputation: 15
If you gave an iptables -F on that box and then try to ping ?

GJB
 
Old 10-31-2003, 07:07 PM   #9
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Debian GNU/Linux 8 (jessie)
Posts: 199

Original Poster
Rep: Reputation: 30
[QUOTE]Originally posted by GJB
If you gave an iptables -F on that box and then try to ping ?

GJB
[/Q]

-bash: iptables: command not found

not much help to me. does it tell you anything?
 
Old 11-01-2003, 10:49 AM   #10
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
I notice that the last entry in the route table has type U, not UG. AFAIK that means there isn't a default route pointing to the gateway. Not being a RedHat user, I don't know the file to edit to fix this, but one of you RH types surely do.
 
Old 11-01-2003, 02:05 PM   #11
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Debian GNU/Linux 8 (jessie)
Posts: 199

Original Poster
Rep: Reputation: 30
I have checked the route table for my RH box (is working) vs. the route table from my Md box (posted above, not working) and all of the entries in each table are identical - including the Flags for all three entries being "U" rather than "UG". Since my problem is not only unable to ping gateway, but unable to ping any other hosts on the same hub as this one. I'm not discounting this as the solution, I will look into it. But, given that it's configured (on the routing table, at least) identical to a working box, I don't hold out much hope that this will solve my problem.
 
Old 11-01-2003, 02:14 PM   #12
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Okay, I gotcha. Best bet seems to me to snoop the net from a working box (one of the ones you can't ping) to see if anything is getting across the wire. Ethereal will show you ICMP (what a ping is).

By the way, this may be a stupid question, but what does ifconfig -a show?
 
Old 11-01-2003, 02:33 PM   #13
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Debian GNU/Linux 8 (jessie)
Posts: 199

Original Poster
Rep: Reputation: 30
Sorry, but you've lost me now. What exactly do u mean by "snoop the net"? Does that mean check my internal network? Or check around the internet? And for what? What is Ethereal? Sorry for all the questions, but I am a newbie. Don't know most of the lingo.

ifconfig (-a) is pretty much identical on both boxes, except the IP addresses. One ends in .1 and the other ends in .254. The RH box ends in .254.

As for pinging, I can ping all the boxes on the network (and the internet) from all boxes EXCEPT my Md box WHEN running Md. I boot this same box to Win2k and it works wonderful. When Md is loaded, I can't ping out nor ping the Md box from anywhere else on the network.

Does any of that help?
 
Old 11-01-2003, 02:54 PM   #14
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Yep, that's sort of where I was going. When running mandrake, I am guessing that if config -a will show that eth0 has an IP address assigned. This would mean that 'ifconfig eth0' would show something like this on it's second line:

inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0

If you don't see that line, thats a problem, but it sounds like you do. If so, look at the next line; it should say UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

Look at the lines begining RX packets and TX packets. What do they say?

Ethereal is a really nifty GUI tool that shows you everything that's going on on your local network. Google for it, and you will find rpms for your RH box. By 'snoop the net' I meant running ethereal or something like that to see what's happening.

The part that has me puzzled is that this box runs fine with W2K, but not with Mandrake. If in fact under Mandrake eth0 is correctly configured and up, why no pinging?
 
Old 11-01-2003, 03:02 PM   #15
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Debian GNU/Linux 8 (jessie)
Posts: 199

Original Poster
Rep: Reputation: 30
I'll have to get back to you on this. I appreciate (1) your willingness to help me with this and (2) your immediate availability. Unfortunately, the box (along with the rest of MY network) is on the other side of town. It'll be about 45 minutes (from now) before I can get there and check this stuff. I hope you're still around when I get that done. I'll post when I get more info.

 
  


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
lan connection works but adsl doesn't, why? trendsetter Linux - Networking 25 11-04-2005 12:31 PM
wireless connection to router works, but no internet g4rr3tt Linux - Wireless Networking 10 04-02-2004 02:27 PM
conexant soft 56k works but no connection komar Linux - Newbie 2 11-10-2003 06:33 AM
Connection sharing works but cannot dial on demand Chris Pratt Linux - Networking 2 10-16-2001 10:25 PM
connection sharing works, but.... racerxmach4 Linux - Networking 0 09-29-2001 08:12 PM

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

All times are GMT -5. The time now is 09:04 PM.

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