Hello
I tried my first ADSL connection. I thought the interface connecting to Internet would be eth0, but it is ppp0. Is this correct or is something wrong?
It's probably fine, but the technical answer to your question is "it depends".
Cheap DSL connections typically use PPPoE (PPP Over Ethernet) to make the connection and authenticate users. This is, as you'd guess from the name, a type of PPP connection, so uses a ppp* interface. In this setup, the Ethernet connection acts as a "carrier" for the PPP connection, serving a role analogous to an analog phone connection ... the eth* interface associated with the device is not used at the IP level. This is what you almost surely have (at least if the setup you describe below actually works ... and it appears to, since the ppp0 interface is getting an IP address asignment).
Some DSL connections -- the better home-level ones, and all business-level ones I'm familiar with -- do not use PPPoE. They use ordinary Ethernet, typically with static address assignment (though DHCP is a possibility too). These connections will use eth* interfaces.
# ip addr 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo 2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:c0:df:f5:02:4a brd ff:ff:ff:ff:ff:ff 4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:c0:df:ec:4e:74 brd ff:ff:ff:ff:ff:ff inet 192.168.1.254/24 brd 192.168.1.255 scope global eth1 5: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1492 qdisc pfifo_fast qlen 3 link/ppp inet 200.45.218.59 peer 200.3.62.138/32 scope global ppp0
# /etc/network/interfaces # Loopback interface. auto lo iface lo inet loopback # Option 1.3: PPP/PPPOE (modem connected to eth0) auto ppp0 iface ppp0 inet ppp pre-up ip link set eth0 up provider dsl-provider eth0 # # Option 1.4: PPP modem #auto ppp0 #iface ppp0 inet ppp # provider provider
# Step 2: configure internal interface # Default: eth1 / fixed IP = 192.168.1.254 auto eth1 iface eth1 inet static address 192.168.1.254 masklen 24 broadcast 192.168.1.255
------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html