I have a similar connection with two different linux machines. Both need different methods to connect. One of the two methods can help you.
I think you need to check the IP settings. Mostly your server is not supporting DHCP. so you need to find out the IP address you need for your ethernet card and assign the same to it mannually. Before doing adsl-setup/adsl-start you can try : # ifconfig eth0 [your IP address]
- or better run network configuration service:
# system-config-network and edit the configuration of your ethernet card(mostly eth0). Fill in the IP address, Subnet mask, and default gateway. I'm not sure if this service is available in SuSE.
- Otherwise, if available you can try #netcardconfig and #pppoeconf
commands as well . to do the same.
PPPOE does not need any IP addresses to be put up. Its the same as dialup connection , the only additional parameter being that one has to specify "service name" along with username and password. You are confusing DHCP with PPPoE. Also PPPoE is not dependant on the IP address assigned to the LAN card , it can be anything or nothing. So you do not have to specify the Default Gateway , DNS etc ..its done automatically each time a connection is made.
The easiest way to setup a PPPoE connection is as follows.... 1> run "/sbin/pppoe -A" from the terminal and note down the service name. 2>If you are using any RedHat system , just fire up "system-config-network" and in new connection select "XDSL" , enter username password and service name . 3> If using Ubuntu , do "sudo pppoeconf" and just follow the instructions on screen. Also remember that you have to set the MTU/MRU to 1492 or such value and _NOT_ 1500 for PPPoE to work properly. 4>In SUSE you can do it using Yast /Kinternet , I had done it once long time ago in SUSE 9.1 LIVE Cd. Dont remember the procedure exactly. If anyone can shed more light on this please....I am going to install SUSE 10.1 in a few days.
On 5/14/06, अिनकॆत (Aniket) aniketvb@gmail.com wrote:
PPPOE does not need any IP addresses to be put up. Its the same as dialup connection , the only additional parameter being that one has to specify "service name" along with username and password. You are confusing DHCP with PPPoE. Also PPPoE is not dependant on the IP address assigned to the LAN card , it can be anything or nothing. So you do not have to specify the Default Gateway , DNS etc ..its done automatically each time a connection is made.
The easiest way to setup a PPPoE connection is as follows.... 1> run "/sbin/pppoe -A" from the terminal and note down the service name. 2>If you are using any RedHat system , just fire up "system-config-network" and in new connection select "XDSL" , enter username password and service name . 3> If using Ubuntu , do "sudo pppoeconf" and just follow the instructions on screen. Also remember that you have to set the MTU/MRU to 1492 or such value and _NOT_ 1500 for PPPoE to work properly. 4>In SUSE you can do it using Yast /Kinternet , I had done it once long time
Thanks for letting me know the SuSE methods. btw, you are right, PPPoE and DHCP are different and independent. Its just that some service providers dont support DHCP and thus even if the dial up settings are proper, the LAN card itself remains unable to make the physical connection. In that case you need to provide all of the addresses. Though it can be a one time configuration that need not be done everytime you bootup. Plz let me know if there are any other methods to do so.
On Sun, May 14, 2006 at 04:18:39PM +0530, अिनकॆत (Aniket) wrote:
PPPOE does not need any IP addresses to be put up. Its the same as dialup connection , the only additional parameter being that one has to specify "service name" along with username and password. You are confusing DHCP with PPPoE. Also PPPoE is not dependant on the IP address assigned to the LAN card , it can be anything or nothing. So you do not have to specify the Default Gateway , DNS etc ..its done automatically each time a connection is made.
PPPoE can work with static or dynamic IPs. In windows i have set different cable net connections and in many cases the IP and its associated settings are static. The IP is set when the pc starts. The customer can later choose to login via PPPoE to use the internet. If the customer does not remember the settings, the cable CC guys give the IP address and other settings for that pc.
In dialup the dhcp setting has to be enabled and its the default setting. If you recollect, a few years ago, VSNL CC would ask the user to check these settings whenever the net would not work.
Regards,
Rony. Send instant messages to your online friends http://uk.messenger.yahoo.com
On 5/14/06, अिनकॆत (Aniket) aniketvb@gmail.com wrote:
PPPOE does not need any IP addresses to be put up. Its the same as dialup connection , the only additional parameter being that one has to specify "service name" along with username and password. You are confusing DHCP with PPPoE. Also PPPoE is not dependant on the IP address assigned to the LAN card , it can be anything or nothing. So you do not have to specify the Default Gateway , DNS etc ..its done automatically each time a connection is made.
eh...whats up doc? lol...always wanted to say that... You're right. Just to clear up a bit. DHCP is used to assign the IP while PPPoE is just what its name is...It is PPP over Ethernet. Same as PPP except its used over the ethernet ( No nitpicking please ). So whatever is your IP settings, they just dont matter cuz PPPoE doesn't depend on that layer at all :)
On Mon, 2006-05-15 at 00:04 +0530, Dinesh Joshi wrote:
its used over the ethernet ( No nitpicking please ). So whatever is your IP settings, they just dont matter cuz PPPoE doesn't depend on that layer at all :)
Indeed, the IP layer depends on the PPP (over whatever medium) link layer.
-- Arun Khan (knura at yahoo dot com) There's no real need to do housework -- after four years it doesn't get any worse.
On 5/14/06, अिनकॆत (Aniket) aniketvb@gmail.com wrote:
4>In SUSE you can do it using Yast /Kinternet , I had done it once long time ago in SUSE 9.1 LIVE Cd. Dont remember the procedure exactly. If anyone can shed more light on this please....
Make sure the package rp-pppoe is installed.
As root, run adsl-setup. The script asks you for - * username * ethernet interface to use (eth0, eth1 etc) * whether you want the inteface to be "always on" or if want it to come up on demand * IP address of the DNS server, if required * password * Type of firewall (none, standalone, masquerade)
After accepting these settings, run `asdl-start'. If all is well, you should get connected. Run `asdl-stop' to bring down the connection.
If you want the bring up the connection automatically on boot, enable the `asdl' service (possible through Yast).
Somehow Yast's interface for DSL connections didn't work for me.
I am going to install SUSE 10.1 in a few days.
x86-64 edition, by any chance?