LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-19-2013, 12:52 PM   #1
neb642
LQ Newbie
 
Registered: Dec 2013
Posts: 4

Rep: Reputation: Disabled
(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.

Last edited by neb642; 12-19-2013 at 12:55 PM. Reason: some != any
 
Old 12-19-2013, 04:06 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
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.
 
Old 12-19-2013, 04:30 PM   #3
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
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.
 
Old 12-20-2013, 06:36 PM   #4
neb642
LQ Newbie
 
Registered: Dec 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
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
 
Old 12-20-2013, 07:08 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
Glad you fixed it. Thanks for the update.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pxeboot custom build kernel Error downloading kickstart file netzapper Linux - Kernel 2 11-26-2013 01:58 PM
browsing an iso file in a nfs share linuxnewbie_2007 Linux - Newbie 6 04-19-2007 05:30 PM
how do i check if the pxeboot file does support sata disk den myos Linux - Networking 2 05-08-2006 09:16 AM
how do you make the bootable CD from the iso file downloaded from the internet? chrisseattle Red Hat 2 03-24-2004 06:40 AM
Can't access the internet throught DCHP after compiling and installing a new kernel Rodcl Linux - Networking 4 08-23-2002 04:25 PM


All times are GMT -5. The time now is 06:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration