Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Getting DCHP with no net connection.

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
Dana Merrick
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 84
Joined: Sat Jul 24, 2004 2:44 am
Location: Trinity College
Contact:
Contact Dana Merrick
Website

Getting DCHP with no net connection.

  • Quote

Post by Dana Merrick » Wed Mar 09, 2005 10:28 pm

I've managed to find a catch-22...
I need dhcpcd to get internet, and I dont know how to get it without a net connection. How would I go about doing this?
I know its a kinda stupid question, but all I need is a simple answer...
I'm proud of my life, and the things that I have done,
proud of myself, and the loner I've become.
you're free to whine; it will not get you far,
I do just fine, my car and my guitar.
-Say Anything
Top
Sorcerer'sApprentice
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 121
Joined: Sat Jan 15, 2005 9:03 am
Location: Jesus College, Cambridge, England

  • Quote

Post by Sorcerer'sApprentice » Wed Mar 09, 2005 10:49 pm

Boot the livecd.
Let this configure your internet connection for you.
Chroot as you did during the install.

Code: Select all

emerge sync
emerge dhcpcd
"One of the major problems encountered in time travel is not that of accidentally becoming your own father or mother ... The major problem is quite simply one of grammar..."

Douglas Adams
Top
Dana Merrick
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 84
Joined: Sat Jul 24, 2004 2:44 am
Location: Trinity College
Contact:
Contact Dana Merrick
Website

  • Quote

Post by Dana Merrick » Thu Mar 10, 2005 3:05 am

Wait, so, I do this.

Code: Select all

mount /dev/hda3 /mnt/gentoo/home
mount /dev/hda4 /mnt/gentoo
chroot /mnt/gentoo /bin/bash
To get dhcpcd, I then did:

Code: Select all

sudo emerge dhcpcd
But, alas, I dont have internet without dhcpcd, and it wants to connect to get the files. Therein lies the rub, I guess.
I've also tried

Code: Select all

PKGDIR="/mnt/cdrom/distfiles" sudo emerge dhcpcd
And many other similar things (like "-k") to no avail. I need more help.
Thanks a lot.
I'm proud of my life, and the things that I have done,
proud of myself, and the loner I've become.
you're free to whine; it will not get you far,
I do just fine, my car and my guitar.
-Say Anything
Top
Tahoe_Strider
Apprentice
Apprentice
User avatar
Posts: 152
Joined: Sun Jul 06, 2003 11:12 pm
Location: Amador County, Awarded 9th Best Place to live in Rural America

  • Quote

Post by Tahoe_Strider » Thu Mar 10, 2005 2:17 pm

I'm a little unclear as to what you mean by not having a net connection. Are you saying that you have an ethernet card in your machine that is attached to an ADSL(or cable) modem/router but when you boot from the LiveCD you get nothing? Or do you mean that you simply do not have the hardware necessary to establish a net connection? Would you mind booting from the LiveCD and posting the results from "ifconfig", "lspci", "lsmod", and "route"?
"It does not require a majority to prevail, but rather an irate, tireless minority keen to set brush fires in people's minds."
Top
Dana Merrick
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 84
Joined: Sat Jul 24, 2004 2:44 am
Location: Trinity College
Contact:
Contact Dana Merrick
Website

  • Quote

Post by Dana Merrick » Thu Mar 10, 2005 8:24 pm

I figured it out. I didn't even need to boot from the livecd.

Code: Select all

mount /dec/cdroms/cdrom0 /mnt/cdrom
cp /mnt/cdrom/distfiles/dhcpcd* /usr/portage/distfiles/
emerge dhcpcd -pv
(dhcp download is 0kb)
sudo emerge dhcpcd
And thats it!
Thanks guys.
I'm proud of my life, and the things that I have done,
proud of myself, and the loner I've become.
you're free to whine; it will not get you far,
I do just fine, my car and my guitar.
-Say Anything
Top
Post Reply

5 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic