Pages: [1]   Go Down
Print
Author Topic: MED500X ssh/telnet and SAMBA settings  (Read 2344 times)
phoenix73
B8a Tester
Jr. Member
***
Offline Offline

Posts: 98



« on: November 23, 2009, 11:01:57 pm »

Hi to all,

I'm new to Media Player but pretty experienced on Linux.
MED500x seems to be a MIPS powered Linux box (kernel 2.6.12).

I think it should be possible to log to it using telnet and may be ssh.
What's the default login/password ?

Also, is it possible to change the samba settings to change from WORKGROUP to say MYHOME group and update the samba server settings via the TV interface or did nano/vi are required (it's not a problem).

Regards

Logged

Mede8ter FW 3.04 - HD103I SATA2 1Tb / 2 * Snow Leopard 10.6.4 (64bits) / 2 * Vista Home Premium (32bits) /  Ubuntu 9.10 (x86), Freebox v5/HD, LG 42LH5010, LG BD370. Home network CAT5 (100Mbp/s or WIFI N)
utketser
Newbie

Offline Offline

Posts: 9


« Reply #1 on: November 24, 2009, 12:25:01 am »

Hi.

Login: root:
Password: <not set>

wbr,
Toomas
Logged
dextro
B8a Tester
Newbie
***
Offline Offline

Posts: 43


« Reply #2 on: November 24, 2009, 04:47:52 pm »

looks like the smb.conf file is in a write only partiion

Regards

David
Logged
phoenix73
B8a Tester
Jr. Member
***
Offline Offline

Posts: 98



« Reply #3 on: November 25, 2009, 12:49:58 am »

looks like the smb.conf file is in a write only partiion

It's sad, but may be we could change the WORKGROUP via the telco ?
Logged

Mede8ter FW 3.04 - HD103I SATA2 1Tb / 2 * Snow Leopard 10.6.4 (64bits) / 2 * Vista Home Premium (32bits) /  Ubuntu 9.10 (x86), Freebox v5/HD, LG 42LH5010, LG BD370. Home network CAT5 (100Mbp/s or WIFI N)
talib
Guest
« Reply #4 on: November 25, 2009, 01:18:20 am »

It's sad, but may be we could change the WORKGROUP via the telco ?

you could:
- copy the /usr/local/package/samba/lib/smb.conf to your hdd .. alter it as you want
- kill the running smbd
- start /usr/local/package/samba/sbin/smbd -D -s /mnt/usbmounts/*path_to_your_edited_smb.conf*

haven't tried it myself but i did a similar thing with bftpd and it just works until you restart the box

*edit*

i looked into it abit .. and found a local smb.conf on the ext.3 partition of the box

try to alter the /tmp/hdd/root/samba/lib/smb.conf and things should be permanent
start / stop / restart your samba with /tmp/hdd/root/script/samba start - stop - restart

« Last Edit: November 25, 2009, 06:17:51 pm by talib » Logged
phoenix73
B8a Tester
Jr. Member
***
Offline Offline

Posts: 98



« Reply #5 on: December 01, 2009, 04:49:34 pm »

I updated /tmp/hdd/root/samba/lib/smb.conf

and

/tmp/hdd/root/script/samba stop
/tmp/hdd/root/script/samba start

and it works but after doing the NAS on/off, settings where lost ;(

I'll redo it

For others users interest, I followed this guide :

http://www.faqs.org/docs/securing/chap29sec284.html

« Last Edit: December 01, 2009, 04:54:53 pm by phoenix73 » Logged

Mede8ter FW 3.04 - HD103I SATA2 1Tb / 2 * Snow Leopard 10.6.4 (64bits) / 2 * Vista Home Premium (32bits) /  Ubuntu 9.10 (x86), Freebox v5/HD, LG 42LH5010, LG BD370. Home network CAT5 (100Mbp/s or WIFI N)
phoenix73
B8a Tester
Jr. Member
***
Offline Offline

Posts: 98



« Reply #6 on: December 01, 2009, 04:57:29 pm »

BTW.

Could I safely remove the $RECYCLE.BIN and System Volume Information ?

Regards
Logged

Mede8ter FW 3.04 - HD103I SATA2 1Tb / 2 * Snow Leopard 10.6.4 (64bits) / 2 * Vista Home Premium (32bits) /  Ubuntu 9.10 (x86), Freebox v5/HD, LG 42LH5010, LG BD370. Home network CAT5 (100Mbp/s or WIFI N)
Insomniac
Moder8or
Administr8or
Hero Member
******
Offline Offline

Posts: 1 577



« Reply #7 on: December 01, 2009, 05:19:40 pm »

Could I safely remove the $RECYCLE.BIN and System Volume Information ?

Absolutely
Logged

Questions? Please check the Mede8er Beginners Guide.

For technical assistance, please take note of the Technical support guidelines.

Ensure too that you are using the latest firmware when requesting support.
phoenix73
B8a Tester
Jr. Member
***
Offline Offline

Posts: 98



« Reply #8 on: December 01, 2009, 08:47:13 pm »

Great, Right now.
Logged

Mede8ter FW 3.04 - HD103I SATA2 1Tb / 2 * Snow Leopard 10.6.4 (64bits) / 2 * Vista Home Premium (32bits) /  Ubuntu 9.10 (x86), Freebox v5/HD, LG 42LH5010, LG BD370. Home network CAT5 (100Mbp/s or WIFI N)
phoenix73
B8a Tester
Jr. Member
***
Offline Offline

Posts: 98



« Reply #9 on: December 25, 2009, 11:39:05 am »

Very strange.

The samba settings are :

cat /tmp/hdd/root/samba/lib/smb.conf
[global]
security=share
log file=/usr/local/samba/var/log.%m
max log size=2000
domain logons=Yes
dns proxy=No
use sendfile=yes
guest account=root
encrypt passwords=yes
passdb backend=smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
read raw=yes
write raw=yes
oplocks=yes
max xmit=65535
dead time=15
getwd cache=yes
lpq cache=30
read prediction=yes
client NTLMv2 auth=yes
[USB1]
path=/tmp/usbmounts/sda1
hide dot files=yes
hide files=/.*/lost+found/
guest ok=yes
writable=yes
force create mode=0775
force directory mode=0775

The internal SATA is seen as USB1 not HDD1 ?

Logged

Mede8ter FW 3.04 - HD103I SATA2 1Tb / 2 * Snow Leopard 10.6.4 (64bits) / 2 * Vista Home Premium (32bits) /  Ubuntu 9.10 (x86), Freebox v5/HD, LG 42LH5010, LG BD370. Home network CAT5 (100Mbp/s or WIFI N)
mark.m.moran
Newbie

Offline Offline

Posts: 23


« Reply #10 on: August 19, 2010, 12:17:41 am »

What would a connected USB HDD be seen as by default?? Do you know the command to check if Samba is running?
Logged
phoenix73
B8a Tester
Jr. Member
***
Offline Offline

Posts: 98



« Reply #11 on: August 19, 2010, 12:35:57 am »

You should use, ps | grep samba :

You'll get smbd and nmbd

# ps | grep samba
  524 root       1584 S N /tmp/package/samba/sbin/smbd -D
  527 root        836 S N /tmp/package/samba/sbin/nmbd -D
  529 root       1560 S N /tmp/package/samba/sbin/smbd -D
  672 root        304 S   grep samba


Logged

Mede8ter FW 3.04 - HD103I SATA2 1Tb / 2 * Snow Leopard 10.6.4 (64bits) / 2 * Vista Home Premium (32bits) /  Ubuntu 9.10 (x86), Freebox v5/HD, LG 42LH5010, LG BD370. Home network CAT5 (100Mbp/s or WIFI N)
mark.m.moran
Newbie

Offline Offline

Posts: 23


« Reply #12 on: August 19, 2010, 12:50:29 am »

Thanx man, will try that. Just flashed custom FW that is available here (http://www.mede8erforum.com/index.php/topic,2544.0.html) so hopefully NAS\Samba will work now!!

Cheers,
M
Logged
Pages: [1]   Go Up
Print
Jump to: