SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
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.
Code:
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
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[2699]: read (asyncReadFromPPP): Session 9106: Input/o
utput error
Nov 30 09:10:30 Bratwurst pppoe-sniff: recv (receivePacket): Network is down
Nov 30 09:12:06 Bratwurst pppoe[1554]: read (asyncReadFromPPP): Session 55478: Input/ output error
and here is what happened sometime after trying pppoe-start and pppoe-status command:
bash-3.00# pppoe-start
bash-3.00# pppoe-start
pppoe-start: There already seems to be a PPPoE connection up (PID 1569)
bash-3.00# pppoe-statu
bash: pppoe-statu: command not found
bash-3.00# pppoe-status
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.
Example:
Code:
PC ---> ADSL
192.168.0.2/255.255.255.0 192.168.0.1/255.255.255.0
Then on your Linux workstation, you will have to apply the following changes.
1. Change the IP address of your eth0
Code:
ifconfig eth0 192.168.0.2 netmask 255.255.255.0
2. Add the default gateway
Code:
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.
Code:
nameserver 203.12.160.35
nameserver 203.12.160.36
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.