LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Cannot activate network/update noodle (https://www.linuxquestions.org/questions/arch-29/cannot-activate-network-update-noodle-437265/)

ethics 04-20-2006 06:46 PM

[SOLVED] Cannot activate network/update noodle
 
Ok so i saw Arch mentioned a few times here so i looked it up, seems what i'm looking for, an advanced distro with package management and bleeding edge software, excellent.

(The following is a tad long winded, but it's neccesary for the post, please bear with me)

Checked their website, read the docs, printed the docs, downloaded the full .iso began to install.

First time i went with CD-ROM install, partitioned, mounted (i hope) the filesystems. Next came select/install packages.

I selected what i wanted, then went to install and on various different packages (i did this a few times) it said that the package could not be installed because it was not in the package set, or it conflicted with another one. According to the docs this can occur when not mounting the filesystems properly, however i did it a fe times, following the instructions and making sure i selected done for each stage.

The only way i could get it to install was JUST selecting the base category, off it went and did it's thing.

Next was configure the system, left these files mostly untouched, edited /etc/rc.conf with my locale/timezone etc.

Then i installed the kernel (2.6) - no errors

Then the bootloader - no errors

Reboot the system, it starts up fine into a bash prompt, login as root, create a user etc etc. all goes ok.

Next i want to update the system (the first problem) so i do

Code:

pacman --sync --sysupgrade
but it says it can't have i done --refresh so i do
Code:

pacman --sync --refresh
i get the same error, right then i figure i can't contact the repo for some season. i check i can ping my router which i can, but i can't run a host on google.com. Thinking back i probably needed to set my name servers.

The problem is i didn't think of it then and so proceeded to reinstall, but now having done the above again, i can't ping my router after booting, when choosing an ftp install it wouldn't do DHCP. so i set my network info it says cannot setup my gateway.

So my question is how can i go about the install and have it configure my network,i presumre it loads the irght module because it doesnt ask me during the install

Cheers

*EDIT* Fixed the problem, trawled the Arch forums on their site, found out i had to set
Code:

eth0="dhcp"
in the /etc/rc.conf for it to work, not sure why it didnt work with specific settings though

anti.corp 04-21-2006 09:41 AM

Hi,

Great that you got it up and running :)

You will probably find this link usefull:
http://wael.nasreddine.com/Articles/...rch_Linux.html

It helped me alot during my first installs.

Have fun with this distro, and let us hear what you think about it?

Sincerely, Jorgen

rgistered 04-21-2006 08:52 PM

you need to edit your /etc/rc.conf and edit the line where it says :

eth0="inet 192.168.0.1 .... blah blah blah and blah"

TO > [ eth0="dhcp" ] (without braces, ofcourse)

and make sure that your interface is mentioned i.e INTERFACES=(lo eth0)
save that file and see if you have an IP address by doing "ifconfig eth0", then ping google or any host and you'll be all set to go :)
hope you like arch , its simply the best :)

ethics 04-22-2006 06:27 AM

Yep it's working now thanks :)

Although X for my user is borked right now (works for root) so another problem to fix, i'm loving Arch, very very good feeling about it :)

rgistered 04-22-2006 04:19 PM

for the user, u need to edit "/home/urUsername/.xinitrc" flle ...

open it up with ur favourite editor and comment out wmaker and uncomment startkde so that it should look like this (if you are using kde) :

Quote:

#!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

# exec wmaker
exec startkde
# exec icewm
# exec blackbox
# exec fluxbox
this should fix the problem for the normal user as well... :)

ethics 04-22-2006 09:18 PM

I noticed when running
Code:

startx
that root was getting it's xorg.conf from it's own ~ whereas the user was getting it from /etc/X11/ so i copied the root one into there and it worked fine, then i did the same as you were suggesting, KDE is in full swing and working very well.

Samba is setup and running fine, as well as SSH, it's all good :)

rgistered 04-23-2006 01:30 AM

nice to hear that ! :)


All times are GMT -5. The time now is 04:17 AM.