Talk:Speedtouch 330

From openSUSE

It is useful in a lot of cases when using ADSL, to perform a ping every few minutes to keep the line alive. If you would like to do this in your SuSE system, you can follow these instructions:

1. If they don't exist, create the files /etc/ppp/ip-up.local and /etc/ppp/ip-down.local and make them executable:

 # touch /etc/ppp/ip-up.local && chmod +x /etc/ppp/ip-up.local
 # touch /etc/ppp/ip-down.local && chmod +x /etc/ppp/ip-down.local

2. Edit the file /etc/ppp/ip-up.local and add the following line (this will ping your dns server every 293 seconds, you may need to change the location of /etc/resolv.conf):

 ping -i 293 `grep ^nameserver /etc/resolv.conf | awk '{print $2;exit}'` > /dev/null

3. Obviously we do not need the pings running once you disconnect, so we add these lines to /etc/ppp/ip-down.local to stop them:

 for process in `ps aux | grep "ping -i 293" | awk '{print $2}'`
 do
   kill $process
 done

Why?

I don't know why this would be useful if we can set inactivity delay to 0 (infinite) during the network configuration? Am I missing something ?--Chahibi 15:47, 12 Jan 2006 (MST)

One remark from newbe

There are only otwo things that bothered me for the first time I've tried to configure my speedtouch. In every tutorial,hint etc. it is said "run KInternet". Most of 'guru's' forget that it is not automaticaly installed (for sure not when you have gnome instead of KDE). So don't forget to run Yast2>software management (as I remember) and install that (just type in the search 'kinternet', check it on the list and press 'install'). Second thing- 'pppd call speedtch' from the command line is not working (never in my short experience) simply because dsl configuration doesn't create such file like 'speedtch' in the ppp folder. Preaty obvious, I know, however remember that very often openSUSE is recomender as an 'easy to install and use' so you (we) have to be precise ;)