Hi everyone,
I'm kind of new to the linux world with all of LEDE/putty/samba.
I was able to manage to flash my Router c2600v1 with LEDE and install a lot of stuff in it. Sadly, I'm not able to flash any firmware again because the router doesn't finish the sequence, when the reboot happens, it stays off and doesn't come back up, meaning that I have a lot of trouble to boot it up after as it becomes a bad Flash. Anyway, I was finally able to start it again after hours but I can't flash back to original firmware to use the USB network share.
I'm now on :Firmware Version LEDE Reboot SNAPSHOT r3012-0d1b329 / LuCI Master (git-17.017.13638-9b7a5a4)
Kernel Version 4.4.42
I'm cool with that, but I need to set up a HDD so my phones/android box, and 2x windows pc access it. I read for 2 complete days and made a **** lot of try and now I'm stuck.
- I installed many many packages, kmod(s).. samba(s) (listed at the end via opkg list-installed command)
-I was able to see my HDD exfat on LUCI after I ran these command lines in putty only (before even with block info or else, nothing showed)
mkdir /exfat
mount -t exfat /dev/sda1 /exfat
ls /exfat
mount -t exfat /dev/sdb1 /exfat
dmesg
Now my Problem is that even tho I see them, I'm not sure what I have to do to make them accessible. Here is what appear in LUCI: /system/mount points (in the mounted file systems area)
/dev/sdb1 (file system)
/exfat (mount point)
931.49 GB / 931.49 GB (available)
0% (2.25 MB) (used)
Do i need to set up mounts points also (not sure what It would change), when I try to enable one with device as /dev/sdb1 for example, it writes (not present).
Under Luci /service/network share, I created a Shared Directories with allow guest checked only and nothing written in Create mask or directory mask. (i also created the folder with the same name on the HDD b4 I moved it into the router, not at first, but after many tries in case it would help)
Name: Shared Samba
Path: /dev/sdb1
What happens is that When I go in my windows 10, I can see the Shared Samba folder under my Network 192.168.1.1 but when I click on it, it says \192.168.1.1\Shared Samba is not accessible. You might not have persmission to use this wetwork ressource. Contact the administrator of this server to find out if you have access permissions. A device attached to the system is not functioning.
I also don't know what the Share home -directories (a 1 is written) in General settings do in Samba (in luci).
Thank you in advance if you can be of any help. Mike
Other things that could help:
root@lede:~# /dev/sdb1
-ash: /dev/sdb1: Permission denied
root@lede:~# /etc/samba/smb.conf
-ash: /etc/samba/smb.conf: Permission denied
13.333494] usb-storage 3-1:1.0: USB Mass Storage device detected
[ 13.333896] scsi host0: usb-storage 3-1:1.0
[ 13.339003] usbcore: registered new interface driver usb-storage
[ 14.340032] scsi 0:0:0:0: Direct-Access WD Elements 1023 2005 PQ: 0 ANSI: 4
[ 14.342311] sd 0:0:0:0: [sda] 1953519616 512-byte logical blocks: (1.00 TB/932 GiB)
[ 14.348568] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled
[ 14.355933] sd 0:0:0:0: [sda] Asking for cache data failed
[ 14.360920] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 14.662880] sda: sda1
[ 14.666749] sd 0:0:0:0: [sda] Attached SCSI disk
[ 16.758153] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 16.775642] block: extroot: device not present, retrying in 5 seconds
[ 22.016521] block: extroot: cannot find device sdb1
[ 22.040543] mount_root: switching to jffs2 overlay
opkg list-installed
ath10k-firmware-qca988x - 2017-01-11-ab432c60-1
ath10k-firmware-qca99x0 - 2017-01-11-ab432c60-1
base-files - 171-r3012-0d1b329
block-mount - 2016-12-04-84b530a7-1
busybox - 1.25.1-2
dnsmasq - 2.76-6
dropbear - 2016.74-1
e2fsprogs - 1.43.3-2
firewall - 2017-01-13-37cb4cb4-1
fstools - 2016-12-04-84b530a7-1
fwtool - 1
hostapd-common - 2016-12-19-ad02e79d-1
ip6tables - 1.4.21-2
iptables - 1.4.21-2
iw - 4.9-1
iwinfo - 2016-09-21-fd9e17be-1
jshn - 2016-11-29-77a62937-1
jsonfilter - 2016-07-02-dea067ad-1
kernel - 4.4.42-1-62ca35ef5a1a4cc0be3ea2d57cf9c2ea
kmod-ata-ahci - 4.4.42-1
kmod-ata-ahci-platform - 4.4.42-1
kmod-ata-core - 4.4.42-1
kmod-ath - 4.4.42+2016-10-08-1
kmod-ath10k - 4.4.42+2016-10-08-1
kmod-cfg80211 - 4.4.42+2016-10-08-1
kmod-crypto-crc32c - 4.4.42-1
kmod-crypto-hash - 4.4.42-1
kmod-fs-exfat - 4.4.42+2017-01-03-8d291f525ce6d88fe0d8b11b86fd5c2e900401d3-1
kmod-fs-ext4 - 4.4.42-1
kmod-fs-ntfs - 4.4.42-1
kmod-fs-vfat - 4.4.42-1
kmod-fuse - 4.4.42-1
kmod-gpio-button-hotplug - 4.4.42-2
kmod-ip6tables - 4.4.42-1
kmod-ipt-conntrack - 4.4.42-1
kmod-ipt-core - 4.4.42-1
kmod-ipt-nat - 4.4.42-1
kmod-leds-gpio - 4.4.42-1
kmod-lib-crc-ccitt - 4.4.42-1
kmod-lib-crc16 - 4.4.42-1
kmod-mac80211 - 4.4.42+2016-10-08-1
kmod-nf-conntrack - 4.4.42-1
kmod-nf-conntrack6 - 4.4.42-1
kmod-nf-ipt - 4.4.42-1
kmod-nf-ipt6 - 4.4.42-1
kmod-nf-nat - 4.4.42-1
kmod-nls-base - 4.4.42-1
kmod-nls-cp437 - 4.4.42-1
kmod-nls-iso8859-1 - 4.4.42-1
kmod-nls-utf8 - 4.4.42-1
kmod-ppp - 4.4.42-1
kmod-pppoe - 4.4.42-1
kmod-pppox - 4.4.42-1
kmod-scsi-core - 4.4.42-1
kmod-slhc - 4.4.42-1
kmod-usb-core - 4.4.42-1
kmod-usb-dwc3 - 4.4.42-1
kmod-usb-dwc3-of-simple - 4.4.42-1
kmod-usb-ledtrig-usbport - 4.4.42-1
kmod-usb-ohci - 4.4.42-1
kmod-usb-phy-qcom-dwc3 - 4.4.42-1
kmod-usb-storage - 4.4.42-1
kmod-usb-storage-extras - 4.4.42-1
kmod-usb-uhci - 4.4.42-1
kmod-usb2 - 4.4.42-1
kmod-usb3 - 4.4.42-1
lede-keyring - 2016-04-30-5c7857ee-1
libblobmsg-json - 2016-11-29-77a62937-1
libc - 1.1.16-1
libext2fs - 1.43.3-2
libgcc - 5.4.0-1
libip4tc - 1.4.21-2
libip6tc - 1.4.21-2
libiwinfo - 2016-09-21-fd9e17be-1
libiwinfo-lua - 2016-09-21-fd9e17be-1
libjson-c - 0.12.1-1
libjson-script - 2016-11-29-77a62937-1
liblua - 5.1.5-1
libmbedtls - 2.4.0-2
libnl-tiny - 0.1-5
libpthread - 1.1.16-1
librt - 1.1.16-1
libubox - 2016-11-29-77a62937-1
libubus - 2016-10-12-312448a5-1
libubus-lua - 2016-10-12-312448a5-1
libuci - 2016-07-04-e1bf4356-1
libuci-lua - 2016-07-04-e1bf4356-1
libuclient - 2016-12-09-52d955fd-1
libusb-1.0 - 1.0.21-1
libustream-mbedtls - 2016-07-02-ec80adaa-2
libuuid - 2.28-1
libxtables - 1.4.21-2
logd - 2017-01-15-5649c028-1
lua - 5.1.5-1
luci - git-17.017.13638-9b7a5a4-1
luci-app-firewall - git-17.017.13638-9b7a5a4-1
luci-app-samba - git-17.017.13638-9b7a5a4-1
luci-base - git-17.017.13638-9b7a5a4-1
luci-i18n-samba-en - git-17.017.13638-9b7a5a4-1
luci-lib-ip - git-17.017.13638-9b7a5a4-1
luci-lib-jsonc - git-17.017.13638-9b7a5a4-1
luci-lib-nixio - git-17.017.13638-9b7a5a4-1
luci-mod-admin-full - git-17.017.13638-9b7a5a4-1
luci-proto-ipv6 - git-17.017.13638-9b7a5a4-1
luci-proto-ppp - git-17.017.13638-9b7a5a4-1
luci-ssl - git-17.017.13638-9b7a5a4-1
luci-theme-bootstrap - git-17.017.13638-9b7a5a4-1
mtd - 21
netifd - 2017-01-17-a057f6e4-1
ntfs-3g - 2016.2.22-1-fuseint
odhcp6c - 2017-01-07-d420f493-1
odhcpd - 2017-01-06-ef3c5632-1
opkg - 2011-04-08-9c97d5ec-16
ppp - 2.4.7-10
ppp-mod-pppoe - 2.4.7-10
procd - 2017-01-10-f7069032-1
procd-nand - 2017-01-10-f7069032-1
px5g-standalone - 2
rpcd - 2016-12-03-0577cfc1-1
samba36-server - 3.6.25-5
swconfig - 11
ubi-utils - 1.5.2-1
uboot-envtools - 2015.10-1
ubox - 2017-01-15-5649c028-1
ubus - 2016-10-12-312448a5-1
ubusd - 2016-10-12-312448a5-1
uci - 2016-07-04-e1bf4356-1
uclient-fetch - 2016-12-09-52d955fd-1
uhttpd - 2016-10-25-1628fa4b-1
uhttpd-mod-ubus - 2016-10-25-1628fa4b-1
usbutils - 007-6
usign - 2015-07-04-ef641914-1
wpad-mini - 2016-12-19-ad02e79d-1