Jump to content

Shamanches

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by Shamanches

  1. I'm buying WiFi Dongle RTL8188 and want create WiFi AdHoc (WEP) connect PC<->OrangePi PC

    HowTo settings on Armbian?

     

    i'm install

    sudo apt install network-manager-gnome

     

    after try connect to wifi adhoc (WEP) from network-manager (nm-applet), show error:

    (32) Not authorized to control networking

     

    My settings:

     

    userous@orangepipc:~$ groups
    userous dialout sudo audio video plugdev netdev

     

    cat /etc/network/interfaces

       auto lo   iface lo inet loopback
  2. So you solved service propagation/discovery but are still stuck with authentication against the Windows host? What about trying to debug the problem? Increasing verbosity (interactive mode using smbclient -v)?

     

    @orangepipc:~$ smbclient -L 192.168.1.10 -v
    Enter nameusers's password:
    NTLMSSP packet check failed due to short signature (0 bytes)!
    NTLMSSP NTLM2 packet check failed due to invalid signature!
    Anonymous login successful
    Domain=[MEM] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1]
    
            Sharename       Type      Comment
            ---------       ----      -------
    Error returning browse list: NT_STATUS_ACCESS_DENIED
    Connection to 192.168.1.10 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
    NetBIOS over TCP disabled -- no workgroup available
    @orangepipc:~$ cat /var/log/samba/log.nmbd
    [2016/04/27 11:22:24,  0] ../source3/nmbd/nmbd.c:908(main)
      nmbd version 4.2.10-Debian started.
      Copyright Andrew Tridgell and the Samba Team 1992-2014
    [2016/04/27 11:22:24.275535,  0] ../source3/lib/util_sock.c:478(open_socket_in)
      open_socket_in(): setsockopt: SO_REUSEPORT = true on port 137 failed with error = Protocol not available
    [2016/04/27 11:22:24.276626,  0] ../source3/lib/util_sock.c:478(open_socket_in)
      open_socket_in(): setsockopt: SO_REUSEPORT = true on port 137 failed with error = Protocol not available
    [2016/04/27 11:22:24.276880,  0] ../source3/lib/util_sock.c:478(open_socket_in)
      open_socket_in(): setsockopt: SO_REUSEPORT = true on port 137 failed with error = Protocol not available
    [2016/04/27 11:22:24.278477,  0] ../lib/util/become_daemon.c:124(daemon_ready)
      STATUS=daemon 'nmbd' finished starting up and ready to serve connections
    
    
    
    
    cat /var/log/samba/log.smbd
    
    [2016/04/27 11:21:07.037564,  0] ../lib/util/pidfile.c:153(pidfile_unlink)
      Failed to delete pidfile /var/run/samba/smbd.pid. Error was No such file or directory
    [2016/04/27 11:22:25,  0] ../lib/util/util.c:285(directory_create_or_exist_strict)
      invalid permissions on directory '/var/log/samba/cores': has 0777 should be 0700
    [2016/04/27 11:22:25,  0] ../source3/lib/dumpcore.c:59(get_default_corepath)
      Failed to create /var/log/samba/cores for user 0 with mode 0700
    [2016/04/27 11:22:25,  0] ../source3/lib/dumpcore.c:250(dump_core_setup)
      Unable to setup corepath for smbd: Success
    [2016/04/27 11:22:25,  0] ../source3/smbd/server.c:1241(main)
      smbd version 4.2.10-Debian started.
      Copyright Andrew Tridgell and the Samba Team 1992-2014
    [2016/04/27 11:22:26.291021,  0] ../lib/util/become_daemon.c:124(daemon_ready)
      STATUS=daemon 'smbd' finished starting up and ready to serve connections
    [2016/04/27 11:22:26.317116,  0] ../source3/lib/util_sock.c:478(open_socket_in)
      open_socket_in(): setsockopt: SO_REUSEPORT = true on port 445 failed with error = Protocol not available
    Unable to connect to CUPS server localhost:631 - Bad file descriptor
    failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
    Unable to connect to CUPS server localhost:631 - Bad file descriptor
    failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
    
    
  3. i'm just

     

    sudo apt install gvfs gvfs-common gvfs-daemons gvfs-libs gvfs-bin gvfs-fuse gvfs-backends gvfs-dbg xmms2-plugin-gvfs -y

     

    strangely why "Armbian_5.05_Orangepih3_Debian_jessie_3.4.110_desktop" don't content this pakages...

     

    one problem solved - i can see in thunar names computers from my network,

    but on windows share asking login:pass ???

     

    if from another comp whith Lubuntu access to this Win share - all normal...

    different smb.conf configs Lubuntu and Armbian, in this line:

           server string = %h server (Samba, Ubuntu)

    Lubuntu smb.conf contains this line

    Lubuntu: Samba version 4.1.6-Ubuntu
    Armbian: Samba version 4.2.10-Debian

  4. Why are you using "-U%" ? Do you have the "armbianen" user existing on the Win7 machine ?

    Simply replace that with "-U <existing_win7_user>" ...

    I think problem is that the other,

    smbclient -L 192.168.1.111 have existing user (see top)

    if direct link - smb://192.168.1.111  have same problem.....

    also

    sudo apt install pcmanfm

    direct link - smb://192.168.1.111  have same problem.....

     

    Hmm, command

    smbtree

    i see all shares in network....

  5. Did you create samba users using "smbpasswd" ?

    Yes....

    also shares on Armbian  and Win7 without passwords.

    If access from Win7 to Armbian - normal create and change files

    If access from another comp whith Lubuntu to this Win7- normal create and change files

     

    If trying access from Armbian to Win7 - this errors...

     

    Also smbclient from Armbian to Win7 and Lubuntu:

    armbianen@orangepipc:~$ smbclient -L 192.168.1.10 -U%
    Domain=[MEM] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1]
    
            Sharename       Type      Comment
            ---------       ----      -------
    Error returning browse list: NT_STATUS_ACCESS_DENIED
    Connection to 192.168.1.10 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
    NetBIOS over TCP disabled -- no workgroup available
    
    
    armbianen@orangepipc:~$ smbclient -L 192.168.1.111 -U%
    Domain=[MEM] OS=[Unix] Server=[Samba 4.1.6-Ubuntu]
    
            Sharename       Type      Comment
            ---------       ----      -------
            IPC$            IPC       IPC Service (kornubox server (Samba, Ubuntu))
            myworkfiles     Disk
            print$          Disk      Printer Drivers
    Domain=[MEM] OS=[Unix] Server=[Samba 4.1.6-Ubuntu]
    
            Server               Comment
            ---------            -------
            ORANGEPI             OrangePI server (Samba, Ubuntu)
            KORNUBOX             kornubox server (Samba, Ubuntu)
    
            Workgroup            Master
            ---------            -------
            MEM                  ORANGEPI
    
    
  6. Pls, need tutorial for install samba for accessing samba share in my network (Armbian<->Win7)

     

    hardware: Orange PI PC v1.2

    image "Armbian_5.05_Orangepih3_Debian_jessie_3.4.110_desktop"

     

     

    i'm install SAMBA

    after create folder in home directories user  /home/myuser/myfiles

     

    sudo apt install samba cifs-utils smbclient

    after edit

    sudo nano /etc/samba/smb.conf

    ...

    workgroup = MEM

    ...

    ...

    [myfiles]
            path = /home/myuser/myfiles
            browseable = Yes
            writable = Yes
            guest ok = Yes
            create mask = 0777
            directory mask = 0777

    .....

     

    after

    sudo /etc/init.d/samba restart

     

    and see this share from windows pc, but I have been trying to get Thunar to browse network to no avail.  When I click on "Browse network", I get this error message:

    Failed to open "/ on".
  7. for rebooting i'm used command:

     

    sudo /sbin/shutdown -r now

     

    for sudo dont ask password i'm edited:

     

    sudo visudo

     

    and add bottom

    Defaults:nameuser !authenticate

     

    (change you name user in this line)

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines