LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   (Share internet through DCHP) or (PXEBoot with an .iso file) (https://www.linuxquestions.org/questions/linux-newbie-8/share-internet-through-dchp-or-pxeboot-with-an-iso-file-4175488570/)

neb642 12-19-2013 11:52 AM

(Share internet through DCHP) or (PXEBoot with an .iso file)
 
Hello everyone. I'm new in LQ and my native language is not English. I think LQ is a very good forum. Sorry for bugs on sintaxis or semantics if there's any.

State 1: I want to install Debian in a machine (that runs windows) by the only way it's possible: network booting.

S. 2: I learned how to setup a DHCP Server from another machine that at the moment runs Debian 7, with a cross-over cable.

S. 3: The Client machine requires connect to internet for downloading files and it doesn't have access to internet.

I think there's two possible solutions:

1) Share internet through DHCP with wireless connection, that haves the Server machine:

internet -> wireless -> Server machine -> DHCP -> Ethernet -> Client Machine

2) Achieve that the Client Machine doesn't need to connect internet, considering I have .iso file of Debian in the Server Machine.

What will be the best (fastest an easiest) solution? And how can I do it?

Thanks for reading.

jefro 12-19-2013 03:06 PM

There are many choices for both traditional install and network. If you are sure that network is the only way then there are still a few ways. Maybe if you explain why you can only network install that would be a good start.

Personally, I wouldn't use wireless on pxe or even gpxe/ipxe installs. You can easily set up a system that can serve either an iso or files. I used to suggest knoppix and start the knoppix terminal server and then just put what you want in the tftp on the live system. Since you have a dhcp server just be sure to setup a tftp server and pxe config file. I forget the options for dhcp server that need to be checked.

You almost never need a cross over cable anymore. Just one nic is needed that supports auto cable. If you have a crossover then fine.

lleb 12-19-2013 03:30 PM

welcome to LQ.

1. why is the system you are currently trying to instal debian on unable to connect to the internet if it has a NIC? just plug it into the ISP's router/modem/ or your wireless router, it should have a few ethernet ports no?

2. if the only way to get access is to setup DHCP via the other computer then you will be dealing with double NAT. this can cause connection issues. please keep that in mind.

http://linuxcat.org/showthread.php?tid=64

that was a fast google search: "debian howto share internet connection"

3. also as mentioned you might consider not using the netinstaller for Debian. I know it is the preferred way, but... if no connection, then no connection.

neb642 12-20-2013 05:36 PM

Thanks both. Finally, I configured the DCHP server through my router:

(Server machine) -- wireless -- (Router) -- ethernet -- (Client machine)

and both machines had internet access.

Cheers :D

jefro 12-20-2013 06:08 PM

Glad you fixed it. Thanks for the update.


All times are GMT -5. The time now is 11:53 AM.