?
Solved

Problem disconnect my Alcatel ADSL USB modem

Posted on 2003-02-23
2
Medium Priority
?
283 Views
Last Modified: 2013-12-15
Hi

I am an absolute linux beginner. I have managed to get my alcatel modem to connect to the internet, but the problem is that I can not disconnect, and I: am paranoid about me permanently connected to the internet.

I used the following script to connect.

#!/bin/sh

cd /usr/src/speedtouch-1.2-beta1/
./configure && make
make install
echo Adding ppp_generic
modprobe ppp_generic
echo Adding ppp_synctty
modprobe ppp_synctty
echo Adding n_hdlc
modprobe n_hdlc
echo Adding usbcore
modprobe usbcore
echo Mounting /proc/bus/usb
mount none /proc/bus/usb -t usbdevfs
echo Adding usb-ohci
modprobe usb-ohci
echo Binding modem
modem_run -m -f /usr/src/mgmt/mgmt.o
echo Starting service
pppd call adsl

My kernel is 2.4.19 and I am using Mandrake 9.


Cheers

Adrian
0
Comment
Question by:adrianH
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
majorwoo earned 200 total points
ID: 8003655
the command

killall pppd

will disconnect you, but instead of doing that, put up a good firewall and dont worry about it

http://majorwoo.dynup.net:1024/pub/rc.firewall

is a very nice iptables firewall, very well commented -> add a call to

/etc/ppp/ip-up.local

and whenever your IP changes it will rerun the script -> good stuff
0
 

Author Comment

by:adrianH
ID: 8019378
Thanks for that mate. I have got a firewall already but hey these script kiddies worry me :->
0

Featured Post

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month11 days, 7 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question