Re: multiple ppp links and routing ..
- From: "Lawrence" <xmarlawx@xxxxxxxxx>
- Date: 29 Jun 2006 10:26:30 -0700
Moe Trin wrote:
Is this a continuation of the stuff you posted about back in January inYes, it is :)
Does your modem(s) really know how to say all of those words?
I don't know.All I did was looking for example and copying settings I
though I should use.
Let's say that if it understands this words it would be usefull ?
'' ATZ
Do you know specifically that this is the correct init-string for your
modem? "ATZ" sets what has been saved to NVRAM setting 0, and unless you
know positively that what is set in NVRAM, you are better off using the
factory default setting - almost always AT&Fn where 'n' is 0, 1, or maybe
2.
OK-AT-OK "ATDT0331051010"
OK ATDT0331051010
So I should only use what you say ?
I just copied the result of some configuration tool available for
debian ..
I also had a look in how to's but I wanted to use the most standard
setting I could ..
You'll also need to add some firewall rules to restrict use of each
connection. When you '/sbin/route add -net' that route is available
to _all_ users, not just the one who brought up the connection.
This is already done by iptables .. it first refuses anyone, adding
manually who can be routed but then also i have a routing table for
each connection (with all users as rules) and no default route .. I
think is enough, is it ?
Oh, let me ask an other question, is it possible to count data in/out
for a certain IP with iptables and log ? like 40 mb in and 90 mb out
for user 10.0.0.2
A case statement is probably easier. See the Bash-Prog-Intro-HOWTO and
the "Advanced Bash Scripting Guide" from http://tldp.org/guides.html.
Hey thanks and good memory!
.
- Follow-Ups:
- Re: multiple ppp links and routing ..
- From: Moe Trin
- Re: multiple ppp links and routing ..
- References:
- multiple ppp links and routing ..
- From: Lawrence
- Re: multiple ppp links and routing ..
- From: Moe Trin
- multiple ppp links and routing ..
- Prev by Date: Re: wget and testing a website
- Next by Date: Re: Cygwin problem with cron and networked drives
- Previous by thread: Re: multiple ppp links and routing ..
- Next by thread: Re: multiple ppp links and routing ..
- Index(es):
Relevant Pages
|