Topic: Sharing connection between machines.

I have two crunchbang machines that I want to share an internet connection between. One is connected to the wireless network and I need the ability to use an ethernet cable from the machine without internet to the machine with internet to give both access through one wireless card.

I can give more information if needed...

Thanks for the help in advance smile

Re: Sharing connection between machines.

That is interesting, I have been wondering how to do the same thing, In windows it is real easy to use ICS, but I haven't done so in linux so far...

My only difference is that I want to share my connection from a wireless linux box to a router or switch for several devices. Similar to my old Windows dial up computer sharing to my wireless router, but now that I don't need a windows box since I don't have  proprietary dial up anymore I would like to use a Linux box to do so.

Re: Sharing connection between machines.

This is all I could find on google but it requires ubuntu, and I don't want to switch just for this purpose.

http://www.makeuseof.com/tag/how-to-eas … untu-9-10/

Re: Sharing connection between machines.

CrunchBang does have network-manager so I don't see why those instructions shouldn't work.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: Sharing connection between machines.

Thanks, I'll give it a try and report back...

Re: Sharing connection between machines.

I tried and tried based on that link and it didn't work nor give me an error message. Poking around a bit, I learned that the dnsmasq package has to be installed, so I installed it, and while now it says at boot dnsmasq device in use... [failed], all the internet sharing works like it should.

So if you are having problems using nm-applet to share make sure you have that package installed, for me it gave no errors, it just didn't work until i installed that package.

Re: Sharing connection between machines.

Oh one more thing to add for troubleshoot this sharing through nm-applet, It does work without a router, if you plug up directly but, it is much more useful with one. If your windows computer 7 computer tells you to reset your cable modem due to limited connectivity I solved this by plugging the internet serving computer into the cable modem slot of my D-link router. For whatever reason the Linux computers were fine with the internet serving computer being in one of the four normal slots, but windows seemed to demand that the computer be a cable modem, oddly when I used a switch it worked fine in windows though

This may be an actual issue or perhaps a fluke with my setup, in any case expanding my network to another part of the house through my MSI wind and spare router is great, now there is no more sharing of my one USB wi-fi card, and no need to run ugly 50 foot wires all over the place to reach from the cable inlet to the computers.

In addition, this ICS actually works well unlike the ICS that was in Windows XP which was broken (MS actually acknolwledged that there was a problem where ICS would cease to function if a device was removed and plugged back in, but since Vista was out didn't bother to fix it) or having to manually edit security privileges to make it work right in Windows 7 (part of a scheme to make everyone use 7 only homegroups instead of workgroups I think). And all of the data gets passed to conky so I see the total down from all PCs getting internet through my netbook, which is nice.