Networking Forums

Networking Forums > Computer Networking > Linux Networking > Need help w/routing between Eth0 and modem

Reply
Thread Tools Display Modes

Need help w/routing between Eth0 and modem

 
 
Scott Ehrlich
Guest
Posts: n/a

 
      05-22-2005, 03:19 AM

I have a Compaq Armada M700 laptop with a built-in Intel Pro 100+ miniPCI
NIC and a built-in Lucent LT WinModem modem. I want to configure the
system as a personal ISP such that I can dial into the machine from my PDA
and cell phone and have it route calls to my Linksys "Broadband"
router/hub (befsr81) which then connects to my cable modem. If the Lucent
WinModem is impossible or too much of a pain, I have a genuine USR
Sportster external 14.4k modem I can plug into the serial port, but I to
try with the WinModem, first.

I want to configure the modem to only accept an incoming _data_ call from
my cell phone then issue a dynamic IP address, and then work with the NIC
for the rest. If anyone else calls, or if I establish a voice call from
my cell phone, I want the modem to ignore the incoming call. Also, how
do I handle/configure user authentication for dial-in access? Would it
be part of the PPP config? How is the dial-in DHCP pool defined?

I am not knew to linux or debian or networking, but I've never set up this
kind of configuration before and would really appreciate help and
guidance. I am planning to use the recent Debian testing for my
install, unless people suggest otherwise.

I also look to take advantage of the ability to remote control/fix things
via an ssh client on my PDA (tussh) if something went wrong or needed to
be changed.

Thank you.

Scott
 
Reply With Quote
 
 
 
 
Juha Laiho
Guest
Posts: n/a

 
      05-22-2005, 07:36 AM
(E-Mail Removed) (Scott Ehrlich) said:
>I have a Compaq Armada M700 laptop with a built-in Intel Pro 100+ miniPCI
>NIC and a built-in Lucent LT WinModem modem. I want to configure the
>system as a personal ISP such that I can dial into the machine from my PDA
>and cell phone and have it route calls to my Linksys "Broadband"
>router/hub (befsr81) which then connects to my cable modem.


First, work this piecewise! One piece at a time, until you understand
how that one piece works, and what is its relation to the other pieces.

>I want to configure the modem to only accept an incoming _data_ call from
>my cell phone then issue a dynamic IP address, and then work with the NIC
>for the rest. If anyone else calls, or if I establish a voice call from
>my cell phone, I want the modem to ignore the incoming call.


Hmm, wait. You're anyway connecting the modem to a traditional phone
line - and you may have caller identification enabled on that line
from your local phone company.

Now, connect a phone to that line. Make a voice call from your mobile
to the landline number. Then, make a data call to the same number.
Find out what is the difference in the two calls -- before answering:
I claim there is no difference - thus, you can't distinguish incoming
data and voice calls on the landline. And your modem can't do it either.

If you have caller-id enabled, your modem may (and most often should) be
able to pick the caller number before answering, so that part can be
done.

Some phone companies may provide a single landline with several numbers
so that different numbers are distinguished by different ringing tones
(or rather, rhythms: ring-pause-ring, versus ring-ring-pause-ring-ring,
for example). If this is available at your location, it might be possible
to distinguish your data calls from the others by calling to separate
numbers (but still assigned to a single line).

Don't go into the, user authentication, PPP set-up or routing until you
have the above piece completed - to at least some satisfactory level.


I'd say that properly distinguishing the incoming calls will be the
hardest part to get working. The winmodem either works, or doesn't;
you'll find out that by testing - and anyway you have an alternative.

Then the PPP set-up (including user authentication), and routing
issues should be the parts for which documentation and help would
be easiest to find.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      05-22-2005, 11:19 AM
Scott Ehrlich wrote:

> I have a Compaq Armada M700 laptop with a built-in Intel Pro 100+ miniPCI
> NIC and a built-in Lucent LT WinModem modem.**I*want*to*configure*the
> system as a personal ISP such that I can dial into the machine from my PDA
> and cell phone and have it route calls to my Linksys "Broadband"
> router/hub (befsr81) which then connects to my cable modem.**If*the*Lucent
> WinModem is impossible or too much of a pain, I have a genuine USR
> Sportster external 14.4k modem I can plug into the serial port, but I to
> try with the WinModem, first.
>
> I want to configure the modem to only accept an incoming data call from
> my cell phone then issue a dynamic IP address, and then work with the NIC
> for the rest.**If*anyone*else*calls,*or*if*I*establish*a*voice*call*from
> my cell phone, I want the modem to ignore the incoming call.***Also,*how
> do I handle/configure user authentication for dial-in access?***Would*it
> be part of the PPP config?****How*is*the*dial-in*DHCP*pool*defined?


There's a mini ISP HOWTO at www.tldp.org, which can help you. While it's
written for Red Hat, you should be able to adapt it to your system. Also,
dial in lines don't use DHCP. Each line is assigned it's own address.
Dial in ISPs only appear to have dynamic addresses, as each time you dial
in, you may get a different phone line, with it's own IP.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
disable local routing between eth0 and eth1 - iptables astonishs@yahoo.com Linux Networking 9 05-28-2008 02:34 AM
Can't get eth0 up (wired) - e1000 device eth0 does not seem to be present, delaying initialization. OtisUsenet Linux Networking 2 06-06-2007 02:57 AM
routing wlan-usb to eth0 Martin Klar Linux Networking 4 02-11-2007 12:13 PM
Routing everything through eth0 Phoenix Linux Networking 1 02-08-2007 01:40 PM
how tho change source address of eth0/eth0:1 ? news Linux Networking 2 06-09-2004 03:25 PM



1 2 3 4 5 6 7 8 9 10 11