Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Thu Nov 23, 2017 10:35 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sun Oct 16, 2016 10:14 pm 
Offline
Total Newbie

Joined: Sun Oct 16, 2016 6:24 pm
Posts: 1
Hy,

after several years not running my NAS i decided to give him a new chance.
I installed the newest Firmware and gained root access.

I want to try the new Debian installer for buffalo (last time i used the NAS i installed wheezy with debootstrap) so i downloaded all from:

https://d-i.debian.org/daily-images/arm ... lo/ls-wxl/

After downloadet it on the NAS i copied initrd.buffalo and uImage.buffalo to /boot and run config-debian by

Code:
sh config-debian


in the /mnt directory.

after rebooting the LinkStation i was able to login on it with user installer and pw install but i get immediately disconnected.

Here I have the output of the login:
Code:
root@kali:~# ssh -v installer@192.168.1.105
OpenSSH_6.7p1 Debian-5+deb8u3, OpenSSL 1.0.1k 8 Jan 2015
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.1.105 [192.168.1.105] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u3
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.3p1 Debian-1
debug1: match: OpenSSH_7.3p1 Debian-1 pat OpenSSH* compat 0x04000000
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr umac-64-etm@openssh.com none
debug1: kex: client->server aes128-ctr umac-64-etm@openssh.com none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: RSA fb:90:b2:0c:02:f0:06:74:f6:f6:b1:15:cd:5e:53:2a
debug1: Host '192.168.1.105' is known and matches the RSA host key.
debug1: Found key in /root/.ssh/known_hosts:2
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Trying private key: /root/.ssh/id_ecdsa
debug1: Trying private key: /root/.ssh/id_ed25519
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
installer@192.168.1.105's password:
debug1: Authentication succeeded (password).
Authenticated to 192.168.1.105 ([192.168.1.105]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Sending environment.
debug1: Sending env LC_PAPER = en_US.UTF-8
debug1: Sending env LC_MONETARY = en_US.UTF-8
debug1: Sending env LC_NUMERIC = en_US.UTF-8
debug1: Sending env LANG = en_US.utf8
debug1: Sending env LC_MEASUREMENT = en_US.UTF-8
debug1: Sending env LC_TIME = en_US.UTF-8
There is no screen to be resumed matching sh.
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
debug1: channel 0: free: client-session, nchannels 1
Connection to 192.168.1.105 closed.
Transferred: sent 3184, received 2468 bytes, in 1.9 seconds
Bytes per second: sent 1656.5, received 1284.0
debug1: Exit status 0


Top
   
PostPosted: Sun May 21, 2017 5:04 pm 
Offline
Newbie

Joined: Thu May 18, 2017 8:10 am
Posts: 22
take this here

https://github.com/rogers0/OpenLinkstation


Top
   
PostPosted: Mon Jun 05, 2017 8:46 pm 
Offline
Newbie

Joined: Wed Jan 06, 2016 10:09 am
Posts: 38
Why not start from scratch and install a full new fresh Debian?

This is the official installer for debian on the ls-wxl.
http://ftp.nl.debian.org/debian/dists/testing/main/installer-armel/current/images/kirkwood/network-console/buffalo/ls-wxl/




You can also use my small debian and try an installation with strapit command. But for this you need some base know how for linux!
LS-WXL
https://ufile.io/t8enk

LS-QVL
https://ufile.io/y9s8h


Top
   
PostPosted: Sun Jun 25, 2017 12:22 am 
Offline
Newbie

Joined: Thu May 18, 2017 8:10 am
Posts: 22
Der link ist down vom ftp debian


Top
   
PostPosted: Sun Jun 25, 2017 8:04 am 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2691
it is now stable an not testing

http://ftp.nl.debian.org/debian/dists/stable/main/installer-armel/current/images/kirkwood/network-console/buffalo/ls-wxl/


Top
   
PostPosted: Tue Jul 04, 2017 10:37 am 
Offline
Newbie

Joined: Thu May 18, 2017 8:10 am
Posts: 22
Code:
root@NAS:/mnt# sh config-debian

No tool found for modifying U-Boot environment...


Code:
root@NAS:/mnt# apt-cache search  U-Boot

dfu-util - Device firmware update (DFU 1.0) USB programmer

u-boot - A boot loader for embedded systems

uboot-envtools - read/modify the environment for the bootloader U-Boot

uboot-mkimage - generate kernel image for U-Boot

root@NAS:/mnt# apt-get install uboot-envtools

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following NEW packages will be installed:

  uboot-envtools

0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 15.3 kB of archives.

After this operation, 135 kB of additional disk space will be used.

Get:1 http://archive.debian.org/debian/ squeeze/main uboot-envtools armel 20081215-2 [15.3 kB]

Fetched 15.3 kB in 0s (45.1 kB/s)

Selecting previously deselected package uboot-envtools.

(Reading database ... 53300 files and directories currently installed.)

Unpacking uboot-envtools (from .../uboot-envtools_20081215-2_armel.deb) ...

Processing triggers for man-db ...

Setting up uboot-envtools (20081215-2) ...

root@NAS:/mnt#


Code:
root@NAS:/mnt# sh config-debian

Configuration file for fw_printenv not found.

root@NAS:/mnt#


und nun ?

Code:
root@NAS:/mnt# which  fw_printenv

/usr/sbin/fw_printenv

root@NAS:/mnt# which  nvram

root@NAS:/mnt#


habe ich das gemacht

Code:
root@NAS:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00010000 "spi_flash"
root@NAS:/# nano /etc/fw_env.config

# Configuration file for fw_(printenv/setenv) utility.

# Up to two entries are valid, in this case the redundant

# environment sector is assumed present.

# MTD device name       Device offset   Env. size       Flash sector size

             /dev/mtd0               0x0000          0x80000         0x10000



und nun

Code:
root@NAS:/# fw_printenv

Warning: Bad CRC, using default environment

bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm

bootdelay=5

baudrate=115200

root@NAS:/#


das hier


Top
   
PostPosted: Sun Sep 24, 2017 8:05 pm 
Offline
Newbie

Joined: Fri Feb 03, 2017 11:56 am
Posts: 28
Wow, since when Debian is available for the LS-WXL or the Buffalo devices?
I've been into the Debian site many times and never found it.
Where is the documentation for this? I have never seen this before


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited