Fail to get an IP from DHCP server after installing fvdw-sl

Fail to get an IP from DHCP server after installing fvdw-sl

Postby fvdw » Sun Apr 21, 2019 9:27 pm

and those
Code: Select all
/sda7/bin/busybox ifconfig --help
/sda7/bin/busybox ip --help
/sda7/bin/busybox ip route
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Sun Apr 21, 2019 9:28 pm

Code: Select all
root@fvdw-sta-kirkwood:/ # mount /dev/sda7 /sda7
root@fvdw-sta-kirkwood:/ # /sda7/sbin/ifconfig --help
/sda7/sbin/ifconfig: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
root@fvdw-sta-kirkwood:/ # /sda7/bin/ip --help
/sda7/bin/ip: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
root@fvdw-sta-kirkwood:/ # /sda7/bin/ip route
/sda7/bin/ip: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
root@fvdw-sta-kirkwood:/ #


missing something?
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Sun Apr 21, 2019 9:29 pm

fvdw wrote:and those
Code: Select all
/sda7/bin/busybox ifconfig --help
/sda7/bin/busybox ip --help
/sda7/bin/busybox ip route
Code: Select all
root@fvdw-sta-kirkwood:/ # /sda7/bin/busybox ifconfig --help
/sda7/bin/busybox: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
root@fvdw-sta-kirkwood:/ # /sda7/bin/busybox ip --help
/sda7/bin/busybox: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
root@fvdw-sta-kirkwood:/ # /sda7/bin/busybox ip route
/sda7/bin/busybox: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
root@fvdw-sta-kirkwood:/ #
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Fail to get an IP from DHCP server after installing fvdw-sl

Postby fvdw » Sun Apr 21, 2019 9:32 pm

yes standalone kernel needs some files they are included in fvdw-sl console
do this in telnet client

Code: Select all
cd /
tftp -r glibc-and-tools-archive.tar -l glibc-and-tools-archive.tar -g ip-of-your-pc
tar -xvf glibc-and-tools-archive.tar
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Fail to get an IP from DHCP server after installing fvdw-sl

Postby fvdw » Sun Apr 21, 2019 9:32 pm

after that repeat the requested commands
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Sun Apr 21, 2019 9:36 pm

Code: Select all
root@fvdw-sta-kirkwood:/ # cd /
root@fvdw-sta-kirkwood:/ # tftp -r glibc-and-tools-archive.tar -l glibc-and-tools-archive.tar -g 192.168.0.177
glibc-and-tools-arch 100% |***********************************************************************************|  7009k  0:00:00 ETA
root@fvdw-sta-kirkwood:/ # tar -xvf glibc-and-tools-archive.tar
./
./usr/
./usr/share/
./usr/share/empty/
./usr/bin/
./usr/bin/strace
./usr/sbin/
./usr/sbin/e2fsck
./usr/sbin/mount
./usr/sbin/vsftpd
./usr/lib/
./usr/lib/libblkid.so.1
./usr/lib/libuuid.so
./usr/lib/libuuid.so.1.3.0
./usr/lib/libblkid.so.1.1.0
./usr/lib/libgcc_s.so.1
./usr/lib/libblkid.so
./usr/lib/libuuid.so.1
./bin/
./bin/bash
./bin/dd-64
./sbin/
./sbin/ethtool
./sbin/xfs_repair
./sbin/mkfs.xfs
./sbin/mdadm
./var/
./var/ftp/
./var/log/
./etc/
./etc/group
./etc/ld.so.cache
./etc/sudoers
./etc/vsftpd.conf
./lib/
./lib/libutil.so.1
./lib/libc-2.17.so
./lib/libnss_files.so.2
./lib/libdl-2.17.so
./lib/libcrypt.so.1
./lib/libdl.so.2
./lib/librt.so.1
./lib/libnss_compat-2.17.so
./lib/libnss_files-2.17.so
./lib/libnss_compat.so.2
./lib/libresolv-2.17.so
./lib/librt-2.17.so
./lib/libanl-2.17.so
./lib/libc.so.6
./lib/libanl.so.1
./lib/libm-2.17.so
./lib/libresolv.so.2
./lib/libpthread.so.0
./lib/libnsl.so.1
./lib/libcrypt-2.17.so
./lib/ld-linux.so.3
./lib/ld-2.17.so
./lib/libnsl-2.17.so
./lib/libutil-2.17.so
./lib/libpthread-2.17.so
./lib/libm.so.6
./version-glibc-tools-2jun2017.txt
root@fvdw-sta-kirkwood:/ # /sda7/sbin/ifconfig --help
/sda7/sbin/ifconfig: error while loading shared libraries: libtirpc.so.1: cannot open shared object file: No such file or directory
root@fvdw-sta-kirkwood:/ # /sda7/bin/ip --help
/sda7/bin/ip: error while loading shared libraries: libtirpc.so.1: cannot open shared object file: No such file or directory
root@fvdw-sta-kirkwood:/ # /sda7/bin/ip route
/sda7/bin/ip: error while loading shared libraries: libtirpc.so.1: cannot open shared object file: No such file or directory
root@fvdw-sta-kirkwood:/ # /sda7/bin/busybox ifconfig --help
/sda7/bin/busybox: error while loading shared libraries: libtirpc.so.1: cannot open shared object file: No such file or directory
root@fvdw-sta-kirkwood:/ # /sda7/bin/busybox ip --help
/sda7/bin/busybox: error while loading shared libraries: libtirpc.so.1: cannot open shared object file: No such file or directory
root@fvdw-sta-kirkwood:/ # /sda7/bin/busybox ip route
/sda7/bin/busybox: error while loading shared libraries: libtirpc.so.1: cannot open shared object file: No such file or directory
root@fvdw-sta-kirkwood:/ #
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Fail to get an IP from DHCP server after installing fvdw-sl

Postby fvdw » Sun Apr 21, 2019 9:42 pm

more libs needed, thats not what we like as those are not in fvdw-sl connole
copy busybox of standalone kernel to sda7

Code: Select all
mv /sda7/bin/busybox /sda7/bin/busybox-org
cp /bin/busybox /sda7/bin/busybox
chmod 777 /sda7/bin/busybox

try again the commands requested
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Sun Apr 21, 2019 9:46 pm

fvdw wrote:more libs needed, thats not what we like as those are not in fvdw-sl connole
copy busybox of standalone kernel to sda7

Code: Select all
mv /sda7/bin/busybox /sda7/bin/busybox-org
cp /bin/busybox /sda7/bin/busybox
chmod 777 /sda7/bin/busybox

try again the commands requested


Code: Select all
root@fvdw-sta-kirkwood:/ # mv /sda7/bin/busybox /sda7/bin/busybox-org
root@fvdw-sta-kirkwood:/ # cp /bin/busybox /sda7/bin/busybox
root@fvdw-sta-kirkwood:/ # chmod 777 /sda7/bin/busybox
root@fvdw-sta-kirkwood:/ # /sda7/sbin/ifconfig --help
BusyBox v1.21.0 (2013-02-04 10:48:06 GMT+1) multi-call binary.

Usage: ifconfig [-a] interface [address]

Configure a network interface

        [add ADDRESS[/PREFIXLEN]]
        [del ADDRESS[/PREFIXLEN]]
        [[-]broadcast [ADDRESS]] [[-]pointopoint [ADDRESS]]
        [netmask ADDRESS] [dstaddr ADDRESS]
        [outfill NN] [keepalive NN]
        [hw ether|infiniband ADDRESS] [metric NN] [mtu NN]
        [[-]trailers] [[-]arp] [[-]allmulti]
        [multicast] [[-]promisc] [txqueuelen NN] [[-]dynamic]
        [mem_start NN] [io_addr NN] [irq NN]
        [up|down] ...

root@fvdw-sta-kirkwood:/ # /sda7/bin/ip --help
BusyBox v1.21.0 (2013-02-04 10:48:06 GMT+1) multi-call binary.

Usage: ip [OPTIONS] {address | route | link | tunnel | rule} {COMMAND}

ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | tunnel | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }

root@fvdw-sta-kirkwood:/ # /sda7/bin/ip route
192.168.0.0/24 dev eth0  src 192.168.0.188
192.168.1.0/24 dev eth0  src 192.168.1.251
root@fvdw-sta-kirkwood:/ # /sda7/bin/busybox ip route
192.168.0.0/24 dev eth0  src 192.168.0.188
192.168.1.0/24 dev eth0  src 192.168.1.251
root@fvdw-sta-kirkwood:/ # /sda7/bin/busybox ip --help
BusyBox v1.21.0 (2013-02-04 10:48:06 GMT+1) multi-call binary.

Usage: ip [OPTIONS] {address | route | link | tunnel | rule} {COMMAND}

ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | tunnel | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }

root@fvdw-sta-kirkwood:/ # /sda7/bin/busybox ifconfig --help
BusyBox v1.21.0 (2013-02-04 10:48:06 GMT+1) multi-call binary.

Usage: ifconfig [-a] interface [address]

Configure a network interface

        [add ADDRESS[/PREFIXLEN]]
        [del ADDRESS[/PREFIXLEN]]
        [[-]broadcast [ADDRESS]] [[-]pointopoint [ADDRESS]]
        [netmask ADDRESS] [dstaddr ADDRESS]
        [outfill NN] [keepalive NN]
        [hw ether|infiniband ADDRESS] [metric NN] [mtu NN]
        [[-]trailers] [[-]arp] [[-]allmulti]
        [multicast] [[-]promisc] [txqueuelen NN] [[-]dynamic]
        [mem_start NN] [io_addr NN] [irq NN]
        [up|down] ...

root@fvdw-sta-kirkwood:/ #
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Fail to get an IP from DHCP server after installing fvdw-sl

Postby fvdw » Sun Apr 21, 2019 9:51 pm

two more
Code: Select all
/sda7/bin/busybox ifconfig eth0
/sda7/bin/busybox ifconfig eth0 up
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Sun Apr 21, 2019 9:52 pm

fvdw wrote:two more
Code: Select all
/sda7/bin/busybox ifconfig eth0
/sda7/bin/busybox ifconfig eth0 up

Code: Select all
root@fvdw-sta-kirkwood:/ # /sda7/bin/busybox ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:D0:4B:8D:9A:81 
          inet addr:192.168.0.188  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2d0:4bff:fe8d:9a81/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15514 errors:0 dropped:1119 overruns:0 frame:0
          TX packets:14536 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7975477 (7.6 MiB)  TX bytes:695627 (679.3 KiB)
          Interrupt:11

root@fvdw-sta-kirkwood:/ # /sda7/bin/busybox ifconfig eth0 up
root@fvdw-sta-kirkwood:/ #
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

PreviousNext

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 7 guests