LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 10-02-2005, 04:14 PM   #1
Nd4Spd
Member
 
Registered: Jul 2004
Location: In a Ditch
Distribution: Slackware, Debian, SuSE, Fedora Core 4
Posts: 35

Rep: Reputation: 15
10.2 upgrade; lan works, wan doesn't


I upgraded my working install of 10.1 to 10.2 via slapt-get. After a reboot I can no longer get outside my network. I can ping local addresses but not anything on the internet. ifconfig shows eth0 as being up and with the static IP address it is supposed to. /etc/networks, etc/resolv.conf and /etc/rc.d/rc.inet1.conf all look good.

Any thoughts on this one? I've got 2 systems that I upgraded the same way and both are exhibiting the same behavior.

Thanks.
 
Old 10-02-2005, 09:49 PM   #2
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31
I had this exact same thing happen. I was able to access all the other machines on my network by name, but couldn't get internet. I ran netconfig at least once after I upgraded, and I know I had to specify an external DNS server before I could get Internet access (my router's IP address wasn't enough...) But to be honest, I'm not 100% sure I know exactly what gave me access again.

Next time I upgrade, I'm keeping notes

Good Luck!
 
Old 10-03-2005, 07:35 AM   #3
Nd4Spd
Member
 
Registered: Jul 2004
Location: In a Ditch
Distribution: Slackware, Debian, SuSE, Fedora Core 4
Posts: 35

Original Poster
Rep: Reputation: 15
I've done the same thing. The DNS name servers I have listed are the external DNS servers for my account. I may try changing them to the router's address and seeing if I can get it to assign the DNS to the system like it does for DHCP clients (a shot in the dark, but why not).

Will post if/when I get this figured out. I've got 1 testing server down and a desktop because I can't figure this out. Any other ideas are certainly welcome.

Thanks.
 
Old 10-03-2005, 09:11 AM   #4
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31
This might help a little: http://wiki.linuxquestions.org/wiki/...roubleshooting

They do mention checking the /etc/HOSTNAME file - I THINK I had to modify that one, but that might be due to something I myself changed during my attempts at getting reconnected...
 
Old 10-03-2005, 12:15 PM   #5
cyanidebm
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware
Posts: 10

Rep: Reputation: 0
Greetings,

How does route look? Is there a gateway route for the interface?

Check with:

Code:
route -n
You should a gw route to 192.168.x.1 or whatever gateway is, if there isnt add it with:

Code:
route add default gw 192.168.x.1
With no gateway will be unable to reach outside network.

Good Luck,

-cyanidebm
 
Old 10-04-2005, 07:02 AM   #6
Nd4Spd
Member
 
Registered: Jul 2004
Location: In a Ditch
Distribution: Slackware, Debian, SuSE, Fedora Core 4
Posts: 35

Original Poster
Rep: Reputation: 15
Haha! You're a genius! Many thanks. That did it! The
Code:
route -n
command gave me a destination of 192.168.1.0 and a gateway of 0.0.0.0. I ran the command
Code:
route add default gw 192.168.1.1.
Now, running route -n gives me
Code:
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    0      0        0 eth0
Now it's working A-OK.
Thanks again!
 
Old 10-04-2005, 08:55 AM   #7
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31
Ahh... Thanks for that, I hate not knowing how I REALLY solved a problem (I do recall seeing my default gateway was set to 0.0.0.0 as well) So now the question becomes, is there something in the Slackware 10.2 install/upgrade process that's causing the Gateway to be reset to 0.0.0.0? I've seen at least 2 other threads in this forum where this exact same thing happened, seems to be a trend...
 
Old 10-04-2005, 09:10 AM   #8
Nd4Spd
Member
 
Registered: Jul 2004
Location: In a Ditch
Distribution: Slackware, Debian, SuSE, Fedora Core 4
Posts: 35

Original Poster
Rep: Reputation: 15
I tend to wonder if that's not the case. I wonder if they are using slapt-get to do the upgrade. I know 2 of my machines using slapt-get have done this. A Slapt-get issue or a 10.2 upgrade issue. I still have a 10.1 machine. I should compare the 2 host files, gateway setups, etc. and see what the differences are
 
Old 10-04-2005, 09:18 AM   #9
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31
Quote:
Originally posted by Nd4Spd
I wonder if they are using slapt-get to do the upgrade. I know 2 of my machines using slapt-get have done this.
Just as a point of interest, In my case, I use the procedure outlined in "UPGRADE.TXT" when I upgrade... When I upgraded from 10.0 to 10.1, this didn't happen.
 
Old 10-09-2005, 12:40 AM   #10
hunterfighter
Member
 
Registered: Oct 2004
Location: Malaysia, Kuala Lumpur
Distribution: FreeBSD
Posts: 65

Rep: Reputation: 15
Now my turn
I had my WAN Server IP but I does not have Client IP
How?
 
Old 10-10-2005, 11:00 AM   #11
Nd4Spd
Member
 
Registered: Jul 2004
Location: In a Ditch
Distribution: Slackware, Debian, SuSE, Fedora Core 4
Posts: 35

Original Poster
Rep: Reputation: 15
I'm sorry, I'm not quite sure i understand your question. Are you saying you have an IP address for you WAN from your ISP but you're unable to assign an IP address on your LAN to your machine?

run:
Code:
 netconfig
on the CL and it will step through the process.
 
Old 10-20-2005, 12:35 AM   #12
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
its handy to keep a list of 2-3 ip addresses on the internet on hand so when somthing like this happens, you can tell if its a routing problem, or a dns problem by pinging by a hard ip address.


if you can ping by address but not by name, its a dns problem. if you cant ping by address, its a routing problem, a problem with your card, a network cable came out, or somthing else internal and stupid.
 
Old 10-20-2005, 03:13 AM   #13
hunterfighter
Member
 
Registered: Oct 2004
Location: Malaysia, Kuala Lumpur
Distribution: FreeBSD
Posts: 65

Rep: Reputation: 15
I think should be my NIC or Router problem
 
Old 10-20-2005, 09:33 AM   #14
jaos
LQ Newbie
 
Registered: Aug 2005
Posts: 23

Rep: Reputation: 5
Quote:
Originally posted by pnellesen
Just as a point of interest, In my case, I use the procedure outlined in "UPGRADE.TXT" when I upgrade... When I upgraded from 10.0 to 10.1, this didn't happen.
Users upgrading with slapt-get should also observe the steps outlined in UPGRADE.TXT especially when it comes to changes in the init scripts.
 
Old 10-21-2005, 01:47 AM   #15
planoru
LQ Newbie
 
Registered: Oct 2005
Distribution: slack 10.1/10.2 hybrid
Posts: 17

Rep: Reputation: 0
I had the same problem. After upgradeing the base(a) packages except "etc" package with slackpkg . I think I fixed it with manual editing rc.inet1.conf(I'm not sure, I've made a few modifications and changed to realtek LAN card) . The "netconfig" did not work for me. The gateway adress is the problem.

Last edited by planoru; 10-21-2005 at 01:48 AM.
 
  


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
2 routers WAN, LAN could you please tell me... microsmart Linux - Networking 5 08-06-2005 01:17 PM
SuSE 9.2 Pro, Centrino Card, Wireless works in LAN, not on WAN davidm_86 Linux - Wireless Networking 3 01-25-2005 04:09 AM
SSL works on LAN, not WAN? belorion Linux - Software 2 08-08-2004 04:33 PM
Routing LAN -> WAN -> LAN with unhelpful router synx13 Linux - Networking 2 06-14-2004 02:35 PM
LAN works, WAN doesn't ? BrianK Linux - Networking 2 06-16-2003 07:11 PM

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

All times are GMT -5. The time now is 06:13 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