I want to share Wifi across my LAN and out a WRT54g WiFi router
Posted on 2013-01-24
My girlfriend and I have moved for four months to a new city and I've opted to not buy Internet here due setup costs, monthly payments and early cancellation costs.
I brought along the following:
- a Yagi Wifi antenna
- a WRT54g router (running DD-WRT firmware)
- a PC computer (an Intense PC by CompuLab)
- an Apple Mini MAC
- an iPhone, iPad, Kindle Fire and a NetBook
My PC has Wifi antennas on it and I'm able to remove one of them and to connect the Yagi WiFi antenna to it so that I can access WiFi signals at some distance.
I've found a University in the area from which I can obtain WiFi signal. This WiFi works on my Intense PC just fine.
What I want to do now is to run a CAT5 cable from the Intense PC's LAN port to the WRT54g, another CAT5 cable from my WRT54g to my Apple Mini MAC and then also have the WRT54g broadcast WiFi locally here in our apartment so that all my other devices can access the Internet via WiFi.
Note that none of my other wireless devices can use the University's signal because, without the Yagi, it is too weak.
And this is where I'm hung up. I cannot get the PC's Internet shared out via the PC's LAN port.
I've read about Bridges and ICS sharing.
I've read that creating a bridge on my PC between the WiFi and the LAN port is not a wise idea as it will make everything on my local LAN visible to folks out on the Internet. So, I've avoided that.
I'm thinking that ICS should do what I want but I can't get it to work. I'm not sure if my problem is with the ICS setup or with how I'm trying to use, or misuse, the WRT54g.
What I'm expecting the WRT54g to do is to share whatever comes in on the LAN port from the PC out onto its other three LAN ports and also out over the WiFi it is broadcasting.
To setup ICS, I go to the the PC's network connections, select the WiFi connection and go to the sharing tab and click on "Allow other network users to connect through this computer's Internet connection".
Then it tells me that ICS will make the IP address of the LAN port be 192.168.0.1. That's not a problem as I'd already set it manually to be 192.168.0.1.
Now, in the network connections, when I look at the WiFi connection, I see it is shared, it is a public network and it has Internet access. It's getting its IP and DNS stuff via DHCP.
When I look at the LAN connection, I see it is described as an unidentified network, has no Internet access and is described as a public network. It has an IP address of 192.168.0.1, mask of 255.255.255.0 and no gateway information (I read the gateway is suppose to be left blank). I've also entered in two DNS IP addresses that I know are valid.
The WRT54g is manually set to IP = 192.168.0.2 and the Mini MAC is IP = 192.168.0.3. I'm intending that the other devices will get their IPs from the WRT54g's DHCP.
My wireless devices (iPhone, iPad, etc.) are all finding the WRT54g OK. From the Mini MAC, I can ping the WRT54g and any of the wireless devices linked to the WRT54g.
But I cannot ping the PC @ 192.168.0.1 from the Mini MAC. Nor is Internet being shared to the Mini MAC nor any of the wireless devices linked to the WRT54g.
Help, experts. What am I missing here?