Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-08-2006, 12:52 PM   #1
Registered: May 2006
Distribution: Fedora Core, FreeSpire, PC-BSD, NetBSD
Posts: 96

Rep: Reputation: 15
Internet connection via LAN network.

I took a look many HOWTOs but i can not understand how to connect ot the internet via LAN.
I know that have to be done with PPPoE but in all documentation tha i read i have exaples with ttyS0 port or some other serial port.
I use LAN. How to connect to the internet?

Probably i can't understand or i have wrong documentation.
These are the steps that i do:

- connect to the dhcp server. - DONE
- get IP adress on eth0 interface - DONE.
- connect to internet - FAILED.

I have IP, i know the ISP's DNS server and i have to configure the PPP.

How to connect my computer to internet via LAN?

Thanks in advance if anybody help me.
I am very appreciated at any help.
Old 05-08-2006, 01:18 PM   #2
LQ 5k Club
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,163

Rep: Reputation: 838Reputation: 838Reputation: 838Reputation: 838Reputation: 838Reputation: 838Reputation: 838
Would you please take the time to post the hardware setup you are trying to get working.

PPPoE for me is looked after in my routers configuration. If you have a dsl modem, you may have to install and configure PPPoE on yoru linux machine.

So. before we can help more, we need to know all the pieces of your network connection.
Old 05-08-2006, 01:18 PM   #3
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
If you modem/router uses dhcp then eth0 needs to get its ip address via dhcp. i.e. setup your networking to use dhcp. Sorry don't use slack so cannot advise on method.
Old 05-08-2006, 01:40 PM   #4
Registered: May 2006
Distribution: Fedora Core, FreeSpire, PC-BSD, NetBSD
Posts: 96

Original Poster
Rep: Reputation: 15
I have only a plain lan. I have no dsl or some other kind of modems. Only a plain lan broadband network.
There is a proxy that i have to access, dhcp that give me IP adress and that is all.
No modems, no dsl, no adsl only a lan cable plugged in to a router from my ISP.

My active network interface is eth0 with dinamically changed IP adress.
I can get a IP now from the dhcp. it is not problem for me.The problem is how to access internet now.

Last edited by nhydra; 05-08-2006 at 01:44 PM.
Old 05-08-2006, 03:22 PM   #5
LQ Newbie
Registered: Nov 2005
Distribution: SUSE10
Posts: 15

Rep: Reputation: 0
Can you ping a known public ip address? ( Can you ping a dns address? (

do route -n

is there an entry with a UG next to it? That would be the default gateway. Is it present and correct for your lan?

Also do a cat /etc/resolv.conf -- this file should contain the IP address of the dns server your machine will use. If this entry does not exist, or of the UG entry in route -n display is wrong or non-present, then try manually adding the dns and gateway values. If it still does not work, then there is something wrong with basic ip connectivity.



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
Lan Connection But No Internet Connection chant151 Linux - Networking 1 03-04-2005 08:55 AM
internet connection over LAN amanjsingh Linux - Newbie 4 05-31-2004 06:49 AM
How to connect to a network using Windows and use a internet(LAN) connection JulianS Slackware 5 03-06-2004 02:51 PM
LAN connection but no INTERNET connection Coolrunr Linux - Networking 9 07-28-2003 12:28 AM
A problem with LAN connection to internet Rakoc Linux - Networking 5 01-26-2003 12:46 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration