LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-20-2006, 08:50 AM   #16
alekstef
LQ Newbie
 
Registered: Nov 2006
Location: Bergen, Norway
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0

Quote:
Originally Posted by WindowBreaker
I think the problem is your routing tables - the default gateway entry in particular.

Let me explain.

Your posted routing table in your original post is as follows:


I compared that to my routing table, which looks as follows. Pay close attention to my default route entry's flags.
Code:
route -n
Kernel IP routing table
Destination 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.1 0.0.0.0 UG 1 0 0 eth0
Notice mine has the 'G' gateway flag set, and yours does not.

This may or may not be the problem, but I think it should at least be considered. All my machines have the 'G' flag set and work properly.

Maybe you should try re-running netconfig. The reboot, and re-check your 'route -n' output to see if the G flag is now set as it should be.

Or, at lease delete the entry, add it back in, and re-check the routing table for the 'G' flag.
Code:
route delete default gw
route add default gw 192.168.1.1
If anyone has a gateway entry in their routing table, in which the 'G' flag is not set, and your Internet is working properly, please let us know.

Good luck.
Okey, now my last line of the output of route -n looks exactly like your:

0.0.0.0 192.168.1.1 0.0.0.0 UG 1 0 0 eth0

But it still doesn't work. When I deleted and added the gw i got an error: GW: Host name lookup failure.

And you wrote wrong syntax... Had to type route add gw 192.168.1.1

I've run netconfig several times, but it just doesn't work.

Last edited by alekstef; 11-20-2006 at 11:21 AM.
 
Old 11-22-2006, 01:43 PM   #17
alekstef
LQ Newbie
 
Registered: Nov 2006
Location: Bergen, Norway
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
Anyone?? need it up and going
 
Old 12-02-2006, 10:09 AM   #18
alekstef
LQ Newbie
 
Registered: Nov 2006
Location: Bergen, Norway
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
Hey again! I installed Debian 3 on the box, and all worked there. Then I installed Slackware 11.0, and the network doesn't work. One weird thing is that when i ping 217.13.4.21, which is my dns server, or any other ip, I get this:

ping 217.13.4.21 (217.13.4.21) 56 (84) bytes of data
From 192.168.1.14 icmp_seq=1 Destination host unreachable
From 192.168.1.14 icmp_seq=2 Destination host unreachable
From 192.168.1.14 icmp_seq=3 Destination host unreachable

192.168.1.14 is the box I'm pinging from. Anything?? I need it up as fast as possible, and I'm a slacker, I don't like Debian.

Last edited by alekstef; 12-02-2006 at 10:11 AM.
 
Old 12-02-2006, 10:55 AM   #19
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,765

Rep: Reputation: 6348Reputation: 6348Reputation: 6348Reputation: 6348Reputation: 6348Reputation: 6348Reputation: 6348Reputation: 6348Reputation: 6348Reputation: 6348Reputation: 6348
OK, this is crazy. Your routing is still messed up. Please post the output from the command
Code:
cat /etc/rc.d/rc.inet1.conf | grep -v "^$" | grep -v "^#"
Eric
 
Old 12-02-2006, 11:10 AM   #20
alekstef
LQ Newbie
 
Registered: Nov 2006
Location: Bergen, Norway
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Alien Bob
OK, this is crazy. Your routing is still messed up. Please post the output from the command
Code:
cat /etc/rc.d/rc.inet1.conf | grep -v "^$" | grep -v "^#"
Eric
Sorry, I've just decided to give up Slack om that server. Going for Debian. But if I change my mind again, I will post out from that command. Thanks for your help!
 
  


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
Weird Network Problem mustangfanatic01 Slackware 10 04-24-2006 02:20 PM
Weird network problem rrwhite Ubuntu 2 07-07-2005 05:58 AM
Weird problem with lilo in Slack 10.1 aiordanescu Slackware 2 05-28-2005 10:32 AM
weird network problem zaichik Linux - Newbie 2 07-03-2004 08:17 AM
weird network problem guanyu Linux - Networking 5 06-25-2002 07:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration