[arch] Efforts for PPPOE in Network Profiles

Askadar askadar at hvk-gymnasium.de
Wed Dec 13 15:27:52 EST 2006


Am Mittwoch, 13. Dezember 2006 14:29 schrieb Alper KANAT:
> The problem is that I always change place.. I'm at the dormitory in the
> week time, and at home at the weekend... At the dormitory, we're using
> PPPOE to connect the internet. At home, I use wifi.. I just change the
> profile in my rc.conf file.. But I don't want to explictly write
> pppoe-start..
>

I don't know anything about PPPOE in the network profiles, but you could use a 
network profile for the wifi at home, create two boot loader entries and use 
the NET= parameter at home and a custom parameter PPPOE at university. Then 
add the following to your rc.local

if [ ! -z "$(grep PPPOE /proc/cmdline)" ]; then 
	pppoe-start 
fi

You may need to give the full path to pppoe-start.

- Askadar



More information about the arch mailing list