LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   router problem with linksys router (https://www.linuxquestions.org/questions/linux-networking-3/router-problem-with-linksys-router-28035/)

scheiße_comp 08-16-2002 01:13 AM

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.

needamiracle 08-16-2002 11:59 AM

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

scheiße_comp 08-16-2002 12:38 PM

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

needamiracle 08-16-2002 01:34 PM

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

scheiße_comp 08-16-2002 05:22 PM

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.

needamiracle 08-18-2002 08:04 PM

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?

scheiße_comp 08-18-2002 09:03 PM

I can ping the NT boxes, and I can ping the router.

scheiße_comp 08-18-2002 09:04 PM

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.

needamiracle 08-19-2002 02:08 PM

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,

scheiße_comp 08-19-2002 08:39 PM

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.

needamiracle 08-20-2002 10:18 AM

Right on...glad to be of help!


All times are GMT -5. The time now is 12:19 PM.