[SOLVED] No wired Internet connection on new image

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

[SOLVED] No wired Internet connection on new image

Postby gopher » Thu Jun 06, 2013 9:07 pm

Hi,

I recently wanted to up grade my system, but so far the issue with /bin , /sbin and /usr/sbin have trumped me. since there was nothing on the old system, I figured I'd just reimage my card and have a fresh new image to work with instead of having to work around the /bin problems. I've done that, however I can't connect to the Internet through my usual weird connection. I have tried pinging google, and that doesn't work so I know the connection is down. I have tried using $this->bbcode_second_pass_code('', 'ip link set eth0 up') but that hasn't yielded any results. Any ideas as to what has gone wrong? I'll post the output of ifconfig when I get home and have access to my pi again, but in the meantime, any guesses?
Last edited by gopher on Sun Jun 09, 2013 4:53 am, edited 1 time in total.
gopher
 
Posts: 13
Joined: Thu May 09, 2013 2:08 am

Re: No wired Internet connection on new image

Postby pepedog » Thu Jun 06, 2013 9:28 pm

Which image was it?
This http://archlinuxarm.org/os/rpi/
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: No wired Internet connection on new image

Postby gopher » Fri Jun 07, 2013 12:04 am

that's the one! the other one I used, that worked, was the one from 02-14-13 I think
gopher
 
Posts: 13
Joined: Thu May 09, 2013 2:08 am

Re: No wired Internet connection on new image

Postby pepedog » Fri Jun 07, 2013 12:34 am

I will keep my eye on this one. I just burned the image again, everything was fine.
Note ipv6 disabled in /boot/cmdline.txt, netctl is an updated package
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: No wired Internet connection on new image

Postby sdjf » Fri Jun 07, 2013 2:55 am

Have you declared the right Gateway and other addresses in your netctl profile on the new image? That could be the issue, if your profile does not fit what the image ships with, you will have to copy one of the examples over and edit appropriately.
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: No wired Internet connection on new image

Postby gopher » Fri Jun 07, 2013 3:36 am

Hmmm... Let me try that
gopher
 
Posts: 13
Joined: Thu May 09, 2013 2:08 am

Re: No wired Internet connection on new image

Postby gopher » Fri Jun 07, 2013 4:27 am

OK: I tried copying the example over and using it but it didnt work. The command $this->bbcode_second_pass_code('', 'netctl start ethernet-dhcp') ended up generating this code$this->bbcode_second_pass_code('', '

Job for netctl@ethernet\x2ddhcp.service failed. See systemctl status netctl@ethernet\x2ddhcp.service

and journalctl -xn for details


')
I punched in systemctl status netctl@ethernet\x2ddhcp.service and this came up $this->bbcode_second_pass_code('', '
netctl@ethernetx2ddhcp.service - Networking for netctl profile ethernetx2ddhcp
Loaded: loaded (usr/lib/systemd/netctl@.service; static
Active: inactive (dead)
Docs: man:netctl.profile(5)


')
'
And finally, I tried systemctl, which gave these lines relevant to my case$this->bbcode_second_pass_code('', ' netctl@ethernet\x2ddhcp.service Load: loaded Active: failed Sub: failed

')

It looks like the OS is having trouble loading the service profile 'ethernet-dhcp' into netctl, which prevents me from going online. Is there an obvious solution that I'm not seeing here?
gopher
 
Posts: 13
Joined: Thu May 09, 2013 2:08 am

Re: No wired Internet connection on new image

Postby mindthegap » Fri Jun 07, 2013 9:25 am

I too see this issue with the current image (archlinux-hf-2013-06-06.img). It has been downloaded and dd'ed to a SD card today. I can't seem to bring the eth0 interface down somehow and netctl is complaining about the interface being up (at least everything.log says that. The tool journalctl can't find the log files and therefore I can't use it). I can however assign an IP address manually and connect to the internet based on that. I would like to use netctl, though.
mindthegap
 
Posts: 2
Joined: Sat Jul 07, 2012 8:14 am

Re: No wired Internet connection on new image

Postby sdjf » Fri Jun 07, 2013 10:45 am

Doesn't the following command work to take eth0 down, if that is what you want to do?

ifconfig eth0 down

I am not sure if you would need to use sudo if not running as root.
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: No wired Internet connection on new image

Postby pepedog » Fri Jun 07, 2013 10:47 am

First let me tell what happened today, burned image to card on cubox, runs fine 100%. Burned on Zyxel twice, both had errors on the card. Burned on cubox again, perfect. sync and reboot, there is corruption corruption. So I'm having card problems today.
Another card is fine. Or is it?

First try this (as per https://wiki.archlinux.org/index.php/Dhcpcd#Dynamic_IP_address)
$this->bbcode_second_pass_code('', 'echo smsc95xx > /etc/modules-load.d/smsc95xx.conf')
Changing network, first disable what there is
$this->bbcode_second_pass_code('', 'systemctl disable netctl-ifplugd@eth0')
Other options to try - disable again if they fail after you sync and reboot
$this->bbcode_second_pass_code('', 'netctl enable ethernet-dhcp
systemctl enable dhcpcd@eth0')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 52 guests