SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have read other threads regarding this and I still dont get it why I can't connect to the internet using pppoe.
I have read the manual too and set it up through using netconfig, pppoe-setup and checking my device using ifconfig -a.
My ethernet card is a SURECOM EP-320X-R and my ADSL router is a zyxel 650-31R. I don't have a static ip so I set it up to use DHCP. I noticed during shutdown that /sbin/dhcpcd is not running. Even if I execute it manually and get the MAC address of my ethernet card, I still cant connect using pppoe-start. I always get a Timed Out message.
Btw, I am relatively new to Linux and I chose Slackware as my learning ground. Hope someone can shed light regarding my problem. Thanks.
First question, do you actually have to login to your ISP using a PPPoE client or does the modem does that for you? (I checked and your modem supports that feature).
If that's the case, you just need to setup netconfig to get a DHCP address.
I assume you are using a ADSL modem. If you are using a router, then the username and password goes into the router. But since, you got to logom first in windows, I assume it is ADSL modem.
First of all, you do not need dhcp client when using pppoe.
So, you do not need to set any settings for your NIC connected to the modem. You can clear the settings in your /etc/rc.d/rc.inet1.conf. The following is how it looks like for my NIC which is connected to the modem.
# Config information for eth1:
Give pppoe-start a try and see what the results is.
I tried to set it as you said in the above post. Unfortunately, It still doesnt work. I still get the same timed out message. Are there any configurations that I need to check or alter? By the way that would be a direct connection and I am not in a LAN.
Yes. There is an activity LED on both the ethernet and the modem. DSL led is also present. This is what I got from my syslog:
Nov 29 12:31:14 Bratwurst pppoe: read (asyncReadFromPPP): Session 9106: Input/o
Nov 30 09:10:30 Bratwurst pppoe-sniff: recv (receivePacket): Network is down
Nov 30 09:12:06 Bratwurst pppoe: read (asyncReadFromPPP): Session 55478: Input/ output error
and here is what happened sometime after trying pppoe-start and pppoe-status command:
pppoe-start: There already seems to be a PPPoE connection up (PID 1569)
bash: pppoe-statu: command not found
pppoe-status: Link is down -- could not find interface corresponding to
pppd pid 1597
So my question is: should I set my ip address the same way as displayed with the autoconfigured ip add (169.254.199.116)? I dont even know if that is for the ethernet or the modem or both. But one thing I know is that this modem is acting as a bridge to my ISP.
The 192.168.0.1 address that I put in was just an example. You need to change this address to the internal IP address assigned to your aDSL modem.
Looking at the output from your Windows ipconfig, it's tell me that you don't have a DHCP server running at all. The 169.254.*.* address is automatically assigned to the interface when it cannot locate a DHCP server. This would explain why in Linux you are getting a time out message.
How do you have your modem connected to you PC, is it via an Ethernet cable...or something else like USB? I'm just trying to visualize how you have everything hooked up. Maybe you can draw up a quick diagram or how your set up is currently working on Windows and post the URL here?
Your best bet would be to configure the DHCP server for your modem. Log into the modem (web) interface and enable the DHCP server. Never used a Surecom modem/router, but I'm sure it wouldnt be that difficult. Just fill in all the necessary details and restart.
This should hopefully eliminate your DHCP timeout issues.
The other option would be to assign a static IP address to you PC and a static IP address to your modem.
PC ---> ADSL
Then on your Linux workstation, you will have to apply the following changes.
1. Change the IP address of your eth0
ifconfig eth0 192.168.0.2 netmask 255.255.255.0
2. Add the default gateway
route add default gw 192.168.0.1
3. Edit /etc/resolv.conf
In this file you should have the IP address of the DNS servers which your ISP has provided.
A DHCP server will be the easier option, and be more convenient if your network expands. Try the DHCP option first, and let me know how you go. You can always go back and try the static option.
I dont think I can configure my modem's DHCP setting without my ISP's permission. Is there another way to do it without changing my current modem setting? Also, my ISP did not provide me with and IP address for their nameserver. I would also like to clarify that my modem is a zyxel 650 series and not a surecom. surecom is my ethernet card.
you dont need permission of ISP to configure your modem....
you can make your modem be a Modem (you dial first then connect, always need a machine to dial first) or router (you are always connected to the internet and you can plug many computer as you want through a switch connected to your router) if you dont know how to configure it just call to your isp and ask for information and they will give.
You dont get it. I cant access the configuration menu for my modem. I think my ISP changed it. Until the tech service (which I was requesting for almost a week now)arrives, I will not have a clear cut procedure on what and how to do this on my linux os. So, If there's another way to do this, I would be glad to hear it. Thank you very much for the concern.