Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an 3.5G USB Modem that I want to share its internet connection in Linux. I tried already, but only got having no internet on my own PC, still without sharing it.

It's really hard to find some documentation about this and the producer doesn't give support for Linux :(

My modem is from ZTE company, model MF622.

share|improve this question

migrated from stackoverflow.com Jul 11 '10 at 0:02

This question came from our site for professional and enthusiast programmers.

4 Answers 4

up vote 1 down vote accepted

It seems that the best way to accomplish what you want is to route the connection to your PC through the linux system. Try this tutorial on the ubuntu community site. If this isn't what you wanted, comment.

https://help.ubuntu.com/community/Internet/ConnectionSharing

share|improve this answer

Or try here: http://www.randombugs.com/linux/install-vodafone-mobile-connect-linux.html

I think is possible to be exactly what you want. Usually this modems are exactly like a normal modem, and they connect on serial over USB.

Regards

share|improve this answer
    
That's what I did to configure my modem in Linux. I have it working already, but now I want to share this internet connection to another PC :) Thank you –  Ricardo Jul 10 '10 at 10:48
    
enable forwarding and iptables -t nat -A POSTROUTING -i eth0 -s 192.168.0.0/24 -j MASQUERADE –  Sacx Jul 15 '11 at 7:36

To enable internet connection sharing you first have to get your internet connection working and then set up masquerading (NAT).

See the NAT HOWTO may help for how to set it up, most likely all you need is the "I just want masquerading! Help!" chapter

share|improve this answer

If you just want to share to one other PC (for example, from wireless to cable) and you're using Ubuntu there's a native option for that.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.