LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   reconnecting using pppd with modem Sagem F@st (https://www.linuxquestions.org/questions/linux-networking-3/reconnecting-using-pppd-with-modem-sagem-f%40st-562507/)

yezu 06-17-2007 05:43 PM

reconnecting using pppd with modem Sagem F@st
 
Hi!
I'm using openSuSE 10.2. I'm connecting to internet using 'usr/sbin/pppd call eagle-atm', in my /etc/init.d/boot.local. Everything works fine.

What I would like to know how can I break such a connection so I can reconnect later on. I tried to read the manual for pppd, but I couldn't find what I need. Is there a simple bash command for that?

I know I could use kinternet for that, but it would mean reconfiguring everything from scratch, and I'm not feeling very adventurous at the moment :P

Can anyone help? Thanks :D

berbae 06-18-2007 04:05 AM

Hi
Quote:

how can I break such a connection so I can reconnect later on
Just kill the pppd process as root :
killall /usr/sbin/pppd
if the process is not killed softly run :
killall -9 /usr/sbin/pppd
which is more radical.
And to reconnect later re-run as root:
/usr/sbin/pppd call eagle-atm &
The '&' character put the process in background running task.
If you don't want to be root to do that, use sudo and give a user the permission to run these commands.
see 'man sudo'.
Have a good day.

yezu 06-18-2007 10:01 AM

I'm fighting with configuring 'sudo' right now, but it seems this will do the trick. Thanks :)


All times are GMT -5. The time now is 06:49 AM.