Linux through a Wireless Windows Connection
I know there are several guides on this on the internet, but none have seemed to solve my problem.
What I have tried thus far: - Sharing internet connection (won't work due to 192.168.0.1 IP conflict with router) - Bridging network connections (when bridging the ethernet card with the wireless connection, the wireless no longer works until I remove the bridge) - Running PPPShar on WinXP computer (made no difference) I've tried setting the Linux machine up through DHCP and using static IP's but I could not get it to ping any of the ethernet cards/router. the card definitely works because I can use the internet while it's plugged into the modem directly. The reason I'm running it through another computer is because now the router is 75' away. Any ideas of what to do, or if this configuration is even possible? Thanks |
|
You should be able to change the IP address of the router and then you would not have a conflict using XP ICS.
|
Quote:
|
No problems with the wired PC.
|
If you have a cable outlet near your computers you could move the router and cable modem to your room and use the wireless connection for the other computer that I assume is by the router currently, then you could connect both your computers to the router directly and wouldnt have to worry about sharing a connection, this would be the best way because if you wish to connect to your linux machine over the internet all you would have to do is forward the ports on the router, I've heard horror stories with getting ports forwarded through ICS.
If this isn't an option you can either change the router's IP like michael said or change the IP on the windows machine, when you enable internet connection sharing it sets the ip to 192.168.0.1, you can change this IP after you setup ICS to whatever you wish, either way will work, whatever you are most comfortable with. |
Thanks alot for the responses guys. This is aggravating me beyond belief. I tried what you guys suggested and it's still giving an issue with an IP conflict. However, using output from ipconfig, my network is as follows:
Router - 192.168.0.100 Hardwired computer - 192.168.0.104 Wireless XP - 192.168.0.101 Wireless XP (NIC) - 192.168.0.105 Linux - 192.168.0.106 All have Subnet mask of 255.255.255.0 I configured the Linux IP manually, but I can't ping the XP NIC, and I can't ping the Linux IP from my Win XP client. These are the only 5 components in my network. You'll notice that none are the 192.168.0.1 required for the ICS, but it still gives a conflict. Is it because I'm sort of "double hosting". I meant the router is trying to be the network host, and my wireless connection is kind of like the client. Then the Linux one is sort of a client branched off the client. Know what I mean? Like you said, it would be so much easier just to move the router, but we need the open ports where the router is for laptop hookup (not wireless capable). |
Change router IP to 192.168.1.1
The wireless XP interface configure for DHCP Now the wired side will be 192.168.0.1 per XP ICS And no conflicts. The wired XP and any PC pluged into the router will have a 192.168.1.x IP address. |
Quote:
169.254.210.155 Subnet: 255.255.0.0 That's the NIC that the Linux machine is connected to, but I still can't ping in either direction. |
Quote:
This IP address 169.254.210.155 is assigned when the DHCP client can not connect to the server. If this is the linux PC then it is not getting an address from ICS. If this is the XP box then ICS is not configured correctly. |
Router: 192.168.1.1
Windows: Your sharing nic should be 192.168.0.1, your wireless connection should be "auto config" and it should pull an IP from the router, did your wireless connection change to 192.168.0.1 when you enabled ICS? If it did try to share the wired connection, either way the wireless should be DHCP and the wired should be 192.168.0.1 Linux: If your linux machine can't pull an IP I would try to assign an IP manually, this is what I do because I connect to my linux machine from my laptop and other desktops on occasion, this way the IP will always be the same so you don't have to look it up, you don't really need DHCP unless you are on a huge network or for those people who have no clue what an IP even is. Heres what your IP's should look like: Router: 192.168.1.1 Windows: Wireless: DHCP, auto detect Wired: 192.168.0.1, this should be the connection you setup ICS on Linux: IP: 192.168.0.150 <---use .150 so the router won't assign the same IP to another computer Gateway: 192.168.0.1 <--------XP wired sharing nic IP DNS: 192.168.0.1 <-------XP wired sharing nic IP Subnet: 255.255.255.0 Hope this fixes it. |
Thanks alot guys. You've been icredibly helpful. I'm at work at the moment, but I'll be sure to try that out tonight.
I believe I've been going about it all wrong. I've been trying to do set up ICS on the wireless connection, since that's the connection I get internet through :newbie: I'll try and configure the ICS on the second NIC in the XP machine, and manually set up the Linux NIC, and hopefully all will be well. If I get this solved, I'll be sure to edit my first post with the full solution for any other users who may have the same problem. Thanks again! |
All times are GMT -5. The time now is 04:31 PM. |