You are not logged in.
Pages: 1
Topic closed
Hi all,
I've been trying to connect to internet now for a serious long time.
Having a fresh install of Arch Linux.
Ping 8.8.8.8 gives me:
connect: Network is unreachable
I've tried many things.
It would be very nice if someone can point me in the right direction..
Here some output that might help.
ip a
inet 192.168.5.240/24 brd 192.168.5.255 scope global eth0
dhcpcd eth0 (after killing the process)
version 5.6.0 starting
eth0: sending IPv6 Router Solicitation
eth0: rebinding lease of 192.168.5.101
eth0: acknowledged 192.168.5.101 from 192.168.5.1
eth0: checking for 192.168.5.101
eth0: sending IPv6 Router Solicitation
eth0: leased 192.168.5.101 for 7200 seconds
forked to background, child pid 9885
vi /etc/resolve.conf
# Generated by dhcpcd
nameserver 8.8.8.8
# /etc/resolve.conf.tail can replace this line
(note: I putted the second line in a new file called /etc/resolve.conf.head)
vi /etc/rc.conf
...
# Network
interface="eth0"
address=
netmask=
gateway=
...
Again, it would be very nice with some tips..
I'm ready to respond right away.
Thanks
Ivy
PS Having a windows laptop on the side, same network. Works fine.
Last edited by Ivy2012 (2012-09-26 17:31:45)
Offline
do you have dhcpcd enabled in systemd?
run this command and see what happens...
[ systemctl enable dhcpcd@eth0.service ]
reboot for it to take effect.
Last edited by luvfree (2012-09-26 17:43:45)
Linux only since 2002! Arch Linux only since 2010!
UEFI booting an intel based system trouble free since 2016!
Offline
do you have dhcpcd enabled in systemd?
run this command and see what happens...
systemctl enable dhcpcd@eth0.service
reboot for it to take effect.
systemctl command is not found.
Is there a different way I can do this?
Thanks for the quick response btw.
Offline
Hi Ivy,
Double-check the nameserver is in "/etc/resolv.conf" not in "resolve.conf"
Offline
did you run it as superuser?
sudo systemctl enable dhcpcd@eth0.service
then enter your password.
Linux only since 2002! Arch Linux only since 2010!
UEFI booting an intel based system trouble free since 2016!
Offline
Hi Ivy,
Double-check the nameserver is in "/etc/resolv.conf" not in "resolve.conf"
Hei. Thanks for the response.
Checked it. It is in /etc/resolv.conf.
resolv.conf does not exists, and when I "vi" it, it says I'm creating a new file.
Offline
did you run it as superuser?
sudo systemctl enable dhcpcd@eth0.service
then enter your password.
Darn. I don't have sudo installed.
As said, it's a fresh install of Arch linux, so pretty clean (or: empty...)
Any work arounds for this?
Sorry if it all sounds hopeless.. trying to do what I can here.
Offline
you can do this...
su root (hit enter)
enter the root password.
then enter the command without sudo.
systemctl enable dhcpcd@eth0.service (hit enter)
type "exit" when done to go back to regular user.
Linux only since 2002! Arch Linux only since 2010!
UEFI booting an intel based system trouble free since 2016!
Offline
you can do this...
su root (hit enter)
enter the root password.
then enter the command without sudo.
systemctl enable dhcpcd@eth0.service (hit enter)
type "exit" when done to go back to regular user.
Ouput:
bash: systemctl: command not found
Offline
you can do this...
su root (hit enter)
enter the root password.
then enter the command without sudo.
systemctl enable dhcpcd@eth0.service (hit enter)
type "exit" when done to go back to regular user.
Protip: one needs Systemd to be installed in order to use Systemd commands
Last edited by jakobcreutzfeldt (2012-09-26 18:09:56)
Offline
apparently you don't have systemd installed.
did you install using the latest install medium 2012.09.07
if not I recommend starting over with the new media.
Last edited by luvfree (2012-09-26 18:19:03)
Linux only since 2002! Arch Linux only since 2010!
UEFI booting an intel based system trouble free since 2016!
Offline
luvfree wrote:you can do this...
su root (hit enter)
enter the root password.
then enter the command without sudo.
systemctl enable dhcpcd@eth0.service (hit enter)
type "exit" when done to go back to regular user.Protip: one needs Systemd to be installed in order to use Systemd commands
we're getting to that.
if she used the latest install media it should be there...
Last edited by luvfree (2012-09-26 18:20:36)
Linux only since 2002! Arch Linux only since 2010!
UEFI booting an intel based system trouble free since 2016!
Offline
I installed a little while ago.
Running pacman -Q shows me:
...
archlinux-keyring 20120812-1
...
Offline
that's the older install media.
one caught in the middle of a transitional period.
I strongly recommend starting over with the new media. (since this is a fresh install anyway)
it will simplify things in the long run.
Last edited by luvfree (2012-09-26 18:26:11)
Linux only since 2002! Arch Linux only since 2010!
UEFI booting an intel based system trouble free since 2016!
Offline
that's the older install media.
one caught in the middle of a transitional period.
I strongly recommend starting over with the new media. (since this is a fresh install anyway)
it will simplify things in the long run.
ok. Tnx for the tip.
Will do that, and call it a quit for tonight.
Thanks all of you, for the feedback
Offline
luvfree wrote:that's the older install media.
one caught in the middle of a transitional period.
I strongly recommend starting over with the new media. (since this is a fresh install anyway)
it will simplify things in the long run.ok. Tnx for the tip.
Will do that, and call it a quit for tonight.
Thanks all of you, for the feedback
you're welcome Ivy and good luck with it.
I just did a fresh install with the new media and it makes things much smoother.
feel free to ask for help any time.
Linux only since 2002! Arch Linux only since 2010!
UEFI booting an intel based system trouble free since 2016!
Offline
do you have dhcpcd enabled in systemd?
run this command and see what happens...
[ systemctl enable dhcpcd@eth0.service ]
reboot for it to take effect.
Thanks a lot. Years later your post helped me.
Offline
Please do not necrobump old threads, especially with an empty post.
Offline
Offline
Pages: 1
Topic closed