[SOLVED] No wired Internet connection on new image

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

Re: No wired Internet connection on new image

Postby gopher » Fri Jun 07, 2013 7:42 pm

Tried all these commands and still no joy. However, I can set eth0 up and down at will, and I get a failure message for the connection at login. That still doesn't tell why it's failing though
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 7:58 pm

Oh and also, when I type $this->bbcode_second_pass_code('', 'netctl status ethernet-dhcp') I end up getting a messages that ends in $this->bbcode_second_pass_code('', 'process: 116 ExecStart=/usr/lib/network/network start %1 (code:exited, status =1/FAILURE')

So at this point I'm inclined to think its a bug in netctl rather than a misconfigured package
gopher
 
Posts: 13
Joined: Thu May 09, 2013 2:08 am

Re: No wired Internet connection on new image

Postby sdjf » Fri Jun 07, 2013 8:41 pm

What about running the netctl command with strace to see what system calls it is making?

strace -s 100 -o NAMEOFOUTPUTFILE netctl status ethernet-dhcp

Is in repository if you do not already have it.

And what about posting the netctl profile you are using.

(EDIT: removed misinformation about multiple profiles for same service)
Last edited by sdjf on Sat Jun 08, 2013 12:52 am, edited 1 time in total.
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 9:02 pm

You can have multiple profiles with same interface. Like netctl-ifplugd@etho will run thru them all.
Likewise netctl-auto@wlan0 will too, which is the whole point of it
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 » Sun Jun 09, 2013 4:53 am

Alright I finally figured it out:
First I burned a new image to get rid of any changes I could have made that would make the procedure not work. Then I followed the instructions herehttps://wiki.archlinux.org/index.php/Dhcpcd#Dynamic_IP_address, inputting this command:$this->bbcode_second_pass_code('', 'dhcpcd eth0') and it worked. I can't believe it was this simple. Apparently the dhcp client daemon wasn't running automatically and that ruined everything. But it's fixed now.
gopher
 
Posts: 13
Joined: Thu May 09, 2013 2:08 am

Re: [SOLVED] No wired Internet connection on new image

Postby mindthegap » Sun Jun 09, 2013 7:28 pm

$this->bbcode_second_pass_quote('gopher', 'T')hen I followed the instructions herehttps://wiki.archlinux.org/index.php/Dhcpcd#Dynamic_IP_address, inputting this command:$this->bbcode_second_pass_code('', 'dhcpcd eth0') and it worked. I can't believe it was this simple. Apparently the dhcp client daemon wasn't running automatically and that ruined everything. But it's fixed now.


Thank you very much, gopher, his helped me as well! After that a correct IP was acquired and my netctl profiles work also after a reboot. Did you enable any additional systemd unit/service? I didn't, but only run dhcpcd eth0 once. I'm wondering because I hope there is some way to ensure this doesn't happen again.
mindthegap
 
Posts: 2
Joined: Sat Jul 07, 2012 8:14 am

Previous

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 5 guests