You are not logged in.
Pages: 1
Hi archers,
I have to use pppoe for my internet connection. So, I want to configure rc.conf accordingly.
How to do that ?
I tried leaving address, netmask and gateway empty in rc.conf but this make dhclient start anyway (logic).
It's not a big deal (I hacked the network daemon), but I prefer a cleaner solution if possible.
PS: BTW why there isn't a simple way to choose what dhcp client to choose, since a bunch of people are having trouble with dhcpcd ?
thx.
Last edited by tuxg (2011-08-25 05:14:48)
Offline
Use netcfg. Create a profile:
CONNECTION="ppp"
INTERFACE="ignore"
PRE_UP="ip link set dev eth0 up"
PEER="pppoe"
Then write the peer file (/etc/ppp/peers/pppoe):
plugin rp-pppoe.so
eth0
noauth
defaultroute
usepeerdns
user username_here
password password_here
DHCP does not come into play with pppoe.
Offline
thanks for reply,
netcfg depends on dhcpcd and I don't want to install it because it causes me some issues when I use another connection (dhcp).
Is this means that the pppoe connection is not covered by simply configuring rc.conf ?
Offline
thanks for reply,
netcfg depends on dhcpcd and I don't want to install it because it causes me some issues when I use another connection (dhcp).
Is this means that the pppoe connection is not covered by simply configuring rc.conf ?
rc.conf has never supported a pppoe connection.
Offline
tuxg wrote:thanks for reply,
netcfg depends on dhcpcd and I don't want to install it because it causes me some issues when I use another connection (dhcp).
Is this means that the pppoe connection is not covered by simply configuring rc.conf ?rc.conf has never supported a pppoe connection.
ah! my bad (new arch user).
I'll try Gusar solution and see.
Offline
If you only ever plan to use netcfg for pppoe, then you don't need dhcpcd. There's no hard dependency, only when you use IP="dhcp" in a profile do you need a dhcp client.
Offline
First of all, thank you for the help, the problem is resolved.
And thank you for introducing me to netcfg (I heard about it but never actually tried it)
/me going to read more documentation about netcfg
About dhcpd, I meant that the installation of netcfg brings it (I dont want things that I don't use)
but I'll give another try, may be the issues I had with it are now fixed. we'll see.
Offline
About dhcpd, I meant that the installation of netcfg brings it
Pacman is very flexible. You can install things ignoring it's dependencies, or later remove something even though another app depends on it. Of course you have to know very well what you're doing if you do stuff like that, but in this case it's safe to remove dhcpcd - the only thing that will break is netcfg profiles that have IP="dhcp" in them.
Offline
Yeah :B
Thanks, though I read the man pacman many times, I never thought about this.
You are very helpful
Offline
Pages: 1