You are not logged in.
Pages: 1
just did a fresh install of arch linux, walking away from ubuntu as they have started making some odd decisions on what is not customizable anymore. Anyways right out of the box i am having an issue with my LAN, there is no wireless on the laptop i am installing on, an old toshiba satellite. I plan to use a static IP, but right now for simplicity i am sticking with DHCP. I am plugged directly into my modem, which works on another machine fine, solid orange and green lights
/etc/rc.conf (all uncommented networking lines)
HOSTNAME="lazarus"
interface=eth0
address=
netmask=
broadcast=
gateway=
NETWORK_PERSIST="no"
/etc/hosts
127.0.0.1 localhost.localdomain localhost lazarus
::1 localhost.localdomain localhost
the error I get is
connect: network is unreachable
my other laptop i am on right now is happily connected on the exact same cable i was trying with, ip is 10.42.43.1
any help would be appreciated, and yes the LAN worked under ubuntu
Offline
output from ip addr show dev eth0
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:10:a4:96:d6:96 brd ff:ff:ff:ff:ff:ff
so i guess no? no difference if the cable is plugged in or not
Offline
As a sanity check, what happens if you run dhcpcd eth0 as root ?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
well that seems to have fixed everything. now to go figure out what on earth I just did. trying to really get a better handle on this linux thing. 6 years of ubuntu does not a capable user make
Offline
a quick psuedo output of what happens, since reading up on this is telling me I am manually doing what the machine should be doing automagically based on my rc.conf
dhcpcd[617]: version 5.2.12 starting
dhcpcd[617]: broadcasting for a lease
dhcpcd[617]: offered 192.168.15.169 from 192.168.15.1
dhcpcd[617]: acknowledged 192.168.15.169 from 192.168.15.1
dhcpcd[617]: checking for 192.168.15.169
dhcpcd[617]: leased 192.168.15.169 for 84600 seconds
/usr/lib/dhcpcd/dhcpcd-hooks/30-hostname: line 9: hostname: command not found
/usr/lib/dhcpcd/dhcpcd-hooks/30-hostname: line 24: hostname: command not found
dhcpcd[617]: forked to background, child pid 639
is this because inetutils does not seem to be installed? hostname afaik is a function from inetutils, which i don't seem to have, as I can't set my hostname using the command line. stabbing in the dark here, is that package on my install CD? pacman is new to me, only ever used apt
Offline
Offline
Yeah, the command I gave you is a pretty sure fire way to quickly see if everything is working. What you are no doubt missing is in the /etc/rc.conf file, in the DAEMONS array, you will want to add network.
See https://wiki.archlinux.org/index.php/Daemons
If, however, you want to use wicd or Networkmanager instead of network, those will want to be in the DAEMONS array instead.
https://wiki.archlinux.org/index.php/Wicd
https://wiki.archlinux.org/index.php/NetworkManager
Edit: Oh, and: https://wiki.archlinux.org/index.php/Co … ng_Network
Last edited by ewaller (2012-03-05 05:58:04)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1