On 12 January 2006 13:39, Charles Trois wrote:
> It's not easy to install things in Gentoo without Internet access,
> especially when it's about installing the Internet connexion itself.
>
> My ISP uses PPPoA, and I have a Speedtouch USB modem, the installation
> of which requires ppp-2.4.3. This is not provided by the distfiles, so I
> used a tarball downloaded under MacOS, which I installed in the ordinary
> way (which is not the Gentoo way). The Speedtouch pages say that one should
>
> (1) write PEER="speedtch" in /etc/conf.d/net.ppp0 (speedtch is the
> name          of the modem config file)
>
> (2) run       "rc-update add net.ppp0 default"                in order        
> that ppp0 start at
> boot.
>
> Thus installed, the thing works, but only up to a point, in that
>
> (3) I have to run  "pppd call speedtch"  to start ppp, and

Maybe that PEER line in /etc/conf.d/net.ppp0 has to contain the full path.

>
> (4) I must change the default route from eth0 to ppp0 to make the
> name                  resolution work.

If there is already a default route pppd cannot change it. There should be a 
message about it in your log files. Do you really need a default route when 
not connected? Probably not. In that case just don't define it 
in /etc/conf.d/net. Pppd should then be able to create a default route. If 
you do need it when not connected add two lines to /etc/ppp/ip-up that delete 
the old default route and create a new one. Of course, you then also need two 
new lines in /etc/ppp/ip-down that change it back.

Uwe

-- 
Unix is sexy:
who | grep -i blonde | date
cd ~; unzip; touch; strip; finger
mount; gasp; yes; uptime; umount
sleep
-- 
gentoo-user@gentoo.org mailing list

Reply via email to