LinuxQuestions.org
Help answer threads with 0 replies.
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 05-02-2002, 12:00 AM   #1
getunit.com
LQ Newbie
 
Registered: May 2002
Posts: 2

Rep: Reputation: 0
Unhappy RH 7.2 Config to get HTTP via ADSL Modem/Router


Hi.... I'm new to Linux. I have an ADSL connection at home that works well with Windows and I can't quite seem to get it to work with Linux.

I have a D-Link dsl504 which is a ADSL Modem/Router and 4 port switch in one. My pc plugs into one of the ports. In windows 2000/xp, to get web access all I need to do is set the gateway in the network settings to the ip address of the router (192.168.0.1) and then everything works - this is using dhcp to get an ip etc. In Linux, (redhat 7.2 running kde) I can also get dhcp to work and I can "see" the adsl router, but I can't get past it onto the internet. I have tried using "netcongif" to set my IP address manually and this also works, but I can't get out past the router. Can anyone help me? How do I set the gateway? Am I missing anything?

Thanks,

Adrian
 
Old 05-02-2002, 01:18 AM   #2
SEL
LQ Newbie
 
Registered: Apr 2002
Location: Enebyberg, Sweden
Distribution: RedHat 7.2
Posts: 3

Rep: Reputation: 0
Hi, I have RH 7.2 on my desk and RH 7.1 on my routerbox wich is connected to Alcatel ADSL modem.

On my deskbox I have my ISP's nameserver number in
/etc/resolv.conf and /etc/sysconfig/network is:
NETWORKING=yes
# FORWARD_IPV4 removed; see /etc/sysctl.conf
HOSTNAME=dellxs.tanken.hem (my local LAN domain)
GATEWAY=192.168.1.3 (=routerbox)
GATEWAYDEV=eth0

Check your network status with:
/etc/rc.d/init.d/network status
you should get reply like:
Configured devices:
lo eth0 irlan0 ppp0 (irlan0 ppp0 are not needed)
Currently active devices:
eth0 lo (this is needed)

If not then, you have to start/restart your network with
/etc/rc.d/init.d/network start/restart

I think that's all. Have fun!
 
Old 05-02-2002, 01:25 AM   #3
getunit.com
LQ Newbie
 
Registered: May 2002
Posts: 2

Original Poster
Rep: Reputation: 0
hei... hvordan gaar det ?

where you have your hostname = dellxs.tanken.hem, do you have any idea what I should have if anything? I'm not running a domain or anything like that, so do you think I need to specify a hostname?

takk

Adrian
 
Old 05-02-2002, 02:44 AM   #4
SEL
LQ Newbie
 
Registered: Apr 2002
Location: Enebyberg, Sweden
Distribution: RedHat 7.2
Posts: 3

Rep: Reputation: 0
Hej!

Tack för den skandinaviska hälsningen!

I don't think HOSTNAME is mandatory.

/Seppo
 
  


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
SuSE 9.3 ADSL/router config problem kaine Linux - Networking 11 11-12-2005 08:44 AM
SUSE 9.2 detect my [B]ADSL USB-Ethernet Modem-Router [/B] as a [B]Dial up modem[/B]. myprecius Linux - Hardware 0 06-27-2005 09:21 AM
cannot access config web-page for adsl router tireseas Linux - Networking 6 03-19-2005 04:13 PM
Using router as modem adsl under linux ralmenar Linux - Networking 0 11-14-2004 05:50 AM
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 06:44 PM.

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