Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Try this: edit (as root) /etc/conf.d/net in the first few lines there will be something about eth0, see if its set to dhcp if its not, there is a commented line with eth0="dhcp" and uncommented line with eth0="bhafdhalkfd..whatever" comment that line out and uncomment dhcp line.
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558
Rep:
Here is what he was telling you: Do all this as root in a terminal:
1. cd /etc/conf.d
2. vi net
3. go down to the line that says "eth0=" and there should be two of them. One should say eth0=dhcp and the other something like eth0="a bunch of numbers and letters".
4. To change something you need to hit the "I' as in Iowa or Idaho key so you will be in "insert"mode which should show at the bottom of the screen.
5. The line that says "eth0="dhcp" should have a # in front of it, remove that. Then go to the line that says "eth0="numbers and letters" and put a # in front of this line.
6. Now you need to hit the ESC (escape key) once to get out of insert mode.
7. Hold the SHIFT key and type ZZ (two letter Z's). This will write the changes and exit the editor.
8. Try typing "dhcpcd eth0" in a terminal as root.
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558
Rep:
Try this in #1: cd /etc/network
#2 vi interfaces
#3 go down to the two lines that say :
Code:
# To use dhcp:
#
# auto eth0
# iface eth0 inet dhcp
Then do #4 above
#5 remove the # in front of the lines that start with "auto" and "iface"
Then do #6 above
Then do #7 above
#8 type "ifup eth0"
Then do #9 above
#1 worked, but...
when I typed in...
vi interfaces
it gave me this...
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~.
All lines blank!
I give up!
I'm going to bed.
I cant see TRYING in Linux for 5 DAYS, what I can accomplish in Wimdows in 5 MINUTES!
I'm sorry I waisted your time.
Linux is Abso-f**king-lutely rediculous!
If you feel you can still help, maybee I'll try in a day or so, after I've gotten some sleep, and had time time to cool off.
Right now I'm so mad, I could smash that machine into pieces and actually feel good about the money loss it would create.
I had minor surgery today, and I'm on Vicatin and a 6pack of Icehouse, and right now (despite my desire to learn) I F**king HATE Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.