View previous topic :: View next topic |
Author |
Message |
Taktykal_Gentoo n00b
Joined: 30 Aug 2004 Posts: 35
|
Posted: Sun Sep 26, 2004 5:14 pm Post subject: installing gentoo without an internet connection |
|
|
ive got 2 questions. I am deployed in Iraq and I dont have the internet connection to use emerge. I tried to install with the gentoo live cd's but I couldnt get grub, hotplug, or anything. Is there a way to get these files without using emerge? I am trying to get as good a build as I can without it. I can use emerge if I can get the network settings to work right. The internet cafe uses static ip's so for example
if i use 10.10.10.27 subnet mask 255.255.255.224
my broadcast would be 10.10.10.31
the dns is 213.187.129.70
I can get it to hit the default gateway of .1 but I cannot get it to register the dns in order for me to get emerge to work... any ideas or helpful hints?
THANKS A LOT FOR ALL OF THE HELP
Rob _________________ Death by Digital Warfare |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Sep 26, 2004 5:29 pm Post subject: |
|
|
Taktykal_Gentoo,
You can get someone to downlaod the sources you need and mail them to you on CD. Then you copy thm to /usr/portage/distfiles. With the sources in place, emerge will not attempt downloads.
To find out what you need run Code: | emerge <some_package> -pv | capture the output to a file.
You potental network settings for an internet cafe look a bit strange.
If you are joining in the cafe network you need to use their broadcast address, net mask and DNS IP address. You also need to ask for an IP address, if its all static. You must not use an IP thats already in use.
What you write is self consistant, just strange. It allows the use of at most 28 PCs on the network.
You can also wget the files in the internet cafe but would need them on CD to do the move. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Taktykal_Gentoo n00b
Joined: 30 Aug 2004 Posts: 35
|
Posted: Sun Sep 26, 2004 5:40 pm Post subject: gentoo install in iraq |
|
|
well that was the settings for the station im sitting at right now. We have 28 stations 14 with their computers 14 for personals. I entered that information in and all and couldnt get it to resolve when i tried to emerge. If I get the new distfiles off the gentoo site and the newest portage tree should I be good then?? I know I have done an install all the way to xfree and all without the internet before I just dont know why it isnt working anymore _________________ Death by Digital Warfare |
|
Back to top |
|
|
Taktykal_Gentoo n00b
Joined: 30 Aug 2004 Posts: 35
|
Posted: Sun Sep 26, 2004 5:53 pm Post subject: gentoo install |
|
|
plus if i had someone mail it to me it'd take like 2 or so months to get here heh... they convoy all of our mail to us.. once it hits kuwait.. _________________ Death by Digital Warfare |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Sep 26, 2004 7:33 pm Post subject: |
|
|
Taktykal_Gentoo,
Which emerge fails ?
emerge sync uses the rsync port (530 ?) which may be blocked
Try the command which gets you the entire portage tree as a tarball without using rsync and its possibly blocked port.
emerge can then fetch sources via ftp and http in the normal way. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Taktykal_Gentoo n00b
Joined: 30 Aug 2004 Posts: 35
|
Posted: Sun Sep 26, 2004 8:46 pm Post subject: installing gentoo networkless |
|
|
well once again I cannot get any kernel sources. grub. hotplug nor anything else to finish my install. I am going down the guide step by step, using a stage3 install and everything. usually when I am networkless if i id emerge grub etc it would still work... but now I get the host name failure... if I am using the setup for networkless why is it still doing this for me? I am stuck at the exact point of chroot
I get to chroot and them BLAM I get hit in the head with a big boulder like the coyote..... _________________ Death by Digital Warfare |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Sep 26, 2004 9:00 pm Post subject: |
|
|
Taktykal_Gentoo,
Have you goy a nameserver in /etc/resolv.conf ?
Try
If that works, try They are the same thing, one needs name resolution the other does not. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Taktykal_Gentoo n00b
Joined: 30 Aug 2004 Posts: 35
|
Posted: Sun Sep 26, 2004 9:03 pm Post subject: gentoo install |
|
|
well i put it in resolv.conf but it didnt want to work.. i couldnt even ping the ip for the dns server but i could hit the gateway was real odd.. so right now im trying to deal with what ive got and get the install done networkless.... _________________ Death by Digital Warfare |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Sep 26, 2004 9:06 pm Post subject: |
|
|
Taktykal_Gentoo,
ping tests the link. is a command.
/etc/resolv.conf should contain a line like
Code: | nameserver <ip address of nameserver> |
Your gateway address may work too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Taktykal_Gentoo n00b
Joined: 30 Aug 2004 Posts: 35
|
Posted: Sun Sep 26, 2004 9:09 pm Post subject: |
|
|
yeah i know it did... my concern is why i cannot get past chroot right now on my install after doing a stage3 install.... i cannot get genkernel gentoo-sources grub hotplug nor anything... _________________ Death by Digital Warfare |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Sun Sep 26, 2004 9:23 pm Post subject: |
|
|
I was looking at my home network setup and my dns is the same as my gateway Code: |
cat /etc/resolv.conf
nameserver 192.168.2.1
SO
echo "nameserver 10.10.10.31" >>/etc/resolv.conf |
You might try that. If that doesnt work is anybody in there whos out on the net ? If so and if theyll allow you , this is w2000 and earlier I dont know xp, Start > Run > "cmd". that should give a command window, then run" ipconfig /all" and that will show how they are setup. _________________ An A-Z Index of the Linux BASH command line |
|
Back to top |
|
|
Taktykal_Gentoo n00b
Joined: 30 Aug 2004 Posts: 35
|
Posted: Sun Sep 26, 2004 9:26 pm Post subject: |
|
|
well im a network admin out here so I got it configured with the right addresses... i dont know why it would hit the gateway but wouldnt hit the dns server..... anyone got an idea on why i wouldnt be able to complete the networkless install?? _________________ Death by Digital Warfare |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
|
|