Internet Connection Sharing

Post questions about how to make a customized SystemRescueCd, and if you have problems to install new packages. Please read the handbook first.
base0
Posts: 21
Joined: 24 Aug 2013, 01:22

Internet Connection Sharing

Postby base0 » 07 Nov 2015, 02:50

If this is discussed here, kindly provide a link and accept my humble apology for not finding it before asking. It would be swell if there were a quick way, say, while booting into the live CD, to have it set up for internect connection sharing (that's what it's called in Windows!) between two available adapters. If not during boot, having a clean script to enable it would be fine too.

Is there any discussion on the forum about setting it up on a Linux host? Thanks.

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: Internet Connection Sharing

Postby gernot » 07 Nov 2015, 07:47

Just a idea...
Use NetworkManager applet and setup a interface "shared for other computers". Test it.

save the networkmanager configuration files (/etc/NetworkMaager/*)

Write a autorun script like
-------
/etc/init.d/NetworkManager stop
restore the configuration...depends your data storage
/etc/init.d/NetworkManager start
-------

Sysresccd mount and copies the autorun scripts before they are started. You cant access the device containing the script to read data files because it is unmountet while running.
You can use a "here document" with the configuration in the autorun script. Read bash manual for this.

Gernot


Return to “Customization and installing new packages”

Who is online

Users browsing this forum: No registered users and 4 guests