l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2003 Dec 20 00:11

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] using a modem and ethernet concurrently
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] using a modem and ethernet concurrently



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 19 December 2003 11:29 pm, Charles McLaughlin 
cmclaughlin-at-ucdavis.edu |lugod| wrote:
> Hello,
>
> I'm having problems using my dial up modem and ethernet at the same time.
> This is a real bummer because I'm trying to set up a router/firewall, but I
> think I need to work this out first!  ;-)
>
> I've found that I need to remove an iptable routing entry for the ethernet
> card in order to be able to use the modem.  And it is imperative that I
> remove that iptable entry before I dial up.

That's the routing table, not iptables

> Here is what I've done to get it to work:
>
> --------------
>
> The default:
>
> cmclaugh@linux-router:~$ route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0
> eth0 0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0       
> 0 eth0
>
>
> I have to run the following **before** I dialup or else I won't be able to
> ping anything:
>
> cmclaugh@linux-router:~$ route del default gw 192.168.0.1
>
>
> Then I can dial up and connect:
>
> cmclaugh@linux-router:~$ pon                    # dials the modem, etc
>
> cmclaugh@linux-router:~$ route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 169.237.17.97   0.0.0.0         255.255.255.255 UH    0      0        0
> ppp0 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0       
> 0 eth0 0.0.0.0         169.237.17.97   0.0.0.0         UG    0      0      
>  0 ppp0
>
> -----------
>
> Does this seem normal?  To me, what I've done seems like a crude work-
> around.  Is there a better way to allow the modem and ethernet to live
> together in peace?

Why do you have a default route via 192.168.0.1? Do you have internet access 
via a LAN?

- -- 
PGP/GPG Fingerprint: 3B30 C6BE B1C6 9526 7A90  34E7 11DF 44F3 7217 7BC7
On pgp.mit.edu, import with `gpg --keyserver pgp.mit.edu --recv-key 72177BC7`
Also available at http://www.cal.net/~ryan/ryan_at_mother_dot_com.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/4/xNEd9E83IXe8cRAiOwAKCIqasDg0qrKa7FGeeFmcQQtwlG9gCgnbyl
uJYxpYZvKt2aX/26953fVk8=
=B85G
-----END PGP SIGNATURE-----
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.