You are not logged in.

#1 2012-02-11 15:05:17

iram
Member
Registered: 2012-02-11
Posts: 3

Arch install from network / No network after reboot!

Hi!

I just installed arch (from network).
Everything went fine and (wired) network was set up by configure script and worked flawlessly.

After rebooting no network whatsoever.
ping static addresses: no network
ifconfig missing
ip addr shows: eth1 down
/etc/pacman.d/gnupg/gpg.conf disappeared

I'm quite upset about it.

I fixed the net:
# ip addr add 192.168.0.2/24 dev eth1
# ip route add default via 192.168.0.254


I'm very curious what possibly went wrong?

What are the steps to fix this permanently?

EDIT: went through the manual pages on setting up network,
/etc/network.d is missing

Last edited by iram (2012-02-11 15:13:36)

Offline

#2 2012-02-11 15:17:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,427

Re: Arch install from network / No network after reboot!

ifconfig missing

http://www.archlinux.org/news/deprecation-of-net-tools/

/etc/network.d is missing

It's not possible that some package was there before reboot and just disappeared: https://wiki.archlinux.org/index.php/FA … is_X_in.3F

Last edited by karol (2012-02-11 15:20:34)

Offline

#3 2012-02-11 15:17:38

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 3,721

Re: Arch install from network / No network after reboot!

/etc/network.d is provided by netcfg.

Do you have a dhcp server on the network? If you do, why not use it?


Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2012-02-11 15:36:05

iram
Member
Registered: 2012-02-11
Posts: 3

Re: Arch install from network / No network after reboot!

I tried dhclient, it wasn't there. Didn't think of dhcpcd

Mr.Elendig wrote:

/etc/network.d is provided by netcfg.

Do you have a dhcp server on the network? If you do, why not use it?

Offline

#5 2012-02-26 02:22:04

jayveesea
Member
Registered: 2011-02-27
Posts: 15

Re: Arch install from network / No network after reboot!

i just did a net install from archlinux-2011.08.19-netinstall-x86_64.iso and have the same problem... during the install no problem establishing a network connection, but when i reboot after the install there is no network connection.

edit... i am using a wired connection, and set it up as dhcp during install.

Last edited by jayveesea (2012-02-26 02:25:12)

Offline

#6 2012-02-26 09:15:25

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Arch install from network / No network after reboot!

Start with taking a look at the steps defined here.


Burninate!

Offline

#7 2012-02-26 12:34:31

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 3,721

Re: Arch install from network / No network after reboot!

jayveesea wrote:

i just did a net install from archlinux-2011.08.19-netinstall-x86_64.iso and have the same problem... during the install no problem establishing a network connection, but when i reboot after the install there is no network connection.

edit... i am using a wired connection, and set it up as dhcp during install.

just run dhcpcd eth0 then


Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#8 2012-02-27 01:19:41

jayveesea
Member
Registered: 2011-02-27
Posts: 15

Re: Arch install from network / No network after reboot!

ok, thanks for the replies and the help.  i have tried running through troubleshooting section for network, and still do not have a working network connection.

here is what i have so far...

step1.
"lspci -v" tells me that my driver for my network card is "forcedeth"

"dmesg |grep forcedeth" returns this...
[    4.523336] forcedeth: Reverse Engineered nForce ethernet driver. Version 0.64.
[    4.523491] forcedeth 0000:00:0a.0: PCI INT A -> Link[LMAC] -> GSI 21 (level, low) -> IRQ 21
[    4.523495] forcedeth 0000:00:0a.0: setting latency timer to 64
[    4.584392] forcedeth 0000:00:0a.0: ifname eth0, PHY OUI 0x732 @ 3, addr 00:25:22:34:22:ec
[    4.584395] forcedeth 0000:00:0a.0: highdma csum pwrctl mgmt gbit lnktim msi desc-v3
[    6.625507] forcedeth 0000:00:0a.0: irq 41 for MSI/MSI-X
...this output seems a little different then what is given in the example.

i proceeded with step2 and step3 and it appeared as if i have an ip address, but when i test the connection with ping, i get no response.

i also tried adding...
dhcpcd -k eth0
dhcpcd -nd eth0
...to /etc/rc.local and rebooted, but still nothing.

Offline

#9 2012-02-27 06:41:09

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Arch install from network / No network after reboot!

Can you post the output of the following after you've run dhcpcd eth0?

# ip addr
# cat /etc/resolv.conf
# ping 8.8.8.8
# ping www.google.com

Burninate!

Offline

#10 2012-02-29 01:57:39

jayveesea
Member
Registered: 2011-02-27
Posts: 15

Re: Arch install from network / No network after reboot!

good news.  after i booted up and issued "dhcpcd eth0" it said dhcpcd was already running.  so i issued "ip addr" and it confirmed i had an ip address, and then i issued "ping -c3 8.8.8.8" and was able to get a response.

thanks for all the help!  i am not sure what i did, but it is working now.

-j

Offline

#11 2012-10-14 21:33:02

asafparis
Member
Registered: 2012-06-22
Posts: 3

Re: Arch install from network / No network after reboot!

I just did a fresh install using archlinux-2012.10.06-dual.iso and had the same problem. When I booted after the installation I had no network. To get the network working I first ran

# dhcpcd eth0

to manually enable networking. Then installed netcfg using

# pacman -S netcfg

After that I added the configuration so that eth0 uses dhcp by doing

# cd /etc/network.d
# ln -s examples/ethernet-dhcp .

Finally, enable this profile on boot

# systemctl enable netcfg@ethernet-dhcp.service

And the next time I rebooted I had a working internet connection.

Offline

#12 2012-10-15 10:45:25

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 3,721

Re: Arch install from network / No network after reboot!

  1. Don't necrobump

  2. systemctl enable dhcpcd@eth0.service
  3. If not using eth0: https://bugs.archlinux.org/task=31093


Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#13 2015-12-26 18:20:41

fish_tank
Member
Registered: 2015-12-26
Posts: 1

Re: Arch install from network / No network after reboot!

Try these steps.
# first find the name of n/w adapters
ip addr
# next turn it up
sudo dhcpcd ethx
# enable dhcpcd so you donot have to do it every time you reboot
sudo systemctl enable dhcpcd@ethx.service

NOTE: replace ethx with whatever you found in first command

Offline

#14 2015-12-26 19:42:41

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 18,581
Website

Re: Arch install from network / No network after reboot!

Please reread the post above yours, notably the injunction not to necrobump: https://wiki.archlinux.org/index.php/Fo … bumping.22


Closing


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Online

Board footer

Powered by FluxBB