How can I make my router connect to the internet through a computer?

3

I have a router using DD-WRT firmware. I also have a computer that has a 3g wireless connection. How can I tell my router to access the internet through my computer?

[edit: the computer with access runs windows 7]

See figure: enter image description here

hughes

Posted 2011-08-02T17:15:39.000

Reputation: 1 624

Answers

3

  1. Set up sharing on COMPUTER with 3G
  2. Set up static ip address on COMPUTER with 3G (192.168.5.1 or so)
  3. Connect your COMPUTER with 3G to WAN port on ROUTER
  4. Set up static ip address on WAN settings with GATEWAY pointing to 192.168.5.1 - Ip address from range 192.168.5.X), as DNS servers you could use some google servers 8.8.8.8, 8.8.4.4
  5. Enjoy :-) As long as you've shared your connection on COMPUTER properly you should be fine.

MadBoy

Posted 2011-08-02T17:15:39.000

Reputation: 2 751

This worked perfectly! At first I thought it didn't, but I tried again and it's fine. Thanks so much, I would have never figured this out! – hughes – 2011-08-03T02:00:37.763

2

You need to enable some kind of Internet Connection sharing feature on the computer with the Internet connection. You haven't stated what OS you're using, so better details will be harder to give.

Here's some potentially helpful links:

James T Snell

Posted 2011-08-02T17:15:39.000

Reputation: 5 726

Thanks for the info. The computer with access is running windows 7. – hughes – 2011-08-02T17:26:36.230