LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-25-2003, 04:18 PM   #1
Who
LQ Newbie
 
Registered: Mar 2003
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
Unhappy local network okay - no internet


New to linux ...

I recently installed Slackware 8.1 dual boot with Win98. My local network connection seems to be working fine, but I can't get out past my router to the internet.

I can see my NIC initializing fine in the boot sequence, and I can reach other machines on the local network using ping, and http, and ftp. I can also see the gateway, ping it, use http to get to the admin interface. But when I try to reach any outside host with ping or http, I get an "unkown host" message, and that's it.

I thought I configured everything right... Is this something I'm missing about the router, firewall, or something? The router is Linksys BEFSRU31 on a Win2k server. The NIC is Netgear FA510 (PCMCIA) on eth0. I set my IP and subnet mask manually, and set the gateway to match the router (192.168.1.1) in netconfig.

Does anybody have an idea what I'm doing wrong?
 
Old 03-25-2003, 04:34 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Sounds like you don't have DNS. The LQ ip is 64.179.4.146

Try:
http://64.179.4.146/

if it fails - can you ping?
 
Old 03-25-2003, 04:56 PM   #3
Who
LQ Newbie
 
Registered: Mar 2003
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
Negative. Browser says "could not connect to host," and ping says "Network is unreachable."

I hate being a dufus when people try to answer my questions, but when "Sounds like you don't have DNS," you mean I would need the Win2k server to be using DNS? Derrrr.... help?
 
Old 03-25-2003, 05:23 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
No - I just meant that the linux box sounded like it couldn't translate the names into their valid IP addresses. I hadn't seen anything that said you had set up DNS on the linux box (you might not need to if you are using DHCP).

What output does "route -n" give?
There should be a default entry "0.0.0.0" with a valid gateway for your network.

What fo you mean by a router on a win2k server? That only your win2k server is conencted to the router and that all other machines connect through the server?
 
Old 03-25-2003, 09:56 PM   #5
D3adly
LQ Newbie
 
Registered: Mar 2003
Location: Latvia
Distribution: Linux - slackware
Posts: 7

Rep: Reputation: 0
check "ifconfig"
1st your ip
2nd Bcast
3rd Mask

Because if you wount have right mask U willn't have outside net conection behaind router !

The same you can check "/etc/rc.d/rc.inet1" config
 
Old 03-26-2003, 09:17 AM   #6
Who
LQ Newbie
 
Registered: Mar 2003
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
Dave_ross:
Quote:
What output does "route -n" give?
There should be a default entry "0.0.0.0" with a valid gateway for your network.
Dave,
This is the output.

Code:
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
Based on what you say, it looks good.

Quote:
What fo you mean by a router on a win2k server? That only your win2k server is conencted to the router and that all other machines connect through the server?
Yes, exactly, which means that Linux has to go through the windows network and server to get to the web. This matters somehow, doesn't it...
 
Old 03-26-2003, 09:28 AM   #7
Who
LQ Newbie
 
Registered: Mar 2003
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
Thumbs up Success!

I'm writing this from Linux on the Konqueror browser. It works!

Problem was solved by entering the server IP address as the name server in netconfig. Not knowing the real meaning of this entry, I had just left it blank.

Thanks to Dave Ross for asking the right questions.
 
Old 03-26-2003, 01:06 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Glad to hear it is working OK.

That is what I meant by DNS (Domain "Name Server"). Still not sure why the IP address didn't work though.

Never mind - If it ain't broke, don't fix it!
 
  


Reply



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
Problem same DNS between Internet and local network b:z Linux - Networking 6 03-28-2005 06:03 AM
On local network - can't get to internet kook Linux - Wireless Networking 12 03-01-2005 09:45 AM
block internet from 1 pc on local network bgriesi Linux - Networking 4 01-23-2005 12:44 PM
Can go Local network, can't go internet!! nectron101 Linux - Hardware 2 11-27-2004 09:03 AM
Email works on local network but internet doesn't nixclueless Linux - Networking 1 07-06-2004 08:12 PM

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

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