fresh arch install seems to fail to DHCPCD

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

fresh arch install seems to fail to DHCPCD

Postby permn00b » Fri Dec 27, 2013 6:49 pm

So I am a returning user to ARCH, and using my raspi as motivation to finally escape ubutnu (again) . However I am off to a rough start. I loaded up the latest image on an SD card from a mac mini, connected my rapsi to my ubuntu laptop, shared the entwork and pluggdd it in, annnnnd nada. Could not connect to the raspi over the network. I figured I was screwing up the sharing settings so I plugged the rapsi into my verizon router directly, which is running a DHCP server and plugged it into the nearest PC for power. Still can't find it on the network (used zenmap, as well as trying to just SSH directly to root@alarmpi) and did not find it. I blamed the router, so I unplugged it again and hooked it up to my access point which is a router running DDWRT as a dumb connection to the main wirelss network. It just lets my non-wireless devices connect to the home network, its on the same subnet, does not have dhcp etc etc. Still CANT FIND IT on the network.

So I caved in and went to radio shack and bought a USB keyboard, plugged the raspi into our macmini for both power and shared ethernet (none of my moniters have HDmI) and stole the TV connection and plugged it into the raspi. IT booted up happily (so hopefully those 3 or4 hard reboots didn't corrupt anything) and I used the USB keyboard to verify I could not see the local network. couldn't ping the default gateway or 8.8.8.8 so I did the only thing I knew how and ran

root@alarmpi: DHCPCD

it happily got a lease, connected to the network and is now running a full system update. Why did DHCPCD not run at boot? is DHCPCD depreciated? Should a diferent tool have run at boot time?

TL:DR:
Why does everyone elses raspi auto-connect to the network on first boot no problem, and I had to run DHCPD the first time to get it to work? Untill yesterday I didn't ahve a USB keybaord so I rely on SSH on first boot, but if it won't connect to a network that is obviously not something I can do.


holy cow that was a long first post. Sorry to bore you/thanks for theh elp!
permn00b
 
Posts: 3
Joined: Fri Dec 27, 2013 6:36 pm

Re: fresh arch install seems to fail to DHCPCD

Postby pepedog » Fri Dec 27, 2013 8:12 pm

What date is the image (or where did you get)?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: fresh arch install seems to fail to DHCPCD

Postby permn00b » Fri Dec 27, 2013 8:46 pm

I got it from rapberrypi.org iirc, so it looks like version 2013-11-14, kernel 3.10. I did the install on a different machien so I can go check on that one if it matters, but I downloaded it maybe 2 weeks ago, so I strongly suspect that is what I am using.

does it sound like I am doing something wrong/somethign got corrupt? Are the eissues I am describing things that should not be happening? I ask because I am traveling soon and will have very little to do, I plan on bringing this raspi with me for entertainment for the next month and want to be rock solid before I leave. I plan on loading up a second SD card w/ a mirrored OS incase I corrupt something I won't be dead in the water due to my lack of a SD card reader.
permn00b
 
Posts: 3
Joined: Fri Dec 27, 2013 6:36 pm

Re: fresh arch install seems to fail to DHCPCD

Postby pepedog » Sat Dec 28, 2013 12:00 am

2 weeks ago that image wasn't there. It was a July image and networking method changed (they take their time putting our images onto their mirrors)
I suggest you get that November image see if problem still there.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: fresh arch install seems to fail to DHCPCD

Postby permn00b » Sat Dec 28, 2013 5:24 am

ok thank you. If I want to pull the latest version, where is the best place to do that? Also since I have successfully done a full system update, there is no reason to re-flash my current SD card, correct? I will still get a newer version and flash a backup SD card for the trip. Gonna order a sexy lil power managment IC from newark and I'll have a ghetto LIPO UPS on this lil bad boy! maybe we will survive the trip.

also looks like I may have somehow installed a 2013-05-14 image, I found that one on the pc I used to load the SD, although I thought I had done this a week or two ago, maybe I had downloaded that a few months back adn two weeks ago got lazy waiting for a dl to finish? no idea. long term memory's a female dog.
permn00b
 
Posts: 3
Joined: Fri Dec 27, 2013 6:36 pm

Re: fresh arch install seems to fail to DHCPCD

Postby sdjf » Sun Dec 29, 2013 3:14 am

Hopefully the November img will work for you. Pepedog usually posts a direct link in the forums when a new image is available that may not yet be on the Foundation's site.

Different images seem to work better for different people. I am using an updated May image (the one that you accidentally installed) and it is working well for me, when the June and July images, I could not get to work with my setup. So, hopefully November will work, pepedog does his best to tailor each one to suit the needs of the bulk of Pi Arch users, getting better and better every time. I just have an odd setup with no network and no router, just direct connection via ethernet patch to one PDA and usb to another.
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: fresh arch install seems to fail to DHCPCD

Postby pepedog » Sun Dec 29, 2013 8:36 am

pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 3 guests