Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-16-2002, 01:13 AM
|
#1
|
LQ Newbie
Registered: Aug 2002
Distribution: Mandrake corporate server, Solaris
Posts: 8
Rep:
|
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.
|
|
|
08-16-2002, 11:59 AM
|
#2
|
Member
Registered: Apr 2002
Location: North Attleboro, MA
Distribution: RH 7.3
Posts: 106
Rep:
|
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
|
|
|
08-16-2002, 12:38 PM
|
#3
|
LQ Newbie
Registered: Aug 2002
Distribution: Mandrake corporate server, Solaris
Posts: 8
Original Poster
Rep:
|
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
|
|
|
08-16-2002, 01:34 PM
|
#4
|
Member
Registered: Apr 2002
Location: North Attleboro, MA
Distribution: RH 7.3
Posts: 106
Rep:
|
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
|
|
|
08-16-2002, 05:22 PM
|
#5
|
LQ Newbie
Registered: Aug 2002
Distribution: Mandrake corporate server, Solaris
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
08-18-2002, 08:04 PM
|
#6
|
Member
Registered: Apr 2002
Location: North Attleboro, MA
Distribution: RH 7.3
Posts: 106
Rep:
|
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?
|
|
|
08-18-2002, 09:03 PM
|
#7
|
LQ Newbie
Registered: Aug 2002
Distribution: Mandrake corporate server, Solaris
Posts: 8
Original Poster
Rep:
|
I can ping the NT boxes, and I can ping the router.
|
|
|
08-18-2002, 09:04 PM
|
#8
|
LQ Newbie
Registered: Aug 2002
Distribution: Mandrake corporate server, Solaris
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
08-19-2002, 02:08 PM
|
#9
|
Member
Registered: Apr 2002
Location: North Attleboro, MA
Distribution: RH 7.3
Posts: 106
Rep:
|
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,
|
|
|
08-19-2002, 08:39 PM
|
#10
|
LQ Newbie
Registered: Aug 2002
Distribution: Mandrake corporate server, Solaris
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
08-20-2002, 10:18 AM
|
#11
|
Member
Registered: Apr 2002
Location: North Attleboro, MA
Distribution: RH 7.3
Posts: 106
Rep:
|
Right on...glad to be of help!
|
|
|
All times are GMT -5. The time now is 08:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|