LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-28-2003, 09:23 AM   #1
fernandoo
Member
 
Registered: Sep 2003
Posts: 37

Rep: Reputation: 15
newbie needs help to confg router in suse


I've just moved to suse 8.2 on my second computer!
I've got a dsl router installed and therefore i want to access the internet in suse!
But I dont know how to configure linux so that it connects through the router!
The network card is already installed and in my browser i can access the router (192.168.0.1) and see my other computer, but i cannot enter the web.
I know it shouldn't be much work, but the problem is I dont have the smallest idea where to configurate it.
Can anybody help?
Thanks in advanced

PS: its a netgear rp614v2 router.
 
Old 09-28-2003, 09:36 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

Try:
ping www.linuxquestions.org
ping 64.179.4.146

If you can ping IPs and not addresses make sure that you have the correct DNS servers in:
/etc/resolv.conf

If IPs don't work. make sure that you have got a deault route pointing to the router:
route -n
 
Old 09-28-2003, 09:38 AM   #3
carlywarly
Member
 
Registered: Feb 2003
Location: Sunny Southport, again.
Distribution: PCLinuxOS 0.93 and 0.92, Vector sometimes
Posts: 825

Rep: Reputation: 30
Open up Yast and go into Network. You need to put your gateway ip address etc. in there.
 
Old 09-28-2003, 09:48 AM   #4
fernandoo
Member
 
Registered: Sep 2003
Posts: 37

Original Poster
Rep: Reputation: 15
i cannot ping ips nor addresses

/etc/resolv.conf
it says:

nameserver 192.168.0.1
search local


and thats it!

route -n
it says:

destination gateway genmask flags metric ref use iface
192.168.0.0 0.0.0.0 255.255.255.0 u 0 0 0 eth1


what do i have to do and what is a default route pointing?
 
Old 09-28-2003, 09:53 AM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Like carlywarly said - check your network settings. Make sure that you have the default gateway set to the router address.
 
Old 09-28-2003, 10:09 AM   #6
fernandoo
Member
 
Registered: Sep 2003
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks,
I finally made it! The problem was, i have two network cards and the computer was only trying the first one. So I plugged the network cable to the other one and it started functioning! But does anybody know how to switch the cards in linux?
 
Old 09-28-2003, 10:13 AM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You don't need to switch the cards - just set the other one up for your connection and disable the first.
 
Old 11-28-2003, 04:08 PM   #8
Hazzie
LQ Newbie
 
Registered: Aug 2003
Location: Stockport, UK
Distribution: RH9
Posts: 12

Rep: Reputation: 0
I think i have a similar problem to what fernandoo has.
I am using a netgear DG834 router and connecting to it is RH9 and XP. With XP I can view web sites just fine. With RH9 i am having a little trouble.
I can ping the router (192.168.0.1)
I can ping the XP box (192.168.0.2)
I can bring up the router config html pages in netscape on 192.168.0.1
I cannot view http://www.linuxquestions.org/
but i can ping 64.179.4.146
I get :-
PING 64.179.4.146 (64.179.4.146) 56(84) bytes of data.
64 bytes from 64.179.4.146: icmp_seq=1 ttl=43 time=116 ms
64 bytes from 64.179.4.146: icmp_seq=2 ttl=43 time=120 ms
64 bytes from 64.179.4.146: icmp_seq=3 ttl=43 time=128 ms
--- 64.179.4.146 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2027ms
rtt min/avg/max/mdev = 116.014/121.528/128.489/5.194 ms


./route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.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.0.1 0.0.0.0 UG 0 0 0 eth0

Hoever my /etc/resolv.conf file is empty. I am presuming from the above posts there should be some info in this but i have no idea as to the format of it. Can anyone help out.

Thanks in advance for any help or pointers.
 
Old 11-28-2003, 04:12 PM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You need to add entries like:
nameserver ip.of.dns.server

so it may be:
nameserver 233.15.162.26
nameserver 233.15.162.27

In future please start a new thread for a new question. Thanks!
 
  


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
Start a router for a newbie ppp23 Linux - Networking 1 02-22-2005 09:43 AM
XWindow Confg jackjill Linux - General 1 11-11-2004 04:11 PM
Newbie needs help to configure router TheSwine Linux - Networking 9 01-02-2004 07:50 PM
Linux Confg. for 4 speakers. crab_2004 Linux - Software 0 11-16-2003 12:30 AM
Newbie needs to know how to talk to router logikos Linux - Networking 4 08-25-2002 10:02 AM

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

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