Jump to content


diocane

Member Since 15 Feb 2012
Offline Last Active 21 Nov 2014 06:02
-----

Posts I've Made

In Topic: Hi everybody,newbie here need help please!

20 November 2014 - 19:43

 how do u "went" in this directory? ftp? don't use notepad unless it's notepad++ you should use telnet or ssh and edit this file with nano, and add the lines i wrote to you, all of them, but, if oscam.conf have no webif configuration already u probably have an oscam release without integrated webif. Someone please correct me if i'm wrong.


In Topic: Hi everybody,newbie here need help please!

20 November 2014 - 19:20

u can also change this port, and set an username and password in oscam.conf (in my case located in  /etc/tuxbox/config/oscam)

 

[webif]

httpport = theportyouwant

httpuser = theuseryouwant

httppwd = thepasswordyouwant

 

note that not every oscam release have a webif.

 

meega told u to go on that url but he obviously meant to replace ipadress with your decoder ip adress, for example if your decoder is 192.168.1.50, type 192.168.1.50:16200 in your pc web browser (that should be in the same lan ofc)

 

if u change the port 16200 by editing oscam.conf to another desidered one u will need to enter 192.168.1.50:theportyouchangedto


In Topic: PLEASE host me smbd and nmbd files

20 November 2014 - 14:41

ok, should be

hosts allow = ip that i want to allow

 

my question is, by adding this line any other ip than the one i specified are denied to access, i am right? Even from other subnets? 


In Topic: PLEASE host me smbd and nmbd files

20 November 2014 - 14:28

a little update, i deleted /etc/samba/private/smbpasswd file and secrets.tdb, now it works again, but only as guest.... this means zero security. can someone help me setting user-level password access?

From what i read in the manual another side solution can restrict access by ip... what's the right syntax to allow only 1 ip and deny access to any other? 


In Topic: PLEASE host me smbd and nmbd files

20 November 2014 - 13:22

ok, samba worked as guest, but as soon as i create an user with adduser example, passwd example, then smbpasswd example it stopped working, smbd wont start anymore, this even b4 i edited smb.conf to setup valid users.

 

smb.log:

 

[2014/11/20 13:19:21, 0] lib/util_sec.c:assert_gid(119)
  Failed to set gid privileges to (-1,1000) now set to (0,0) uid=(0,0)
[2014/11/20 13:19:21, 0] lib/util.c:smb_panic(1633)
  PANIC (pid 30865): failed to set gid
 
[2014/11/20 13:19:21, 0] lib/util.c:log_stack_trace(1737)
  BACKTRACE: 1 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x40) [0x779bc960]
[2014/11/20 13:19:21, 0] lib/fault.c:dump_core(181)
  dumping core in /var/log/cores/smbd
[2014/11/20 13:19:21, 0] lib/util_sec.c:assert_gid(119)
  Failed to set gid privileges to (-1,1000) now set to (0,0) uid=(0,0)
[2014/11/20 13:19:21, 0] lib/util.c:smb_panic(1633)
  PANIC (pid 30866): failed to set gid
 
[2014/11/20 13:19:21, 0] lib/util.c:log_stack_trace(1737)
  BACKTRACE: 1 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x40) [0x779bc960]
[2014/11/20 13:19:21, 0] lib/fault.c:dump_core(181)
  dumping core in /var/log/cores/smbd
 
 
 
if i run TOP i see nmbd and 2 smbd processes running, but windows can't access my share anymore. (not even asking to login, just reporting network problem immediatly, same as samba is not running)