LinuxQuestions.org
Review your favorite Linux distribution.
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 02-08-2005, 04:53 PM   #1
Wozl
LQ Newbie
 
Registered: Feb 2005
Posts: 13

Rep: Reputation: 0
Linux internet using adsl router


Hii,

Iv'e setup my network to my adsl router and everything is fine, i can ping my windows pc and my router, i have acces to the files on my windows pc etc.
But now i want to setup my internet connection...
It's working fine on windows with the adsl router, but i dont know how i have to connect to the internet on the linux box. (suse)

Ive opened the webbrowser, cant find the page. Do i have to setup the internet browser or...

I've searched on the forum, but there are so many threads

Can you guys help me
 
Old 02-08-2005, 04:59 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
Is the SuSE box configured with a static IP or is it using DHCP?

Set the SuSE gateway address to the router's internal IP address.
Make sure that /etc/resolv.conf contains nameserver info or if using a static IP you will need to manually enter the data.
 
Old 02-08-2005, 05:37 PM   #3
Wozl
LQ Newbie
 
Registered: Feb 2005
Posts: 13

Original Poster
Rep: Reputation: 0
its dhcp
how do i have to set the gateway? bacause i already tried some thing with the gateway but no result

i can connect to the router in my webbrowser

thx

Last edited by Wozl; 02-09-2005 at 03:58 AM.
 
Old 02-09-2005, 04:08 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Wozl,

Try ( as root ) the following commands:

ifdown eth0
dhclient eth0


That should bring down eth0, in case it was already trying to do something, then ask your router for an IP address. Then you should be set. If so, you may want to put those commands in /etc/rc.whatever so it always starts at boot.
Your /etc/resolv.conf should look like:

nameserver IP.of.your.gateway (the router's address that you put in your browser to set it up, mine is 10.0.0.2)

Hope this helps
 
Old 02-09-2005, 05:01 AM   #5
Wozl
LQ Newbie
 
Registered: Feb 2005
Posts: 13

Original Poster
Rep: Reputation: 0
THX!!
 
  


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
can't connect to Internet with adsl router buzzgrowl Linux - Newbie 8 10-06-2005 09:49 AM
connecting to the internet in Mandrake/Mandriva 10 through an adsl router serverjunkie Linux - Networking 6 08-16-2005 05:25 PM
help! setting for connect internet via ADSL router(suse 9.1) mysurface Linux - Networking 0 10-21-2004 03:00 AM
internet through adsl router dhbiker Linux - Networking 14 10-03-2004 03:26 PM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM

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

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