Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-21-2010, 04:49 PM   #1
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
3G modem on debian try to share connection with lan

Right... Generally I don't like just asking stuff but just can't crack this one. I got a debian machine. My internet connection is on a 3g usb modem. It connects perfectly. Then I downloaded DHCP 3 and then configured it so I got network address with gateway on (set by DHCP) is also the eth0 address and is assigned as fixed by DHCP. With the modem not connected the other PC connects no prob, gets the default gateway and get assigned an ip by DHCP and there is a proper connection with APACHE serving pages. So it is all grand. Where my prob comes in is that I am not able to get traffic from the modem through to the other PC, and at times the modem would not be used as default connection with eth0 up. Restarting the modem fix this but then also drop the assigned gateway address.They are connected directly via crossover cable. The modem is setup as ppp0 according to ifconfig and then ethernet as eth0 and I tried some masquerading allowing all traffic through but does not seem to do the trick. Anyone out there has similar problems?

Thanks in advance guys.

Last edited by ericson007; 03-21-2010 at 04:53 PM.
Old 04-02-2010, 11:25 PM   #2
Bob D
LQ Newbie
Registered: Jan 2010
Posts: 12

Rep: Reputation: 0
Lite solution might be wicd. Heavy would be iproute2.

Stuff should just work.
0 members found this post helpful.


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
Can I share my lan connection? baig Linux - Newbie 8 12-03-2008 07:27 PM
How to share internet connection with Single LAN card shared over a switch!! anupamjamatia Linux - Networking 1 05-29-2008 08:28 AM
How to share internet connection with Single LAN card shared over a switch anupamjamatia Linux - Networking 1 05-29-2008 06:49 AM
Debian share LAN Windows XP printer? rockymaxsource Linux - Networking 2 09-28-2006 02:59 PM
How can I share my Internet connection with other LAN ms windows users emiliofil Linux - Networking 1 02-21-2004 11:01 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:50 PM.

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