Cannot Telnet or ssh

This forum is for all other ARMv5 devices

Re: Cannot Telnet or ssh

Postby dinjo » Thu Nov 29, 2012 7:41 am

I think i didn't do this I'll try that before i wanted to know if i do this.
$this->bbcode_second_pass_code('', 'systemctl disable dhcpcd@eth0.service
systemctl enable netcfg.service')

If i dont get the pogo booted how do i revert back ? Since we are disabling dhcpd just delete /etc/network.d/ethernet-static & modify /etc/conf.d/netcfg with what ? How does one revert back to dhcpd without ssh/telnet

On Arch Wiki it says differently

$this->bbcode_second_pass_code('', 'systemctl enable network
')To test, reboot or make sure all other network daemons are stopped and then run as root
$this->bbcode_second_pass_code('', ' systemctl start network')
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby pepedog » Thu Nov 29, 2012 9:55 am

I only pointed you there to show network settings. You can't do systemd.

1/ figure out your network settings is a file that is in /etc/network.d/ (lets assume you called it ethernet-static)

2/ the name of that file goes in /etc/rc.conf/netcfg on the line NETWORKS= (lets assume this NETWORKS=(ethernet-static) )

3/ in /etc/rc.conf on the DAEMONS line replace network with net-profiles

I'm not sitting on a computer all the time, that's why I said look at file names in /etc/rc.d/ and pointed that filename is what was needed.
Have you been yanking out the power every time it failed to boot with network running?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cannot Telnet or ssh

Postby dinjo » Thu Nov 29, 2012 12:10 pm

The first 3 steps are done and daemons had netcfg will check again in /etc/rc,d
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby pepedog » Thu Nov 29, 2012 1:19 pm

See, you blindly put net-profiles in DAEMONS line. You were supposed to check if that file existed in /etc/rc.d/
You know I haven't got one of these devices, and run the rc system for a while, even so no one can guide you to exactly what to do, only give you a clue.
I'm not saying anything is done wrong, but are missing seeing how these pieces all fit together
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cannot Telnet or ssh

Postby dinjo » Thu Nov 29, 2012 3:21 pm

Yes it worked had to use net-profiles in daemons.

Many thanks to putting your efforts on this. :D


But i asked this earlier why are no logs generated in var/log ?
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby dinjo » Thu Nov 29, 2012 4:53 pm

I'm trying to backup my tarball when i do this it says is it safe ?

$this->bbcode_second_pass_code('', 'tar -cpvzf Pogo.tar /
')
/usr/bin/core_perl/piconv
/usr/bin/core_perl/splain
/usr/bin/core_perl/perlbug
/usr/bin/core_perl/h2xs
tar: Removing leading `/' from hard link targets
/usr/bin/core_perl/perlthanks
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby pepedog » Thu Nov 29, 2012 7:17 pm

$this->bbcode_second_pass_quote('dinjo', 'Y')es it worked had to use net-profiles in daemons.
Many thanks to putting your efforts on this. :D
But i asked this earlier why are no logs generated in var/log ?

Is syslog-ng in the DAEMONS line. Otherwise I have no clue

Are you backing up the drive while off line, ie not the boot meadia? You will have to search the forums for that
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cannot Telnet or ssh

Postby Geoff » Fri Nov 30, 2012 4:17 am

$this->bbcode_second_pass_quote('dinjo', 'i') asked this earlier why are no logs generated in var/log

A recent upgrade of syslog-ng changed the file /etc/syslog-ng/syslog-ng.conf so that it contains a line
unix-dgram("/run/systemd/journal/syslog");
You need to change that (back?) to
unix-dgram("/dev/log");
Then syslog should start working again.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: Cannot Telnet or ssh

Postby dinjo » Fri Nov 30, 2012 9:09 am

Thanks Geoff I'll try that

Is there a performance improvement after moving from 2.6 to 3.1 ?
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby WarheadsSE » Fri Nov 30, 2012 1:10 pm

Hes not on 3.1 either!
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 3 guests