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 08-16-2002, 02:13 AM   #1
scheiße_comp
LQ Newbie
 
Registered: Aug 2002
Distribution: Mandrake corporate server, Solaris
Posts: 8

Rep: Reputation: 0
router problem with linksys router


Hi, I just purchased a sun ultra off of ebay, and it came with solaris 2.6, so I formated that and put mandrake corporate server 1.0 on. I currently have 2 other NT computers in my network. They are all connected to a 4 port Linksys router/switch. For some reason the sun server can only access the intranet (ftp, http, telnet, ping, samba, etc all work), but it can't get past the router to the internet. I assigned it as 192.168.1.102, but the router doesn't acknowledge that this computer exists on it's network. help, my machines hate me.
 
Old 08-16-2002, 12:59 PM   #2
needamiracle
Member
 
Registered: Apr 2002
Location: North Attleboro, MA
Distribution: RH 7.3
Posts: 106

Rep: Reputation: 15
is the router set to be a gateway?

Have you checked weither or not that the new ultra has the correct address for the gateway? /etc/sysconfig/network-scripts/ifcfg-eth0. I think that the Linksys defaults to 192.168.1.1 as the gateway address, standard is 192.168.1.254. If you change it on the router you must reconfig all machines (unless using DHCP). It sounds like your ultra doesn't know where to hop from, first place I would look is to see if you have the correct address for the gateway.

Good luck,
needamiracle
 
Old 08-16-2002, 01:38 PM   #3
scheiße_comp
LQ Newbie
 
Registered: Aug 2002
Distribution: Mandrake corporate server, Solaris
Posts: 8

Original Poster
Rep: Reputation: 0
should I be editing my resolv.conf file? right now it says:

search computer.net
nameserver 192.168.1.1
#search computer.net
#nameserver 192.168.1.1
##search computer.net
##nameserver 192.168.1.1
###search computer.net
###nameserver 24.71.223.144
####nameserver 127.0.0.1

(i think i messed it up)
The router says that it's DNS addresses are 24.71.223.144 and 24.71.223.144. Should I change my resolv.con file to

search computer.net
nameserver 24.71.223.144
nameserver 24.71.223.145

my machines still hate me
 
Old 08-16-2002, 02:34 PM   #4
needamiracle
Member
 
Registered: Apr 2002
Location: North Attleboro, MA
Distribution: RH 7.3
Posts: 106

Rep: Reputation: 15
Let the linksys deal with the name servers...

You can use any valid name servers, but what you need to edit/check is your /etc/sysconfig/network file. It will have basic info like:

NETWORKING=yes
HOSTNAME=mycomputer.mydomain.net (insert your machine name here)
GATEWAY=192.168.1.254

See if the settings in this file are correctly set, once you change them you will need to restart networking for the changes to take place.

#service networking restart

Tell me how it goes.
needamiracle
 
Old 08-16-2002, 06:22 PM   #5
scheiße_comp
LQ Newbie
 
Registered: Aug 2002
Distribution: Mandrake corporate server, Solaris
Posts: 8

Original Poster
Rep: Reputation: 0
I edited that file, and I tried 192.168.1.254, 192.168.1.1 and 24.64.32.1 which the router listed as the default gateway. this is quite odd.
 
Old 08-18-2002, 09:04 PM   #6
needamiracle
Member
 
Registered: Apr 2002
Location: North Attleboro, MA
Distribution: RH 7.3
Posts: 106

Rep: Reputation: 15
Use the address that you connect to your router to configure it. I own a linksys 8 port and to get the config screen from a browser it is 192.168.1.254. The default is 192.168.1.1. The default password is admin, there is no username. Are you using DHCP for your NT boxes or have you given them static addresses. What type of NIC is in the Ultra? Can you ping your NT boxes?
 
Old 08-18-2002, 10:03 PM   #7
scheiße_comp
LQ Newbie
 
Registered: Aug 2002
Distribution: Mandrake corporate server, Solaris
Posts: 8

Original Poster
Rep: Reputation: 0
I can ping the NT boxes, and I can ping the router.
 
Old 08-18-2002, 10:04 PM   #8
scheiße_comp
LQ Newbie
 
Registered: Aug 2002
Distribution: Mandrake corporate server, Solaris
Posts: 8

Original Poster
Rep: Reputation: 0
But i still cant ping outside sources. But when I try to ping say www.yahoo.com, it will give me the IP address of yahoo, which shows that the DNS server must be working.
 
Old 08-19-2002, 03:08 PM   #9
needamiracle
Member
 
Registered: Apr 2002
Location: North Attleboro, MA
Distribution: RH 7.3
Posts: 106

Rep: Reputation: 15
what address do you use to ping the router? that is your gateway address. If you can ping www.yahoo.com then you are getting out. Do you have any funky port forwarding activated on the Linksys? Try using a different IP on the same subnet and restart the interface.

Next thought...Have you set your ULTRA to be a DMZ host on the router? My brother needs this to connect to Battle.net for Warcraft III.

Let me know how it goes,
 
Old 08-19-2002, 09:39 PM   #10
scheiße_comp
LQ Newbie
 
Registered: Aug 2002
Distribution: Mandrake corporate server, Solaris
Posts: 8

Original Poster
Rep: Reputation: 0
i finally got the bastard to start working. I had to add forwarding to port 80 for httpd. now everything works! I dont understand why that had to be so hard. thanks for all of your help.
 
Old 08-20-2002, 11:18 AM   #11
needamiracle
Member
 
Registered: Apr 2002
Location: North Attleboro, MA
Distribution: RH 7.3
Posts: 106

Rep: Reputation: 15
Right on...glad to be of 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
Linksys router + linux problem demowipper Linux - Networking 21 10-08-2003 09:09 PM
Linksys wireless router problem oulevon Linux - Wireless Networking 2 09-20-2003 09:50 AM
Linksys Router Problem syxxpac023 Linux - Networking 5 11-15-2001 12:33 AM
Linksys Router problem.. again. syxxpac023 Linux - Networking 8 09-25-2001 04:07 AM
Linksys Router problem.. again. syxxpac023 Linux - Networking 1 09-03-2001 11:03 AM


All times are GMT -5. The time now is 07:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration