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.
|
|
02-28-2014, 06:09 AM
|
#1
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Rep:
|
How to connect ISP
Hi all,
Ubuntu 12.04.3
I need to connect my computer direct to the cable modem without via the router provided by ISP
I have the user name and password provided by ISP. Please advise how to config /etc/ppp/peers/provider. Any other files I need to configure as well?
Thanks
Rgds
satimis
|
|
|
02-28-2014, 02:29 PM
|
#2
|
Senior Member
Registered: Apr 2009
Posts: 1,880
Rep:
|
First of all, you need to find out what is interface of cable modem on LAN side, Ethernet, PPPoE and so on. And then configuration.
|
|
|
02-28-2014, 08:11 PM
|
#3
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Original Poster
Rep:
|
Quote:
Originally Posted by nini09
First of all, you need to find out what is interface of cable modem on LAN side, Ethernet, PPPoE and so on. And then configuration.
|
Hi,
Thanks for your advice.
Problem solved. My ISP use PPPoE interface. After installing pppoeconf now I can connect ISP server via cable modem without router.
A further question for Ethernet interface whether on /etc/network/interface adding;
Code:
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask 255.255.255.0
gateway xxx.xxx.xxx.xxx
?
Thanks
Rgds
satimis
|
|
|
03-03-2014, 02:38 PM
|
#4
|
Senior Member
Registered: Apr 2009
Posts: 1,880
Rep:
|
The /etc/network/interface file should be like this. But it is better to use pppoeconf to configure PPPoE.
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider
auto eth0
iface eth0 inet manual
|
|
|
03-03-2014, 08:20 PM
|
#5
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Original Poster
Rep:
|
Quote:
Originally Posted by nini09
The /etc/network/interface file should be like this. But it is better to use pppoeconf to configure PPPoE.
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider
auto eth0
iface eth0 inet manual
|
Hi,
Thanks for your advice.
Already solved the problem after installing and ran pppoeconf. pppoeconf edited /etc/network/interfaces automatically same as on your advice abovementioned.
Rgds
satimis
|
|
|
All times are GMT -5. The time now is 06:31 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
|
|