Jump to content
xisto Community
ejfetters

Internet Connection Sharing Problems

Recommended Posts

Windows7 Internet Connection Sharing (ICS) with Ubuntu 9.04 boxInternet Connection Sharing Problems

Windows7 Internet Connection Sharing (ICS) with Ubuntu 9.04 box

Here's how I did it. Easy steps... 1 - 2 - 3 - 4...

The equipment and platforms:

Dell Dimension 8300 desktop running Win7 and using a USB and-band WLAN adapter as the connection to the internet (the and-band WLAN router is at the other end of the house and diagonally downstairs). A 5-port networking switch connects the Dell's 10/100 LAN card via standard CAT5 cables to a homebuilt AMD desktop running Ubuntu 9.04, freshly installed and yet to be updated. Had I not had an available switch sitting around, I would have used a cross-over CAT5 LAN cable - it should provide the same experience as the switch as long as one is only using two systems.

DSL Modem <===> and-Band Router <>))) (((<> USB WLAN adapter <-> Dell Desktop <===> switch <===> AMD Desktop

Essential Preparations:

The Dell's WLAN connection was established and verified working and able to browse the internet.

Both the WIN7 and the Linux box have identical "name and password" accounts and are running using those same accounts. Convenience over security has both machines automatically defaulting to the desktop of that account at boot.

The LAN cards on both boxes are lit and seeing the connection between the units. The lights on the switch confirm the network handshake.

ALL connections are set to be automatically assigned an IP and DNS... Except for the one exception listed below, and only then if auto mode doesn't work.

The Necessary Steps:

1) In the system tray of the Dell, I left-clicked the networking icon (right-click would work too). I chose "OPEN NETWORK AND SHARING CENTER" from the bottom of the popup.

2) Under "View Your Active Networks" and to the right of "Connections" (the first one in my case), I left-clicked on "WIRELESS NETWORK CONNECTION", then chose the "PROPERTIES" button at the bottom of the popup.

3) I chose the "SHARING" tab, then put a check in the first of the two available boxes - that enables ICS. I clicked "OK" on the popup that tells me that it will automatically assign an address of 192.168.137.1 to the LAN connection. I then click "OK" at the bottom of the "SHARING" page. This will bring you back to the NETWORK AND SHARING CENTER where you should see the Wireless and the Local Area connections showing "INTERNET" as each one's Access Type (it sometimes is delayed a few seconds). If not, try repeating step 2, deselecting the check box and again clicking "OK", then repeating steps 2 and 3. If it proves stubborn, reboot and try steps 1 through 3 again.

4) Final step: I then turned to the Linux box, opened the Network icon, and left-clicked on its "auto eth0" connection icon to force it to recognize the new connection. Once reconnected, I could browse the internet and perform updates.

If this still doesn't work, try turning off any and all virusscan and firewall and anti-spyware software running in the system tray and try again. Your router should provide enough firewall protection until you figure it out. Just FYI, I use the standard WIN7 firewall, AVAST AV, and no anti-spyware program that runs in the background, and needed to turn off nothing for this to work.

If this still isn't working, check the assigned IP address of the Linux LAN card... It has to be 192.168.137.Xxx something - where XXX is NOT equal to "1". If it is not, try manually assigning a static IP address in that format, and make xxx something between 2-254, subnet 255.255.255.0, default route AND primary DNS 192.168.137.1 each. Then attempt to activate ICS again using steps 1 through 3. This is the "one exception" where automatically assigning IP and DNS may not function correctly - but did in my case.

Be aware and BEWARE - ICS [in the WIN7 RC Build 7100 I have, at least] is very unstable and disconnects a LOT. When it does, remove the ICS on the first machine by following steps 1-2, uncheck, "OK", then repeat steps 1-3, and it should reconnect - for another short time, at least.

ICS is really only suitable for quick and dirty temporary connections for the purpose of doing experimental work and quickie system updates for friends, for instance, and only when it just isn't practical to run cable to the main router and the computer you are connecting simply doesn't have a WLAN card. A cheap and simple WLAN USB adapter would be much much easier. So would a CAT5 connection to the main router if the distance is short. I only used it in this circumstance because the router is all the way on the other side of the house and impractical to stretch a wire to, and my only USB WLAN adapters are not Linux compatible. I had a couple short cables and a switch, so decided to use them. It took me 2 weeks of off and on research and trial and error... It would have been vastly easier to drag the Linux box downstairs or buy something compatible. Just call me stubborn.

-reply by Tearfall

 

 

Hey all i had an issue like that where i have my main pc connected to my ultra speed modem via usb cable and had some trouble sharing the connection to my dd wrt router via the etherney adapter and my final solution was to turn the wan connection off in the routers gui then setting the dhcp to forward and setting the dhcp server's to match the motems dhcp addresses and put a check mark in the set router to switch mon box all of which is on the roughters basic setup page in the roughters gui every thing is running great exept now i cant access the roughters gui from my browser would like to access to make some security changes but im afrade ill have to do a 30/30/30 to revert back to factory defaults inorder to setup security befor finaly setting ics if any of you know a way around this it would be great thnx.

Share this post


Link to post
Share on other sites

Hello,Hope fine! I have hp compaq d530sff desktop system.I have driver problem and installation problem of window..I did install window by different cds but problem is same..It take much time in installation,while I have complete os requirement...It take too much time in window installation setup on saving setting,and removing any temporary files setup while installation..When I complete my window installation.Its ok when for second time I on my system it does,not show window startup screen and remain stayed at setup screen then I have ALT+CTRL+Del then it show pxe-e20: bios extended memory copy error and pxe-Mof:exiting pxe rom.

When I hav to do alt+ctrl_delete.Then it again shows setup press 1 to boot press f10 to setup screen. When I do again alt+ctrl+delete it show blue screen error like hardware malfunction. This system has halted..Please help me in this case... I will be thankful to you..Whats all this problem..I'm searching solution in google by sites so I find this site one to share my problem..My personal yahoo id:rabia_rosegirl@yahoo.Com..U can share me and send me solution on this id I'm waiting...


I have same problem with yours, and yes its hardware malfunction, try to check your memory card, display adapter card or processor

Cheers

Share this post


Link to post
Share on other sites

Hello, I am having some trouble setting up Internet Connection Sharing. Here is my setup. My internet is through a neighbor who is sharing there internet with me wirelessly, so I don't have any type of broadband modem, just a wireless card on my desktop PC. I have a linksys WRT54G router connected to the desktop PC and tried following the guidelines for home networking, and works fine, but no internet connection now. When I unhook my router then my internet connection comes back. Its as if the computer is looking for internet on my network, and I dont know how to have it use the wireless internet from my neighbor and the network just for file/printer sharing. I have a laptop and a Wii in another room that the wireless isn't strong enough to reach. I thought I could use Internet Connection Sharing on the desktop in the room where it works to share that computer's internet connection over the router to the Wii and the laptop and basically "rebroadcast" the internet through my desktop PC's connection. I can't seem to figure this out because each time I hook my router back up, it just kills the wireless internet again. Also, my neighbor's router is on 192.168.1.1 - so I went into the router I have and changed it to 192.168.2.1 thinking this was the problem. When I reconnect my wireless connection to the internet and type in 192.168.2.1 it finds nothing. but 192.168.1.1 finds my neighbor's router. When I go into connections and click to disconnect the wireless connection it goes back to my router and 192.168.2.1 works again.
Is it possible to use my desktop's internet connection to rebroadcast to my wii and my laptop through my linksys router? If not, is there a way to use my wireless router for file/printer sharing with the 2 PCs, but still let them find there own wireless internet connection without looking to my network for it? Please help, thank you.


Turn off the Local DHCP Server on the WRT54G. That makes your router an expensive switch. Then you may need to manually assign IP address to all your equipment down stream from you PC.

neighbor's router -> your PC -> your (now) expensive switch -> other equipement

With DHCP turned on for your WRT54G, you have two routers trying to assing IP's. Whichever one Windows gets setup first wins. In your case your WRT54G is winning and the neighbor's wireless can't connect

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.