LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-17-2007, 05:43 PM   #1
yezu
LQ Newbie
 
Registered: Apr 2007
Location: Gdynia, Poland
Distribution: Fedora 10/11
Posts: 22

Rep: Reputation: 15
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
 
Old 06-18-2007, 04:05 AM   #2
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
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.

Last edited by berbae; 06-18-2007 at 04:19 AM.
 
Old 06-18-2007, 10:01 AM   #3
yezu
LQ Newbie
 
Registered: Apr 2007
Location: Gdynia, Poland
Distribution: Fedora 10/11
Posts: 22

Original Poster
Rep: Reputation: 15
I'm fighting with configuring 'sudo' right now, but it seems this will do the trick. Thanks
 
  


Reply

Tags
pppd, sagem


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sagem Modem won't install. ellamb Linux - Hardware 3 08-12-2006 10:31 AM
sagem FAST E3 MODEM BACTRATE Mandriva 0 08-11-2005 10:44 AM
Evil Sagem f@st 800 modem Gazza487 Linux - Newbie 22 12-20-2004 08:12 PM
Tiscali and Sagem Modem chiller2123 Linux - Hardware 1 07-06-2004 02:34 PM
SAGEM Modem and KPPP under 9.1 glennmsmith Mandriva 9 10-19-2003 01:27 PM


All times are GMT -5. The time now is 07:30 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration