LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-09-2004, 09:51 AM   #1
lukalinuix
LQ Newbie
 
Registered: Feb 2004
Location: Ljubljana, Slovenia
Distribution: RedHat 8.0
Posts: 21

Rep: Reputation: 15
setting up internet in small LAN


Hi all,

i have small lan with 3 computers, two win xp and one slackware comp. All three are connected on router (mark: Level ONE), and router is connected to cable modem.

I have dhcp settings for router from my ISP, but there is a problem with internet on linux comp. Network is working properly (i can ping linux comp from other two comps), but i can't surf internet with lynx web browser.

Alert! Unable to connect to remote host

thx!
 
Old 02-09-2004, 10:02 AM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Did you set the default gateway on all the PCs to the routers internal IP address?
 
Old 02-09-2004, 10:34 AM   #3
Justin_Time
Member
 
Registered: Feb 2004
Posts: 53

Rep: Reputation: 15
Quote:
Originally posted by tangle
Did you set the default gateway on all the PCs to the routers internal IP address?
He says that he get's it by dhcp.
dhcp must also provide a dg. Try and run dhcpcd and look at the output of ifconfig. Also try to ping a nameserver on the internet to be absolute sure it that your Internet is not working.
 
Old 02-09-2004, 06:45 PM   #4
lukalinuix
LQ Newbie
 
Registered: Feb 2004
Location: Ljubljana, Slovenia
Distribution: RedHat 8.0
Posts: 21

Original Poster
Rep: Reputation: 15
only option that we made on router was MAC address and nothing else. Everything is signed by DHCP, our IP, DNS, Gateway.

Router has got also his IP and thats it 192.168.0.1,

Computer 1 and 2 (Win XP) IP 192.168.0.2 and 192.168.0.3
Linux computer 192.168.0.100
 
Old 02-09-2004, 06:53 PM   #5
lukalinuix
LQ Newbie
 
Registered: Feb 2004
Location: Ljubljana, Slovenia
Distribution: RedHat 8.0
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Did you set the default gateway on all the PCs to the routers internal IP address?
Yes, I did.

What about DNS, what DNS need netconfig?
 
Old 02-10-2004, 03:07 AM   #6
Justin_Time
Member
 
Registered: Feb 2004
Posts: 53

Rep: Reputation: 15
Can you ping a internet adres? (194.109.9.99) ?
is /etc/resolve.conf good?
 
Old 02-10-2004, 06:17 AM   #7
lukalinuix
LQ Newbie
 
Registered: Feb 2004
Location: Ljubljana, Slovenia
Distribution: RedHat 8.0
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Justin_Time
Can you ping a internet adres? (194.109.9.99) ?
is /etc/resolve.conf good?
No it says:

"Network is unreachable"
 
Old 02-10-2004, 06:23 AM   #8
Justin_Time
Member
 
Registered: Feb 2004
Posts: 53

Rep: Reputation: 15
Did you provide that ip on the interface? Or did you get it automaticly?

If not, try and run:

dhcpcd
 
Old 02-10-2004, 06:28 AM   #9
lukalinuix
LQ Newbie
 
Registered: Feb 2004
Location: Ljubljana, Slovenia
Distribution: RedHat 8.0
Posts: 21

Original Poster
Rep: Reputation: 15
Thank you for all replays.

I found a mistake, it was the wrong nameserver, but i don't know what was wrong with netconfig. It didn't want to work, so i setup manually.

thanks you again

greetings from green peace of Europe, Slovenia
 
  


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
Need help setting up a LAN with internet connection sharing oxicottin Linux - Networking 5 02-21-2006 06:26 AM
Setting up gateway to share internet for private LAN muru Linux - Networking 6 09-17-2005 08:08 PM
Setting up a small home LAN ccin1492 Linux - Networking 21 07-31-2005 03:10 PM
Setting up Lan IP and Internet Connection Sharing Nukem Libranet 4 04-09-2004 09:13 AM
Setting up my wireless LAN internet on my slack laptop :D Belize Linux - Wireless Networking 17 10-04-2003 01:15 PM

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

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